Somehow, my cell is docker wiped itself (datasources, users, roles).
Anyways, I have recovered access to the systems,and recreated the datasources mapped to the file system but I cannot reuse any sharing link because they are already stored in the datastore database.
I tried removing the files in the datastore and restart, but the newly created stores are empty, and no file will share.
What is the way to properly clean this datastore.
FWIW these files are located in /cells/services/pydio.grpc.docstore
Open docstore.db file using boltbrowser, and fully remove the store-share bucket (use ‘?’ to get help). Eventually you can enter the store-share bucket and clean/keep the links that interest you.
Quit and restart Cells
You should then be able to recreate links with the old hashes.
FYI, Cells v4 now offers MongoDB support exactly for that reason: all boltdb and bleve indexes can be moved to a Mongo server, making this type of external intervention much easier!
It does work indeed.
I wish I could update the repo field of the 944 shares, so as not recreate them.
But at least, I can reuse share ids and they point to the proper files .
As for editing the links, re-using your boltdb backup, you can try to migrate all bolt/bleve to mongo, then use a tool like MongoDB Compass to dig the links and edit them. See https://pydio.com/en/docs/cells/v4/configuring-mongo-storage (bottom of the page). Basically you can add a mongo container in your docker setup.
If you have an issue you can still revert config changes.
-c