Uppgrade from 16.0.5.1 to 17.0.2 files don't show after upgrade

Hello,

I updated to version 17.0.2.1 from 16.0.5.1.

After the upgrade I can’t see my files when I login to my nextcloud server.

I can add new files that I can find inn the server console. But after I added the file in a webbrowser I can’t see it. I only se a white screen.
Other apps like calender, activity, Decks work.
And the nextcloud client works.

Nextcloud version (eg, 12.0.2): 17.0.2.1
Operating system and version (eg, Ubuntu 17.04): Debian 9.11
Apache or nginx version (eg, Apache 2.4.25): Server Version: Apache/2.4.25 (Debian) OpenSSL/1.0.2t
PHP version (eg, 7.1): PHP 7.3.13-1+0~20191218.50+debian9~1.gbp23c2da

The issue you are facing:
After uppgrade from 16.0.5.1 to 17.0.2 I can’t see the files on the nextcloud server after login.

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

/var/www/nextcloud/occ files:scan-app-data
https://pastebin.com/iwSMsgPs

The output of your Nextcloud log in Admin > Logging:

https://pastebin.com/NNwDw6ib

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

 <?php
$CONFIG = array (
  'instanceid' => '*************',
  'passwordsalt' => '**********************',
  'secret' => '**********************************',
  'auth.bruteforce.protection.enabled' => true,
  'blacklisted_files' => 
  array (
    0 => '.htaccess',
    1 => 'Thumbs.db',
    2 => 'thumbs.db',
  ),
  'trusted_domains' => 
  array (
    0 => '*****.com',
    1 => '192.168.0.4',
    2 => 'www.*****.com',
  ),
  'cron_log' => true,
  'enable_previews' => true,
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\PNG',
    1 => 'OC\\Preview\\JPEG',
    2 => 'OC\\Preview\\GIF',
    3 => 'OC\\Preview\\BMP',
    4 => 'OC\\Preview\\XBitmap',
    5 => 'OC\\Preview\\Movie',
    6 => 'OC\\Preview\\PDF',
    7 => 'OC\\Preview\\MP3',
    8 => 'OC\\Preview\\TXT',
    9 => 'OC\\Preview\\MarkDown',
  ),
  'installed' => true,
  'filesystem_check_changes' => 0,
  'filelocking.enabled' => false,
  'htaccess.RewriteBase' => '/',
  'datadirectory' => '/var/nextcloud/data',
 'dbtype' => 'mysql',
  'version' => '17.0.2.1',
  'overwrite.cli.url' => 'https://*****.com',
  'dbname' => 'nextclouddb',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '**',
  'maintenance' => false,
  'integrity.check.disabled' => true,
  'app_install_overwrite' => 
  array (
    0 => 'beame_insta_ssl',
  ),
  'theme' => '',
  'log_type' => 'file',
  'logfile' => '/var/log/nextcloud.log',
  'loglevel' => '3',
  'logdateformat' => 'F d, Y H:i:s',
  'log_rotate_size' => 104857600,
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'overwriteprotocol' => 'https',
  'preview_max_x' => 1024,
  'preview_max_y' => 768,
  'preview_max_scale_factor' => 1,
  'redis' => 
  array (
    'host' => '/var/run/redis/redis-server.sock',
    'port' => 0,
    'timeout' => 0.0,
  ),
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'ssl',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => '******',
  'mail_domain' => 'gmail.com',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'smtp.gmail.com',
 'mail_smtpport' => '465',
  'mail_smtpname' => '****@gmail.com',
  'mail_smtppassword' => '*******',
  'mail_smtpauthtype' => 'LOGIN',
  'updater.release.channel' => 'stable',
);

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

/var/log/apache2/nextcloud_error.log
https://pastebin.com/7S2wQNbs

cat /etc/apache2/sites-enabled/001-nextcloud-le-ssl.conf

<IfModule mod_ssl.c>
	<VirtualHost *:443>
		Protocols h2 h2c http/1.1
		ServerAdmin *****@gmail.com
		ServerName ******.com
		ServerAlias www.******.com
		DocumentRoot "/var/www/nextcloud"
    			<IfModule mod_headers.c>
      				# Header always set Strict-Transport-Security "max-age=31536000; includeSubDomains"
				# Header always set X-Frame-Options DENY
				
				 Header always set Strict-Transport-Security "max-age=15768000; preload"
				 Header set Referrer-Policy "strict-origin-when-cross-origin"
				 Header set X-Content-Type-Options "nosniff"
				# Header always set X-Frame-Options "SAMEORIGIN"
    			</IfModule>
                SSLEngine on

		Include /etc/letsencrypt/options-ssl-apache.conf


	<Directory "/var/www/nextcloud/">
		# Options Indexes MultiViews FollowSymlinks
		 Options +FollowSymlinks
		AllowOverride All
		Order allow,deny
		 Allow from all
	
		<IfModule mod_dav.c>
			Dav off
		</IfModule>
	</Directory>

	TransferLog /var/log/apache2/nextcloud_access.log
	ErrorLog /var/log/apache2/nextcloud_error.log

	SSLCertificateFile /etc/letsencrypt/live/ekbpro.com/fullchain.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/ekbpro.com/privkey.pem
	</VirtualHost>
</IfModule>
 ls -l /var/www/nextcloud/
total 96
drwxr-xr-x 1 www-data www-data   628 Dec 23 01:18 3rdparty
drwxr-xr-x 1 www-data www-data  2790 Dec 25 23:57 apps
-rw-r--r-- 1 www-data www-data 12063 Dec 23 01:18 AUTHORS
drwxr-xr-x 1 www-data www-data   164 Dec 26 01:53 config
-rw-r--r-- 1 www-data www-data  3805 Dec 23 01:18 console.php
-rw-r--r-- 1 www-data www-data 34520 Dec 23 01:18 COPYING
drwxr-xr-x 1 www-data www-data   440 Dec 23 01:18 core
-rw-r--r-- 1 www-data www-data  4993 Dec 23 01:18 cron.php
drwxr-xr-x 1 www-data www-data    64 May 10  2019 data
-rw-r--r-- 1 www-data www-data   156 Dec 23 01:18 index.html
-rw-r--r-- 1 www-data www-data  3172 Dec 23 01:18 index.php
drwxr-xr-x 1 www-data www-data   126 Dec 23 01:18 lib
-rw-r--r-- 1 www-data www-data   283 Dec 23 01:18 occ
drwxr-xr-x 1 www-data www-data    18 Dec 23 01:18 ocm-provider
drwxr-xr-x 1 www-data www-data    50 Dec 23 01:18 ocs
drwxr-xr-x 1 www-data www-data    18 Dec 23 01:18 ocs-provider
-rw-r--r-- 1 www-data www-data  2951 Dec 23 01:18 public.php
-rw-r--r-- 1 www-data www-data  5139 Dec 23 01:18 remote.php
drwxr-xr-x 1 www-data www-data   122 Dec 23 01:18 resources
-rw-r--r-- 1 www-data www-data    26 Dec 23 01:18 robots.txt
drwxr-xr-x 1 www-data www-data   260 Dec 23 01:18 settings
-rw-r--r-- 1 www-data www-data  2287 Dec 23 01:18 status.php
drwxr-xr-x 1 www-data www-data    26 Dec 23 01:18 themes
drwxr-xr-x 1 www-data www-data    42 Dec 23 01:19 updater
-rw-r--r-- 1 www-data www-data   362 Dec 23 01:18 version.php
ls -l /var/nextcloud/data/
total 359788
drwxr-xr-x 1 www-data www-data        48 May 12  2019 admin
drwxr-xr-x 1 www-data www-data        90 Dec 18 15:48 ako
drwxr-xr-x 1 www-data www-data        76 May 13  2019 aks
drwxr-xr-x 1 www-data www-data       192 Dec 25 02:10 appdata_ocy077awkorw
-rw-r----- 1 www-data www-data      3696 Dec 23 01:32 audit.log
drwxr-xr-x 1 www-data www-data       118 Jun 28 09:44 be
drwxr-xr-x 1 www-data www-data        90 Sep  8 20:11 Connie
drwxr-xr-x 1 www-data www-data        48 Oct 11 13:17 ebj
drwxr-xr-x 1 www-data www-data       148 May 12  2019 Espen
drwxr-xr-x 1 www-data www-data        26 Dec 23 01:28 files_external
drwxr-xr-x 1 www-data www-data        10 Nov  8 09:15 ft
drwxr-xr-x 1 www-data www-data         0 May 11  2019 __groupfolders
drwxr-xr-x 1 www-data www-data        48 Oct  4 15:45 iFixServer
-rw-r--r-- 1 www-data www-data         0 Dec 23 01:30 index.html
drwxr-xr-x 1 www-data www-data        90 Dec  3 12:37 krl
drwxr-xr-x 1 www-data www-data        20 Sep  8 15:28 lise
drwxr-xr-x 1 www-data www-data        76 May 13  2019 lk
drwxr-xr-x 1 www-data www-data        90 Nov 28 11:20 me
drwxr-xr-x 1 www-data www-data        22 Oct 12 23:51 news
-rw-r----- 1 www-data www-data  86351226 Dec 25 23:33 nextcloud.log
-rw-r----- 1 www-data www-data 282003981 Nov  6 21:50 nextcloud.log.1
drwxr-xr-x 1 www-data www-data         0 Sep 26 22:34 OneDrive - Storm Elektro AS
drwxr-xr-x 1 www-data www-data       104 Sep 26 10:21 StormAutomasjon
drwxr-xr-x 1 www-data www-data       104 May 12  2019 TestUser
-rw-r--r-- 1 www-data www-data     57512 Dec 23 01:19 updater.log
drwxr-xr-x 1 www-data www-data        74 Dec 23 01:32 updater-ocy077awkorw
drwxr-xr-x 1 www-data www-data        90 Nov 22 20:30 Walter

I am very happy for all the help I can get. If there is any info you need to help me I can check it out. Just tell me what and how I can get it.

Thank you

You should at least insert a line with three backticks (```) before and after the data block to make it readable :wink:

Sorry, I hope thise helps

My fix was to remove all the files in the nextcloud directory on the web server. Unpackt the innstall files from a new download. And used my old config file with the same database.
Everything is back and working
smile: )