Before this submit, I've seen these answers:
After recent update, WebGUI stuck in endless Login Loop
Here is some features of my problem:
1. Failed to log in the web UI. The web can be visited, but I cannot log in with right accounts. Meanwhile, the monitoring alerts are all stopping so that I cannot receive any automatic report from my NAS
2. Docker daemon not running.
3. Successful ZFS file system. My win10 computer can access the files in NAS
4. Successful ssh visit
5. Reboot is useless
6. All this happened in May 2020, But I'm not sure the exact day.
In addition, the last alert I recieved from my NAS:
The system monitoring needs your attention.
Host: \openmediavault.local
Date: Sun, 05 Apr 2020 10:33:42
Service: rootfs
Event: Resource limit matched
Description: space usage 85.7% matches resource limit [space usage > 85.0%]
This triggered the monitoring system to: alert
According to Can't login via WEB GUI, it could be the result of space overfilled. I check the space status:
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 1.9G 0 1.9G 0% /dev
tmpfs 383M 41M 343M 11% /run
/dev/sda1 11G 11G 0 100% /
tmpfs 1.9G 240K 1.9G 1% /dev/shm
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 1.9G 0 1.9G 0% /sys/fs/cgroup
tmpfs 1.9G 32K 1.9G 1% /tmp
nas 6.9T 2.1T 4.8T 30% /nas
tmpfs 383M 0 383M 0% /run/user/0
Alles anzeigen
So I know it's the space prolem of /dev/sda1. Continue check:
$ du -hsx /var/* | sort -rh | head -10
7.5G /var/lib
642M /var/cache
19M /var/log
6.6M /var/www
2.7M /var/spool
108K /var/backups
8.0K /var/tmp
4.0K /var/opt
4.0K /var/mail
4.0K /var/local
$ du -hsx /usr/* | sort -rh | head -10
1.4G /usr/lib
493M /usr/share
394M /usr/bin
107M /usr/src
89M /usr/libexec
41M /usr/sbin
84K /usr/include
72K /usr/local
4.0K /usr/libx32
4.0K /usr/lib64
Alles anzeigen
However, when I try:
$ ls -alhS /var/lib/*
/var/lib/apt:
total 64K
-rw-r--r-- 1 root root 28K Mar 7 09:07 extended_states
drwxr-xr-x 4 root root 12K Apr 9 04:45 lists
drwxr-xr-x 5 root root 4.0K Mar 7 09:07 .
drwxr-xr-x 42 root root 4.0K Feb 27 10:34 ..
drwxr-xr-x 3 root root 4.0K Feb 22 12:46 mirrors
drwxr-xr-x 2 root root 4.0K May 28 2019 periodic
-rw-r--r-- 1 root root 271 Feb 22 12:47 cdroms.list
-rw-r--r-- 1 root root 271 Feb 22 12:46 cdroms.list~
-rw-r--r-- 1 root root 0 Jun 5 06:50 daily_lock
...(too many information. All records can be seemed in attachment 'full discriptions.pdf')
Alles anzeigen
The big files were not found. Every file seems to be small.
According to the features before, I think it's the space trick. I don't know how to solve it for the occupied source is invisible.
By the way, I've also try After recent update, WebGUI stuck in endless Login Loop 's doing: chmod 777 /var/lib/php/sessions
It doesn't work.
Systerm version information:
Linux openmediavault.local 5.3.18-2-pve #1 SMP PVE 5.3.18-2 (Sat, 15 Feb 2020 15:11:52 +0100) x86_64 GNU/Linux