Cloudron is removing contents from the /tmp folder in the container.
-
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.htmlfile. I have installed Django in/tmp/testand 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/tmpare read only.
Thank you. -
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.htmlfile. I have installed Django in/tmp/testand 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/tmpare read only.
Thank you.@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
-
I see. Thanks for the update.
-
N nebulon marked this topic as a question on
-
N nebulon 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