Commit Graph

166 Commits

Author SHA1 Message Date
Andras Bacsai
51f1be2995 Enhance upgrade and installation scripts with logging and status tracking
- Added logging functionality to `upgrade.sh` for better tracking of upgrade steps and errors.
- Implemented a status file mechanism in `upgrade.sh` for API polling during upgrades.
- Improved error handling and user feedback in `upgrade.sh` and `install.sh`.
- Download configuration files in parallel in `install.sh` to speed up the installation process.
- Updated versions in `versions.json` for Coolify and Traefik.
- Enhanced environment variable checks and updates in `install.sh`.
- Added health checks for the Coolify container post-installation.
2025-12-17 11:01:59 +01:00
Andras Bacsai
bf9f78538e Remove webhook maintenance directory from Docker configurations 2025-12-04 14:55:07 +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
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
cf1c54b24c
Update scripts/install.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-24 13:14:27 +02:00
Andras Bacsai
febeb00e48
Update scripts/install.sh
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-09-24 13:14:18 +02:00
peaklabs-dev
983197b742
chore: adjust wording 2025-08-29 18:42:46 +02:00
peaklabs-dev
5b637c1de1
refactor(installer): improve install script
- remove unused VERSION variable.
- fix the source code link of the install script.
- properly back up the `.env` file on each run of the install script.
- do not delete the backup .env file at the end of the install script.
- Add improved handling and more logging for updating environment variable values.
2025-08-29 15:26:28 +02:00
peaklabs-dev
d4fcafe4d3
fix(installer): public IPv4 link does not work 2025-07-18 16:37:58 +02:00
Andras Bacsai
a7aac19267
Merge pull request #6127 from flickowoa/patch-1
interpret cachyos as arch in the install script
2025-07-07 10:35:42 +02:00
Diego Rodríguez
2733aeb092
fix(install.sh): use IPV4_PUBLIC_IP variable in output instead of repeated curl 2025-07-04 15:16:01 +02:00
flicko
3b3090650f
support cachyos 2025-07-04 15:06:49 +05:30
Andras Bacsai
5c3196f6c9
Fine tunes for v419 (#5995)
* chore(version): update coolify-realtime to version 1.0.9 in docker-compose and versions files

* feat(migration): add is_sentinel_enabled column to server_settings with default true

* fix(migration): update default value handling for is_sentinel_enabled column in server_settings

* feat(seeder): dispatch StartProxy action for each server in ProductionSeeder

* feat(seeder): add CheckAndStartSentinelJob dispatch for each server in ProductionSeeder
2025-06-16 15:19:38 +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
Andras Bacsai
746a801de7 refactor(install-scripts): update Docker installation process to include manual installation fallback and improve error handling 2025-06-04 20:38:53 +02:00
Andras Bacsai
c26209f187 refactor(nightly): update version numbers and enhance upgrade script 2025-03-27 10:47:08 +01:00
Andras Bacsai
bc297c4296 refactor(network): enhance docker network creation with ipv6 fallback 2025-03-25 11:27:59 +01:00
Andras Bacsai
1fcfac07b1 refactor(env): add centralized registry URL to environment configuration 2025-03-25 09:03:59 +01:00
Andras Bacsai
cef4596011 fix(console): handle missing root user in password reset command 2025-03-24 18:00:31 +01:00
Andras Bacsai
009cee1bbd
Merge branch 'next' into feat-db-ssl 2025-03-17 15:15:24 +01:00
Andras Bacsai
b6cb32c037 fix(install): handle potential errors in Docker address pool configuration 2025-03-14 15:23:17 +01:00
Andras Bacsai
9dbe221ad5 refactor(install): clean up install script and enhance Docker installation logic
Refactored the install script to improve readability by removing unnecessary whitespace and consolidating Docker installation logic into a dedicated function. This change enhances maintainability and clarity, particularly for the installation process across different operating systems. Additionally, the script now includes specific handling for Ubuntu 24.10, ensuring users receive appropriate guidance for installation. Overall, these updates contribute to a more streamlined and user-friendly installation experience.
2025-03-14 13:20:45 +01:00
Andras Bacsai
815a2701fc feat(install): add missing env variable to install script 2025-03-13 18:10:57 +01:00
Andras Bacsai
d0b8a20564 feat(install): improve Docker address pool management and service restart logic
Enhanced the install script to support a force override for Docker address pool configurations, allowing users to update existing settings if desired. The script now checks for existing configurations in the daemon.json file and provides clearer messaging regarding the use of custom pools versus existing configurations. Additionally, the restart logic for the Docker service has been streamlined, ensuring that unnecessary restarts are avoided when configurations remain unchanged. This update improves the flexibility and usability of the installation process.
2025-03-13 10:47:27 +01:00
Andras Bacsai
46f55c9463 feat(install): enhance Docker address pool configuration and validation
Updated the install scripts to include support for custom Docker address pool configurations via environment variables. Added validation for the address pool base and size, with default values provided. The script now checks for existing configurations in the .env file and merges them appropriately, ensuring a more flexible and user-friendly installation process. Additionally, the version has been bumped to 1.8 to reflect these enhancements.
2025-03-13 08:44:04 +01:00
Gergely Lonyai
bc2e4a8049
Update install.sh 2025-03-10 10:58:52 +01:00
peaklabs-dev
a1e650e699
chore: rename ca crt folder to ssl 2025-02-03 21:42:28 +01:00
peaklabs-dev
fab7300a5f
feat(installer): create CA folder during installation 2025-01-31 12:36:26 +01:00
Andras Bacsai
0b42115127 feat: add root user details to install script 2025-01-17 17:30:26 +01:00
Khiet Tam Nguyen
51dc22988d
fix: use ip in place of hostname from inetutils in arch 2024-12-24 09:11:38 +11:00
Khiet Tam Nguyen
3a6232db7a fix: install inetutils on Arch Linux
This provides the `hostname` command used in the install.sh script,
which is not available by default on Arch Linux.

Some relevant resources:
- https://bbs.archlinux.org/viewtopic.php?id=125308
- https://archlinux.org/news/deprecation-of-net-tools/
- https://man.archlinux.org/man/hostname.1.en
2024-12-23 00:15:13 +11:00
mohanlokesh
ba808b14a4
fix: display actual values for disk space checks in installer script 2024-12-06 13:25:41 +05:30
Luna Midori
daa2700b1c
Added support for Endeavour OS as arch 2024-11-27 22:37:18 -08:00
Andras Bacsai
29a82aeabc fix 2024-11-15 11:36:17 +01:00
Andras Bacsai
9982a931fa fix: default docker engine version + fix install script 2024-11-15 11:33:03 +01:00
peaklabs-dev
9e7a9f6065
fix install openssl 2024-11-14 22:00:13 +01:00
Aji Priyo Wibowo
3c087f378f
Update install.sh 2024-11-15 01:13:57 +07:00
Andras Bacsai
2c91c46faf fix: gather private ips 2024-11-14 14:12:50 +01:00
Andras Bacsai
3e6f4c8eb9
Merge branch 'next' into fix-installer-on-pi 2024-11-14 14:05:31 +01:00
Andras Bacsai
3a46423ae4
Merge pull request #4284 from peaklabs-dev/fix-install-scirpt-root-and-storage
Fix: Root check in installer and add disk usage check
2024-11-14 13:45:41 +01:00
Andras Bacsai
7a166913d4 fixes for installation script 2024-11-14 13:42:51 +01:00
peaklabs-dev
744e118581
Update install.sh 2024-11-14 11:53:09 +01:00
peaklabs-dev
24f357a385
Update install.sh 2024-11-13 19:16:25 +01:00
peaklabs-dev
9d021f6b5a
new docker version 2024-11-13 14:49:27 +01:00
Andras Bacsai
ea9892dca8 install ssh in install script
Some checks failed
Coolify Realtime Development / amd64 (push) Waiting to run
Coolify Realtime Development / aarch64 (push) Waiting to run
Coolify Realtime Development / merge-manifest (push) Blocked by required conditions
Staging Build / amd64 (push) Waiting to run
Staging Build / aarch64 (push) Waiting to run
Staging Build / merge-manifest (push) Blocked by required conditions
Coolify Helper Image Development / amd64 (push) Has been cancelled
Coolify Helper Image Development / aarch64 (push) Has been cancelled
Coolify Helper Image Development / merge-manifest (push) Has been cancelled
2024-11-07 14:58:52 +01:00
Andras Bacsai
cf870f5162
Merge pull request #3912 from peaklabs-dev/fix-default-adress-pool
Fix: Error response from daemon: all predefined address pools have been fully subnetted
2024-11-07 13:45:26 +01:00
Andras Bacsai
51c76c1b47 fix: only skip docker installation on 24.10 if its not installed 2024-11-06 12:25:24 +01:00
Andras Bacsai
b99fa3b30f fix: show docker installation logs & ubuntu 24.10 notification 2024-11-05 13:02:07 +01:00
peaklabs-dev
e971094508
new much larger default docker address pool 2024-10-14 20:32:24 +02:00
Andras Bacsai
1f193d465d sentinel updates 2024-10-14 12:07:37 +02:00