[SOLVED] Update fails: Update cannot proceed without at least 500M space - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: [SOLVED] Update fails: Update cannot proceed without at least 500M space (/showthread.php?tid=5772) |
Update fails: Update cannot proceed without at least 500M space - dersucher - 09-13-2023 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 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? RE: Update fails: Update cannot proceed without at least 500M space - Nutul - 09-13-2023 Code: $space = sysCmd("df | grep /dev/root | awk '{print $4}'"); I remember there was another guy, some time ago with the same situation, thou' I cannot remember what was the cause for it. RE: Update fails: Update cannot proceed without at least 500M space - Tim Curtis - 09-13-2023 On an official image /dev/root exists Code: pi@moode:~ $ df | grep /dev/root | awk '{print $4}' I'm not sure how it can get removed. RE: Update fails: Update cannot proceed without at least 500M space - TheOldPresbyope - 09-13-2023 Yeah, it was a user who had been hacking his player but didn't tell us until late in the conversation @dersucher The moOde code parses the output of the df command so what do you get if you run it? You should see something like the output below (taken from one of my 8.3.6 players) Code: @rpi@m836-64:~ $ df If df isn't reporting filesystem /dev/root then moOde's System info report likely also says you have no Root size, etc. Regards, Kent RE: Update fails: Update cannot proceed without at least 500M space - Nutul - 09-13-2023 (09-13-2023, 01:51 PM)TheOldPresbyope Wrote: Yeah, it was a user who had been hacking his player but didn't tell us until late in the conversation Yep, that was! So... before it's too late, maybe the OP wants to tell us more about his system, and apologize for not having told the whole story, shall it be the case, right? RE: Update fails: Update cannot proceed without at least 500M space - dersucher - 09-13-2023 (09-13-2023, 02:01 PM)Nutul Wrote:Yes, I added a litte RAID funcionality with mdtools package.(09-13-2023, 01:51 PM)TheOldPresbyope Wrote: Yeah, it was a user who had been hacking his player but didn't tell us until late in the conversation I will try Out a News SDCard with the Image. Many thanks for fast replying. Sorry when wasting Your time Debugging my Installation. Cheers RE: Update fails: Update cannot proceed without at least 500M space - dersucher - 09-13-2023 For the archive: I used an initramfs in moode 8.3.5 for supporting btrfs. That is causing the missing /dev/root. It changes something I don't know at this time. This is further not a moode support question. Many thanks to all ;-) RE: Update fails: Update cannot proceed without at least 500M space - Nutul - 09-13-2023 (09-13-2023, 06:01 PM)dersucher Wrote: For the archive: I was thinking... maybe you can ssh into the Pi, create the /root directory, mount it and try the update again... Code: sudo mkdir /root |