Lost data after HDD failure, trying to recreate /data folder

Digging a bit further thanks to the log, I found a few other things I could do that helped me return to normal:

  • The several instances of /var/www/nextcloud/data/appdata_ocxxxxxxx led me to this thread that recommended using occ config:system:delete xxxxxxx to reset the specific user’s app data.
  • Also, I disabled some apps temporarily to be safe with occ app-disable.
  • And finally, found that occ maintenance:repair skipped some of the heavier fixes by default, so I used occ maintenance: repair --include-expensive to make the fixes more thorough.
1 Like