Does nc-init touch data?

I was having issues with NextcloudPI after a powerfailure. I’m looking to run nc-init, but wanted to be sure, does this command delete the data as well? I have a few terabytes of data that I would like to save but I think I need a clean install of Nextcloud.


Yes, if your data folder is /var/www/nextcloud/data
No, if you used nc-datadir to move data to an external drive, as in /media/MyUSBdrive

I’d make backups before I start :wink:

Ok great. So is NC-Init akin to reinstalling NextcloudPi from scratch? Or is it more of a reset to default settings kinda of thing? Or something completely different?


1 Like