Upgrade 8.1.3 ==> 8.2+ not working New install of 8.2+ not working
Steps to reproduce
- Install owncloud 8.2+ or upgrade from 8.1.3 to 8.2+ version.
Expected behaviour
I expect the install to work or the upgrade to complete and the site to be operable.
Actual behaviour
The upgrade makes the backup then gets the files for the new version but when the upgrade process is started I get a blank white screen. Or and Error 500 on edge browser.
A new install after expanding the files and making sure all the owners / permissions are correct for my system I attempt to load the site and get the white screen.
Server configuration
Operating system: Ubuntu 14.04 Web server: Apache 2.4.7 Database: MySQL 5.5.46 PHP version: 5.5.9-1ubuntu4.14 ownCloud version: (see ownCloud admin page) I have several sites running 8.1.3 and have attepted to update one and also do a clean install to 8.2.1.4 Updated from an older ownCloud or fresh install: Both List of activated apps: Only the default apps are activated
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder
The content of config/config.php:
<?php
$CONFIG = array (
'instanceid' => '****',
'passwordsalt' => '****',
'secret' => '****',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '*****.biz',
),
'datadirectory' => '/mnt/oc_stonecloud/BLS',
'overwrite.cli.url' => 'https://*****.biz/bls',
'dbtype' => 'mysql',
'version' => '8.2.1.4',
'dbname' => 'oc_BLS',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'dbuser' => '****',
'dbpassword' => '***',
'logtimezone' => 'UTC',
'installed' => true,
'maintenance' => false,
'logfile' => '/mnt/oc_*****/BLS/owncloud.log',
'loglevel' => 2,
'trashbin_retention_obligation' => 'auto',
);
Are you using external storage, if yes which one: local/smb/sftp/... local/smb Are you using encryption: yes/no No Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No
Client configuration
Browser: Chrome, Firefox, Edge, Operating system: Win 10, Android, Linux
Logs
Web server error log
There are hundreds of the first line. When I try to reload the site with the blank page I get the following error.
tdb(__NULL__): tdb_open_ex: called with name == NULL
[Sun Dec 06 09:36:29.559657 2015] [:error] [pid 15926] [client *.*.*.*:30732] PHP Fatal error: Class 'InterfaSys\\LogNormalizer\\Normalizer' not found in /var/wwws/bls/lib/private/log.php on line 78
ownCloud log (data/owncloud.log)
{"reqId":"uF5YOU0mIgtxSvOSVGqJ","remoteAddr":"","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-12-05T18:28:35+00:00"}
{"reqId":"5vhnXOwhruTnsB6H+98M","remoteAddr":"","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-12-05T18:29:28+00:00","method":"--","url":"--"}
{"reqId":"5vhnXOwhruTnsB6H+98M","remoteAddr":"","app":"core","message":"starting upgrade from 8.1.3.0 to 8.2.1.4","level":0,"time":"2015-12-05T18:29:28+00:00","method":"--","url":"--"}
{"reqId":"5vhnXOwhruTnsB6H+98M","remoteAddr":"","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-12-05T18:29:30+00:00","method":"--","url":"--"}
{"reqId":"5vhnXOwhruTnsB6H+98M","remoteAddr":"","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-12-05T18:29:30+00:00","method":"--","url":"--"}
{"reqId":"5vhnXOwhruTnsB6H+98M","remoteAddr":"","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-12-05T18:29:31+00:00"}
{"reqId":"Nys8iaX8yY71qZ+V\/bff","remoteAddr":"","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-12-05T18:29:46+00:00"}
{"reqId":"DVr7BYB7Bj+4RgNH6ty1","remoteAddr":"","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-12-05T18:30:10+00:00"}
{"reqId":"DVr7BYB7Bj+4RgNH6ty1","remoteAddr":"","app":"core","message":"XCache opcode cache will not be cleared because \"xcache.admin.enable_auth\" is enabled.","level":2,"time":"2015-12-05T18:30:10+00:00"}
Browser log
I don't have browser logs
Seems another user at the forums had reported the same about the missing Normalizer class but havn't managed to report an issue here:
https://forum.owncloud.org/viewtopic.php?t=31172&p=99886
That was my post a while back when 8.2 first came out. I had problems then so I waited a while to see if the problems would be resolved and they are not.
tdb(__NULL__): tdb_open_ex: called with name == NULL
Wasn't this mentioned recently together with a samba mount - cc @icewind1991 @jmaciasportela Do you know what this means?
upgrade makes the backup
Only the updater app makes a backup, so this means the update was done with that. CC @VicDeo
Error: InterfaSys\\LogNormalizer\\Normalizer.
This almost looks like the PHP code hasn't been properly updated. This library was introduced in 8.2.
I wonder if maybe you ran into a timeout while the code was being updated.
@VicDeo does the updater do the backup and the code update within the same call or are they different calls ? If different, then maybe the update code took a while to download the new package and PHP ran into a timeout more quickly than expected.
I have had the same problem both when I run the updater from 8.1.3 and also when I expand the tar file and try to set up new. Both will not work. 8.1.3 is working fine on my server but I can't get 8.2 to work. Is there some new server requirements that I may not have covered?
@PVince81
does the updater do the backup and the code update within the same call or are they different calls ?
every upgrade step (download | backup | replace) is done with different AJAX request currently
@kwstone does 3rdparty/interfasys/lognormalizer/src/Normalizer.php exist?
if yes, are permissions for this file correct?
yes it's there @VicDeo
Just a little more info:
I just un-tarred 8.2.1 changed permissions and ownership for my machine and tried to go to the url. Blank screen. Get the same apache error /var/wwws/demo/lib/private/log.php on line 78 from the attempt. I am adding this because I instance I was trying over the weekend I had to roll back to 8.3.1 and have it working this morning. I have 6 instances of owncloud running on this server all of them at 8.1.3 and all working just fine. I added the /demo with 8.2.1 and blank screen.
Excuse the incorrect posting
@capnjb Those are completely unrelated issues. Please avoid hijacking an issue like this and (if you think you're hitting bugs here) create a new bugreport (using the issue template) for each of this problems.
@kwstone does ./occ check show anything interesting?
Samba uses a lightweight database called Trivial Database (tdb) in which it stores persistent and transient data. Some tdb files can be disposed of before restarting Samba, but others are used to store information that is vital to Samba configuration and behaviour. The following information is provided to help administrators who are seeking to better manage their Samba installations.
Those who package Samba for commercial distribution with operating systems and appliances would do well to take note that tdb files can get corrupted, and for this reason ought to be backed up regularly. More info (https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/tdb.html)
WND app uses @icewind1991 library that wraps operating system samba calls. In this case it seems to be an error related with operating system SMB process
cc @MorrisJobke
@jmaciasportela How is this related to the issue of the OP getting a PHP Fatal error: Class 'InterfaSys\\LogNormalizer\\Normalizer' error during upgrades?
@RealRancor it was about https://github.com/owncloud/core/issues/20976#issuecomment-162431667
Ah, have missed this. Thanks.
@VicDeo
kstone:~$ sudo -u www-data php /var/wwws/demo/occ check
An unhandled exception has been thrown:
exception 'OCP\AutoloadNotAllowedException' with message 'Autoload path not allowed: /home/kstone/config.php' in /var/wwws/demo/lib/autoloader.php:138
Stack trace:
#0 /var/wwws/demo/lib/autoloader.php(158): OC\Autoloader->isValidPath('/home/kstone/co...')
#1 [internal function]: OC\Autoloader->load('OC\Config')
#2 /var/wwws/demo/lib/base.php(133): spl_autoload_call('OC\Config')
#3 /var/wwws/demo/lib/base.php(497): OC::initPaths()
#4 /var/wwws/demo/lib/base.php(1081): OC::init()
#5 /var/wwws/demo/console.php(42): require_once('/var/wwws/demo/...')
#6 /var/wwws/demo/occ(11): require_once('/var/wwws/demo/...')
#7 {main}kstone@stonecloud:~$
@kwstone do you use symlinks on this installation?
cc @LukasReschke
/home/kstone/config.php looks fishy since it is pretty unrelated to oc instance in /var/www