IceWhaleTech / CasaOS

CasaOS - A simple, easy-to-use, elegant open-source Personal Cloud system.
https://casaos.io
Apache License 2.0
25.87k stars 1.41k forks source link

[Bug] "Failed to load apps, please refresh later #1997

Open Camelot631 opened 1 month ago

Camelot631 commented 1 month ago

Describe the bug

After a completely new installation on a Raspberry Pi 4, 8GB, 500GB SSD (USB), 64Bit Bookworm, System & Kernel & Eeprom are up to date, the error message appears:

"Failed to load apps, refresh later."

Update according to Github brought no change...

Camelot631

Systeminformation:

System Time

15:17...

FailedToLoadApps_CasaOS_RaspiPi4_20240913

Run timedatectl and share the output

(timedatectl output here)

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

Additional context

Add any other context about the problem here.

If you are a Zimaboard user, make it explicit with when you got your Zimaboard.

shuohe-xyc commented 1 month ago

我也有同样的问题,期待尽快解决

lrhwind commented 1 month ago

The same bug

root@JNX-CasaOS:/var/log/casaos# tail -f app-management.log 2024-09-14T15:57:58.299+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:03.400+0800 error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f134:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:58:03.400+0800 error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f134:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:58:03.401+0800 error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f134:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:58:03.401+0800 error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f134:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:58:03.405+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dsiyuan-note%22%3Atrue%7D%7D\": context canceled", "composeAppID": "siyuan-note", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:03.412+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dsiyuan-note%22%3Atrue%7D%7D\": context canceled", "composeAppID": "siyuan-note", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:03.449+0800 error failed to get containers for compose app {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3D0-dkturbo%22%3Atrue%7D%7D\": context canceled", "app": "0-dkturbo", "func": "v2.(AppManagement).GetAppGrid", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/internal_web.go", "line": 57} 2024-09-14T15:58:03.465+0800 error failed to get containers for compose app {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3D0-dkturbo%22%3Atrue%7D%7D\": context canceled", "app": "0-dkturbo", "func": "v2.(AppManagement).GetAppGrid", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/internal_web.go", "line": 57} 2024-09-14T15:58:06.096+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:08.520+0800 error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:58:08.521+0800 error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:58:08.525+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dsiyuan-note%22%3Atrue%7D%7D\": context canceled", "composeAppID": "siyuan-note", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:08.568+0800 error failed to get containers for compose app {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3D0-dkturbo%22%3Atrue%7D%7D\": context canceled", "app": "0-dkturbo", "func": "v2.(AppManagement).GetAppGrid", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/internal_web.go", "line": 57} 2024-09-14T15:58:11.111+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:16.074+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:21.049+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:21.068+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:26.045+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:26.074+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:34.120+0800 error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:58:34.121+0800 error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:58:34.126+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dsiyuan-note%22%3Atrue%7D%7D\": context canceled", "composeAppID": "siyuan-note", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:34.128+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:34.133+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3D0-dkturbo%22%3Atrue%7D%7D\": context canceled", "composeAppID": "0-dkturbo", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:34.178+0800 error failed to get containers for compose app {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dsiyuan-note%22%3Atrue%7D%7D\": context canceled", "app": "siyuan-note", "func": "v2.(AppManagement).GetAppGrid", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/internal_web.go", "line": 57} 2024-09-14T15:58:39.240+0800 error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:58:39.241+0800 error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:58:39.240+0800 error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:58:39.243+0800 error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:58:39.246+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dgopeed%22%3Atrue%7D%7D\": context canceled", "composeAppID": "gopeed", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:39.250+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dgopeed%22%3Atrue%7D%7D\": context canceled", "composeAppID": "gopeed", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:39.260+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Djellyfin-arm%22%3Atrue%7D%7D\": context canceled", "composeAppID": "jellyfin-arm", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:39.263+0800 error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:58:39.284+0800 error failed to get containers for compose app {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Djellyfin-arm%22%3Atrue%7D%7D\": context canceled", "app": "jellyfin-arm", "func": "v2.(AppManagement).GetAppGrid", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/internal_web.go", "line": 57} 2024-09-14T15:58:44.361+0800 error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:58:44.362+0800 error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": dial tcp [2a03:2880:f10e:83:face:b00c:0:25de]:443: connect: connection timed out", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:58:44.365+0800 error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dgopeed%22%3Atrue%7D%7D\": context canceled", "composeAppID": "gopeed", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:58:44.394+0800 error failed to get containers for compose app {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.41/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Djellyfin-arm%22%3Atrue%7D%7D\": context canceled", "app": "jellyfin-arm", "func": "v2.(AppManagement).GetAppGrid", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/internal_web.go", "line": 57}

wz1st commented 1 month ago

Occasionally available

coderliss commented 1 month ago

same issue, possible related with docker? Casaos version: 0.4.11 Docker version 27.2.1, build 9e34c9b

==> /var/log/casaos/app-management.log <== 2024-09-14T15:00:36.106Z error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": EOF", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:00:36.107Z error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": EOF", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:00:36.115Z error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.43/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dv2raya%22%3Atrue%7D%7D\": context canceled", "composeAppID": "v2raya", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:00:36.196Z error failed to get containers for compose app {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.43/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dportainer%22%3Atrue%7D%7D\": context canceled", "app": "portainer", "func": "v2.(AppManagement).GetAppGrid", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/internal_web.go", "line": 57} 2024-09-14T15:00:40.441Z error extension x-casaos not found {"func": "service.(App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:00:41.128Z error failed to compare digest {"error": "Get \"https://index.docker.io/v2/\": EOF", "func": "service.(AppStoreManagement).IsUpdateAvailableWith", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 502} 2024-09-14T15:00:41.129Z error failed to check if update is available {"error": "Get \"https://index.docker.io/v2/\": EOF", "func": "service.(AppStoreManagement).IsUpdateAvailable", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/appstore_management.go", "line": 435} 2024-09-14T15:00:41.133Z error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.43/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3Dv2raya%22%3Atrue%7D%7D\": context canceled", "composeAppID": "v2raya", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664} 2024-09-14T15:00:41.135Z error extension x-casaos not found {"func": "service.(*App).StoreInfo", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/service/app.go", "line": 18} 2024-09-14T15:00:41.139Z error failed to get containers {"error": "Get \"http://%2Fvar%2Frun%2Fdocker.sock/v1.43/containers/json?all=1&filters=%7B%22label%22%3A%7B%22com.docker.compose.config-hash%22%3Atrue%2C%22com.docker.compose.project%3D0-dkturbo%22%3Atrue%7D%7D\": context canceled", "composeAppID": "0-dkturbo", "func": "v2.composeAppsWithStoreInfo.func1", "file": "/home/runner/work/CasaOS-AppManagement/CasaOS-AppManagement/route/v2/compose_app.go", "line": 664}

99477204 commented 1 month ago

15T11:25:54.227+0800 info CPU thermal zone found: soc, path: /sys/devices/virtual/thermal/thermal_zone0. {"func": "service.GetCPUThermalZone", "file": "/home/runner/work/CasaOS/CasaOS/service/system.go", "line": 485}

sdlkhfksl commented 1 month ago

some problem

sdlkhfksl commented 1 month ago

wget -qO- https://get.casaos.io/v0.4.7 | sudo bash

ayunhe commented 1 month ago

same problem。尝试了一下设置设备翻墙就正常显示,不翻墙就不能load the app,应该是网络问题,某些东西被gfw禁掉了

coderliss commented 1 month ago

wget -qO- https://get.casaos.io/v0.4.7 | sudo bash

downgrade works. Thank you!

283381529 commented 1 month ago

wget -qO- https://get.casaos.io/v0.4.7 | sudo bash

downgrade works. Thank you!

How to downgrade

chengoak commented 1 month ago

wget -qO- https://get.casaos.io/v0.4.7 | sudo bash

Thank you!

hoetzgit commented 1 month ago

I have also had this error for a long time. Please fix this bug, which has been known and reported for some time now. Downgrading can only be a short-term solution. Thank you very much.

283381529 commented 1 month ago

wget -qO- https://get.casaos.io/v0.4.7 | sudo bash

downgrade works. Thank you!

How to downgrade

New version is coming,

Camelot631 commented 1 month ago

Good morning...

Update to v.0.4.13 via Casa OS interface. Everything works great. ;)

Thanks

Camelot631

hoetzgit commented 1 month ago

Finally, the new version works for me too. Thank you very much. Henry