Disk usage is not showing
-
It's the same (disk usage not showing) for me and you seem to be in a similar position - you're hosting Cloudron on your own hardware as do I.
Somehow that doesn't work in Cloudron.The output of my
df -h
is:Dateisystem Größe Benutzt Verf. Verw% Eingehängt auf udev 3,8G 0 3,8G 0% /dev tmpfs 765M 3,0M 762M 1% /run /dev/mapper/beebox--vg-root 455G 367G 65G 86% / tmpfs 3,8G 8,0K 3,8G 1% /dev/shm tmpfs 5,0M 0 5,0M 0% /run/lock tmpfs 3,8G 0 3,8G 0% /sys/fs/cgroup /dev/loop0 9,2M 9,2M 0 100% /snap/canonical-livepatch/94 /dev/loop1 56M 56M 0 100% /snap/core18/1885 /dev/loop2 55M 55M 0 100% /snap/core18/1880 /dev/loop4 97M 97M 0 100% /snap/core/9665 /dev/loop5 9,2M 9,2M 0 100% /snap/canonical-livepatch/95 /dev/sdb1 472M 146M 303M 33% /boot /dev/sda1 1,8T 1,6T 195G 89% /media/SG2TB /dev/loop6 97M 97M 0 100% /snap/core/9804
-
In the last days I had another problem with Cloudron.
Due to my energy strategy, my NAS was turned off during the night, which meant that Cloudron did not make its backups during the night on my NAS, but on the local hard drive until it recently overflowed. This in turn caused Cloudron not to start at all for the last few days.
After I fixed the memory shortage, Cloudron was also happy again and started up perfectly. But I never got a warning about the end of the space on a mount and I think that the missing display is the reason why I didn't get a warning.
@nebulon no this server run for months, but I haven't look at this view so often.
-
@girish here my df -T
Dateisystem Typ 1K-Blöcke Benutzt Verfügbar Verw% Eingehängt auf udev devtmpfs 1983300 0 1983300 0% /dev tmpfs tmpfs 402984 1640 401344 1% /run /dev/sda1 ext4 114854020 20887388 88089284 20% / tmpfs tmpfs 2014920 0 2014920 0% /dev/shm tmpfs tmpfs 5120 0 5120 0% /run/lock tmpfs tmpfs 2014920 0 2014920 0% /sys/fs/cgroup overlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/3d984836c32bfff588e3797034c1662942f1504c981a7219253485e773190500/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/a4451de1f4ba54666842fafdfb4dc612ebd843bbea29e97f04ae85de3626b9cc/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/5f61f6157ad9e9ffeb8ffa7741aa592274ac1667da92303c4bd2234781252596/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/f0dc48a71e738483586bc733152fd3a800ab6ac5bdd620903ad2318038cd61d7/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/88ec3859290a3d91693a77a2f757689ba125747081a58a653eb04695f66a3ac0/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/a7d12cfb6b0d6e7b4271a13167291c6138ea92493e9aeadd1506783295968188/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/43606a48a6b8be1d399f29925c81eccb0a0c0a0a0afa534b18ee809209f8c285/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/ec79146bdd7d43b7d4de8d4558b64d413d3fae3f3a40863cb13ac1ddd195e3ac/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/2170c50636423238dbfd502e838fea9dcc6dbc864cd71b3a6302a788ecf2c35a/mergedoverlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/0d66eef326b45fb06d32fbfc5edbd190c89e8d475f823cb25b33a7024aa5de92/mergedshm tmpfs 65536 0 65536 0% /var/lib/docker/containers/a6454dae9b1c9085dce249f67adcd17e798c234c7d2a3aa396e1be94134058e7/mounts/shm shm tmpfs 65536 0 65536 0% /var/lib/docker/containers/4b8fb396f5afc74cf0dfc6ee92c1c6203ac00d1a443f3ea7eb6839d5e593c449/mounts/shm shm tmpfs 65536 12 65524 1% /var/lib/docker/containers/38b601166fba344596b2312be89148c768e3bb69c1aa9f01a7accb4a467f2266/mounts/shm shm tmpfs 65536 0 65536 0% /var/lib/docker/containers/4bf379bf198f04e1305063715a455fa7e25276122d1046d450b78a698e435208/mounts/shm shm tmpfs 65536 0 65536 0% /var/lib/docker/containers/fa5aa8b8c39e9948506c23999f831f788f7feccf64a8194ab3cfe1d34d768865/mounts/shm shm tmpfs 65536 0 65536 0% /var/lib/docker/containers/3ebabbbffb3e128ac161b33131295a5d9371b90b2e9fca78bf28fae0e61101e6/mounts/shm shm tmpfs 65536 0 65536 0% /var/lib/docker/containers/c52ac042656543ba662e459f8a92f5e6c550e71fdfd228454556ff8c1e876ae8/mounts/shm shm tmpfs 65536 0 65536 0% /var/lib/docker/containers/7736581825a172c02b1aa6fdc36ccd4cd112d876057b204262bc9863a0793a6e/mounts/shm shm tmpfs 65536 0 65536 0% /var/lib/docker/containers/86766194c255009c565ad04ba741de1f092fa8ea33b697cb7afa81d02afa56fb/mounts/shm shm tmpfs 65536 0 65536 0% /var/lib/docker/containers/e51fa532b65c9ae1612037eff5eb90e49ac43f9bb56d815eeb4c1995dbb037b8/mounts/shm overlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/65211ce91bf32a7a6189d901570503ecfc1fd86440337d0f90cbb9027041037d/mergedshm tmpfs 65536 0 65536 0% /var/lib/docker/containers/e464adf6b1854ca248664c47d0fe325bb46134a811908b998e3d7436906227a0/mounts/shm //nas/backup/Nextcloud cifs 1918590988 1014708320 903882668 53% /backup tmpfs tmpfs 402984 0 402984 0% /run/user/1000 overlay overlay 114854020 20887388 88089284 20% /var/lib/docker/overlay2/ec5a9d177c0bb5c591f0e41609b3322a1623a3799be4233f13afef8a2eea08f7/mergedshm tmpfs 65536 0 65536 0% /var/lib/docker/containers/5829d1e2c33958043e735d4dbce7f0f1907e91dadbb38bf258cfcd6d55a0b182/mounts/shm cto@nextcloud:~$
-
Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 3.8G 0 3.8G 0% /dev tmpfs tmpfs 765M 2.9M 762M 1% /run /dev/mapper/beebox--vg-root ext4 455G 367G 65G 86% / tmpfs tmpfs 3.8G 8.0K 3.8G 1% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup /dev/loop0 squashfs 9.2M 9.2M 0 100% /snap/canonical-livepatch/94 /dev/loop1 squashfs 56M 56M 0 100% /snap/core18/1885 /dev/loop2 squashfs 55M 55M 0 100% /snap/core18/1880 /dev/loop4 squashfs 97M 97M 0 100% /snap/core/9665 /dev/loop5 squashfs 9.2M 9.2M 0 100% /snap/canonical-livepatch/95 /dev/sdb1 ext2 472M 146M 303M 33% /boot /dev/sda1 ext4 1.8T 1.6T 195G 89% /media/SG2TB /dev/loop6 squashfs 97M 97M 0 100% /snap/core/9804
-
@girish said in Disk usage is not showing:
we only scan ext4 disks
I think that is the reason for both problem. I use a cifs Share and @necrevistonnezr use a ext2 Partition Format.
I try temporarily to unmount my backup drive and look into the view.
-
@roru2k20 said in Disk usage is not showing:
@girish said in Disk usage is not showing:
we only scan ext4 disks
I think that is the reason for both problem. I use a cifs Share and @necrevistonnezr use a ext2 Partition Format.
I try temporarily to unmount my backup drive and look into the view.
But only /boot is formatted with ext2?! (and I don’t really know why...)
-
I'm having a similar issue as well.
Edit: Please let me know if I need to open a new thread.
Edit2: Not a new system. It's been running for about a week.Vultr, Ubuntu 20.04.1, Cloudron 5.6.3
System Info
Chrome - Console log
df -Th
Filesystem Type Size Used Avail Use% Mounted on udev devtmpfs 1.9G 0 1.9G 0% /dev tmpfs tmpfs 394M 1.7M 392M 1% /run /dev/vda1 ext4 76G 15G 57G 21% / tmpfs tmpfs 2.0G 0 2.0G 0% /dev/shm tmpfs tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup tmpfs tmpfs 394M 24K 394M 1% /run/user/125 overlay overlay 76G 15G 57G 21% /var/lib/docker/overlay2/4aa0476d5e9f54a77fb245e7c391ce49bc6a80fc7120300cc8933261bd32878a/merged overlay overlay 76G 15G 57G 21% /var/lib/docker/overlay2/a6ea14043f42c07087d1f133d33d50e161cef9342b8360ed6601c3bdc292dfcb/merged overlay overlay 76G 15G 57G 21% /var/lib/docker/overlay2/1b24ff91fc4450d69d8419879fc46925d20327bfcafdb466e143752a7b5db1a1/merged overlay overlay 76G 15G 57G 21% /var/lib/docker/overlay2/60e4893426213b77982f2b47efca482389d720e7148ed9a4cb205348e8929ca6/merged overlay overlay 76G 15G 57G 21% /var/lib/docker/overlay2/69b4dd2921b7120b9d3b33089d9cbe945655bdddd61df8f5d06ece86c461350c/merged overlay overlay 76G 15G 57G 21% /var/lib/docker/overlay2/dea7c24f3096cb7737d60b10794ce8c2d3d4249f0c48707f54d6a3fa443508ee/merged overlay overlay 76G 15G 57G 21% /var/lib/docker/overlay2/c28552a10f0f0736d46f6be64046b05a5195fd16b9f844a9fd95316ecf3755e5/merged overlay overlay 76G 15G 57G 21% /var/lib/docker/overlay2/0d8cf0c75789aab0bfc2a2802995a65c06e7a0476ba4315ff73ece45d34e25e0/merged tmpfs tmpfs 394M 0 394M 0% /run/user/0
Cloudron system log
Dec 02 11:59:50 box:apphealthmonitor app health: 1 alive / 0 dead. Dec 02 12:00:00 box:disks Checking disk space Dec 02 12:00:00 box:janitor Cleaning up expired tokens Dec 02 12:00:00 box:janitor Cleaned up 0 expired tokens. Dec 02 12:00:00 box:tasks startTask - starting task 40. logs at /home/yellowtent/platformdata/logs/tasks/40.log Dec 02 12:00:00 box:shell startTask spawn: /usr/bin/sudo -S -E /home/yellowtent/box/src/scripts/starttask.sh 40 /home/yellowtent/platformdata/logs/tasks/40.log 0 400 Dec 02 12:00:00 box:disks checkDiskSpace: disk space checked. ok: true Dec 02 12:00:00 box:notifications alert: id=diskSpace title=Server is running out of disk space Dec 02 12:00:00 box:apphealthmonitor app health: 1 alive / 0 dead. Dec 02 12:00:00 box:shell startTask (stdout): Running as unit: box-task-40.service Dec 02 12:00:01 box:shell startTask (stdout): Finished with result: success Dec 02 12:00:01 box:shell startTask (stdout): Main processes terminated with: code=exited/status=0 Dec 02 12:00:01 box:shell startTask (stdout): Service runtime: 1.164s Dec 02 12:00:01 box:shell startTask (stdout): Service box-task-40 finished with exit code 0 Dec 02 12:00:01 box:tasks startTask: 40 completed with code 0 and signal 0 Dec 02 12:00:01 box:tasks startTask: 40 done Dec 02 12:00:10 box:apphealthmonitor app health: 1 alive / 0 dead.
-
@lolliop Yes, as @msbt just said, you should not be on Ubuntu 20.04. I'm surprised, how did you end up with cloudron on ubuntu 20 ?
Did you install it directly on 20.04, and the installer worked ? (It should not)
Or did you update the underlying Ubuntu while Cloudron was already installed ? (In that case, I am very surprised that this disk usage thing is the only thing that broke ^^) -
I suspect @lolliop did a dist upgrade to Ubuntu 20. This would have broken graphite/collected which is what we use for graphs since the collected/python3 plugins don't work on ubuntu 20 out of the box. See https://bugs.launchpad.net/ubuntu/+source/collectd/+bug/1872281 and https://bugs.archlinux.org/task/64533 . @lolliop can you confirm?
-
Oh. My mistake then.
I thought Ubuntu 20.04 is already supported, because I checked the script, cloudron-setup, and it no longer prohibits me from installing on Ubuntu Fossa (It used to though).
I didn't do a dist upgrade. It was installed on a clean Ubuntu 20.04.1.
So far, everything else seems to be OK (touch wood). But then I'm just testing Open Project.
-
@lolliop You can try this:
echo -e "\nLD_PRELOAD=/usr/lib/python3.8/config-3.8-x86_64-linux-gnu/libpython3.8.so" >> /etc/default/collectd
then
systemctl restart collectd
. And graphs might appear in some time.As for Ubuntu 20.04 support, indeed we are just releasing Cloudron 6 which will support Focal. So, you caught us in between the release process.
-
@necrevistonnezr said in Disk usage is not showing:
@roru2k20 said in Disk usage is not showing:
@girish said in Disk usage is not showing:
we only scan ext4 disks
I think that is the reason for both problem. I use a cifs Share and @necrevistonnezr use a ext2 Partition Format.
I try temporarily to unmount my backup drive and look into the view.
But only /boot is formatted with ext2?! (and I don’t really know why...)
Mine are still not showing under 18.04...
-
@lolliop @necrevistonnezr I think I found the issue for Ubuntu 20 atleast. Can you please try https://git.cloudron.io/cloudron/box/-/commit/6810d823f542808860955196d959fadaba0a9ab8 ? The file is at
/home/yellowtent/box/setup/start/collectd/df.py
. After you make the changesystemctl restart collectd
. You can check the logs in/home/yellowtent/platfordata/logs/collectd/app.log
.