SD card completely full

I’m using Anthias successfully - but recently I saw that the sd card is completely full - no more space for uploading additional assets. I’m searching for a solution which I can perform through remote ssh access (pi connect).

Here’s some information from the disk - biggest files/dirs:

pi@tv02:/var/lib $ sudo du -hxd 1 | sort -h
4.0K ./alsa
4.0K ./dbus
4.0K ./dhcpcd
4.0K ./git
4.0K ./man-db
4.0K ./misc
4.0K ./private
4.0K ./python
4.0K ./udisks2
4.0K ./usb_modeswitch
4.0K ./wtmpdb
8.0K ./bluetooth
8.0K ./logrotate
8.0K ./plymouth
8.0K ./sudo
8.0K ./vim
12K ./raspberrypi
12K ./sgml-base
16K ./xml-core
20K ./NetworkManager
28K ./pam
32K ./ucf
236K ./cloud
572K ./systemd
2.9M ./docker
32M ./dpkg
147M ./apt
26G ./containerd
27G .

so it seems the container is completely full (which was not the case when I installed Anthias from scratch viabash <(curl -sL https://install-anthias.srly.io)

Can you please advise how to resolve? When trying to update it fails because of disk full…

thanks, Martin

Hi Martin,

The 26 GB in /var/lib/containerd is Docker’s image store, and it’s holding a complete copy of the Anthias stack for every release you’ve ever upgraded through. Each generation is roughly 3 GB (viewer + server + redis), so 26 GB is about eight of them.

Why nothing cleaned them up: each Anthias release pins its own immutable image tag, so when you upgrade, the previous release’s images stay tagged and valid rather than becoming dangling. docker system prune -f — which the installer already runs at the end of every upgrade — only reclaims dangling images, so it reclaims exactly 0 bytes of these. I measured this on a Pi 3 here before replying: seeding one superseded release grew /var/lib/containerd from 3.0 GB to 4.4 GB, and docker image prune -f then reported Total reclaimed space: 0B with both images still listed.

(Incidentally, /var/lib/docker being tiny while /var/lib/containerd is huge is expected on Docker 25 and later, which keeps images under containerd. That’s why your du looks different from the older overlay2 threads on here.)

This is fixed as of v2026.09.0 — upgrades now purge superseded images automatically. But you’ll need to free the space first, because the upgrade’s docker pull is exactly what’s failing on a full card.

Over SSH, safe to run with Anthias live — nothing is stopped, and docker rmi needs no free space, so it works at 100% full:

curl -fsSL https://raw.githubusercontent.com/Screenly/Anthias/master/bin/purge_stale_images.sh | bash

If sudo asks for a password, run sudo -v first — the script is piped into bash and can’t prompt. It only removes images from the Anthias repositories that no container references, so anything of your own running alongside Anthias is left alone. It prints one line per image it reclaims, and you should get most of the 26 GB back. Then re-run the installer to land on v2026.10.0, and it’ll stay tidy from there.

If it reclaims much less than you’d expect, something other than stale images is filling the card — most likely a runaway file inside one container layer. This will show it:

sudo find /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots \
  -xdev -type f -size +100M -printf '%s %p\n' | sort -rn | head

On a healthy device the only hits are legitimate libraries (libQt6WebEngineCore.so, libLLVM.so). A pile of core.<pid> files or one giant log would mean a different bug — post the output here and we’ll take it from there.

Hi!

Thanks for your reply! I’ve tried to run curl -fsSL https://raw.githubusercontent.com/Screenly/Anthias/master/bin/purge but it returned

curl: (22) The requested URL returned error: 404

Can you please help again, Martin

pi@tv02:/var/lib $ sudo find /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots
-xdev -type f -size +100M -printf ‘%s %p\n’ | sort -rn | head
178324312 /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/14/fs/usr/lib/aarch64-linux-gnu/libQt6WebEngineCore.so.6.8.2
123242120 /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/6/fs/usr/lib/aarch64-linux-gnu/libLLVM.so.19.1
123242120 /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/5/fs/usr/lib/aarch64-linux-gnu/libLLVM.so.19.1

Sorry about that, the link in my last reply got cut short. The file name is longer than it looked. Here is the whole thing:

https://raw.githubusercontent.com/Screenly/Anthias/master/bin/purge_stale_images.sh

It is easier to do this in two steps. If the download fails you get a clear message instead of an error being handed straight to the shell, and it also lets the password prompt work properly:

curl -fsSL -o /tmp/purge_stale_images.sh \
  https://raw.githubusercontent.com/Screenly/Anthias/master/bin/purge_stale_images.sh
bash /tmp/purge_stale_images.sh

It prints one line for each old copy it clears out, and nothing at all if there is nothing left to clear.

Thanks for running the other command too. It tells us exactly what we needed to know. The three large files it found are all normal parts of Anthias, so nothing has gone wrong on your device:

  • the web browser engine, about 170 MB
  • a graphics library, about 118 MB, listed twice

There is no runaway file or crash log eating your card. It really is just old copies of Anthias left behind by past upgrades, which is what the script above clears out.

Once there is room again, run the installer to update to 2026.10.0. From 2026.09.0 onwards Anthias clears out old copies by itself, so your card will not fill up like this again.

Hi, thanks for following up, but unfortunately it didn’t help:

pi@tv02:/ $ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1793744        0   1793744   0% /dev
tmpfs             826416    81264    745152  10% /run
/dev/mmcblk0p2  30080772 30064388         0 100% /
tmpfs            2066032        0   2066032   0% /dev/shm
tmpfs               5120       48      5072   1% /run/lock
tmpfs               1024        0      1024   0% /run/credentials/systemd-journald.service
tmpfs            2066048       16   2066032   1% /tmp
/dev/mmcblk0p1    516204    80518    435686  16% /boot/firmware
tmpfs             413200       32    413168   1% /run/user/1000
tmpfs               1024        0      1024   0% /run/credentials/serial-getty@ttyAMA10.service
pi@tv02:/ $ curl -fsSL -o /tmp/purge_stale_images.sh 




bash /tmp/purge_stale_images.sh
pi@tv02:/ $ df
Filesystem     1K-blocks     Used Available Use% Mounted on
udev             1793744        0   1793744   0% /dev
tmpfs             826416    81264    745152  10% /run
/dev/mmcblk0p2  30080772 30064388         0 100% /
tmpfs            2066032        0   2066032   0% /dev/shm
tmpfs               5120       48      5072   1% /run/lock
tmpfs               1024        0      1024   0% /run/credentials/systemd-journald.service
tmpfs            2066048       16   2066032   1% /tmp
/dev/mmcblk0p1    516204    80518    435686  16% /boot/firmware
tmpfs             413200       32    413168   1% /run/user/1000
tmpfs               1024        0      1024   0% /run/credentials/serial-getty@ttyAMA10.service

Can you pleas have a look on it once more, Martin

Hi Martin,

Thanks for running it and posting the output — and apologies, because that output shows my earlier answer was wrong. Old copies of Anthias are not what is filling your card, so the script had nothing to find. That is why it freed nothing and printed nothing.

What gave it away was your own output from the previous post. I ran the same scan on a Pi 5 here that has exactly one copy of Anthias installed, and it finds two files over 100 MB: the browser engine, and one graphics library. If your 26 GB really were eight or nine old copies, that scan would have listed eight or nine copies of the browser engine. It listed one. So whatever is using your card, it is not old Anthias images, and I should have spotted that when you first posted it rather than sending you after the script a second time.

For reference, here is what that directory looks like on a healthy Pi 5 with one copy installed:

757M    io.containerd.content.v1.content
2.1G    io.containerd.snapshotter.v1.overlayfs
2.9G    total

Yours is 26 GB, so something in there is about nine times the size it should be, and we do not yet know which part.

One thing worth running anyway

sudo docker image prune -f
df -h /

This is quick and safe while Anthias is running. The reason it is worth doing: every upgrade that died halfway on a full card left behind part of what it had downloaded, and that leftover is invisible — it does not show up in the list of installed images. I measured it here: killing a download 25 seconds in left 230 MB behind, and it does not clean itself up. The command above does clear it, but it confusingly reports Total reclaimed space: 0B while doing so, so judge it by df, not by what it prints.

I have filed that as a separate bug, since a failed upgrade making the next one more likely to fail is not acceptable behaviour: issue #3410.

What will actually tell us where it has gone

Two commands. Each is a single line — the last one got broken across lines last time, which is what made it fail:

sudo du -hxd1 /var/lib/containerd | sort -h
sudo find /var/lib/containerd -xdev -type f -size +100M -printf '%s %p\n' | sort -rn | head -20

The second one is the same scan as before but pointed at the whole directory rather than just one part of it — the earlier version could not see the downloaded files at all, only the unpacked ones, which is another reason the picture looked misleading.

If the first command shows the bulk sitting in io.containerd.content.v1.content, it is downloaded data that was never cleaned up and we can clear it. If it is in io.containerd.snapshotter.v1.overlayfs, it is unpacked files and the second command will name them. Either way those two outputs should settle it, and I will not send you after another script until they do.

A small note on the earlier command

In your paste the download line has no web address after it — it ends at /tmp/purge_stale_images.sh and the next line is already the bash command. On a test Pi that exact command is not silent: it prints curl: (2) no URL specified, and then bash: /tmp/purge_stale_images.sh: No such file or directory. You did not get either of those, so I suspect the address simply got lost when you pasted into the forum and the script did run fine on your end. It makes no difference now — it would have found nothing either way.

Sorry for the two false starts. Post those two outputs and we will get to the bottom of it.

pi@tv02:~ $ sudo docker image prune -f
Total reclaimed space: 0B
pi@tv02:~ $ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 29G 29G 0 100% /
pi@tv02:~ $ sudo du -hxd1 /var/lib/containerd | sort -h
4.0K /var/lib/containerd/io.containerd.sandbox.controller.v1.shim
4.0K /var/lib/containerd/io.containerd.snapshotter.v1.blockfile
4.0K /var/lib/containerd/io.containerd.snapshotter.v1.btrfs
4.0K /var/lib/containerd/io.containerd.snapshotter.v1.erofs
4.0K /var/lib/containerd/tmpmounts
8.0K /var/lib/containerd/io.containerd.grpc.v1.introspection
8.0K /var/lib/containerd/io.containerd.snapshotter.v1.native
20K /var/lib/containerd/io.containerd.runtime.v2.task
1.7M /var/lib/containerd/io.containerd.metadata.v1.bolt
954M /var/lib/containerd/io.containerd.content.v1.content
26G /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs
27G /var/lib/containerd
pi@tv02:~ $ sudo find /var/lib/containerd -xdev -type f -size +100M -printf ‘%s %p\n’ | sort -rn | head -20
328598682 /var/lib/containerd/io.containerd.content.v1.content/blobs/sha256/44f2829b28887e1ec9cf7e658a3dcb9be90b0027a5f7654efa1455e69efab236
266331507 /var/lib/containerd/io.containerd.content.v1.content/blobs/sha256/92639cc6b08fc3a16d99a90c1b481509db37543d0ba2b0daf62ee73a73676603
266330968 /var/lib/containerd/io.containerd.content.v1.content/blobs/sha256/3a212650e5ea6a74a64aef8f841fd2db12a57c130ba1f0cef92ba81277e78d04
178324312 /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/14/fs/usr/lib/aarch64-linux-gnu/libQt6WebEngineCore.so.6.8.2
123242120 /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/6/fs/usr/lib/aarch64-linux-gnu/libLLVM.so.19.1
123242120 /var/lib/containerd/io.containerd.snapshotter.v1.overlayfs/snapshots/5/fs/usr/lib/aarch64-linux-gnu/libLLVM.so.19.1
pi@tv02:~ $

Thanks Martin, that settles it. And it rules out what I told you earlier, so let me correct that first.

Your card is not full of old copies of Anthias. Your own numbers show it. The downloaded data on your device is 954 MB, which is right for a single version. It is only the unpacked files that are large, at 26 GB. Eight or nine old versions would have made both of those numbers big together, not one without the other.

I checked this properly on a Raspberry Pi 4 here with a 28 GB card like yours. I installed three old versions one after another, then removed them. The disk went back to exactly where it started, to within a few kilobytes. So clearing out old versions really does return the space, which means old versions were never what was holding your 26 GB.

What does fit

Something inside one of the Anthias containers has been writing files into the container itself, instead of into the normal storage folder.

That explains every dead end we have hit. It does not appear in the list of installed versions, it is not part of anything that was downloaded, and the cleanup command cannot remove it while the container is running. That is why you keep getting Total reclaimed space: 0B and no change in df.

I reproduced exactly that here: I wrote 600 MB inside a container on the test Pi, and the unpacked files grew by 600 MB while the downloaded data stayed at zero. docker image prune -f then reported 0B and freed nothing, just like on yours.

One command will name it

sudo docker ps -as

Look at the SIZE column. On a healthy Pi every Anthias container is tiny there:

NAMES                      SIZE
anthias-anthias-viewer-1   467kB (virtual 1.92GB)
anthias-anthias-celery-1   1.21MB (virtual 1.07GB)
anthias-anthias-server-1   1.24MB (virtual 1.07GB)
anthias-redis-1            4.1kB (virtual 187MB)

On yours, one of them should be several gigabytes instead. The first number is what the container has written itself. Ignore the one in brackets, that is just the size of Anthias and is meant to be large.

It takes about two seconds and is safe to run while Anthias is playing.

Once you tell me which container it is, this second command will show which folder inside it is doing the writing. It is safe to run now as well, so you can post both outputs together:

sudo docker exec anthias-anthias-server-1 du -xhd1 / | sort -h | tail -8

If docker ps -as points at a different container, put that name in place of anthias-anthias-server-1.

Those two outputs should finish this off. Sorry it has taken three goes to get here. Your last post was what made the difference, because the gap between 954 MB downloaded and 26 GB unpacked is the thing that gives it away, and I should have asked for that split sooner.

One small side note: the 0B that docker image prune keeps printing is misleading even when it does free space, and that is now fixed in this change. It does not affect your problem, but it means future messages will tell you the truth about what was cleared.

pi@tv02:~ $ sudo docker ps -as
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE
1043abba280b Package anthias-viewer · GitHub “bash ./bin/start_vi…” 4 months ago Up 3 days anthias-anthias-viewer-1 463kB (virtual 1.86GB)
732b9db6fbdc Package anthias-server · GitHub “nice -n 19 ionice -…” 4 months ago Restarting (1) 12 seconds ago anthias-anthias-celery-1 24.2GB (virtual 25.2GB)
a6bf43c301e5 Package anthias-server · GitHub “bash bin/start_serv…” 4 months ago Up 3 days 0.0.0.0:80->8080/tcp, [::]:80->8080/tcp anthias-anthias-server-1 27.7MB (virtual 1.08GB)
251bc356fd00 Package anthias-redis · GitHub “redis-server --prot…” 4 months ago Up 3 days 127.0.0.1:6379->6379/tcp anthias-redis-1 16.4kB (virtual 187MB)
pi@tv02:~ $ sudo docker exec anthias-anthias-server-1 du -xhd1 / | sort -h | tail -8
4.0K /tmp
8.0K /run
12K /root
1.7M /etc
36M /var
186M /venv
809M /usr
1.1G /
pi@tv02:~ $ sudo docker exec anthias-anthias-celery-1 du -xhd1 / | sort -h | tail -8
Error response from daemon: Container 732b9db6fbdcae1ff9ea56469ade79e4253060c230e1f390227469cceed9cdeb is restarting, wait until the container is running
pi@tv02:~ $ sudo docker exec anthias-anthias-celery-1 du -xhd1 / | sort -h | tail -8
Error response from daemon: Container 732b9db6fbdcae1ff9ea56469ade79e4253060c230e1f390227469cceed9cdeb is restarting, wait until the container is running
pi@tv02:~ $ sudo docker exec anthias-anthias-celery-1 du -xhd1 / | sort -h | tail -8
Error response from daemon: Container 732b9db6fbdcae1ff9ea56469ade79e4253060c230e1f390227469cceed9cdeb is restarting, wait until the container is running
pi@tv02:~ $ sudo docker ps -as
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE
1043abba280b Package anthias-viewer · GitHub “bash ./bin/start_vi…” 4 months ago Up 3 days anthias-anthias-viewer-1 463kB (virtual 1.86GB)
732b9db6fbdc Package anthias-server · GitHub “nice -n 19 ionice -…” 4 months ago Restarting (1) 32 seconds ago anthias-anthias-celery-1 24.2GB (virtual 25.2GB)
a6bf43c301e5 Package anthias-server · GitHub “bash bin/start_serv…” 4 months ago Up 3 days 0.0.0.0:80->8080/tcp, [::]:80->8080/tcp anthias-anthias-server-1 27.7MB (virtual 1.08GB)
251bc356fd00 Package anthias-redis · GitHub “redis-server --prot…” 4 months ago Up 3 days 127.0.0.1:6379->6379/tcp anthias-redis-1 16.4kB (virtual 187MB)
pi@tv02:~ $ sudo docker ps -as
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES SIZE
1043abba280b Package anthias-viewer · GitHub “bash ./bin/start_vi…” 4 months ago Up 3 days anthias-anthias-viewer-1 463kB (virtual 1.86GB)
732b9db6fbdc Package anthias-server · GitHub “nice -n 19 ionice -…” 4 months ago Restarting (1) 42 seconds ago anthias-anthias-celery-1 24.2GB (virtual 25.2GB)
a6bf43c301e5 Package anthias-server · GitHub “bash bin/start_serv…” 4 months ago Up 3 days 0.0.0.0:80->8080/tcp, [::]:80->8080/tcp anthias-anthias-server-1 27.7MB (virtual 1.08GB)
251bc356fd00 Package anthias-redis · GitHub “redis-server --prot…” 4 months ago Up 3 days 127.0.0.1:6379->6379/tcp anthias-redis-1 16.4kB (virtual 187MB)
pi@tv02:~ $ sudo docker exec anthias-anthias-celery-1 du -xhd1 / | sort -h | tail -8
Error response from daemon: Container 732b9db6fbdcae1ff9ea56469ade79e4253060c230e1f390227469cceed9cdeb is restarting, wait until the container is running
pi@tv02:~ $

That found it. Thank you.

anthias-anthias-celery-1   24.2GB (virtual 25.2GB)

That is the container that runs Anthias background jobs, and it has written 24.2 GB into itself. On a healthy Pi 4 here the same container sits at 1.21 MB. Everything else on your device is normal: your viewer is 463 kB, your server 27.7 MB, Redis 16.4 kB.

So that is your missing 24 GB, and it was never old copies of Anthias. It also explains every dead end we hit, because files written inside a running container are invisible to the version list and untouchable by the cleanup command.

It is also why that container would not let you in. It is stuck restarting, almost certainly because the card is full and it cannot get going.

Step 1: tell us what it filled up with

This reads the files without needing the container to be running, so it works despite the restart loop. One line, and it is read only:

sudo docker diff anthias-anthias-celery-1 | awk '{print $2}' | cut -d/ -f1-4 | sort | uniq -c | sort -rn | head -20

Please run this before step 2, because step 2 clears the files and we lose the evidence. It is the difference between getting your card back today and stopping this from happening again to you and everyone else.

Step 2: get your space back

Two lines, run one after the other:

cd ~/anthias && sudo docker compose rm -sf anthias-celery
cd ~/anthias && sudo docker compose up -d anthias-celery

The first removes the stuck container and gives you the 24 GB back straight away. The second builds a fresh empty one. Then check with:

df -h /

Nothing of yours is lost. Your media and your settings live on the card outside the container, in anthias_assets and .anthias in your home folder. I tested this exact sequence on the Pi 4 here with files deliberately planted in that container: the space came back before the new container was created, which matters on a card at 100 percent, and the media and database were untouched afterwards.

Once df shows free space you can run the installer and move up to 2026.10.0.

If it starts filling up again

Very possible, since we have not fixed the cause yet, only cleared the result. This will show what it is doing:

sudo docker logs --tail 50 anthias-anthias-celery-1

Post that along with the output from step 1 and we will take it from there. With the output of step 1 I can open a proper bug and fix it, so this stops happening on your device rather than you having to clear it again.

This worked!

pi@tv02:~ $ sudo docker diff anthias-anthias-celery-1 | awk ‘{print $2}’ | cut -d/ -f1-4 | sort | uniq -c | sort -rn | head -20
4992 /usr/src/app
1 /usr/src
1 /usr
1 /etc/timezone
1 /etc
1 /data
pi@tv02:~ $ cd ~/anthias && sudo docker compose rm -sf anthias-celery
[+] stop 1/1
[+] remove 1/1nthias-anthias-celery-1 Stopped 0.0s
:check_mark: Container anthias-anthias-celery-1 Removed 3.2s
pi@tv02:~/anthias $ cd ~/anthias && sudo docker compose up -d anthias-celery
[+] up 3/3
:check_mark: Container anthias-redis-1 Running 0.0s
:check_mark: Container anthias-anthias-server-1 Running 0.0s
:check_mark: Container anthias-anthias-celery-1 Started 0.4s
pi@tv02:~/anthias $ df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/mmcblk0p2 29G 6.2G 22G 23% /
pi@tv02:~/anthias $

Brilliant, 29 GB down to 6.2 GB used, with 22 GB free. And your output told us exactly what it was.

What was eating your card

Crash report files. When a program crashes, Linux can save a full snapshot of what it had in memory at that moment, for developers to pick through afterwards. On your device those snapshots were being written inside the background jobs container, in a folder nothing ever tidies up.

Your 4992 is the count of them. Each one is about 4.9 MB, which I measured here by deliberately crashing the same program on a test Pi 4. That works out at 24.3 GB, and your container was 24.2 GB. So it was essentially 5000 crash snapshots and nothing else.

Four ordinary settings line up badly to cause it. The snapshot is written next to wherever the program happens to be running, which in our case is inside the container. Each one gets a unique name, so a new file is added every time instead of replacing the last. And there is no size limit on them by default. Nothing in Anthias was setting one.

That is also why none of our earlier checks found it. The files are not part of any installed version, so the version list cannot see them, and the cleanup command is not allowed to touch files inside a container that is running. Hence 0B every time, which sent me off down the wrong path twice.

Fixed

Anthias now tells its containers not to write these snapshots at all. Crashes are already reported to us another way, so the files were costing you a card and giving nobody anything.

I tested it on a Pi 4 here. Before the change, three crashes left three files and grew the container by 10 MB. After it, six crashes left nothing at all and the background worker carried on normally. The change also clears out any snapshots already on a device the next time it updates, so nobody else has to do what you just did by hand.

One thing to check, please

Your background jobs container was stuck restarting over and over, and that restarting is what was generating the snapshots. Clearing them gave you the space back, but if it is still restarting it will slowly fill up again, because the fix above is not in a release yet.

Could you run this and tell me what it says next to anthias-anthias-celery-1:

sudo docker ps

If it says Up and a sensible amount of time, you are in the clear and you can go ahead and update to 2026.10.0.

If it still says Restarting, then something is genuinely crashing and I would like to fix that too. This will show why:

sudo docker logs --tail 50 anthias-anthias-celery-1

Thank you for sticking with this through three wrong turns from me. The thing that finally cracked it was your du output showing 954 MB downloaded against 26 GB unpacked, because those two numbers cannot both be about old versions. It is a much better bug report than most, and a fair few other people will be quietly heading for the same full card.

after bash <(curl -sL https://install-anthias.srly.io)

I get the following results:

pi@tv02:~ $ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
pi@tv02:~ $ sudo docker logs --tail 50 anthias-anthias-celery-1
Error response from daemon: No such container: anthias-anthias-celery-1
pi@tv02:~ $

after another update and restart it seems to work:

pi@tv02:~ $ sudo docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
f783d2112eb8 Package anthias-viewer · GitHub “bash ./bin/start_vi…” 3 minutes ago Up 17 seconds anthias-anthias-viewer-1
b74d8b4edc63 Package anthias-server · GitHub “nice -n 19 ionice -…” 3 minutes ago Up 17 seconds anthias-anthias-celery-1
84dee1095d67 Package anthias-server · GitHub “bash bin/start_serv…” 3 minutes ago Up 17 seconds 0.0.0.0:80->8080/tcp, [::]:80->8080/tcp anthias-anthias-server-1
d2be304bec8c Package anthias-redis · GitHub “redis-server --prot…” 3 minutes ago Up 17 seconds (healthy) 127.0.0.1:6379->6379/tcp anthias-redis-1

That is you sorted. All four containers up, and the background jobs one is running normally instead of restarting in a loop, which was the thing generating the files. With 22 GB free it has room to behave.

So the original problem is closed: about 5000 crash snapshots in the background jobs container, cleared, and the fix is now merged so no device collects them again.

Your empty screen was a second, separate bug

This bit from your previous post:

pi@tv02:~ $ sudo docker ps
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES

Nothing at all. That was not a leftover of your full card, it was a real fault in the installer, and you are not the only person it will have hit.

Here is what happens. Partway through, the installer shuts the Anthias containers down to free up memory for the system update. If that system update then decides the Pi needs a reboot, the installer stops right there without starting Anthias again. It finishes, says it succeeded, and offers you a reboot. But there is nothing left to start, so the reboot does not bring the screen back either. You get a working-looking install and a black screen, which is exactly what you saw, and why it took a second run to come good.

I reproduced it on a Pi 4 here and it behaves identically: no containers, and the installer still reporting success.

The fix simply starts Anthias before pausing for the reboot. On the test Pi the same sequence now ends with all four containers running and the web interface answering normally.

Thank you for posting that output even though it looked like a dud result. It is the only reason we found it.

Optional, if you are curious

If you would like to confirm your device picked up the crash snapshot fix in that last update:

sudo docker exec anthias-anthias-celery-1 sh -c 'ulimit -c'

0 means you have it and this cannot happen to you again. Anything else just means your update predates it, and the next release will sort it. Either way you are fine now, so there is nothing you need to do.

I am marking this one solved. Thanks for your patience through three wrong turns from me, and for the quality of the output you kept posting. Two real bugs came out of this thread.