I need to upload some files and some of them need to be put in a common place to all sites. This common place can’t be accessed by client side javascript, but only by server side python. Initially i put the files (uploaded) in the sites folder but i realized that when we do bench update he complains with this:
subprocess.CalledProcessError: Command ‘/path/to/frappe-bench/env/bin/frappe --backup folder_name’
bench update tries to make a backup of my folder and there is no need of that.
I can put them in the app public folder but the problem, i think, is that when we update the app the files uploaded will be erased. Is this correct?
The question is where should i put my files in the way that will be common to all sites?
Thanks.