Instance doesn't work after migrating to another server

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

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:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

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 :heart:

Nextcloud version (eg, 20.0.5): 21.0.0.18
Operating system and version (eg, Ubuntu 20.04): Debian 10
Apache or nginx version (eg, Apache 2.4.25): 2.4.38-3
PHP version (eg, 7.4): 7.3.29-1

The issue you are facing:
I’ve moved my Nextcloud instance from an Ubuntu 20.04 server over to a Debian 10 server by following the official documentation, but when I go to the main page of the instance all I get is a blank screen.

Is this the first time you’ve seen this error? (Y/N): no

Steps to replicate it:

  1. Follow all of the steps here to backup and restore
  2. Change the config file to trust the correct domains
  3. Go to the new URL

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'REDACTED',
  'passwordsalt' => 'REDACTED',
  'secret' => 'REDACTED',
  'trusted_domains' => 
  array (
    0 => '192.168.1.12',
    1 => 'REDACTED',
  ),
  'datadirectory' => '/var/www/html/nextcloud/data',
  'dbtype' => 'sqlite3',
  'version' => '21.0.0.18',
  'overwrite.cli.url' => 'http://192.168.1.12/nextcloud',
  'installed' => true,
  'app_install_overwrite' => 
  array (
    0 => 'apporder',
    1 => 'bruteforcesettings',
  ),
  'maintenance' => true,
  'updater.secret' => 'REDACTED',
);

The output of your Apache/nginx/system log in /var/log/____:
https://pastebin.com/mFGxTaSq

I’m not a pro when reviewing log files but one thing I notice is your log file refers to 192.168.1.8. Do you have the correct IP in your config files?

The config file is in the main thread. All references to 192.168.1.8 were changed to 192.168.1.12.