Steps to reproduce
- Ubuntu 20.10 upgrade
Expected behaviour
Anything. Currently web page opens blank
Actual behaviour
No web page. Apache log shows
[Thu Dec 24 11:25:10.728374 2020] [php7:error] [pid 531813] [client 192.168.1.213:37786] PHP Fatal error: Cannot redeclare normalizer_is_normalized() (previously declared in /var/www/owncloud/lib/composer/symfony/polyfill-intl-normalizer/bootstrap.php:15) in /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php on line 20
Server configuration
Operating system:
Ubuntu 20.10
Web server:
Apache2
Database:
Mysql
PHP version:
chas@maple:/var/log/apache2$ sudo -u www-data php --version
PHP 7.2.31-1+ubuntu19.10.1+deb.sury.org+1 (cli) (built: May 14 2020 08:27:55) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies
with Zend OPcache v7.2.31-1+ubuntu19.10.1+deb.sury.org+1, Copyright (c) 1999-2018, by Zend Technologies
ownCloud version: (see ownCloud admin page)
chas@maple:/var/www/owncloud$ sudo -u www-data php occ status
- installed: true
- first_install_version: unknown
- version: 10.6.0.5
- versionstring: 10.6.0
- edition: Community
Updated from an older ownCloud or fresh install:
Updated. It failed after I upgraded from Ubuntu 20.04 to 20.10. I didn’t really investigate that failure, but downloaded Owncloud 10.6 and installed it
Where did you install ownCloud from:
https://owncloud.com/download-server/
Signing status (ownCloud 9.0 and above):
Unable to login.
The content of config/config.php:
chas@maple:/var/www/owncloud$ sudo -u www-data php occ config:list system
{
"system": {
"updatechecker": false,
"instanceid": "ocmd8wzdb36g",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"maple",
"****t",
"192.168.1.10",
"192.168.1.11",
"oak",
"****"
],
"datadirectory": "\/var\/www\/owncloud\/data",
"overwrite.cli.url": "http:\/\/maple\/owncloud",
"dbtype": "mysql",
"version": "10.6.0.5",
"dbname": "owncloud",
"dbhost": "localhost",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"logtimezone": "PST",
"installed": true,
"mail_smtpmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "25",
"theme": "",
"loglevel": 2,
"maintenance": false
}
}
List of activated apps:
chas@maple:/var/www/owncloud$ sudo -u www-data php occ app:list
Enabled:
- activity: 2.6.0
- comments: 0.3.0
- configreport: 0.2.0
- dav: 0.6.0
- federatedfilesharing: 0.5.0
- federation: 0.1.0
- files: 1.5.2
- files_external: 0.7.1
- files_mediaviewer: 1.0.3
- files_pdfviewer: 0.11.2
- files_sharing: 0.14.0
- files_texteditor: 2.3.0
- files_trashbin: 0.9.1
- files_versions: 1.3.0
- firstrunwizard: 1.2.0
- market: 0.6.0
- notifications: 0.5.2
- provisioning_api: 0.5.0
- systemtags: 0.3.0
- templateeditor: 0.4.0
- updatenotification: 0.2.1
Disabled:
- admin_audit
- announcementcenter
- customgroups
- encryption
- enterprise_key
- external
- files_antivirus
- files_classifier
- files_external_dropbox
- files_external_ftp
- files_ldap_home
- files_lifecycle
- firewall
- graphapi
- guests
- oauth2
- openidconnect
- password_policy
- ransomware_protection
- sharepoint
- systemtags_management
- theme-enterprise
- user_external
- user_ldap
- user_shibboleth
- windows_network_drive
- wopi
- workflow
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one:
Client configuration
Browser:
Firefox
Operating system:
Windows 10 and Ubuntu 20.04 and Ubuntu 20.10
Logs
Web server error log
[Thu Dec 24 11:35:29.217749 2020] [php7:error] [pid 533136] [client 192.168.1.19:55520] PHP Fatal error: Cannot redeclare normalizer_is_normalized() (previously declared in /var/www/owncloud/lib/composer/symfony/polyfill-intl-normalizer/bootstrap.php:15) in /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php on line 20
[Thu Dec 24 11:35:30.720712 2020] [php7:error] [pid 533169] [client 192.168.1.213:37944] PHP Fatal error: Cannot redeclare normalizer_is_normalized() (previously declared in /var/www/owncloud/lib/composer/symfony/polyfill-intl-normalizer/bootstrap.php:15) in /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php on line 20
[Thu Dec 24 11:36:16.677645 2020] [php7:error] [pid 531792] [client 192.168.1.11:60206] PHP Fatal error: Cannot redeclare normalizer_is_normalized() (previously declared in /var/www/owncloud/lib/composer/symfony/polyfill-intl-normalizer/bootstrap.php:15) in /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php on line 20
[Thu Dec 24 11:36:31.216940 2020] [php7:error] [pid 398106] [client 192.168.1.19:55522] PHP Fatal error: Cannot redeclare normalizer_is_normalized() (previously declared in /var/www/owncloud/lib/composer/symfony/polyfill-intl-normalizer/bootstrap.php:15) in /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php on line 20
[Thu Dec 24 11:36:32.723552 2020] [php7:error] [pid 325226] [client 192.168.1.213:37960] PHP Fatal error: Cannot redeclare normalizer_is_normalized() (previously declared in /var/www/owncloud/lib/composer/symfony/polyfill-intl-normalizer/bootstrap.php:15) in /var/www/owncloud/lib/composer/patchwork/utf8/src/Patchwork/Utf8/Bootup/intl.php on line 20
ownCloud log (data/owncloud.log)
{"reqId":"4967ad96-b18e-460d-b557-43e2e5654668","level":4,"time":"2020-12-18T15:04:00-08:00","remoteAddr":"192.168.1.213","user":"--","app":"remote","method":"GET","url":"\/owncloud\/status.php","message":"Call to undefined function simplexml_load_file()"}
{"reqId":"bz51dGG6dk0RY0hxdSDK","level":0,"time":"2020-12-23T09:01:05-08:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"starting upgrade from 10.5.0.10 to 10.6.0.5"}
{"reqId":"bz51dGG6dk0RY0hxdSDK","level":0,"time":"2020-12-23T09:01:06-08:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: starting 20200823121322 from app files_sharing"}
{"reqId":"bz51dGG6dk0RY0hxdSDK","level":0,"time":"2020-12-23T09:01:07-08:00","remoteAddr":"","user":"--","app":"core","method":"--","url":"--","message":"Migrations: completed 20200823121322 from app files_sharing"}
{"reqId":"cPyX80WJcdkCOz8E25xx","level":3,"time":"2020-12-23T09:27:46-08:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Undefined index: REQUEST_METHOD at \/var\/www\/owncloud\/lib\/base.php#934"}
{"reqId":"pkDP3zNE0MWN4IRJU5xi","level":3,"time":"2020-12-24T11:11:38-08:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Undefined index: SERVER_SOFTWARE at \/var\/www\/owncloud\/apps\/configreport\/lib\/ReportDataCollector.php#260"}
{"reqId":"pkDP3zNE0MWN4IRJU5xi","level":3,"time":"2020-12-24T11:11:38-08:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Undefined index: HTTP_HOST at \/var\/www\/owncloud\/apps\/configreport\/lib\/ReportDataCollector.php#261"}
Note that no new events are being logged
Browser log
Internal server error: 500