Describe the bug
The installation fails on the 01-setup-gateway.sh part due to a missing fedora folder.
To Reproduce
- Try installing CasaOS with curl:
curl -fsSL https://get.casaos.io | sudo bash
- See the error
Expected behavior
Successful completion of installation
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: Fedora Linux 44 (Server Edition)
- Browser N/A
System Time
Run timedatectl and share the output
Local time: Tue 2026-06-09 00:04:22 EEST
Universal time: Mon 2026-06-08 21:04:22 UTC
RTC time: Mon 2026-06-08 21:04:22
Time zone: Europe/Kyiv (EEST, +0300)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Logs
Run following command to collect corresponding logs:
sudo journalctl -xef -u casaos-gateway
sudo journalctl -xef -u casaos-user-service
sudo journalctl -xef -u casaos-local-storage
sudo journalctl -xef -u casaos-app-management
sudo journalctl -xef -u casaos.service
paul@MiWiFi-R4A-srv:~$ sudo journalctl -xef -u casaos-gateway
[sudo] password for paul:
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-gateway.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/gateway.pid → /run/casaos/gateway.pid; please update the unit file accordingly.
^Cpaul@MiWiFi-R4A-srv:~$ sudo journalctl -xef -u casaos-user-service
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-user-service.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/user-service.pid → /run/casaos/user-service.pid; please update the unit file accordingly.
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-user-service.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/user-service.pid → /run/casaos/user-service.pid; please update the unit file accordingly.
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-user-service.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/user-service.pid → /run/casaos/user-service.pid; please update the unit file accordingly.
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-user-service.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/user-service.pid → /run/casaos/user-service.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-user-service.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/user-service.pid → /run/casaos/user-service.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-user-service.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/user-service.pid → /run/casaos/user-service.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-user-service.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/user-service.pid → /run/casaos/user-service.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-user-service.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/user-service.pid → /run/casaos/user-service.pid; please update the unit file accordingly.
^Cpaul@MiWiFi-R4A-srv:~sudo journalctl -xef -u casaos-local-storagege
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-local-storage.service:13: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/local-storage.pid → /run/casaos/local-storage.pid; please update the unit file accordingly.
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-local-storage.service:13: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/local-storage.pid → /run/casaos/local-storage.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-local-storage.service:13: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/local-storage.pid → /run/casaos/local-storage.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-local-storage.service:13: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/local-storage.pid → /run/casaos/local-storage.pid; please update the unit file accordingly.
^Cpaul@MiWiFi-R4A-srv:~$ sudo journalctl -xef -u casaos-app-management
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-app-management.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/app-management.pid → /run/casaos/app-management.pid; please update the unit file accordingly.
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-app-management.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/app-management.pid → /run/casaos/app-management.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-app-management.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/app-management.pid → /run/casaos/app-management.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos-app-management.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/app-management.pid → /run/casaos/app-management.pid; please update the unit file accordingly.
^Cpaul@MiWiFi-R4A-srv:~sudo journalctl -xef -u casaos.servicece
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/casaos.pid → /run/casaos/casaos.pid; please update the unit file accordingly.
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/casaos.pid → /run/casaos/casaos.pid; please update the unit file accordingly.
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/casaos.pid → /run/casaos/casaos.pid; please update the unit file accordingly.
Jun 08 23:50:34 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/casaos.pid → /run/casaos/casaos.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/casaos.pid → /run/casaos/casaos.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/casaos.pid → /run/casaos/casaos.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/casaos.pid → /run/casaos/casaos.pid; please update the unit file accordingly.
Jun 08 23:52:51 MiWiFi-R4A-srv systemd[1]: /usr/lib/systemd/system/casaos.service:8: PIDFile= references a path below legacy directory /var/run/, updating /var/run/casaos/casaos.pid → /run/casaos/casaos.pid; please update the unit file accordingly.
Additional context
Full log
[ OK ] Your hardware architecture is : x86_64
[ OK ] Your System is : Linux
[NOTICE] Your Linux Distribution is : fedora We have not tested it on this system and it may fail to install.
Repositories loaded.
[ OK ] Update package manager complete.
[ OK ] Current Docker version is 29.5.3.
[ INFO ] Applying Docker API compatibility override for CasaOS...
[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-Gateway/releases/download/v0.4.9-alpha4/linux-amd64-casaos-gateway-v0.4.9-alpha4.tar.gz...
HTTP response 302 [https://github.com/IceWhaleTech/CasaOS-Gateway/releases/download/v0.4.9-alpha4/linux-amd64-casaos-gateway-v0.4.9-alpha4.tar.gz
Enqueue https://release-assets.githubusercontent.com/github-production-release-asset/517803471/9e10eaf6-a38c-4eb9-be49-b00a83d00c12?sp=r&sv=2018-1[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-MessageBus/releases/download/v0.4.4-3-alpha2/linux-amd64-casaos-message-bus-v0.4.4-3-alpha2.tar.gz...IiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4MDk1MzA4MywibmJmIjoxNzgwOTUyNzgzLCJwYXR
HTTP response 302 [https://github.com/IceWhaleTech/CasaOS-MessageBus/releases/download/v0.4.4-3-alpha2/linux-amd64-casaos-message-bus-v0.4.4-3-alct=application%2Foctet-str[Files: 1 Bytes: 5.21M [4.22MB/s] Redirects: 1 Todo: 0 Errors: 0 ]-06-08T21%3A00%3A32Z&s[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-UserService/releases/download/v0.4.8/linux-amd64-casaos-user-service-v0.4.8.tar.gz...e
HTTP response 302 [https://github.com/IceWhaleTech/CasaOS-UserService/releases/download/v0.4.8/linux-amd64-casaos-user-service-v0.4.8.tar.gz]cation%2Foctet-stream&skoi[Files: 1 Bytes: 5.40M [4.04MB/s] Redirects: 1 Todo: 0 Errors: 0 ]1%3A00%3A20Z&ske=2026-[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-LocalStorage/releases/download/v0.4.4/linux-amd64-casaos-local-storage-v0.4.4.tar.gz...JnaXRodWIuY29tIiwiYXVkIjoicmVsZWFzZS1hc3NldHMuZ2l0aHVidXNlcmNvbnRlbnQuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4MDk1MzA4NiwibmJmIjoxNzgwOTUyNzg2LCJwYXRlinux-amd64-casaos-l 100% [===============================================================================================>] 12.94M 19.50MB/slication%2Foctet-stream&sko[Files: 1 Bytes: 12.94M [7.79MB/s] Redirects: 1 Todo: 0 Errors: 0 ]21%3A00%3A53Z&ske=2026[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-AppManagement/releases/download/v0.4.10-alpha2/linux-amd64-casaos-app-management-v0.4.
Enqueue https://release-assets.githubusercontent.com/github-production-release-asset/566098247/eea0787e-7a16-470d-ac22-4eae76291b9a?sp=r&sv=2018-1
Saving 'linux-amd64-casaos-app-management-v0.4.10-alpha2.tar.gz'
HTTP response 200 [https://release-assets.githubusercontent.com/github-production-release-asset/566098247/eea0787e-7a16-470d-ac22-4eae76291b9a?splinux-amd64-casaos-a 100% [===============================================================================================>] 25.85M 20.40MB/s&rsct=application%2Foctet-s[Files: 1 Bytes: 25.85M [11.39MB/s] Redirects: 1 Todo: 0 Errors: 0 ]26-06-08T21%3A01%3A57Z[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS/releases/download/v0.4.15/linux-amd64-casaos-v0.4.15.tar.gz...OiJKV1QiLCJhbGciOiJIUzI1
HTTP response 302 [https://github.com/IceWhaleTech/CasaOS/releases/download/v0.4.15/linux-amd64-casaos-v0.4.15.tar.gz]
Enqueue https://release-assets.githubusercontent.com/github-production-release-asset/410430370/52775e3e-d8ae-427b-bc12-7afa4a8ba81a?sp=r&sv=2018-1
Saving 'linux-amd64-casaos-v0.4.15.tar.gz'
HTTP response 200 [https://release-assets.githubusercontent.com/github-production-release-asset/410430370/52775e3e-d8ae-427b-bc12-7afa4a8ba81a?splinux-amd64-casaos-v 100% [===============================================================================================>] 6.54M 18.54MB/stet-stream&skoid=96c2d410-5[Files: 1 Bytes: 6.54M [4.84MB/s] Redirects: 1 Todo: 0 Errors: 0 ]&ske=2026-06-08T22%3A0[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-CLI/releases/download/v0.4.4-3-alpha1/linux-amd64-casaos-cli-v0.4.4-3-alpha1.tar.gz...
HTTP response 302 [https://github.com/IceWhaleTech/CasaOS-CLI/releases/download/v0.4.4-3-alpha1/linux-amd64-casaos-cli-v0.4.4-3-alpha1.tar.gz]
Enqueue https://release-assets.githubusercontent.com/github-production-release-asset/564850775/978d9760-48f6-4fe4-ae08-cf49df505c9b?sp=r&sv=2018-1
Saving 'linux-amd64-casaos-cli-v0.4.4-3-alpha1.tar.gz'
HTTP response 200 [https://release-assets.githubusercontent.com/github-production-release-asset/564850775/978d9760-48f6-4fe4-ae08-cf49df505c9b?splinux-amd64-casaos-c 100% [===============================================================================================>] 4.08M 17.41MB/sication%2Foctet-stream&skoi[Files: 1 Bytes: 4.08M [3.30MB/s] Redirects: 1 Todo: 0 Errors: 0 ]1%3A00%3A00Z&ske=2026-[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-UI/releases/download/v0.4.25/linux-all-casaos-v0.4.25.tar.gz...iOiJIUzI1NiJ9.eyJpc3MiO
HTTP response 302 [https://github.com/IceWhaleTech/CasaOS-UI/releases/download/v0.4.25/linux-all-casaos-v0.4.25.tar.gz]
Enqueue https://release-assets.githubusercontent.com/github-production-release-asset/410528678/2adda442-1cd2-4796-8d2d-fa5948b4afd9?sp=r&sv=2018-1
Saving 'linux-all-casaos-v0.4.25.tar.gz'
HTTP response 200 [https://release-assets.githubusercontent.com/github-production-release-asset/410528678/2adda442-1cd2-4796-8d2d-fa5948b4afd9?splinux-all-casaos-v0. 100% [===============================================================================================>] 10.65M 20.15MB/st-stream&skoid=96c2d410-571[Files: 1 Bytes: 10.65M [6.96MB/s] Redirects: 1 Todo: 0 Errors: 0 ]ke=2026-06-08T21%3A40%[ INFO ] Downloading https://github.com/IceWhaleTech/CasaOS-AppStore/releases/download/v0.4.5/linux-all-appstore-v0.4.5.tar.gz...MiOiJnaXRodWIuY29
HTTP response 302 [https://github.com/IceWhaleTech/CasaOS-AppStore/releases/download/v0.4.5/linux-all-appstore-v0.4.5.tar.gz]
Enqueue https://release-assets.githubusercontent.com/github-production-release-asset/440379951/d340ae21-9802-4cc8-a483-cc9c7a7af845?sp=r&sv=2018-1
Saving 'linux-all-appstore-v0.4.5.tar.gz'
HTTP response 200 [https://release-assets.githubusercontent.com/github-production-release-asset/440379951/d340ae21-9802-4cc8-a483-cc9c7a7af845?splinux-all-appstore-v 100% [===============================================================================================>] 500.50K 4.66MB/set-stream&skoid=96c2d410-57[Files: 1 Bytes: 500.50K [455.41KB/s] Redirects: 1 Todo: 0 Errors: 0 ]ske=2026-06-08T22%3A05[ INFO ] Extracting linux-all-appstore-v0.4.5.tar.gz...frFmNfxemP0nCBzOmEQYOQ%3D&jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29t
[ INFO ] Extracting linux-all-casaos-v0.4.25.tar.gz...QuY29tIiwia2V5Ijoia2V5MSIsImV4cCI6MTc4MDk1MzA5NSwibmJmIjoxNzgwOTUyNzk1LCJwYXRoIjoicmVsZWFzZW
[ INFO ] Extracting linux-amd64-casaos-app-management-v0.4.10-alpha2.tar.gz...nj_MzEFKkQ2NN-vdYY&response-content-disposition=attachment%3B%20file
[ INFO ] Extracting linux-amd64-casaos-cli-v0.4.4-3-alpha1.tar.gz...ation%2Foctet-stream]
[ INFO ] Extracting linux-amd64-casaos-gateway-v0.4.9-alpha4.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-local-storage-v0.4.4.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-message-bus-v0.4.4-3-alpha2.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-user-service-v0.4.8.tar.gz...
[ INFO ] Extracting linux-amd64-casaos-v0.4.15.tar.gz...
/home/paul
[ INFO ] Running /tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/migration/script.d/01-migrate-gateway.sh...
✅ CURRENT_VERSION: v0.4.8
✅ SOURCE_VERSION: v0.4.8
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/migration/script.d/02-migrate-user-service.sh...
✅ CURRENT_VERSION: v0.4.8
✅ SOURCE_VERSION: v0.4.8
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/migration/script.d/03-migrate-casaos.sh...
realpath: /usr/local/bin/casaos: No such file or directory
✅ CURRENT_VERSION: v0.4.15
✅ SOURCE_VERSION: v0.4.15
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/migration/script.d/04-migrate-local-storage.sh...
✅ CURRENT_VERSION: v0.4.4
✅ SOURCE_VERSION: v0.4.4
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/migration/script.d/05-migrate-message-bus.sh...
✅ CURRENT_VERSION: v0.4.4
✅ SOURCE_VERSION: v0.4.4
✅ Migration is not needed.
[ INFO ] Running /tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/migration/script.d/06-migrate-app-management.sh...
✅ CURRENT_VERSION: v0.4.5
✅ SOURCE_VERSION: v0.4.5
✅ Migration is not needed.
[ INFO ] Installing CasaOS...
[ INFO ] Running /tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/setup/script.d/01-setup-gateway.sh...
/tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/setup/script.d/01-setup-gateway.sh: line 18: pushd: fedora/: No such file or directory
/tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/setup/script.d/01-setup-gateway.sh: line 20: pushd: fedora: No such file or directory
[FAILED] Failed to run setup script
paul@MiWiFi-R4A-srv:~$ sudo ls /tmp/casaos-installer/tmp.Xa6ASwJVlY/build/scripts/setup/service.d
app-management casaos gateway local-storage message-bus user-service
Describe the bug
The installation fails on the 01-setup-gateway.sh part due to a missing
fedorafolder.To Reproduce
curl -fsSL https://get.casaos.io | sudo bashExpected behavior
Successful completion of installation
Screenshots
Desktop (please complete the following information):
System Time
Logs
Additional context
Full log