Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. 16 GB of box folders in /tmp

16 GB of box folders in /tmp

Scheduled Pinned Locked Moved Solved Support
updates
5 Posts 2 Posters 1.5k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    martinv
    wrote on last edited by girish
    #1

    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 status it 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

    1 Reply Last reply
    2
    • girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @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 ?

      1 Reply Last reply
      2
      • M Offline
        M Offline
        martinv
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        2
        • girishG Offline
          girishG Offline
          girish
          Staff
          wrote on last edited by
          #4

          @martinv ah right. You have to upgrade to ubuntu 20 - https://docs.cloudron.io/guides/upgrade-ubuntu-20/

          We did make a new release showing the error message but I think your Cloudron is locked on to the Clourdon version before that.

          1 Reply Last reply
          0
          • girishG Offline
            girishG Offline
            girish
            Staff
            wrote on last edited by
            #5

            In the meantime, I have pushed a fix to cleanup old artifacts for the next release.

            1 Reply Last reply
            1
            • girishG girish marked this topic as a question on
            • girishG 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
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search