IceWhaleTech / CasaOS

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

[Bug] #1538

Open EfeBatistaArda opened 12 months ago

EfeBatistaArda commented 12 months ago

Describe the bug USB Auto Mount makes the system hang when a USB Boot is selected

A clear and concise description of what the bug is. I am using a Raspberry Pi 4 with and Argon One SSD Case, booting from an SSD using the USB connection. The auto mount function temproraily disconnects the SSD and causes the system to hang. The services keep running but CasaOS is unresponsive and SSH function goes down. To Reproduce Install CasaOS on Raspberry Pi SSD, keep the default USB mount option. Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior

A clear and concise description of what you expected to happen. Dont try to mount the OS drive if it uses a USB connection. Screenshots

If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

System Time

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.

jerrykuku commented 12 months ago

Usb mounting can cause problems with Raspberry Pi usb booting. This is a known issue, so we recommend that if you use usb to boot your Raspberry Pi, turn off automounting.