I'm running Octoprint in a production company. We have a shared folder, where we store all the project files (almost 200k file at the moment, only hundreds are gcodes). I need Octoprint to look into that folder and definitely not be able to mangle the content. The uploads will not be done via Octoprint, but externally through that share.
Our Octoprint is running in Docker, so I patched a read only volume with the project files as '/octoprint/uploads/projects'. The Octoprint didn't start and to my immediate dislike I found message in the log about Octoprint trying to rename some of our folders.
I just need my printer users to browse through the files in Octoprint and print them. No uploading, no mangling, no deleting, nothing. Just print. How to achieve that?
Not through the upload folder. As the name implies and the docs confirm, this folder is supposed to be owned by OctoPrint.
What you want is currently not possible to do easily, however come 1.12.0 which is currently in intense development, the changes done to that to support additional printer interfaces also mean that additional storages are better supported, and I think it should be possible to write a custom plugin that does allow what you need.
Thank you Gina, let's see what the 1.12.0 will brings us. I have to confess I didn't go see the docs, it just looked so straightforward from the outside - here's the upload directory, let's add the mountpoint there and we should be good to go. We have this "central source of truth" setup with LinuxCNC and it works wonders. No copying files around makes this clear and scalable.
Thanks again, I'll keep eye on the updates.
Martin