IceWhaleTech / CasaOS

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

[Bug] 0.4.9 Appgrid fails to load #1907

Closed PeterBenko closed 1 week ago

PeterBenko commented 3 months ago

Describe the bug

After updating from 0.4.8 -> 0.4.9, the apps don't show up anymore on the WebUI. A downgrade fixes this.

To Reproduce

Steps to reproduce the behavior:

  1. Go to dashboard after updating from 0.4.8 -> 0.4.9

Apps do not load and a "Failed to load apps, please refresh later." snackbar is displayed

Expected behavior App icons should be visible the same as in 0.4.8

Screenshots Screenshot looks effectively the same as here

Desktop (please complete the following information):

 - OS: Win11
 - Browser Chrome
 - Version 126.0.6478.127

System Time

               Local time: Tue 2024-07-16 19:31:26 EDT
           Universal time: Tue 2024-07-16 23:31:26 UTC
                 RTC time: Tue 2024-07-16 23:31:26
                Time zone: America/New_York (EDT, -0400)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

Logs

-------------------
BigBearCasaOS Healthcheck
-------------------
Here is some links
https://community.bigbeartechworld.com
https://github.com/BigBearTechWorld
-------------------
If you would like to support me, please consider buying me a tea
https://ko-fi.com/bigbeartechworld

-------------------
System Information:
-------------------
Operating System: Debian GNU/Linux 11 (bullseye)
Kernel: 5.10.0-10-amd64
Uptime: up 21 minutes
Packages: 1646
Shell: /bin/bash
Terminal: xterm
CPU: Intel(R) Celeron(R) CPU N3450 @ 1.10GHz
GPU: 00:02.0 VGA compatible controller: Intel Corporation HD Graphics 500 (rev 0b)
Memory: 7.6Gi Total, 3.5Gi Used

-------------------
CasaOS Healthcheck:
-------------------
The local IP address is: 192.168.1.27
The port number is: 90
You can access it in the browser at: http://192.168.1.27:90
sudo: ufw: command not found
The port 90 is not blocked by UFW.
Service casaos-app-management.service is running.
Service casaos-gateway.service is running.
WARNING: Service casaos-local-storage-first.service is NOT running!
Service casaos-local-storage.service is running.
Service casaos-message-bus.service is running.
Service casaos-user-service.service is running.
Service casaos.service is running.
Errors in casaos-gateway.service logs:
Jul 16 19:23:57 CasaOS casaos-gateway[18354]: 2024/07/16 19:23:57 http: proxy error: EOF
Jul 16 19:24:02 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:02 http: proxy error: EOF
Jul 16 19:24:07 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:07 http: proxy error: EOF
Jul 16 19:24:12 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:12 http: proxy error: EOF
Jul 16 19:24:17 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:17 http: proxy error: EOF
Jul 16 19:24:22 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:22 http: proxy error: EOF
Jul 16 19:24:28 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:28 http: proxy error: EOF
Jul 16 19:24:32 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:32 http: proxy error: EOF
Jul 16 19:24:37 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:37 http: proxy error: EOF
Jul 16 19:24:42 CasaOS casaos-gateway[18354]: 2024/07/16 19:24:42 http: proxy error: EOF
-----
Errors in casaos-local-storage.service logs:
Jul 16 19:17:40 CasaOS casaos-local-storage[18415]:         {"error": "exit status 1", "path": "/dev/mmcblk0", "func": "service.(*diskService).CheckSerialDiskMount", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/disk.go", "line": 559}
Jul 16 19:17:58 CasaOS casaos-local-storage[18415]: 2024-07-16T19:17:58.912-0400        error        failed to publish event to message bus        {"status": "404 Not Found", "responseError": "json: unsupported type: func() (io.ReadCloser, error)", "func": "service.(*notifyServer).SendNotify", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/notify.go", "line": 32}
Jul 16 19:19:47 CasaOS casaos-local-storage[18415]: 2024-07-16T19:19:47.298-0400        error        failed to publish event to message bus        {"status": "404 Not Found", "responseError": "json: unsupported type: func() (io.ReadCloser, error)", "func": "service.(*notifyServer).SendNotify", "file": "/home/runner/work/CasaOS-LocalStorage/CasaOS-LocalStorage/service/notify.go", "line": 32}
-----
Errors in casaos-message-bus.service logs:
Jul 16 19:23:58 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:23:58.051918972-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":1182931,"latency_human":"1.182931ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:03 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:03.057412542-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":5783712,"latency_human":"5.783712ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:08 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:08.05296909-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":1580433,"latency_human":"1.580433ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:13 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:13.053017253-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":2089598,"latency_human":"2.089598ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:18 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:18.056355022-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":1464107,"latency_human":"1.464107ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:23 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:23.060192173-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":1510629,"latency_human":"1.510629ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:28 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:28.056345707-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":1383370,"latency_human":"1.38337ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:33 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:33.052182694-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":1507628,"latency_human":"1.507628ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:38 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:38.060740067-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":1529800,"latency_human":"1.5298ms","bytes_in":844,"bytes_out":1001}
Jul 16 19:24:43 CasaOS casaos-message-bus[18373]: {"time":"2024-07-16T19:24:43.05674372-04:00","id":"","remote_ip":"127.0.0.1","host":"127.0.0.1:37067","method":"POST","uri":"/v2/message_bus/event/casaos/casaos:system:utilization","user_agent":"Go-http-client/1.1","status":200,"error":"","latency":1647894,"latency_human":"1.647894ms","bytes_in":844,"bytes_out":1001}
-----
Errors in casaos-user-service.service logs:
Jul 16 19:17:58 CasaOS casaos-user-service[18388]: {"time":"2024-07-16T19:17:58.865975887-04:00","id":"","remote_ip":"192.168.1.65","host":"192.168.1.27:90","method":"GET","uri":"/v2/users/events","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36","status":200,"error":"","latency":2197158,"latency_human":"2.197158ms","bytes_in":0,"bytes_out":1391}
Jul 16 19:19:46 CasaOS casaos-user-service[18388]: 2024-07-16T19:19:46.613-0400        error        NvidiaGPUInfoList error        {"error": "exec: \"nvidia-smi\": executable file not found in $PATH", "func": "v1.GetUserStatus", "file": "/home/runner/work/CasaOS-UserService/CasaOS-UserService/route/v1/user.go", "line": 827}
Jul 16 19:19:47 CasaOS casaos-user-service[18388]: {"time":"2024-07-16T19:19:47.258951417-04:00","id":"","remote_ip":"192.168.1.65","host":"192.168.1.27:90","method":"GET","uri":"/v2/users/events","user_agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36","status":200,"error":"","latency":2031613,"latency_human":"2.031613ms","bytes_in":0,"bytes_out":1391}
-----
Service Logs: Errors Found
Some casaos services are not running. Please check the above output.

Additional context

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

I'm a Zimaboard user, got it from KickStarter

PeterBenko commented 2 months ago

This issue is still present in 0.4.11 for me

hoetzgit commented 1 month ago

This issue is still present in 0.4.11 for me

+1

PeterBenko commented 1 week ago

After updating to 0.4.13 this seems to have been fixed!