Sorry to hear you’re facing problems
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
Or for longer, use three backticks above and below the code snippet:
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 20.0.5):
Operating system and version (eg, Ubuntu 20.04):
The issue you are facing:
I have a NC server up and running and would like to create a 2nd server for failover. For that I need to copy all config data (users, passwords, installed apps, etc) → which folders do I need to keep in sync?
Steps to replicate it:
- NC1 and NC2 should be in sync in case NC1 goes down
- Periodically sync all config data (and user data) from NC1 → NC2
The output of your Nextcloud log in Admin > Logging:
The output of your config.php file in
/path/to/nextcloud (make sure you remove any identifiable information!):
The output of your Apache/nginx/system log in
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.