I recently performed a clean reinstall of Nextcloud AIO (Autumn release, v11.11.0, Nextcloud 32.0.1) and restored my data folder manually.
All files from the previous instance are physically present in their correct locations on disk.
The synchronization works fine in the Files app – all these directories and files appear there –
but none of the corresponding apps (Collectives, Notes, Bookmarks, Cookbook) show their content anymore.
It looks like each of these apps stores metadata and relationships (IDs, ownership, sharing, etc.) in the database (tables like oc_collectives_*, oc_notes_*, etc.), and after a fresh AIO installation these links are gone.
My question:
Is there any supported or semi-supported way to make these apps recognize existing filesystem data again,
either by:
running a CLI command like occ collectives:index or notes:scan that rebuilds DB records from the filesystem,
or by restoring only the relevant app tables from an old database dump (without touching everything else)?
I’d prefer not to manually recreate every note / recipe / bookmark / collective if possible.
Find out if there’s a safe way to relink existing data on disk to new DB records,
or confirm if this is fundamentally impossible without the original database.
Thanks in advance to anyone who has gone through this before or can explain the correct approach.
I would like to request advice on how to restore files in Collectives. I came across this thread, which outlines a possible solution: Import Markdown Files to Collectives.
This discussion is a year old, and I’m unsure if the solution still applies. I have the original Collectives content (from a previous installation Nextcloud AIO v31) located on the current Nextcloud server (clean installation v32) in the Collectives folder.
I attempted to upload the files through the web interface, but nothing appeared in the Collectives app.
But it didn’t resolve the issue, so I’m not sure if there’s a different syntax or solution for this in Nextcloud AIO.
I was able to successfully resolve the issues with Notes and Cookbook, but I’m still struggling with Collectives.
Any guidance would be greatly appreciated.
As a hint for the Collectives development team, I could imagine something similar to what is implemented in the Cookbook app, where there’s an option to click a Rescan button in the app settings. This would allow the app to automatically scan the directory and import any missing content into Collectives.