New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uploaded images do not persist across restarts #51
Comments
@apanagio do you have a proposed standard of where to mount the volumes back to on the host? I feel like that may be something that we can add on via documentation unless we have a standard to adhere to? |
I don't have a proposal based on standards. I would suggest to do it as it is done with the "db_data" volume for the "db" service. |
I did set volumes:
- nautobot-media-files:/opt/nautobot/media in |
@EdificomSA how did you set up your permissions so that the
|
Yeah you might need to chown the folder in the named volume, look at : |
If you stop and restart nautobot instance, you cannot view the uploaded images
Way to reproduce
Explanation
If I understand correctly this happens because the uploaded images are stored in the file system within the container and the filesystem is purged when the container stops
Proposed Fix
Mount a volume from the host system to store uploaded files
The text was updated successfully, but these errors were encountered: