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
  • 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 | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cloudron is removing contents from the /tmp folder in the container.

Cloudron is removing contents from the /tmp folder in the container.

Scheduled Pinned Locked Moved Solved Support
3 Posts 2 Posters 448 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.
    • S Offline
      S Offline
      sarthak.narayan
      wrote on last edited by
      #1

      Hi,

      I have been using Cloudron to host my Django API and I notice that it works fine for 5 - 6 hours and then goes to the status of Not Responding.
      Upon further digging, I found out the reason for this is the missing /tmp/test/django/views/templates/technical_500.html file. I have installed Django in /tmp/test and Django needs this file to function properly.
      This file is present when I start the application but disappears after 5 - 6 hours leading to the status of Not Responding.
      I tried running the same docker container on my local system and found out that the API is running for days without any problem so there is no problem with Django application or version.
      Does Cloudron clear the /tmp folder regularly? If yes then is there an option to stop it?
      If not then how can I install my pip packages at some other location other than /tmp. For some reason all the folders except /tmp are read only.
      Thank you.

      girishG 1 Reply Last reply
      1
      • S sarthak.narayan

        Hi,

        I have been using Cloudron to host my Django API and I notice that it works fine for 5 - 6 hours and then goes to the status of Not Responding.
        Upon further digging, I found out the reason for this is the missing /tmp/test/django/views/templates/technical_500.html file. I have installed Django in /tmp/test and Django needs this file to function properly.
        This file is present when I start the application but disappears after 5 - 6 hours leading to the status of Not Responding.
        I tried running the same docker container on my local system and found out that the API is running for days without any problem so there is no problem with Django application or version.
        Does Cloudron clear the /tmp folder regularly? If yes then is there an option to stop it?
        If not then how can I install my pip packages at some other location other than /tmp. For some reason all the folders except /tmp are read only.
        Thank you.

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @sarthak-narayan This is expected. Only 3 locations are writable

        • /app/data - anything you put here will also be part of the backup
        • /run - anything you put here is considered runtime data and will not be cleaned up automatically. this data is not part of backup
        • /tmp - anything you put here is temporary data and is automatically removed. this is also not part of backup

        so, please move your files as you see fit above. More info at https://docs.cloudron.io/packaging/cheat-sheet/#filesystem

        1 Reply Last reply
        1
        • S Offline
          S Offline
          sarthak.narayan
          wrote on last edited by
          #3

          I see. Thanks for the update.

          1 Reply Last reply
          0
          • nebulonN nebulon marked this topic as a question on
          • nebulonN nebulon has marked this topic as solved on
          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