Problem Upgrade to 10.0.9

guys I just ran the version progress, renamed the old folder of owncloud, downloaded and unpacked the new … copied the config folders and apps into the new folder … when I typed the IP / owncloud address I appeared the screen that does update, I gave the command to start the update and now no longer load the login page, the white screen remains … if I try to give the command: sudo -u www-data php occ files: scan --all I receive this message: Could not open input file: occ

what happened? How can I solve?

Where do you run the command?

If it was run not in the ownCloud directory, it can not find the occ script, so you get this error.

Do you have command line access to your server? If yes I would advice a manual upgrade.

Also, I would recommend following the steps described in the official documentation regarding upgrading:

https://doc.owncloud.com/server/10.0/admin_manual/maintenance/manual_upgrade.html

I followed step by step the guide you posted, I continue to have blank page … I also tried to delete the file config.php, create a new user, start loading and then the page becomes white again

please provide more information

I’m sorry
the commands I gave him from / var / www / owncloud, I managed to do the file scan and all the other commands that the guide said to give

Bad idea for an upgrade.

Why not having a look into owncloud.log?

root@Capsule:/mnt/data# nano owncloud.log

GNU nano 2.7.4 File: owncloud.log

{“reqId”:“Hfmr3KQKco7UXhfqK0aE”,“level”:3,“time”:“2018-08-08T07:36:15+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:“Cla$
{“reqId”:“Z2ztcwC1d68ypSCe5YbV”,“level”:3,“time”:“2018-08-08T07:36:17+00:00”,“remoteAddr”:“192.168.1.103”,“user”:”–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:“Cla$
{“reqId”:“qdGM4ovv7ck5JZ7v07FR”,“level”:3,“time”:“2018-08-08T07:41:05+00:00”,“remoteAddr”:“192.168.1.103”,“user”:”–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:“Cla$
{“reqId”:“jFIwdzx0oHbtI9p27e7i”,“level”:3,“time”:“2018-08-08T07:43:31+00:00”,“remoteAddr”:“192.168.1.103”,“user”:”–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:“Cla$
{“reqId”:“9B473w9E6dnee8iS1Eoa”,“level”:3,“time”:“2018-08-08T07:52:21+00:00”,“remoteAddr”:“192.168.1.103”,“user”:”–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:“Cla$
{“reqId”:“1n8KHfjbDv1qbT625R4g”,“level”:3,“time”:“2018-08-08T07:53:16+00:00”,“remoteAddr”:“192.168.1.103”,“user”:”–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:“Cla$
{“reqId”:“QBx3vTXss4KtNgKpWWpy”,“level”:3,“time”:“2018-08-08T09:58:43+00:00”,“remoteAddr”:“192.168.1.130”,“user”:”–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“xqivkuitLztbQt6mNXFY”,“level”:3,“time”:“2018-08-08T09:58:46+00:00”,“remoteAddr”:“192.168.1.130”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“JGUKsGdVowSck8D1lLcm”,“level”:3,“time”:“2018-08-08T11:10:09+00:00”,“remoteAddr”:“192.168.1.130”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“hi7zteyKePBbZTu2JsRR”,“level”:3,“time”:“2018-08-08T11:10:12+00:00”,“remoteAddr”:“192.168.1.130”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“5Mr91ARPNGhIZEZfmMeS”,“level”:3,“time”:“2018-08-08T11:43:17+00:00”,“remoteAddr”:“192.168.1.130”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“B7700gJzn0UujCfm0wFt”,“level”:3,“time”:“2018-08-08T21:27:18+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“jOIZsFCDwRgsP39fZW8f”,“level”:3,“time”:“2018-08-08T21:27:18+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“eGoGDKWibZB05AyWiZ0E”,“level”:3,“time”:“2018-08-08T22:43:55+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“mPTnRl1yPFEQPDRzan8m”,“level”:3,“time”:“2018-08-08T22:44:51+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“lPYtE0EER5A7Mkrx5nww”,“level”:3,“time”:“2018-08-08T22:44:54+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“JsnIpZxwmW6xqHufLdq9”,“level”:3,“time”:“2018-08-09T06:28:51+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“UFfxnEvZv4rcj5HzEW6H”,“level”:3,“time”:“2018-08-09T06:55:30+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“7z8C78K90Sl6YbmbyH7U”,“level”:3,“time”:“2018-08-09T08:02:17+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“aNp7ICR9CqmGEbdKSlU4”,“level”:3,“time”:“2018-08-09T08:07:25+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/login$
{“reqId”:“yj6KD7ufwVRcrOdr9ypA”,“level”:3,“time”:“2018-08-09T08:09:58+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/owncloud/i$
{“reqId”:“6cCXTSFM2STjWyMLkDjd”,“level”:3,“time”:“2018-08-09T08:11:12+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/apps$
{“reqId”:“FaUSgdyDxjRy4JdQFegw”,“level”:3,“time”:“2018-08-09T08:11:17+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/apps$
{“reqId”:“ohaAt9UGqJyelIlGrRcQ”,“level”:3,“time”:“2018-08-09T08:14:46+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/index.php/apps$
{“reqId”:“KIfkEiXfrYWG6Jxq1WcE”,“level”:3,“time”:“2018-08-09T08:14:57+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:“Cla$
{“reqId”:“ITlGyK8pWBxaqsShsJbl”,“level”:3,“time”:“2018-08-09T08:15:02+00:00”,“remoteAddr”:“192.168.1.103”,“user”:”–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:“Cla$
{“reqId”:“FnMnDzj4SzmkTVhKk9JL”,“level”:3,“time”:“2018-08-09T08:16:36+00:00”,“remoteAddr”:“192.168.1.103”,“user”:”–",“app”:“PHP”,“method”:“GET”,“url”:"/owncloud/",“message”:"Cla$

did you try the upgrade command?

apt update&&upgrade owncloud
I gave this command

Why? apt update and upgrade is for repository installation

What you described in your fist post looked like an tar ball upgrade.

that’s why you need an command line upgrade.

and what command should I give from the command line, sorry?

sudo -u www-data php occ upgrade -vvv

root@Capsule:/var/www/owncloud# sudo -u www-data php occ upgrade -vvv
ownCloud is already latest version

continue not to load the page

check your config php for errors

Blockquote<?php
$CONFIG = array (
‘maintenance’ => false,
‘instanceid’ => ‘ocyap2d6r37y’,
‘passwordsalt’ => ‘VvoDAZqD2XNv+rOKNoi1BPgL9ILRqE’,
‘secret’ => ‘DWu+9riKG5e0ybLsCvrG9ioJOVGonV44vpVx5KXQA6+n9WbG’,
‘trusted_domains’ =>
array (
0 => ‘192.168.1.xx’,
),
‘datadirectory’ => ‘/mnt/data’,
‘overwrite.cli.url’ => ‘https://192.168.1.xx/owncloud’,
‘dbtype’ => ‘mysql’,
‘version’ => ‘10.0.9.5’,
‘dbname’ => ‘owncloud’,
‘dbhost’ => ‘localhost’,
‘dbtableprefix’ => ‘oc_’,
‘dbuser’ => ‘matt’,
‘dbpassword’ => ‘xxx’,
‘logtimezone’ => ‘UTC’,
‘installed’ => true,
‘memcache.local’ => ‘\OC\Memcache\Redis’,
‘redis’ =>
array (
‘host’ => ‘localhost’,
‘port’ => 6379,
),
‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘theme’ => ‘’,
‘loglevel’ => 2,
);

This is my config file

But now when I reload the page I see this: Unable to write to the “config” folder.
This can normally be corrected by providing the web server with access writing to the “config” folder
restoring the permissions to the user, if I reload the page it will again be white

so did you provide your web server user with the right permissions?

yes, I gave back the read / write permissions with the command:
chown -R www-data: www-data / var / www / owncloud /
but when I reload the page the screen goes blank

try it with this directory

already done:
chown -R www-data: www-data / mnt / data /
always the same result

okay, try to comment out the redis lines from the config php to avoid caching or file locks issues