Nextcloud is not compatible with PHP 7.2.

You are using UBOS on a Rasberry Pi. Please state which model you are using, e.g. Zero, Zero W, model 3 or such.
User avatar
robologo
Posts: 15
Joined: Thu Dec 21, 2017 3:45 pm

Nextcloud is not compatible with PHP 7.2.

Post by robologo » Sun Mar 04, 2018 8:23 pm

After the upgrade to Ubos 13 has crashed I installed Ubos as a fresh system. But Nextcloud doesn't work. When I open the page it shows:
This version of Nextcloud is not compatible with PHP 7.2.
You are currently running 7.2.2.
(sudo) ubos-admin update
didn't help.
Auswahl_001.png
Auswahl_001.png (8.51 KiB) Viewed 1761 times



j12t
Posts: 107
Joined: Tue Dec 12, 2017 9:17 pm
Contact:

Re: Nextcloud is not compatible with PHP 7.2.

Post by j12t » Sun Mar 04, 2018 10:28 pm

It's supposed to be nextcloud 13 in the repos, which does work with 7.3, but for some reason it did not get promoted. Investigating ...

It appears this is consequence of this issue which I filed when I only had a hunch there might be a problem, but could not reproduce. Looks like I looked in the wrong places. Working on fixing, stay tuned.

j12t
Posts: 107
Joined: Tue Dec 12, 2017 9:17 pm
Contact:

Re: Nextcloud is not compatible with PHP 7.2.

Post by j12t » Mon Mar 05, 2018 6:27 am

x86_64 and armv7 repos have been updated. aarch64 and armv6 likely tomorrow.

User avatar
robologo
Posts: 15
Joined: Thu Dec 21, 2017 3:45 pm

Re: Nextcloud is not compatible with PHP 7.2.

Post by robologo » Mon Mar 05, 2018 11:09 am

j12t wrote:
Mon Mar 05, 2018 6:27 am
x86_64 and armv7 repos have been updated. aarch64 and armv6 likely tomorrow.
Update failed:

sudo ubos-admin update
Packages upgraded: nextcloud nextcloud-calendar nextcloud-contacts nextcloud-tasks
cp: cannot stat '/usr/share/nextcloud/nextcloud/db_structure.xml': No such file or directory
ERROR: occ upgrade failed:
An unhandled exception has been thrown:
PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fljwwxwewtsiookk.appconfig' doesn't exist in /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:104
Stack trace:
#0 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(104): PDO->query('SELECT * FROM `...')
#1 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(852): Doctrine\DBAL\Driver\PDOConnection->query('SELECT * FROM `...')
#2 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/DB/Connection.php(195): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM `...', Array, Array, NULL)
#3 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): OC\DB\Connection->executeQuery('SELECT * FROM `...', Array, Array)
#4 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(214): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(318): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(94): OC\AppConfig->loadConfigValues()
#7 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(277): OC\AppConfig->getApps()
#8 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(962): OC\AppConfig->getValues(false, 'installed_versi...')
#9 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(484): OC_App::getAppVersions()
#10 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server))
#11 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#12 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...')
#13 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#14 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#15 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('MemCacheFactory')
#16 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('MemCacheFactory')
#17 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(1471): OC\ServerContainer->query('MemCacheFactory')
#18 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(681): OC\Server->getMemCacheFactory()
#19 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server))
#20 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\\App\\AppManag...')
#21 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\App\\AppManag...')
#22 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OC\\App\\AppManag...')
#23 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#24 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('AppManager')
#25 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('AppManager')
#26 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(1663): OC\ServerContainer->query('AppManager')
#27 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(330): OC\Server->getAppManager()
#28 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(113): OC_App::getEnabledApps()
#29 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/base.php(661): OC_App::loadApps(Array)
#30 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/base.php(1080): OC::init()
#31 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/console.php(46): require_once('/srv/http/sites...')
#32 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/occ(11): require_once('/srv/http/sites...')
#33 {main}

Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fljwwxwewtsiookk.appconfig' doesn't exist in /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:106
Stack trace:
#0 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(852): Doctrine\DBAL\Driver\PDOConnection->query('SELECT * FROM `...')
#1 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/DB/Connection.php(195): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM `...', Array, Array, NULL)
#2 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): OC\DB\Connection->executeQuery('SELECT * FROM `...', Array, Array)
#3 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(214): Doctrine\DBAL\Query\QueryBuilder->execute()
#4 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(318): OC\DB\QueryBuilder\QueryBuilder->execute()
#5 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(94): OC\AppConfig->loadConfigValues()
#6 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(277): OC\AppConfig->getApps()
#7 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(962): OC\AppConfig->getValues(false, 'installed_versi...')
#8 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(484): OC_App::getAppVersions()
#9 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server))
#10 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#11 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...')
#12 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#13 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#14 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('MemCacheFactory')
#15 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('MemCacheFactory')
#16 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(1471): OC\ServerContainer->query('MemCacheFactory')
#17 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(681): OC\Server->getMemCacheFactory()
#18 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server))
#19 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\\App\\AppManag...')
#20 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\App\\AppManag...')
#21 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OC\\App\\AppManag...')
#22 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#23 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('AppManager')
#24 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('AppManager')
#25 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(1663): OC\ServerContainer->query('AppManager')
#26 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(330): OC\Server->getAppManager()
#27 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(113): OC_App::getEnabledApps()
#28 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/base.php(661): OC_App::loadApps(Array)
#29 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/base.php(1080): OC::init()
#30 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/console.php(46): require_once('/srv/http/sites...')
#31 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/occ(11): require_once('/srv/http/sites...')
#32 {main}

Next Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT * FROM `appconfig`':

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'fljwwxwewtsiookk.appconfig' doesn't exist in /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:53
Stack trace:
#0 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/DBALException.php(128): Doctrine\DBAL\Driver\AbstractMySQLDriver->convertException('An exception oc...', Object(Doctrine\DBAL\Driver\PDOException))
#1 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php(855): Doctrine\DBAL\DBALException::driverExceptionDuringQuery(Object(Doctrine\DBAL\Driver\PDOMySql\Driver), Object(Doctrine\DBAL\Driver\PDOException), 'SELECT * FROM `...', Array)
#2 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/DB/Connection.php(195): Doctrine\DBAL\Connection->executeQuery('SELECT * FROM `...', Array, Array, NULL)
#3 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php(206): OC\DB\Connection->executeQuery('SELECT * FROM `...', Array, Array)
#4 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(214): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(318): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(94): OC\AppConfig->loadConfigValues()
#7 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppConfig.php(277): OC\AppConfig->getApps()
#8 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(962): OC\AppConfig->getValues(false, 'installed_versi...')
#9 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(484): OC_App::getAppVersions()
#10 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server))
#11 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\\Memcache\\Fac...')
#12 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\Memcache\\Fac...')
#13 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OC\\Memcache\\Fac...')
#14 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#15 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('MemCacheFactory')
#16 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('MemCacheFactory')
#17 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(1471): OC\ServerContainer->query('MemCacheFactory')
#18 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(681): OC\Server->getMemCacheFactory()
#19 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC\{closure}(Object(OC\Server))
#20 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('OC\\App\\AppManag...')
#21 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('OC\\App\\AppManag...')
#22 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(164): OC\ServerContainer->query('OC\\App\\AppManag...')
#23 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(109): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}(Object(OC\Server))
#24 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(116): Pimple\Container->offsetGet('AppManager')
#25 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/ServerContainer.php(132): OC\AppFramework\Utility\SimpleContainer->query('AppManager')
#26 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/Server.php(1663): OC\ServerContainer->query('AppManager')
#27 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(330): OC\Server->getAppManager()
#28 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/private/legacy/app.php(113): OC_App::getEnabledApps()
#29 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/base.php(661): OC_App::loadApps(Array)
#30 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/lib/base.php(1080): OC::init()
#31 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/console.php(46): require_once('/srv/http/sites...')
#32 /srv/http/sites/s99ff1d3c730ddfdd439ae17439f4b3f1242f22df/nextcloud/occ(11): require_once('/srv/http/sites...')
#33 {main}
ERROR: Perlscript::runPostDeployScript: running eval /usr/share/nextcloud/bin/upgrade.pl upgrade failed:
ERROR: Update failed.
[shepherd@ubos-raspberry-pi2 ~]$

User avatar
robologo
Posts: 15
Joined: Thu Dec 21, 2017 3:45 pm

Re: Nextcloud is not compatible with PHP 7.2.

Post by robologo » Mon Mar 05, 2018 12:52 pm

Update failed. I tried to install again but the installation by terminal failed also. I stay tuned and wait a while.

j12t
Posts: 107
Joined: Tue Dec 12, 2017 9:17 pm
Contact:

Re: Nextcloud is not compatible with PHP 7.2.

Post by j12t » Mon Mar 05, 2018 6:58 pm

That's what happens when trying to be responsive and going fast instead of deliberate. Darn! I didn't quite realize yesterday that this particular build bug caused all sorts of tests to be executed against the wrong version of the app(s), and thus the fact that the tests passed didn't mean anything.

User avatar
robologo
Posts: 15
Joined: Thu Dec 21, 2017 3:45 pm

Re: Nextcloud is not compatible with PHP 7.2.

Post by robologo » Mon Mar 05, 2018 7:33 pm

Keep cool ;) My Pi is offline.

j12t
Posts: 107
Joined: Tue Dec 12, 2017 9:17 pm
Contact:

Re: Nextcloud is not compatible with PHP 7.2.

Post by j12t » Wed Mar 07, 2018 7:10 am

Things seem to be cleaned up now (with the exception of RPi Zero/1 -- that one is still building. It takes a few hours longer than the other platforms)

I don't know exactly what state your Pi is in. If it contains valuable data, you may want to try and preserve that: nextcloud database, and, if not empty, content of /var/lib/ubos/backups (where UBOS temporarily stores data during upgrades).

Then, try ubos-admin update and if that doesn't work (as I suspect because the upgrade failed in the middle), try

Code: Select all

pacman -Sy
pacman -Su
ubos-admin update-stage2
Let's hope that recovers things and gets you upgraded to Nextcloud 13.

User avatar
robologo
Posts: 15
Joined: Thu Dec 21, 2017 3:45 pm

Re: Nextcloud is not compatible with PHP 7.2.

Post by robologo » Wed Mar 07, 2018 12:05 pm

I wrote a partition table on my sd-card; fat32. Then I tried to install Ubos as a fresh system with etcher.
Terminal:
Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
systemctl is-system-running
degraded

I tried this several times. But there is always the same information. No chance.

j12t
Posts: 107
Joined: Tue Dec 12, 2017 9:17 pm
Contact:

Re: Nextcloud is not compatible with PHP 7.2.

Post by j12t » Wed Mar 07, 2018 6:07 pm

This is an unrelated issue. Your filesystem didn't like what you did to it. Did you run fsck as recommended? Repairing btrfs volumes may be a bit more difficult than others ...

Post Reply