🔥 OVH fire disaster: file storage lost, database preserved, how to recover?

Hi all,
Since OVH fire in Strasbougr datacenter, I actually experience the same situation as MaximeM.

I tell you what I did since now and where I am stucked !

  • First of all, all sync are off from clients
  • I loaded my database backup into MySQL fresh install. This is ok
  • Reinstalled my nextcloud folder from backup (was up-to-date) and reconfigured my Virtual Host (I use Apache). It is accessible from web browser -even if I don’t want to log-in right now to prevent any weird behaviors and irreversible actions.
  • I set all permissions for using nextcloud correctly

I do have, on my computer, all data I need to sync them again on cloud server. My plan was to :

  • do scan files into the server, to “repair” files / database associations :

sudo -u www-data php ./occ files:scan --all

  • and finally create a new connection on client side to sync again my files and ask again to my collaborators to do the same

But the command sudo -u www-data php ./occ files:scan --all returns the following errors for each user :

I’m looking for a solution, maybe an alternative !
OK : just read this - which gives a solution : Home storage for user not writable - #6 by steinbach