Basically got to the point of recovering my system using a new SD card and new Pi4 but can’t move data or use new and bigger SSD.
Nextcloud version: 22.2.2/1.45, this post was very helpful
OS: Debian Bullseye, 64bit
PHP version: 7.4,
Things I have tried.
- Used restore. I booted with new drive, auto mounted ran restore. But gave a something went wrong error after about 45min. If I look at the new drive it’s was missing ncdata.
- used dd to clone drives, it completed but ncdata is there, gparted showed that it took up the same level of data but folder wasn’t listed.
Currently in the situation where I boot up with 1Tssd cloned drive (without a ncdata) dir.
Browser error is:
Your data directory is invalid Ensure there is a file called “.ocdata” in the root of the data directory. Your data directory is not writable Permissions can usually be fixed by giving the webserver write access to the root directory. See Installation wizard — Nextcloud latest Administration Manual latest documentation.
It seems insainly difficult to do what seems like a regular task, upgrading storage. I love NC and will get there eventually but this should be a few clicks and the time of a data copy. What am I missing?