16 GB of box folders in /tmp
-
Our Cloudron has a huge 16 GB /tmp folder.
I see there are about 76 folders like this:
drwxr-xr-x 9 yellowtent yellowtent 4096 Aug 29 2023 box-929500886/
drwxr-xr-x 9 yellowtent yellowtent 4096 Aug 29 2023 box-940153435/
drwxr-xr-x 9 yellowtent yellowtent 4096 Aug 29 2023 box-954421980/And 73 more. All of them have that "Aug 29 2023" date.
When I run
service cloudron-updater statusit seems one of them is still used:● cloudron-updater.service - /tmp/box-243670221/scripts/installer.sh
Loaded: loaded (/run/systemd/transient/cloudron-updater.service; transient)
Transient: yes
Active: failed (Result: exit-code) since Mon 2024-05-13 03:34:36 UTC; 7h ago
Process: 11966 ExecStart=/tmp/box-243670221/scripts/installer.sh (code=exited, status=2)
Main PID: 11966 (code=exited, status=2)May 13 03:34:36 FV-Cloudron systemd[1]: Started /tmp/box-243670221/scripts/installer.sh.
May 13 03:34:36 FV-Cloudron systemd[1]: cloudron-updater.service: Main process exited, code=exited, status=2/INVALIDARGUMENT
May 13 03:34:36 FV-Cloudron systemd[1]: cloudron-updater.service: Failed with result 'exit-code'.Can these /tmp/box-* folders be removed?
Thanks,
Martin -
@martinv good catch, this is a bug in the updater. When an update fails, I guess it doesn't clean up the old temp stuff. You can safely delete all those files.
It looks like the update is failing non-stop though. This is the reason why those files are accumulating. Can you check
journalctl -u cloudron-updater? -
Hello girish,
I tried that command and got:
May 13 12:52:45 FV-Cloudron systemd[1]: Started /tmp/box-1040295979/scripts/installer.sh. May 13 12:52:45 FV-Cloudron systemd[1]: cloudron-updater.service: Main process exited, code=exited, status=2/INVALIDARGUMENT May 13 12:52:45 FV-Cloudron systemd[1]: cloudron-updater.service: Failed with result 'exit-code'.I run it manually and I see it needs Ubuntu 20.04 or above. Too bad it did not show that error on Cloudron web interface, it would save us a lot of trouble.
Thanks,
Martin -
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login