Re-Installation over destroyed one

,

Due to some mistakes I removed some files of my existing ownCloud server installation…

My first idea was to just overwrite /var/www/owncloud with the files from the latest version and keep existing ones (like config…) using cp -r -n ...

This works so far as the instance is now available but I do get the following error message on every access to it:

Internal Server Error
The server encountered an internal error and was unable to complete your request.

Please contact the server administrator if this error reappears multiple times and include the technical details below in your report.

More details can be found in the server log.

Technical details
Remote Address: 192.168.12.20
Request ID: ZitNVng7PTJ6jfCMed3z5gAAAAA

So I am stuck here…
The shown address is were the browser is running (client address).

Server configuration

debian 10 buster

Web server: Apache

Database: MariaDB 10.3.39-MariaDB-0+deb10u2 Debian 10

PHP version: PHP 7.4.33 (cli) (built: Apr 22 2024 09:41:37) ( NTS )

ownCloud version: (see ownCloud admin page): 10

Updated from an older ownCloud or fresh install: see above

Where did you install ownCloud from: from a tarball downloaded from owncloud

The content of config/config.php:

sudo -u www-data php occ config:list system
from within your ownCloud installation folder

$ sudo -u www-data php occ config:list system
An unhandled exception has been thrown:
Error: Call to undefined function simplexml_load_file() in /var/www/owncloud/lib/private/App/InfoParser.php:47
Stack trace:
#0 /var/www/owncloud/lib/private/App/AppManager.php(510): OC\App\InfoParser->parse()
#1 /var/www/owncloud/lib/private/App/AppManager.php(803): OC\App\AppManager->getAppInfoByPath()
#2 /var/www/owncloud/lib/private/App/AppManager.php(744): OC\App\AppManager->getAppVersionByPath()
#3 /var/www/owncloud/lib/private/App/AppManager.php(686): OC\App\AppManager->findAppInDirectories()
#4 /var/www/owncloud/lib/private/legacy/app.php(549): OC\App\AppManager->getAppPath()
#5 /var/www/owncloud/lib/private/legacy/app.php(115): OC_App::getAppPath()
#6 /var/www/owncloud/lib/kernel.php(591): OC_App::loadApps()
#7 /var/www/owncloud/lib/kernel.php(1071): OC::init()
#8 /var/www/owncloud/lib/base.php(27): require_once(‘/var/www/ownclo…’)
#9 /var/www/owncloud/console.php(52): require_once(‘/var/www/ownclo…’)
#11 /var/www/owncloud/occ(11): require_once(‘/var/www/ownclo…’)
#12 {main}

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.

leads to the same output as above.

Any help is appreciated - Thanks
Thomas

Found the answer myself:

The php installation was incomplete - several modules were missing. After adding them ownCloud works again

Thomas

2 Likes