Read the statement by Michael Teeuw here.
Problem after update Master branch
-
@Klinge said in Problem after update Master branch:
npm error [cause]: [Error: ENOSPC: no space left on device, write]
your disk is full
-
@sdetweil Oh no! So simple. How embarrassing. Sorry!
I’m just wondering what’s filling up the card. But I’ll figure that out.
Thank you for your help!
-
I’m sorry, but I need some more help with this issue.
I can’t find the files that are filling up my SD card’s memory.
When I search for used storage space, I get the following result:
sudo du -hsx * | sort -rh | head -10 6.4G home 5.5G usr 1.3G var 105M boot 16M root 10M opt 7.2M etc 1.9M tmp 1.3M run 16K lost+foundIf I now run the same search in the /home directory
sudo du -hsx * | sort -rh | head -10 6.4G klingI display the folder contents …/kling
ls -laSr -rw-r--r-- 1 kling kling 0 Jul 4 2024 .sudo_as_admin_successful -rwxr-xr-x 1 root root 14 Oct 1 2024 pir.sh -rw------- 1 kling kling 20 Jan 6 17:11 .lesshst -rwxr-xr-x 1 kling kling 37 Oct 1 2024 monitor_on.sh -rwxr-xr-x 1 root root 37 Oct 1 2024 monitor_on_root.sh -rwxr-xr-x 1 kling kling 37 Oct 1 2024 monitor_off.sh -rwxr-xr-x 1 root root 37 Oct 1 2024 monitor_off_root.sh -rw-r--r-- 1 kling kling 58 Jan 3 09:07 .gitconfig -rw------- 1 kling kling 60 Jan 13 22:03 .Xauthority -rw-r--r-- 1 kling kling 220 Jul 4 2024 .bash_logout -rw-r--r-- 1 root root 351 Oct 1 2024 test.py -rw-r--r-- 1 kling kling 807 Jul 4 2024 .profile -rwxr-xr-x 1 root root 1007 Oct 1 2024 pir.py -rw-r--r-- 1 kling kling 3523 Jul 4 2024 .bashrc drwxr-xr-x 2 kling kling 4096 Jul 4 2024 Videos drwxr-xr-x 2 kling kling 4096 Jul 4 2024 Templates drwxr-xr-x 2 kling kling 4096 Jul 4 2024 Public drwxr-xr-x 5 kling kling 4096 Jan 13 22:03 .pm2 drwx------ 3 kling kling 4096 Oct 1 2024 .pki drwxr-xr-x 2 kling kling 4096 Jul 4 2024 Pictures drwxr-xr-x 4 kling kling 4096 Oct 1 2024 .npm drwxr-xr-x 2 kling kling 4096 Jul 4 2024 Music drwx------ 4 kling kling 4096 Oct 1 2024 .mozilla drwxr-xr-x 16 kling kling 4096 Jan 14 09:11 MagicMirror drwxr-xr-x 4 kling kling 4096 Jul 4 2024 .local drwxr-xr-x 3 kling kling 4096 Oct 1 2024 .electron-gyp drwxr-xr-x 2 kling kling 4096 Oct 31 2024 Downloads drwxr-xr-x 2 kling kling 4096 Jul 4 2024 Documents drwxr-xr-x 2 kling kling 4096 Feb 13 2025 Desktop drwx------ 10 kling kling 4096 Feb 19 2025 .config drwx------ 11 kling kling 4096 Jun 27 2025 .cache drwxr-xr-x 2 kling kling 4096 Jul 4 2024 Bookshelf drwxr-xr-x 3 root root 4096 Jul 4 2024 .. drwx------ 20 kling kling 4096 Jan 14 09:03 . -rw------- 1 kling kling 10446 Jan 13 20:56 .bash_history -rw------- 1 kling kling 24785 Jan 14 09:11 .xsession-errors -rw------- 1 kling kling 82704 Jan 13 22:03 .xsession-errors.old -rw-r--r-- 1 kling kling 243765 Jan 6 15:25 install.logand when I search here again to find the 6.4 GB, I get the following result
sudo du -hsx * | sort -rh | head -10 1.4G MagicMirror 55M Bookshelf 244K install.log 108K Downloads 8.0K Desktop 4.0K Videos 4.0K test.py 4.0K Templates 4.0K Public 4.0K pir.shWith these results, I don’t know where the 6.4 GB is being used.
What am I doing wrong?
Thank you in advance.
-
@Klinge You either have some logs that have exploded in size, or a corrupting SD card. Either way, I’d recommend a reformat and/or a new SD card.
-
@BKeyport I agree. Weird results multiple times New sd card time
Use my backup/restore to save (backup) your MagicMirror config
And after install, use restore to put it back -
ok, thank you for you advice. I will use a new card .
-
K Klinge has marked this topic as solved
