Upgrade 9.0.3.2 -> 9.1.1.3 (CentOS)

reported_bug
upgrade
9.1.x
help

#1

Steps to reproduce
1. yum upgrade to current version 9.1.1.3 from repository
2. sudo -u apache php occ upgrade

Expected behaviour
Get usable current version

Actual behaviour

ownCloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Set log level to debug
Checking whether the database schema can be updated (this can take a long time depending on the database size)
 Done
 24/24 [============================] 100%
Checked database schema update
Checking updates of apps
Checked database schema update for apps
Updating database schema
Updated database
Drop old database tables
 Done
 28/28 [============================] 100%
Remove old (< 9.0) calendar/contact shares
 Done
 4/4 [============================] 100%
Fix permissions so avatars can be stored again
 Done
 2/2 [============================] 100%
Remove shares of a users root folder
 Starting ...
   16/1286 [>---------------------------]   1%   An unhandled exception has been thrown:
Error: Class 'OCA\FederatedFileSharing\DiscoveryManager' not found in /var/www/html/owncloud/apps/files_sharing/lib/AppInfo/Application.php:83
Stack trace:
#0 /var/www/html/owncloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OCA\Files_Sharing\AppInfo\Application->OCA\Files_Sharing\AppInfo\{closure}(Object(OC\AppFramework\DependencyInjection\DIContainer))
#1 /var/www/html/owncloud/lib/private/AppFramework/Utility/SimpleContainer.php(102): Pimple\Container->offsetGet('ExternalManager')
#2 /var/www/html/owncloud/apps/files_sharing/lib/AppInfo/Application.php(129): OC\AppFramework\Utility\SimpleContainer->query('ExternalManager')
#3 /var/www/html/owncloud/apps/files_sharing/lib/External/MountProvider.php(53): OCA\Files_Sharing\AppInfo\Application->OCA\Files_Sharing\AppInfo\{closure}()
#4 /var/www/html/owncloud/apps/files_sharing/lib/External/MountProvider.php(72): OCA\Files_Sharing\External\MountProvider->getMount(Object(OC\User\User), Array, Object(OC\Files\Storage\StorageFactory))
#5 /var/www/html/owncloud/lib/private/Files/Config/MountProviderCollection.php(76): OCA\Files_Sharing\External\MountProvider->getMountsForUser(Object(OC\User\User), Object(OC\Files\Storage\StorageFactory))
#6 [internal function]: OC\Files\Config\MountProviderCollection->OC\Files\Config\{closure}(Object(OCA\Files_Sharing\External\MountProvider))
#7 /var/www/html/owncloud/lib/private/Files/Config/MountProviderCollection.php(77): array_map(Object(Closure), Array)
#8 /var/www/html/owncloud/lib/private/Files/Filesystem.php(422): OC\Files\Config\MountProviderCollection->getMountsForUser(Object(OC\User\User))
#9 /var/www/html/owncloud/apps/files_sharing/lib/sharedstorage.php(99): OC\Files\Filesystem::initMountPoints('1B5F76F8-14BB-4...')
#10 /var/www/html/owncloud/apps/files_sharing/lib/sharedstorage.php(448): OC\Files\Storage\Shared->init()
#11 /var/www/html/owncloud/lib/private/Files/Storage/Wrapper/Wrapper.php(485): OC\Files\Storage\Shared->getWrapperStorage()
#12 /var/www/html/owncloud/apps/files_sharing/lib/sharedstorage.php(122): OC\Files\Storage\Wrapper\Wrapper->instanceOfStorage('\\OC\\Files\\Stora...')
#13 /var/www/html/owncloud/lib/private/legacy/util.php(148): OC\Files\Storage\Shared->instanceOfStorage('\\OC\\Files\\Stora...')
#14 /var/www/html/owncloud/lib/private/Files/Storage/StorageFactory.php(100): OC_Util::{closure}('/C71A1E70-A414-...', Object(OC\Files\Storage\Shared), Object(OCA\Files_Sharing\SharedMount))
#15 /var/www/html/owncloud/lib/private/Files/Storage/StorageFactory.php(82): OC\Files\Storage\StorageFactory->wrap(Object(OCA\Files_Sharing\SharedMount), Object(OC\Files\Storage\Shared))
#16 /var/www/html/owncloud/lib/private/Files/Mount/MountPoint.php(137): OC\Files\Storage\StorageFactory->getInstance(Object(OCA\Files_Sharing\SharedMount), '\\OC\\Files\\Stora...', Array)
#17 /var/www/html/owncloud/lib/private/Files/Mount/MountPoint.php(160): OC\Files\Mount\MountPoint->createStorage()
#18 /var/www/html/owncloud/lib/private/Files/View.php(1356): OC\Files\Mount\MountPoint->getStorage()
#19 /var/www/html/owncloud/lib/private/Files/Node/Root.php(180): OC\Files\View->getFileInfo('/C71A1E70-A414-...')
#20 /var/www/html/owncloud/lib/private/Files/Node/Root.php(342): OC\Files\Node\Root->get('/C71A1E70-A414-...')
#21 [internal function]: OC\Files\Node\Root->getUserFolder('C71A1E70-A414-4...')
#22 /var/www/html/owncloud/lib/private/Files/Node/LazyRoot.php(64): call_user_func_array(Array, Array)
#23 /var/www/html/owncloud/lib/private/Files/Node/LazyRoot.php(281): OC\Files\Node\LazyRoot->__call('getUserFolder', Array)
#24 /var/www/html/owncloud/lib/private/Repair/RemoveRootShares.php(82): OC\Files\Node\LazyRoot->getUserFolder('C71A1E70-A414-4...')
#25 /var/www/html/owncloud/lib/private/User/Manager.php(359): OC\Repair\RemoveRootShares->OC\Repair\{closure}(Object(OC\User\User))
#26 /var/www/html/owncloud/lib/private/Repair/RemoveRootShares.php(101): OC\User\Manager->callForAllUsers(Object(Closure))
#27 /var/www/html/owncloud/lib/private/Repair/RemoveRootShares.php(73): OC\Repair\RemoveRootShares->removeRootShares(Object(OC\Repair))
#28 /var/www/html/owncloud/lib/private/Repair.php(88): OC\Repair\RemoveRootShares->run(Object(OC\Repair))
#29 /var/www/html/owncloud/lib/private/Updater.php(267): OC\Repair->run()
#30 /var/www/html/owncloud/lib/private/Updater.php(150): OC\Updater->doUpgrade('9.1.1.3', '9.0.3.2')
#31 /var/www/html/owncloud/core/Command/Upgrade.php(290): OC\Updater->upgrade()
#32 /var/www/html/owncloud/3rdparty/symfony/console/Command/Command.php(259): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#33 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#34 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#35 /var/www/html/owncloud/3rdparty/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#36 /var/www/html/owncloud/lib/private/Console/Application.php(146): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#37 /var/www/html/owncloud/console.php(94): OC\Console\Application->run()
#38 /var/www/html/owncloud/occ(11): require_once('/var/www/html/o...')
#39 {main}[

Server configuration
Operating system: CentOS Linux release 7.2.1511
Web server: Apache/2.4.6 (CentOS)
Database: mysql Ver 15.1 Distrib 5.5.50-MariaDB, for Linux (x86_64) using readline 5.1
PHP version: PHP 7.0.11
ownCloud version (see ownCloud admin page): 9.0.3.2 -> 9.1.1.3
Updated from an older ownCloud or fresh install: upgrade
ownCloud log (data/owncloud.log, see https://central.owncloud.org/t/how-to-find-webserver-or-oc-logfile-enable-php-logfile/808): no information provided

Special configuration (external storage, external authentication, reverse proxy, server-side-encryption): LDAP


#2

Please report such issues with the repositories directly to:

https://github.com/owncloud/core/issues

They won't get noticed in here and won't be fixed when not doing so.


#3

Ref: