The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Solved: Update fails: Update cannot proceed without at least 500M space
#1
Hello together,

I use the great audioplayer since many years. At this place: Many thanks to all contributors for the great work!

a few days ago, I tried to update my installation with this error message "Update cannot proceed without at least 500M space". The last Update I got the same error und reinstaled all new. But this time I took a deeper look.

There is still enough free space.


Code:
Filesystem      Size  Used Avail Use% Mounted on
udev            886M     0  886M   0% /dev
tmpfs           185M  2.4M  183M   2% /run
/dev/mmcblk0p2   29G  3.9G   24G  15% /
tmpfs           925M     0  925M   0% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
/dev/mmcblk0p1  253M   41M  212M  17% /boot
/dev/md0        3.7T  1.1T  2.6T  30% /media/raspberry
tmpfs           185M     0  185M   0% /run/user/1000


So I read a litte bit in the php code. In file /var/www/sys-config.php at line 73


Code:
$space = sysCmd("df | grep /dev/root | awk '{print $4}'");

but it seems that there is no /dev/root so the free space retrival is 0.

I commented some lines out below and the update worked very fine.


It would be great, if you take a look and do a modificaton in the code.


Many thanks in advance,
Friedemann

P.S.:
Code:
ln -s /dev/mmcblk0p2 /dev/root

could be the solution for my installation?
Reply


Messages In This Thread
Update fails: Update cannot proceed without at least 500M space - by dersucher - 09-13-2023, 12:26 PM

Forum Jump: