Problem upgrading to 10.4

on a pi 3 i upgraded my main owncloud from stretch to buster

then did web upgrade

now when i visit page i get 503

i try to go into maintenance mode i get this

root@vorman:/var/www/html/owncloud# sudo -u www-data php occ maintenance:mode --on
An unhandled exception has been thrown:
Error: Call to undefined function simplexml_load_file() in /var/www/html/owncloud/lib/private/App/InfoParser.php:48
Stack trace:
#0 /var/www/html/owncloud/lib/private/App/AppManager.php(482): OC\App\InfoParser->parse(’/var/www/html/o…’)
#1 /var/www/html/owncloud/lib/private/App/AppManager.php(771): OC\App\AppManager->getAppInfoByPath(’/var/www/html/o…’)
#2 /var/www/html/owncloud/lib/private/App/AppManager.php(712): OC\App\AppManager->getAppVersionByPath(’/var/www/html/o…’)
#3 /var/www/html/owncloud/lib/private/App/AppManager.php(654): OC\App\AppManager->findAppInDirectories(‘files’)
#4 /var/www/html/owncloud/lib/private/legacy/app.php(548): OC\App\AppManager->getAppPath(‘files’)
#5 /var/www/html/owncloud/lib/private/legacy/app.php(114): OC_App::getAppPath(‘files’)
#6 /var/www/html/owncloud/lib/base.php(585): OC_App::loadApps(Array)
#7 /var/www/html/owncloud/lib/base.php(1058): OC::init()
#8 /var/www/html/owncloud/console.php(74): require_once(’/var/www/html/o…’)
#9 /var/www/html/owncloud/occ(11): require_once(’/var/www/html/o…’)
#10 {main}root@vorman:/var/www/html/owncloud#

dpkg -l|grep php

root@vorman:/var/www/html/owncloud# dpkg -l |grep php
ii libapache2-mod-php7.3 7.3.14-1~deb10u1 armhf server-side, HTML-embedded scripting language (Apache 2 module)
ii php 2:7.3+69 all server-side, HTML-embedded scripting language (default)
ii php-apcu 5.1.17+4.0.11-1 armhf APC User Cache for PHP
ii php-apcu-bc 1.0.4-4 armhf APCu Backwards Compatibility Module
ii php-common 2:69 all Common files for PHP packages
ii php-curl 2:7.3+69 all CURL module for PHP [default]
ii php-fpm 2:7.3+69 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
ii php-gd 2:7.3+69 all GD module for PHP [default]
ii php-igbinary 3.0.0-1 armhf igbinary PHP serializer
ii php-intl 2:7.3+69 all Internationalisation module for PHP [default]
ii php-mbstring 2:7.3+69 all MBSTRING module for PHP [default]
ii php-mysql 2:7.3+69 all MySQL module for PHP [default]
ii php-redis 4.2.0-1 armhf PHP extension for interfacing with Redis
ii php-zip 2:7.3+69 all Zip module for PHP [default]
rc php7.0-cli 7.0.33-0+deb9u7 armhf command-line interpreter for the PHP scripting language
rc php7.0-common 7.0.33-0+deb9u7 armhf documentation, examples and common module for PHP
rc php7.0-curl 7.0.33-0+deb9u7 armhf CURL module for PHP
rc php7.0-fpm 7.0.33-0+deb9u7 armhf server-side, HTML-embedded scripting language (FPM-CGI binary)
rc php7.0-gd 7.0.33-0+deb9u7 armhf GD module for PHP
rc php7.0-intl 7.0.33-0+deb9u7 armhf Internationalisation module for PHP
rc php7.0-json 7.0.33-0+deb9u7 armhf JSON module for PHP
rc php7.0-mbstring 7.0.33-0+deb9u7 armhf MBSTRING module for PHP
rc php7.0-mysql 7.0.33-0+deb9u7 armhf MySQL module for PHP
rc php7.0-opcache 7.0.33-0+deb9u7 armhf Zend OpCache module for PHP
rc php7.0-readline 7.0.33-0+deb9u7 armhf readline module for PHP
rc php7.0-xml 7.0.33-0+deb9u7 armhf DOM, SimpleXML, WDDX, XML, and XSL module for PHP
rc php7.0-zip 7.0.33-0+deb9u7 armhf Zip module for PHP
ii php7.3 7.3.14-1~deb10u1 all server-side, HTML-embedded scripting language (metapackage)
ii php7.3-cli 7.3.14-1~deb10u1 armhf command-line interpreter for the PHP scripting language
ii php7.3-common 7.3.14-1~deb10u1 armhf documentation, examples and common module for PHP
ii php7.3-curl 7.3.14-1~deb10u1 armhf CURL module for PHP
ii php7.3-fpm 7.3.14-1~deb10u1 armhf server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php7.3-gd 7.3.14-1~deb10u1 armhf GD module for PHP
ii php7.3-intl 7.3.14-1~deb10u1 armhf Internationalisation module for PHP
ii php7.3-json 7.3.14-1~deb10u1 armhf JSON module for PHP
ii php7.3-mbstring 7.3.14-1~deb10u1 armhf MBSTRING module for PHP
ii php7.3-mysql 7.3.14-1~deb10u1 armhf MySQL module for PHP
ii php7.3-opcache 7.3.14-1~deb10u1 armhf Zend OpCache module for PHP
ii php7.3-phpdbg 7.3.14-1~deb10u1 armhf server-side, HTML-embedded scripting language (PHPDBG binary)
ii php7.3-readline 7.3.14-1~deb10u1 armhf readline module for PHP
ii php7.3-zip 7.3.14-1~deb10u1 armhf Zip module for PHP

  • List item
1 Like

Hello,

well it seems you are now using PHP7.3 and you are missing the php7.3-xml package, coud you install it and try again ?

1 Like

Hey,

i think a simple search before posting like e.g.:

https://central.owncloud.org/search?q=Call%20to%20undefined%20function%20simplexml_load_file()

could help as well :slight_smile:

hi , i did search google …

i install the xml
and i can see now in latest version

root@vorman:/var/www/html/owncloud# sudo -u www-data php occ upgrade
ownCloud is already latest version

strangely i am getting a 503 service unavailable …

and nothing in the log after this

{“reqId”:“cWWAShDTy5Nz5dGOFc0n”,“level”:0,“time”:“2020-03-31T16:29:38-04:00”,“remoteAddr”:"",“user”:"–",“app”:“core”,“method”:"–",“url”:"–",“message”:“starting upgrade from 10.3.2.2 to 10.4.0.4”}
root@vorman:/var/www/html/owncloud#

Is the maintenance mode still on?

Otherwise check your apache error log and increase the log level in your config.php and recheck the ownCloud log.

3 Likes

maintenance mode is off

running lighttpd

see log **********************
2020-04-01 13:07:40: (gw_backend.c.240) establishing connection failed: No such file or directory socket: unix:/var/run/php/php7.0-fpm.sock
2020-04-01 13:07:40: (gw_backend.c.956) all handlers for /index.php? on .php are down.
2020-04-01 13:07:42: (gw_backend.c.319) gw-server re-enabled: unix:/var/run/php/php7.0-fpm.sock 0 /var/run/php/php7.0-fpm.sock
2020-04-01 13:07:55: (gw_backend.c.240) establishing connection failed: No such file or directory socket: unix:/var/run/php/php7.0-fpm.sock
2020-04-01 13:07:55: (gw_backend.c.956) all handlers for /status.php? on .php are down.
2020-04-01 13:07:57: (gw_backend.c.319) gw-server re-enabled: unix:/var/run/php/php7.0-fpm.sock 0 /var/run/php/php7.0-fpm.sock

running php7.3 why is it looking for 7.0

Hey,

i think you need to have a look in your web server configuration. This doesn’t look like an issue in ownCloud, maybe there is also some guide available at the lighttpd support forums how to configure this correctly?

3 Likes

back in business

3 Likes

A post was split to a new topic: “Download Logfile” is not available

Hey @AlEsh,

i don’t think that this post belongs into this already solved topic:

It seems the original poster had an issue with when running the occ command line tool after an update where you are seems to missing a functionality after the update.

I think you should create a new thread about this different question. But maybe a moderator could also split the message into a new thread?

2 Likes

Totally agree. I moved the message to a new topic. Thanks Tom

2 Likes