Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(git): submodule update command uses an unsupported option (#6454)

broeschc2ff9eae0d28
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 63c4554fe6..153776f1a4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -6,16 +6,44 @@ All notable changes to this project will be documented in this file.
### πŸš€ Features
-- *(docs)* Expand Backlog.md guidelines with comprehensive usage instructions, CLI commands, and best practices for task management to enhance project organization and collaboration
+- *(policies)* Add EnvironmentVariablePolicy for managing environment variables ( it was missing )
+
+### πŸ› Bug Fixes
+
+- *(backups)* Rollback helper update for now
+
+### πŸ“š Documentation
+
+- Update changelog
+
+### βš™οΈ Miscellaneous Tasks
+
+- *(core)* Update version
+- *(versions)* Update coolify version to 4.0.0-beta.421 and nightly version to 4.0.0-beta.422
+
+## [4.0.0-beta.420.9] - 2025-08-26
+
+### πŸ› Bug Fixes
+
+- *(backups)* S3 backup upload is failing
+
+### πŸ“š Documentation
+
+- Update changelog
+
+### βš™οΈ Miscellaneous Tasks
+
+- *(core)* Update version
+
+## [4.0.0-beta.420.8] - 2025-08-26
### 🚜 Refactor
- *(policies)* Remove Response type hint from update methods in ApplicationPreviewPolicy and DatabasePolicy for improved flexibility
-### βš™οΈ Miscellaneous Tasks
+### πŸ“š Documentation
-- *(versions)* Update coolify version to 4.0.0-beta.420.8 and nightly version to 4.0.0-beta.420.9 in versions.json and constants.php
-- *(docker)* Update soketi image version to 1.0.10 in production and Windows configurations
+- Update changelog
## [4.0.0-beta.420.7] - 2025-08-26
@@ -81,6 +109,7 @@ All notable changes to this project will be documented in this file.
- *(docs)* Add Backlog.md guidelines and project manager backlog agent; enhance CLAUDE.md with new links for task management
- *(docs)* Add tasks for implementing Docker build caching and optimizing staging builds; include detailed acceptance criteria and implementation plans
- *(docker)* Implement Docker cleanup processing in ScheduledJobManager; refactor server task scheduling to streamline cleanup job dispatching
+- *(docs)* Expand Backlog.md guidelines with comprehensive usage instructions, CLI commands, and best practices for task management to enhance project organization and collaboration
### πŸ› Bug Fixes
@@ -158,12 +187,15 @@ All notable changes to this project will be documented in this file.
- *(validation)* Implement centralized validation patterns across components
- *(jobs)* Rename job classes to indicate deprecation status
- Update check frequency logic for cloud and self-hosted environments; streamline server task scheduling and timezone handling
+- *(policies)* Remove Response type hint from update methods in ApplicationPreviewPolicy and DatabasePolicy for improved flexibility
### πŸ“š Documentation
- *(claude)* Clarify that artisan commands should only be run inside the "coolify" container during development
- Add AGENTS.md for project guidance and development instructions
- Update changelog
+- Update changelog
+- Update changelog
### βš™οΈ Miscellaneous Tasks
@@ -186,6 +218,8 @@ All notable changes to this project will be documented in this file.
- *(cleanup)* Remove unused GitLab view files for change, new, and show pages
- *(workflows)* Add backlog directory to build triggers for production and staging workflows
- *(config)* Disable auto_commit in backlog configuration to prevent automatic commits
+- *(versions)* Update coolify version to 4.0.0-beta.420.8 and nightly version to 4.0.0-beta.420.9 in versions.json and constants.php
+- *(docker)* Update soketi image version to 1.0.10 in production and Windows configurations
### ◀️ Revert
diff --git a/app/Models/Application.php b/app/Models/Application.php
index f8f86d1f9c..3db6e8eb74 100644
--- a/app/Models/Application.php
+++ b/app/Models/Application.php
@@ -998,7 +998,7 @@ class Application extends BaseModel
$git_clone_command = "{$git_clone_command} sed -i \"s#git@\(.*\):#https://\\1/#g\" {$baseDir}/.gitmodules || true &&";
}
// Add shallow submodules flag if shallow clone is enabled
- $submoduleFlags = $isShallowCloneEnabled ? '--shallow-submodules' : '';
+ $submoduleFlags = $isShallowCloneEnabled ? '--depth=1' : '';
$git_clone_command = "{$git_clone_command} GIT_SSH_COMMAND=\"ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null\" git submodule update --init --recursive {$submoduleFlags}; fi";
}
if ($this->settings->is_git_lfs_enabled) {