IceWhaleTech / CasaOS

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

[Bug] System keeps shutting off (thermal_zone3) #1654

Open rainr4 opened 5 months ago

rainr4 commented 5 months ago

So I start up the server just fine and I'm just using it, then like 10-15min it just automatically shuts off.

The log file states: '''25T11:52:19.815-0600 info CPU thermal zone found: x86_pkg_temp, path: /sys/devices/virtual/thermal/thermal_zone3. {"func": "service.GetCPUThermalZone", "file": "/home/runner/work/CasaOS/CasaOS/service/system.go", "line": 462}'''

But I'm using lm-sensors to detect temperatures of the CPU and even setup a log to keep track of the temperatures before shut down and the temperatures are fine.

To reproduce it in my system is just to startup the server and have run with a bit of load or no load for 10-15min. And I will state this did not happen prior to installing Debian 12 to run CasaOS. I was previous running Ubuntu and just hosting Minecraft like normal.

System shutdowns without any warning but the log file on CasaOS says this:

image

This is the file I setup to log the temperatures temperature_log.txt

 - OS: Linux Debian 12
 - Browser: Brave
 - Version: v0.4.6

Thu Jan 25 11:56:09 2024

Run timedatectl and share the output

               Local time: Thu 2024-01-25 12:14:47 CST
           Universal time: Thu 2024-01-25 18:14:47 UTC
                 RTC time: Thu 2024-01-25 18:14:47
                Time zone: US/Central (CST, -0600)
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-gateway.txt

sudo journalctl -xef -u casaos-user-service sudo journalctl -xef -u casaos-user-service.txt

sudo journalctl -xef -u casaos-local-storage sudo journalctl -xef -u casaos-local-storage.txt

sudo journalctl -xef -u casaos-app-management sudo journalctl -xef -u casaos-app-management.txt

sudo journalctl -xef -u casaos.service sudo journalctl -xef -u casaos.service.txt

wintercharm commented 4 months ago

I'm having the same issue, on a Ryzen 5560U system. Random system shutdown. I'll try to post logs later this week. It happens like clockwork after about 15 minutes of being up. Unsure what to do to troubleshoot but is there some hardware monitoring utility that CasaOS uses.

I have a clean install of Debian 12 with nothing else running / no other applications installed except the default packages + CasaOS & the Crafty app (for MC Hosting).

The issue did not happen prior to the CasaOS installation.