Here is the situation:
I have nextcloud running as docker container with permanent volume mapping.
Nextcloud is connected to PostgreSQL DB
What I did next.
I have re-deployed nextcloud container and connect to new empty PostgreSQL DB
Data directory is mouther to location where previous container was using.
I have removed all files and folders except data folder.
Now where is the issue?
I’m able login to new installed instance and recreate all users.
Next I used following command to scan files
sudo -u www-data php ./occ files:scan --all
however when I login as the user I still cannot see files in GUI but files are present in data folder.
Question:
How to rebuild DB index so all files from data folder are visible again?
Thanks for help
Rafal