You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The storage widget does not display accurate storage information. Browser console suggests that an API call fails, returning no disk information:
service.js:130
GET http://192.168.1.74:82/v1/usb/usb-auto-mount 404 (Not Found)
service.js:130
GET http://192.168.1.74:82/v1/container 404 (Not Found)
index.js:86 [Vue warn]: Error in mounted hook: "TypeError: Cannot read properties of undefined (reading 'size')"
found in
---> <Disks> at src/widgets/Disks.vue
<VueCustomScrollbar>
<SideBar> at src/components/SideBar.vue
<HomePage> at src/views/Home.vue
<App> at src/App.vue
<Root>
index.js:86 TypeError: Cannot read properties of undefined (reading 'size')
at VueComponent.getDiskInfo (Disks.vue?./node_mod…oader-options:28:33)
at VueComponent.mounted (Disks.vue?./node_mod…oader-options:23:10)
at invokeWithErrorHandling (vue.esm.js:3794:61)
at callHook$1 (vue.esm.js:3294:13)
at Object.insert (vue.esm.js:4979:13)
at invokeInsertHook (vue.esm.js:7010:38)
at VueComponent.patch [as __patch__] (vue.esm.js:7224:9)
at Vue._update (vue.esm.js:3031:25)
at VueComponent.updateComponent (vue.esm.js:3137:16)
at Watcher.get (vue.esm.js:4223:33)
To Reproduce
Go to the home page
Expected behavior
Storage widget shows accurate information about available and used storage.
Screenshots
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Chrome
- Version: 131.0.6778.265
System Time
Local time: Tue 2025-01-21 12:01:10 PST
Universal time: Tue 2025-01-21 20:01:10 UTC
RTC time: Tue 2025-01-21 20:01:10
Time zone: Canada/Pacific (PST, -0800)
System clock synchronized: yes
NTP service: active
RTC in local TZ: no
Logs
Jan 21 11:36:16 MACHINE-NAME systemd[1]: Starting casaos-gateway.service - CasaOS Gateway...
░░ Subject: A start job for unit casaos-gateway.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit casaos-gateway.service has begun execution.
░░
░░ The job identifier is 109.
Jan 21 11:36:16 MACHINE-NAME casaos-gateway[697]: v0.4.8
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: git commit: eeb28d78941cf2746e611c02b148e347c47501da
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: build date: 2024-07-18T08:16:38Z
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] PROVIDE *service.State <= main.main.func4()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] INVOKE main.run()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] RUN provide: go.uber.org/fx.New.func1()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] RUN provide: main.main.func4()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: 2025-01-21T11:36:17.211-0800 error Failed to load routes {"error": "open /var/run/casaos/routes.json: no such file or directory", "filepath": "/var/run/casaos/routes.json", "func": "service.NewManagementService", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/service/management.go", "line": 32}
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 171.414µs
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: 2025-01-21T11:36:17.213-0800 info Management service is listening... {"address": "127.0.0.1:39089", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: 2025-01-21T11:36:17.213-0800 info Checking if service at URL is running... {"url": "http://[::]:82/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: 2025-01-21T11:36:17.215-0800 info New gateway is listening... {"address": "[::]:82", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 1.742776ms
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
Jan 21 11:36:17 MACHINE-NAME systemd[1]: Started casaos-gateway.service - CasaOS Gateway.
░░ Subject: A start job for unit casaos-gateway.service has finished successfully
░░ Defined-By: systemd
░░ Support: https://www.debian.org/support
░░
░░ A start job for unit casaos-gateway.service has finished successfully.
░░
░░ The job identifier is 109.
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: 2025-01-21T11:36:17.215-0800 info Static web service is listening... {"address": "127.0.0.1:42301", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
Jan 21 11:36:17 MACHINE-NAME casaos-gateway[727]: 2025-01-21T11:36:17.216-0800 info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
Jan 21 11:45:13 MACHINE-NAME casaos-gateway[727]: 2025/01/21 11:45:13 http: proxy error: context canceled
Additional context
The widget worked previously.
The issue appeared after, but may not be related to, installing nginx proxy manager and changing the web UI port to 82.
The text was updated successfully, but these errors were encountered:
Describe the bug
The storage widget does not display accurate storage information. Browser console suggests that an API call fails, returning no disk information:
To Reproduce
Expected behavior
Storage widget shows accurate information about available and used storage.
Screenshots
Desktop (please complete the following information):
System Time
Logs
Additional context
The text was updated successfully, but these errors were encountered: