Nextcloud version (eg, 12.0.2): 15.0.0
Operating system and version (eg, Ubuntu 17.04): Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.25
PHP version (eg, 7.1): PHP 7.2.13
The issue you are facing:
When upgrading from 14.04 to 15.0 everything went well but now i cannot access my files due to this error:
[php7:notice] [pid 27] [client 172.18.0.1:33346] PHP Notice: Undefined offset: 1 in /var/www/html/lib/base.php on line 1059
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Have Nextcloud version 14.04
- Upgrade to 15.0
- Confirm update on welcome screen
The output of your Nextcloud log in Admin > Logging:
- Cannot aceess -
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'htaccess.RewriteBase' => '/',
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => true,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'instanceid' => 'ID',
'passwordsalt' => 'SALT',
'secret' => 'SECRET',
'trusted_domains' =>
array (
0 => 'cloud.example.com',
),
'datadirectory' => '/var/www/html/data',
'dbtype' => 'mysql',
'version' => '15.0.0.10',
'overwrite.cli.url' => 'https://cloud.example.com',
'overwritehost' => 'cloud.example.com',
'dbname' => 'nextcloud',
'dbhost' => 'nx-database',
'dbport' => '3306',
'dbtableprefix' => 'oc_',
'dbuser' => 'nextcloud',
'dbpassword' => 'PASSWORD',
'mysql.utf8mb4' => true,
'installed' => true,
'mail_smtpmode' => 'smtp',
'mail_smtphost' => 'SMTPHOST',
'mail_smtpport' => '587',
'mail_smtpauthtype' => 'LOGIN',
'mail_smtpauth' => 1,
'mail_from_address' => 'cloud',
'mail_domain' => 'example.com',
'mail_smtpname' => 'USERNAME',
'mail_smtppassword' => 'PASSWORD',
'mail_smtpsecure' => 'tls',
'theme' => '',
'loglevel' => 2,
'maintenance' => false,
);
The output of your Apache/nginx/system log in /var/log/____
:
172.18.0.1 - - [15/Dec/2018:12:38:59 +0000] "GET / HTTP/1.1" 302 1459 "-" "curl/7.62.0"
172.18.0.1 - - [15/Dec/2018:12:40:01 +0000] "GET / HTTP/1.1" 302 1461 "-" "curl/7.62.0"
172.18.0.1 - - [15/Dec/2018:12:40:01 +0000] "GET /login HTTP/1.1" 200 3453 "-" "curl/7.62.0"
[Sat Dec 15 12:40:02.620362 2018] [php7:notice] [pid 33] [client 172.18.0.1:33880] PHP Notice: Undefined offset: 1 in /var/www/html/
lib/base.php on line 1059
172.18.0.1 - - [15/Dec/2018:12:40:02 +0000] "HEAD /login HTTP/1.1" 200 1262 "-" "Go-http-client/1.1"
172.18.0.1 - - [15/Dec/2018:12:41:03 +0000] "GET / HTTP/1.1" 302 1461 "-" "curl/7.62.0"
172.18.0.1 - - [15/Dec/2018:12:41:03 +0000] "GET /login HTTP/1.1" 200 3455 "-" "curl/7.62.0"
[Sat Dec 15 12:41:22.621985 2018] [php7:notice] [pid 32] [client 172.18.0.1:34052] PHP Notice: Undefined offset: 1 in /var/www/html/
lib/base.php on line 1059
172.18.0.1 - - [15/Dec/2018:12:41:22 +0000] "HEAD /login HTTP/1.1" 200 1270 "-" "Go-http-client/1.1"
172.18.0.1 - - [15/Dec/2018:12:42:04 +0000] "GET / HTTP/1.1" 302 1459 "-" "curl/7.62.0"
[Sat Dec 15 12:43:02.616482 2018] [php7:notice] [pid 27] [client 172.18.0.1:34254] PHP Notice: Undefined offset: 1 in /var/www/html/
lib/base.php on line 1059
172.18.0.1 - - [15/Dec/2018:12:43:02 +0000] "HEAD /login HTTP/1.1" 200 1264 "-" "Go-http-client/1.1"
172.18.0.1 - - [15/Dec/2018:12:43:06 +0000] "GET / HTTP/1.1" 302 1455 "-" "curl/7.62.0"
[Sat Dec 15 12:43:22.619683 2018] [php7:notice] [pid 33] [client 172.18.0.1:34292] PHP Notice: Undefined offset: 1 in /var/www/html/
lib/base.php on line 1059