-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
Nextcloud seems to check if a required php module is missing. This does not seem to be the case for php-xml. If this module is missing only a 500 server error is reported when accessing the page.
- Install nextcloud on a machine using php7.0 and WITHOUT the php7.0-xml module installed
- Access the nextcloud login page
Expected behaviour
Nextcloud should tell me that the xml php module is missing as it does for other modules (like mbstring for example).
Actual behaviour
A 500 server error is thrown and then I need to check the log. The log tells me:
Exception: {\"Exception\":\"Error\",\"Message\":\"Call to undefined function OC\\\\AppFramework\\\\simplexml_load_file()\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(177): OC\\\\AppFramework\\\\App::buildAppNamespace('files')\\n#1 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/legacy\\\/app.php(115): OC_App::registerAutoloading('files', '\\\/var\\\/www\\\/nextcl...')\\n#2 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/base.php(658): OC_App::loadApps(Array)\\n#3 \\\/var\\\/www\\\/nextcloud\\\/lib\\\/base.php(1059): OC::init()\\n#4 \\\/var\\\/www\\\/nextcloud\\\/index.php(46): require_once('\\\/var\\\/www\\\/nextcl...')\\n#5 {main}\",\"File\":\"\\\/var\\\/www\\\/nextcloud\\\/lib\\\/private\\\/AppFramework\\\/App.php\",\"Line\":60}
And then I have to figure out myself that this may be due to a missing php module.
Server configuration
Operating system: Ubuntu Xenial
Web server: Apache 2x
Database: MariaDB
PHP version: 7.0
Nextcloud version: 10.0.1
Updated from an older Nextcloud/ownCloud or fresh install: Updated from owncloud -> nextcloud 9 -> nextcloud 10.0.1