hello, I am running filecloud on an ubuntu 22.04 machine, and I wanted to move the folder from where I initially had it. I think it the process the original got deleted and now I get the error: Storage system already initialized, however file containers are missing!
whenever I try to switch the folder. Is there a way to regenerate the containers?
Changing the managed storage location is not advisable when files are already uploaded to your FileCloud server. If this is a new install, I would suggest you Reset to Default from the Storage tab in the Admin Portal >> Settings.
This should prompt you to enter a new location. Make sure that the service account running the Apache service has access to the new location.
Yes there was just some test files on there before this happened. I tried to reset to defaults but get same message “Storage system already initialized, however file containers are missing!” I was wondering if there was a way to get the container back, (its some file with a bunch of numbers) that was accidentally, deleted without actually having to reinstall filecloud from scratch.
Unfortunately, if the actual folder got deleted, and you want to restore the original folder, your option would be to either restore Ubuntu to the last known working state, assuming you have a backup. Set a new Storage Path in the Admin Portal >> Settings >> Storage.
By the way, did you have encryption enabled at some point?
I dont need the contents just the name. Anytime I set a new path, no matter what it is, I get the same error message. i dont think i enabled encryption at any point, if i did it was by accident and not necessary for my use case. I dont care about the contents, i just need to know how to figure out what the name of the folder is, because no matter what I change the path to it will not accept that there is no folder with the proper name. If this is not possible, i will simply reinstall filecloud. I would like to avoid that, but I will if I have too. I saw another post of someone in windows being able to see the name of the folder the program was expecting, i think it was apache. But unsure if it is the same process on Ubuntu.
Nevermind, I fixed by typing “mongosh” into terminal and then typing:
use tonidostoragedb
db.containers.find().pretty()
after that I named it the same as parent path after the 0/ for the first folder, put another folder inside and named that the same as the id.
then I had to give read+write privileges to the entire folder.