Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

casa os randomly breaks #1876

Open
TheCorruptCat opened this issue Jun 17, 2024 · 7 comments
Open

casa os randomly breaks #1876

TheCorruptCat opened this issue Jun 17, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@TheCorruptCat
Copy link

TheCorruptCat commented Jun 17, 2024

Describe the bug

casa os randomly breaks I am unable to access the web UI or any apps i installed

To Reproduce

Steps to reproduce the behavior:

  1. install casaos
  2. wait
  3. get kicked out of web ui
  4. unable to access web ui even after reboot and enabling in systemd

Expected behavior

Casaos works fine and does not break

Screenshots

image

Desktop (please complete the following information):

 - OS: [Linux (fedora) server runs ubuntu server but also ran debian with the same problem]
 - Browser firefox
 - Version 0.4.9

System Time

Run timedatectl and share the output

(timedatectl output here)
          Local time: Mon 2024-06-17 00:40:51 UTC
       Universal time: Mon 2024-06-17 00:40:51 UTC
             RTC time: Mon 2024-06-17 00:40:52
            Time zone: Etc/UTC (UTC, +0000)

System clock synchronized: no
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

░░ Subject: A start job for unit casaos-gateway.service has begun execution
░░ Defined-By: systemd
░░ Support: https://www.ubuntu.com/support
░░
░░ A start job for unit casaos-gateway.service has begun execution.
░░
░░ The job identifier is 154.
Jun 17 00:32:19 carter casaos-gateway[840]: v0.4.8
Jun 17 00:32:19 carter casaos-gateway[896]: git commit: c63f7c502de32f430cfeb9fc3e6a6c89d3c19032
Jun 17 00:32:19 carter casaos-gateway[896]: build date: 2024-03-12T08:51:02Z
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] PROVIDE *service.State <= main.main.func4()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] PROVIDE *service.Management <= github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] PROVIDE *route.ManagementRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] PROVIDE *route.GatewayRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] PROVIDE *route.StaticRoute <= github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] PROVIDE fx.Lifecycle <= go.uber.org/fx.New.func1()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] PROVIDE fx.Shutdowner <= go.uber.org/fx.(*App).shutdowner-fm()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] PROVIDE fx.DotGraph <= go.uber.org/fx.(*App).dotGraph-fm()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] INVOKE main.run()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] RUN provide: go.uber.org/fx.New.func1()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] RUN provide: main.main.func4()
Jun 17 00:32:20 carter casaos-gateway[896]: 2024-06-17T00:32:20.204Z 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}
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/service.NewManagementService()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewManagementRoute()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewGatewayRoute()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] RUN provide: github.com/IceWhaleTech/CasaOS-Gateway/route.NewStaticRoute()
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] HOOK OnStart main.run.func1() executing (caller: main.run)
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] HOOK OnStart main.run.func1() called by main.run ran successfully in 255.2µs
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] HOOK OnStart main.run.func2() executing (caller: main.run)
Jun 17 00:32:20 carter casaos-gateway[896]: 2024-06-17T00:32:20.508Z info Management service is listening... {"address": "127.0.0.1:46319", "filepath": "/var/run/casaos/management.url", "func": "main.run.func1.1", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 206}
Jun 17 00:32:20 carter casaos-gateway[896]: 2024-06-17T00:32:20.508Z info Checking if service at URL is running... {"url": "https://[::]:7778/ping", "retry": 10, "func": "main.checkURLWithRetry", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 382}
Jun 17 00:32:20 carter casaos-gateway[896]: 2024-06-17T00:32:20.509Z info New gateway is listening... {"address": "[::]:7778", "func": "main.reloadGateway", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 358}
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] HOOK OnStart main.run.func2() called by main.run ran successfully in 1.163486ms
Jun 17 00:32:20 carter casaos-gateway[896]: [Fx] HOOK OnStart main.run.func3() executing (caller: main.run)
Jun 17 00:32:20 carter casaos-gateway[896]: 2024-06-17T00:32:20.509Z info Static web service is listening... {"address": "127.0.0.1:36187", "filepath": "/var/run/casaos/static.url", "func": "main.run.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 311}
Jun 17 00:32:20 carter casaos-gateway[896]: 2024-06-17T00:32:20.509Z info Notified systemd that gateway is ready {"func": "main.main.func3", "file": "/home/runner/work/CasaOS-Gateway/CasaOS-Gateway/main.go", "line": 157}
Jun 17 00:32:20 carter 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.ubuntu.com/support
░░
░░ A start job for unit casaos-gateway.service has finished successfully.
░░
░░ The job identifier is 154.
Jun 17 00:32:23 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:23 | 200 | 836.629µs | 127.0.0.1 | GET "/ping"
Jun 17 00:32:23 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:23 | 201 | 150.578µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:23 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:23 | 201 | 67.396µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 200 | 229.08µs | 127.0.0.1 | GET "/ping"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 98.756µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 71.028µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 71.447µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 66.14µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 200 | 57.689µs | 127.0.0.1 | GET "/ping"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 110.21µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 76.826µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 419.816µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 81.575µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 800.451µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 85.975µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 70.33µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 77.873µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 70.191µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 410.666µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 78.013µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 75.079µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 71.448µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:25 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 81.435µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:26 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:25 | 201 | 77.175µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:26 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:26 | 201 | 83.6µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:26 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:26 | 201 | 73.613µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:34 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:34 | 200 | 135.842µs | 127.0.0.1 | GET "/ping"
Jun 17 00:32:35 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:35 | 201 | 197.581µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:35 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:35 | 201 | 101.479µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:35 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:35 | 201 | 74.451µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:35 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:35 | 201 | 72.774µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:35 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:35 | 201 | 81.645µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:47 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:47 | 200 | 151.835µs | 127.0.0.1 | GET "/ping"
Jun 17 00:32:47 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:47 | 201 | 186.057µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:47 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:47 | 201 | 87.791µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:47 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:47 | 201 | 89.606µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:47 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:47 | 201 | 151.486µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:32:47 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:32:47 | 201 | 78.781µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 200 | 191.784µs | 127.0.0.1 | GET "/ping"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 137.658µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 90.095µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 91.492µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 91.143µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 90.654µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 77.384µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 138.705µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 146.247µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 82.343µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 74.241µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 95.893µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 92.331µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 78.571µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 87.302µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 71.169µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 74.311µs | 127.0.0.1 | POST "/v1/gateway/routes"
Jun 17 00:33:03 carter casaos-gateway[896]: [GIN] 2024/06/17 - 00:33:03 | 201 | 91.073µs | 127.0.0.1 | POST "/v1/gateway/routes"

@TheCorruptCat TheCorruptCat added the bug Something isn't working label Jun 17, 2024
@henrikhjelmse
Copy link

can you connect to the server, after it crash ?

@TheCorruptCat
Copy link
Author

no

@henrikhjelmse
Copy link

so no ssh or something like that ?

@TheCorruptCat
Copy link
Author

no clue what it could be but would the graphics card have any impact on casaos

@TheCorruptCat
Copy link
Author

becuase the one on the server shows oversaturated colors when I tried fedora

@TheCorruptCat
Copy link
Author

So far I have tried arch, debian, ubuntu and fedora

@TheCorruptCat
Copy link
Author

Ima try fedora server and see where that goes but I also have tried normal Debian and Ubuntu along with the server versions but nothing seems to work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants