<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[VM Disk Full - 50 GiB in 4 months]]></title><description><![CDATA[<p dir="auto">Query: What would cause a MagicMirror installed on a VM to fill up the 50 GiB VM virtual disk over 4 months?</p>
<p dir="auto">I have an instance of MagicMirror installed in a Linux VM running under TrueNAS, which is mostly used to try out modules, configurations or layouts without disturbing the main MagicMirror. When I went to look at it yesterday I found the VM running, but not MM. PM2 status did not show it running, and it would [re]start. MagicMirror is the only thing installed on the VM, and running modules were newsfeed and default weather [5 instances],</p>
<p dir="auto">Some searching tells me the virtual disk of 50 GiB is full! I have expanded the virtual disk size [resized the zvol], but am unable to extend the partition and filesystem as I get an error. I think it was along the lines of “you don’t have enough free space in /var/cache/apt/archives”.</p>
<p dir="auto">At this point it appeared the best route would be to just build a new VM and install MM, but when I went to start making notes to record what I was doing - I found this same thing happened some months ago. The current VM is an upsized VM that similarly locked up.</p>
<p dir="auto">Since starting over will not apparently solve the underlying root cause, I need some help.  Thanks in advance.</p>
]]></description><link>https://forum.magicmirror.builders/topic/20336/vm-disk-full-50-gib-in-4-months</link><generator>RSS for Node</generator><lastBuildDate>Thu, 20 Aug 2026 15:27:13 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/20336.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 Aug 2026 18:16:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 23:14:50 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johngalt" aria-label="Profile: JohnGalt">@<bdi>JohnGalt</bdi></a> you need sudo in front of the mini dump. Line cause the file is in the /var folder</p>
]]></description><link>https://forum.magicmirror.builders/post/131748</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131748</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2026 23:14:50 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 22:11:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> – OK, well…  The program DID install (I was surprised , given what has been happening…).  This resulted in an error. I specified that large file we identified earlier. Do let me know if I did the wrong thing.  See results below.</p>
<p dir="auto">While you are looking at this, I am going to fire up the other, older VM that also crashed and see if there is similar evidence there that might shed light.</p>
<pre><code>JohnGalt@MM-Dev-VM:~/MagicMirror$ sudo  npm install -g electron-minidump
[sudo] password for JohnGalt:

added 29 packages in 34s

1 package is looking for funding
  run `npm fund` for details
npm notice
npm notice New major version of npm available! 10.9.4 -&gt; 12.0.2
npm notice Changelog: https://github.com/npm/cli/releases/tag/v12.0.2
npm notice To update run: npm install -g npm@12.0.2
npm notice
JohnGalt@MM-Dev-VM:~/MagicMirror$ electron-minidump -f /var/lib/apport/coredump/core._home_al_MagicMirror_node_modules_electron_dist_electron.1000.f1d1264a-f2d2-4a44-8b27-e2f3182e030f.380943.121091464
Error: EACCES: permission denied, open '/var/lib/apport/coredump/core._home_al_MagicMirror_node_modules_electron_dist_electron.1000.f1d1264a-f2d2-4a44-8b27-e2f3182e030f.380943.121091464'
    at async Object.open (node:internal/fs/promises:641:25)
    at async electronMinidump (/usr/local/lib/node_modules/electron-minidump/index.js:11:14) {
  errno: -13,
  code: 'EACCES',
  syscall: 'open',
  path: '/var/lib/apport/coredump/core._home_al_MagicMirror_node_modules_electron_dist_electron.1000.f1d1264a-f2d2-4a44-8b27-e2f3182e030f.380943.121091464'
}
JohnGalt@MM-Dev-VM:~/MagicMirror$ sudo electron-minidump -f /var/lib/apport/coredump/core._home_al_MagicMirror_node_modules_electron_dist_electron.1000.f1d1264a-f2d2-4a44-8b27-e2f3182e030f.380943.121091464
Not a minidump file (MDMP header not found): /var/lib/apport/coredump/core._home_al_MagicMirror_node_modules_electron_dist_electron.1000.f1d1264a-f2d2-4a44-8b27-e2f3182e030f.380943.121091464
JohnGalt@MM-Dev-VM:~/MagicMirror$
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131747</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131747</guid><dc:creator><![CDATA[JohnGalt]]></dc:creator><pubDate>Wed, 19 Aug 2026 22:11:42 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 21:39:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johngalt" aria-label="Profile: JohnGalt">@<bdi>JohnGalt</bdi></a> if you hadn’t erased the logs, the pm2 log MIGHT have had a fault  listed…</p>
<p dir="auto">2.37 is the current release, 6 months newer… electron at 42.5.2</p>
<p dir="auto">supposedly this could help find cause</p>
<pre><code> Analyze the Crash Dump
Because Electron code is pre-compiled, looking at a raw dump file yields only unreadable memory addresses. 
You need to symbolicate the dump using matching Electron debugging symbols.

The CLI Tool (electron-minidump)
    The easiest open-source way to inspect a .dmp file locally is using the electron-   minidump CLI tool. 
It automatically fetches the matching Electron symbols and outputs a readable stack trace.
Install the utility:
sudo  npm install -g electron-minidump

Analyze your file:
electron-minidump -f /path/to/your/file.dmp

</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131746</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131746</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2026 21:39:22 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 21:27:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<pre><code>JohnGalt@MM-Dev-VM:~/MagicMirror$ grep version package.json
        "version": "2.35.0",
JohnGalt@MM-Dev-VM:~/MagicMirror$ grep version node_modules/electron/package.json
  "version": "41.2.0"
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131745</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131745</guid><dc:creator><![CDATA[JohnGalt]]></dc:creator><pubDate>Wed, 19 Aug 2026 21:27:28 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 21:24:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johngalt" aria-label="Profile: JohnGalt">@<bdi>JohnGalt</bdi></a> well then… electron crashed…</p>
<p dir="auto">which MM version are you on<br />
cd ~/MagicMirror<br />
grep version package.json</p>
<p dir="auto">and for electron<br />
grep version node_modules/electron/package.json</p>
]]></description><link>https://forum.magicmirror.builders/post/131744</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131744</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2026 21:24:10 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 21:19:55 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a></p>
<p dir="auto">Well, there’s this under /var/lib/apport/coredump:</p>
<p dir="auto">Name:<br />
core._home_al_MagicMirror_node_modules_electron_dist_electron.1000.f1d1264a-f2d2-4a44-8b27-e2f3182e030f.380943.121091464</p>
<p dir="auto">Size:<br />
40,486,436,864</p>
]]></description><link>https://forum.magicmirror.builders/post/131743</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131743</guid><dc:creator><![CDATA[JohnGalt]]></dc:creator><pubDate>Wed, 19 Aug 2026 21:19:55 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 21:21:05 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johngalt" aria-label="Profile: JohnGalt">@<bdi>JohnGalt</bdi></a> in the folder with the core dump files do</p>
<p dir="auto">sudo file *  &gt;&gt;~/somefile.txt</p>
<p dir="auto">then ~/somefile.txt will have a line for each which should contain the failing code name</p>
<p dir="auto">from<br />
<a href="https://stackoverflow.com/questions/13308922/find-which-program-caused-a-core-dump-file" target="_blank" rel="noopener noreferrer nofollow ugc">https://stackoverflow.com/questions/13308922/find-which-program-caused-a-core-dump-file</a></p>
]]></description><link>https://forum.magicmirror.builders/post/131742</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131742</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2026 21:21:05 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 21:03:20 GMT]]></title><description><![CDATA[<p dir="auto">is that file [just] a record of the dump[s]?</p>
<p dir="auto">Put differently, would it be safe to delete the file or directory?</p>
<p dir="auto">[Edit]: On further recollection - this appears to be happening only on the two  VMs running MM, and not on the two Raspberry Pis that I have MM running on.</p>
<p dir="auto">Does this represent a clue as to what is happening?</p>
]]></description><link>https://forum.magicmirror.builders/post/131741</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131741</guid><dc:creator><![CDATA[JohnGalt]]></dc:creator><pubDate>Wed, 19 Aug 2026 21:03:20 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 20:56:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> – true. I’m not sure I know to find that out…</p>
]]></description><link>https://forum.magicmirror.builders/post/131740</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131740</guid><dc:creator><![CDATA[JohnGalt]]></dc:creator><pubDate>Wed, 19 Aug 2026 20:56:15 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 20:54:35 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johngalt" aria-label="Profile: JohnGalt">@<bdi>JohnGalt</bdi></a> next is who’s dump is it…  electron?</p>
]]></description><link>https://forum.magicmirror.builders/post/131739</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131739</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2026 20:54:35 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 20:52:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> – I will do that. I was just down the rabbit hole, using df. It looks like a huge amount is taken up by /var/lib/apport/coredump. See below:</p>
<pre><code>JohnGalt@MM-Dev-VM:~/.pm2/logs$ df -h
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           794M  1.1M  793M   1% /run
/dev/sda2        49G   49G     0 100% /
tmpfs           3.9G     0  3.9G   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
efivarfs         56K   27K   25K  52% /sys/firmware/efi/efivars
/dev/sda1       300M  7.8M  292M   3% /boot/efi
tmpfs           794M   92K  794M   1% /run/user/1000
JohnGalt@MM-Dev-VM:~/.pm2/logs$ cd ..
JohnGalt@MM-Dev-VM:~/.pm2$ cd ..
JohnGalt@MM-Dev-VM:~$ sudo du -h --max-depth=1 /var | sort -h | tail -n 10
4.0K    /var/metrics
4.0K    /var/opt
28K     /var/crash
40K     /var/spool
68K     /var/tmp
5.4M    /var/backups
49M     /var/cache
617M    /var/log
39G     /var
39G     /var/lib
JohnGalt@MM-Dev-VM:~$ sudo du -h --max-depth=1 /var/lib | sort -h | tail -n 10
772K    /var/lib/systemd
2.0M    /var/lib/fwupd
3.8M    /var/lib/command-not-found
4.2M    /var/lib/aspell
7.5M    /var/lib/ubuntu-advantage
40M     /var/lib/swcatalog
92M     /var/lib/dpkg
276M    /var/lib/apt
38G     /var/lib/apport
39G     /var/lib
JohnGalt@MM-Dev-VM:~$ sudo du -h --max-depth=1 /var/lib/apport | sort -h | tail -n 10
38G     /var/lib/apport
38G     /var/lib/apport/coredump
JohnGalt@MM-Dev-VM:~$ sudo du -h --max-depth=1 /var/lib/apport/coredump | sort -h | tail -n 10
38G     /var/lib/apport/coredump
JohnGalt@MM-Dev-VM:~$
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131738</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131738</guid><dc:creator><![CDATA[JohnGalt]]></dc:creator><pubDate>Wed, 19 Aug 2026 20:52:36 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 20:44:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johngalt" aria-label="Profile: JohnGalt">@<bdi>JohnGalt</bdi></a> erase the files in the .pm2/logs folder, they are not the cause</p>
]]></description><link>https://forum.magicmirror.builders/post/131737</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131737</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2026 20:44:27 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 20:41:44 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> – Thanks, Sam.  It looks like that won’t work - for the same reason as above. I need to give this some more thought… I can’t be the first person to encounter this issue.  See below for the output of trying to install ncdu:</p>
<pre><code>JohnGalt@MM-Dev-VM:~/.pm2/logs$ sudo apt install ncdu
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
  ncdu
0 upgraded, 1 newly installed, 0 to remove and 33 not upgraded.
Need to get 50.7 kB of archives.
After this operation, 117 kB of additional disk space will be used.
E: You don't have enough free space in /var/cache/apt/archives/.
JohnGalt@MM-Dev-VM:~/.pm2/logs$
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131736</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131736</guid><dc:creator><![CDATA[JohnGalt]]></dc:creator><pubDate>Wed, 19 Aug 2026 20:41:44 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 20:10:27 GMT]]></title><description><![CDATA[<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johngalt" aria-label="Profile: JohnGalt">@<bdi>JohnGalt</bdi></a> <a href="/post/131734">said</a>:</p>
<p dir="auto">27348992</p>
</blockquote>
<p dir="auto">error log is 27 meg… not gig</p>
<p dir="auto">after that you would have to use something like ncdu</p>
<pre><code>ncdu (NCurses Disk Usage) is a fast, text-based command-line tool used to analyze disk space.
It scans your file system and shows which folders and files use the most space, letting you easily navigate and delete large items directly inside an interactive terminal screen.
How to Install ncdu
Ubuntu / Debian: sudo apt install ncdu
CentOS / RHEL / Fedora: sudo dnf install ncdu or sudo yum install ncdu
macOS: brew install ncdu
Arch Linux: sudo pacman -S ncdu

Common Commands
ncdu — Scan the current folder.  sudo ncdu / --Scan your entire hard drive.
ncdu /home --Scan a specific folder.  
ncdu -x --Scan only the current disk (ignore mounted external drives).
Useful Keyboard Shortcuts
Up / Down arrows or j / k — Move through the list.
Enter / Right arrow — Open a folder to see files inside.
Left arrow — Go back to the parent folder.
d — Delete the highlighted file or folder.</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131735</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131735</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2026 20:10:27 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 19:12:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/sdetweil" aria-label="Profile: sdetweil">@<bdi>sdetweil</bdi></a> – Thanks Sam. See below for the output of the file sizes there.</p>
<pre><code>JohnGalt@MM-Dev-VM:~/.pm2/logs$ ls -laF
total 32988
drwxrwxr-x 2 al al     4096 Apr 12 11:24 ./
drwxrwxr-x 5 al al     4096 Aug 19 12:09 ../
-rw-rw-r-- 1 al al 27348992 Aug 17 23:33 MagicMirror-error.log
-rw-rw-r-- 1 al al  6413424 Aug 17 23:27 MagicMirror-out.log
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131734</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131734</guid><dc:creator><![CDATA[JohnGalt]]></dc:creator><pubDate>Wed, 19 Aug 2026 19:12:33 GMT</pubDate></item><item><title><![CDATA[Reply to VM Disk Full - 50 GiB in 4 months on Wed, 19 Aug 2026 18:22:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/johngalt" aria-label="Profile: JohnGalt">@<bdi>JohnGalt</bdi></a> from MagicMirror the only thing could be the output of the console log.  If debugging is enabled ( logLevel:[ “debug”]), calendar can generate a bunch of output</p>
<p dir="auto">If this is a vm, logon and look at the</p>
<pre><code>.pm2/logs folder
</code></pre>
<p dir="auto">Get the file sizes</p>
<pre><code>ls -laF
</code></pre>
]]></description><link>https://forum.magicmirror.builders/post/131733</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/131733</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Wed, 19 Aug 2026 18:22:33 GMT</pubDate></item></channel></rss>