Commit Graph

172 Commits

Author SHA1 Message Date
Andras Bacsai a3bc59dae2 Fix Docker container race condition during upgrades (#7603) 2025-12-12 17:38:30 +01:00
Andras Bacsai 1f7888f515 Use nohup for container restart to survive SSH disconnect
When upgrade is triggered from Coolify UI, the SSH connection is lost when
the coolify container stops. Using nohup ensures the container stop/start
sequence continues in the background even after the connection drops.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 15:41:09 +01:00
Andras Bacsai f4dbae1805 Revert container stop order to original
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 15:39:08 +01:00
Andras Bacsai f3ccacb2da Stop coolify container last during upgrade
Reorder container stop sequence to stop dependencies first (db, redis,
realtime) before stopping the main coolify container. This prevents the
upgrade process from being interrupted when triggered from Coolify UI.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 15:36:01 +01:00
Andras Bacsai c45cbc04c8 Pull images before stopping containers during upgrade
Ensures images are available before taking down the system. If pull fails
(rate limits, network issues, expired tokens), upgrade aborts safely
without leaving Coolify in a broken state.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-12 14:54:24 +01:00
Andras Bacsai 0c46da0a23 Fix Docker container race condition during upgrades
Stop and remove existing Coolify containers before starting new ones to prevent conflicts when project name changes from 'source' to 'coolify'. This resolves volume and container name conflicts during upgrades from older installations.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-12 11:28:53 +01:00
Andras Bacsai de59096c9d Bump version to v455 (#7601)
Co-authored-by: Claude Haiku 4.5 <noreply@anthropic.com>
2025-12-12 11:21:54 +01:00
Andras Bacsai 65a83fe050 Fix Docker container race condition during upgrades
Add --project-name coolify to docker compose commands to ensure consistent
container naming when executed inside helper containers. Remove --force-recreate
to only recreate containers when image or configuration changes, reducing
race condition risk during concurrent upgrades.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 14:14:43 +01:00
Andras Bacsai 25e295e627 Bump version to 4.0.0-beta.454 2025-12-09 16:15:55 +01:00
Andras Bacsai bf9f78538e Remove webhook maintenance directory from Docker configurations 2025-12-04 14:55:07 +01:00
Andras Bacsai 942f14fa7e Fix: Update version numbers for Coolify and nightly releases 2025-12-01 13:21:55 +01:00
Andras Bacsai 2921fe907d version++ 2025-11-28 09:41:01 +01:00
Andras Bacsai e5c7459284 fix: update version numbers to 4.0.0-beta.451 and 4.0.0-beta.452 2025-11-26 14:46:52 +01:00
Andras Bacsai 1047110e01 fix: update coolify version numbers to 4.0.0-beta.450 and 4.0.0-beta.451 2025-11-26 14:05:37 +01:00
Andras Bacsai 727c45a7dc fix: add -L flag to curl commands for CDN redirects
Fixes issue #7348 where curl fails to follow HTTP 302 redirects from the CDN
when fetching versions.json and docker-compose files. The -L flag instructs
curl to automatically follow redirects to the final destination URL, resolving
silent installation failures.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-26 12:57:03 +01:00
Andras Bacsai 68c5ebf221 fix: update version numbers to 4.0.0-beta.449 and 4.0.0-beta.450 2025-11-26 10:00:00 +01:00
Andras Bacsai f460bb63cc feat: update version numbers to 4.0.0-beta.448 and 4.0.0-beta.449 2025-11-25 17:06:37 +01:00
Andras Bacsai 8f7ae2670c fix(versions): update coolify version to 4.0.0-beta.445 and nightly to 4.0.0-beta.446 2025-11-17 14:27:13 +01:00
Andras Bacsai 0e163dfa11 fix(versions): update helper version to 1.0.12 2025-11-14 10:35:35 +01:00
Andras Bacsai 44886f1f6c fix(versions): update coolify version to 4.0.0-beta.444 and nightly to 4.0.0-beta.445 2025-11-14 10:31:23 +01:00
Andras Bacsai 73985350ec fix: update version numbers to 4.0.0-beta.443 and 4.0.0-beta.444 2025-11-07 08:26:58 +01:00
Andras Bacsai ac2a199c7b chore: update coolify version to 4.0.0-beta.442
This update increments the version of coolify to 4.0.0-beta.442 to reflect the latest changes and improvements. Additionally, the nightly version has been updated to 4.0.0-beta.443 to ensure consistency across the project. Keeping version numbers up to date is essential for tracking releases and ensuring that users are aware of the latest features and fixes.
2025-11-05 14:31:09 +01:00
Andras Bacsai a89413bdbe fix: update version numbers to 4.0.0-beta.441 and 4.0.0-beta.442 2025-11-04 13:48:31 +01:00
Andras Bacsai 7520d6ca97 feat: Update version numbers to 4.0.0-beta.440 and 4.0.0-beta.441 2025-11-04 09:24:37 +01:00
Andras Bacsai 50383c7a35 chore(versions): update Coolify version numbers to 4.0.0-beta.435 and 4.0.0-beta.436
- Incremented the stable version in constants.php and versions.json to 4.0.0-beta.435.
- Updated the nightly version in versions.json and other/nightly/versions.json to 4.0.0-beta.436.
- Ensured consistency across versioning files for the latest release.
2025-10-03 10:28:29 +02:00
Andras Bacsai 33aa32d1e6 chore(versions): update coolify version to 4.0.0-beta.433 and nightly version to 4.0.0-beta.434 in configuration files 2025-09-29 14:04:14 +02:00
Andras Bacsai 12c7e28a48 fix(install): ensure proper quoting of environment file paths to prevent issues with spaces 2025-09-25 11:45:07 +02:00
Andras Bacsai 05176c25d1 Merge pull request #6497 from coollabsio/v4.x-improve-installer-env-handling
refactor: improve ENV handling during installation and upgrades
2025-09-25 09:27:56 +02:00
Andras Bacsai 8f44ade488 chore(versions): update coolify version numbers to 4.0.0-beta.432 and 4.0.0-beta.433 in configuration files 2025-09-25 09:27:29 +02:00
Andras Bacsai 0a6b2a0586 chore(versions): increment coolify version numbers to 4.0.0-beta.431 and 4.0.0-beta.432 in configuration files 2025-09-24 20:08:51 +02:00
Andras Bacsai acb408a2b7 refactor(upgrade): enhance logging and quoting in upgrade scripts
- Improve logging statements for better clarity and consistency.
- Add quotes around variables in commands to prevent potential issues with spaces.
- Ensure consistent handling of environment variable updates and backups.
2025-09-24 13:18:48 +02:00
Andras Bacsai 70ddfe9a17 Update other/nightly/install.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-24 13:13:49 +02:00
Andras Bacsai d54a47a3a5 Update other/nightly/install.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-24 13:13:24 +02:00
Andras Bacsai 18e14e37c1 refactor(installer, upgrade): enhance environment variable management
- Remove unused VERSION variable from both scripts.
- Update the source code link in the install script to point to the correct version.
- Improve backup functionality for the .env file in both scripts, allowing for conditional backups.
- Enhance the handling and logging of environment variable updates, ensuring existing variables are updated or added as necessary.
- Streamline the upgrade process by incorporating Docker configuration checks and adjustments.
2025-09-24 09:24:18 +02:00
Andras Bacsai 02115e2cff chore(versions): update coolify version numbers to 4.0.0-beta.430 and 4.0.0-beta.431 in configuration files 2025-09-24 09:20:12 +02:00
Andras Bacsai 98a30e2482 chore(docker-compose): update soketi image version to 1.0.10 in production and Windows configurations 2025-09-24 09:19:38 +02:00
peaklabs-dev e23c78fcda chore(deps): bump helper version 2025-09-15 15:48:10 +02:00
Andras Bacsai 1c6410470f chore(versions): update sentinel version from 0.0.15 to 0.0.16 in versions.json files 2025-09-15 12:42:29 +02:00
Andras Bacsai 88d33d177e chore: update coolify version to 4.0.0-beta.427 and nightly version to 4.0.0-beta.428 2025-08-31 11:20:48 +02:00
Andras Bacsai 135ed98a86 chore: update coolify version to 4.0.0-beta.426 and nightly version to 4.0.0-beta.427 2025-08-28 13:31:10 +02:00
Andras Bacsai 6249263f51 chore: update coolify version to 4.0.0-beta.423 and nightly version to 4.0.0-beta.424 2025-08-27 17:24:22 +02:00
peaklabs-dev 8d1c75ebff chore: update version 2025-08-27 15:18:22 +02:00
Andras Bacsai e41730a209 chore(versions): update coolify version to 4.0.0-beta.421 and nightly version to 4.0.0-beta.422 2025-08-26 19:23:23 +02:00
peaklabs-dev 6b54432f9c chore(core): update version 2025-08-26 18:44:09 +02:00
peaklabs-dev 2099d88f08 chore(core): update version 2025-08-26 18:09:08 +02:00
peaklabs-dev d4fcafe4d3 fix(installer): public IPv4 link does not work 2025-07-18 16:37:58 +02:00
Andras Bacsai 5c59b5ea5f chore(versions): update Coolify versions to 4.0.0-beta.420.2 and 4.0.0-beta.420.3 in multiple files 2025-06-30 09:57:08 +02:00
Andras Bacsai 0ab59e3ccd chore(version): update coolify version to 4.0.0-beta.420 and nightly version to 4.0.0-beta.421 2025-06-18 13:02:21 +02:00
Andras Bacsai 11fa319c3f chore(version): update coolify-realtime to version 1.0.9 in docker-compose and versions files 2025-06-16 14:34:41 +02:00
Andras Bacsai 8191f9176f fix(install): update Docker installation script to use dynamic OS_TYPE and correct installation URL 2025-06-10 10:47:50 +02:00