Recovery configuration (nextcloudpi)

Nextcloud version (
Operating system and version (Raspbian GNU/Linux 9 (stretch)):
Apache version (Apache/2.4.25 (Raspbian) Server built: 2019-04-02T19:05:13:
PHP version (PHP 7.2.19-1+0~20190531112637.22+stretch~1.gbp75765b (cli) (built: May 31 2019 11:26:38) ( NTS )

i had a power outage and the sd card in the raspberrypi was corrupted and i can’t boot. Can i backup, from my pc, the configuration file and the data (the last is not important, i have a backup). I had the data encrypted…

well… backuping your configuration files should be a good solution after you flashed a new image to your sd-card and made sure that it (sd-card) havent gotten damaged from power outage.

usually restoring last backup would help.

i already did that successfully and it wasn’t any problem (even without restoring data).
buuuuuuuuuuuut i dunno if it would be working for encrypted instances as well.

Try running fsck on both partition of the sd, I’ve seen that fix it.
On a fat partition, the so-called " dirty bit" can be set to prevent boot. fsck will remove it.
Running fsck on the linux partition should, hopefully, fix any damaged file.

1 Like

sorry i tried to remove and now fsck is ok. I’ll try to boot the raspberry.

i tried but the raspberry failed to boot i had a bunch of errors like

mmc0: SDARG 00x00000(samething similar)
mmc0: SDCMD numbers
mmc0: SDTOUT numbers
and then 
mmc0: error -110 whilst initialising sd card
mmc0: card never left busy state

i don’t know what to do