Steps to reproduce
- sudo -u www-data ./occ
normal feedback from ./occ when no arguments are given
PHP Fatal error: Call to undefined function OC\App\simplexml_load_file() in /var/www/owncloud/lib/private/App/InfoParser.php on line 41
Linux XXXXX 4.4.0-79-generic #100-Ubuntu SMP Wed May 17 19:58:14 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
(which is ubunt 16.04)
Apache Server Status for XXXXX (via XXXXXX)
Server Version: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g
Server MPM: prefork
Server Built: 2017-09-18T15:09:02
Current Time: Sunday, 03-Dec-2017 12:23:45 CET
Restart Time: Sunday, 08-Oct-2017 21:01:49 CEST
Parent Server Config. Generation: 59
Parent Server MPM Generation: 58
Server uptime: 55 days 16 hours 21 minutes 56 seconds
Server load: 0.11 0.20 0.18
Total accesses: 2148012 - Total Traffic: 222.9 GB
CPU Usage: u3015.96 s849.26 cu0 cs0 - .0803% CPU load
.446 requests/sec - 48.6 kB/second - 108.8 kB/request
1 requests currently being processed, 9 idle workers
"_" Waiting for Connection, "S" Starting up, "R" Reading Request,
"W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup,
"C" Closing connection, "L" Logging, "G" Gracefully finishing,
"I" Idle cleanup of worker, "." Open slot with no current process
ownCloud version: (see ownCloud admin page)
Updated from an older ownCloud or fresh install:
older (at least 8)
Where did you install ownCloud from:
via ubuntu repository deb https://download.owncloud.org/download/repositories/stable/Ubuntu_16.04/ /
Signing status (ownCloud 9.0 and above):
Login as admin user into your ownCloud and access http://example.com/index.php/settings/integrity/failed paste the results into https://gist.github.com/ and puth the link here.
like ./occ, the admin login doesn't work anymore. At some point I updated to owncloud which only allowed php7 (was that OC8 or OC9 already?). Since that is/was non-standard in Ubuntu 16, it took quite some effort to get php7 installed next to php5, which ubuntu did not want to un-install. In parallel, I now have the complication of having an original mysql-based setup of the server and (without me being aware) a new sqlite3 database in the data directory.
I am basically stuck, because any malfunctioning (admin login, ./occ, file locks) could be caused by the php5->php7 transition, the mysql->sqlite3 transition or any of the OC 8>9>10 transitions that were either 'automatic' or via the repository or via changing the repository name when going from ubuntu 15 to 16 (for instance).
The system starts to have more and more file locks and the current 'keeping the system in the air' way of 'maintenance' makes OC less and less usable for all users. Before I ruine everything, maybe fixing ./occ would help me to identify what is broken and what not.
Any help on how to get out of this deadlock would be appreciated. I acknowledge the messy status of the system at the moment.
The content of config/config.php:
Log in to the web-UI with an administrator account and click on 'admin' -> 'Generate Config Report' -> 'Download ownCloud config report' This report includes the config.php settings, the list of activated apps and other details in a well sanitized form. or If you have access to your command line run e.g.: sudo -u www-data php occ config:list system from within your ownCloud installation folder *ATTENTION:* Do not post your config.php file in public as is. Please use one of the above methods whenever possible. Both, the generated reports from the web-ui and from occ config:list consistently remove sensitive data. You still may want to review the report before sending. If done manually then it is critical for your own privacy to dilligently remove *all* host names, passwords, usernames, salts and other credentials before posting. You should assume that attackers find such information and will use them against your systems.
List of activated apps:
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.
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: yes/no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
With access to your command line run e.g.: sudo -u www-data php occ ldap:show-config from within your ownCloud installation folder Without access to your command line download the data/owncloud.db to your local computer or access your SQL server remotely and run the select query: SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap'; Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Web server error log
Insert your webserver log here
ownCloud log (data/owncloud.log)
Insert your ownCloud log here