Server replacement

Hello, the hard disk of my Nextcloud server is out of order. All the data and the www directory are on an external disk and I have a database backup. How can I restore my server on another computer so that synchronization is transparent?
Thanks in advance

sorry for just sending a Link, but it might work. If not there are tons of documentation about this topic online. And please, don’t hesistate to ask further questions :slight_smile:

1 Like

Thanks for this answer but the problem is a bit complicated because the old server is no longer usable.
So for more convienience, the new one has the SAME name and address than the older.

But I think my main problem is link with authorization because I can’t run occ. When I try :

sudo -u www-data php occ

I’ve got the following message :

Failed to open stream: Permission denied in ...

So could you tell me if www-data has specific rights in sudoers ?


This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.