Problem with update 9.0.3 to 9.1.0

9.1.x
help

#1

Hi,

I have a problem with upgrade my Owncloud server 9.0.3 to 9.1.0 :

# sudo -u apache php /var/www/owncloud/occ upgrade
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
Checking whether the database schema for <activity> can be updated (this can take a long time depending on the database size)
 Done
 2/2 [============================] 100%
Checking whether the database schema for <dav> can be updated (this can take a long time depending on the database size)
 Done
 10/10 [============================] 100%
Checking whether the database schema for <files_antivirus> can be updated (this can take a long time depending on the database size)
 Done
 2/2 [============================] 100%
Checking whether the database schema for <files_sharing> can be updated (this can take a long time depending on the database size)
 Done
 1/1 [============================] 100%
Checking whether the database schema for <files_trashbin> can be updated (this can take a long time depending on the database size)
 Done
 1/1 [============================] 100%
Checking whether the database schema for <notifications> can be updated (this can take a long time depending on the database size)
 Done
 1/1 [============================] 100%
Checking whether the database schema for <user_ldap> can be updated (this can take a long time depending on the database size)
 Done
 3/3 [============================] 100%
Checked database schema update for apps
Updating database schema
Updated database
Updating <user_ldap> ...
An unhandled exception has been thrown:
Error: Class 'OCP\Backgroundjob' not found in /var/www/owncloud/apps/user_ldap/appinfo/update.php:23
Stack trace:
#0 /var/www/owncloud/lib/private/legacy/app.php(1192): include()
#1 /var/www/owncloud/lib/private/Updater.php(374): OC_App::updateApp('user_ldap')
#2 /var/www/owncloud/lib/private/Updater.php(251): OC\Updater->doAppUpgrade()
#3 /var/www/owncloud/lib/private/Updater.php(150): OC\Updater->doUpgrade('9.1.0.15', '9.0.3.2')
#4 /var/www/owncloud/core/Command/Upgrade.php(290): OC\Updater->upgrade()
#5 /var/www/owncloud/3rdparty/symfony/console/Command/Command.php(259): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\Cons              oleOutput))
#6 /var/www/owncloud/3rdparty/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\O              utput\ConsoleOutput))
#7 /var/www/owncloud/3rdparty/symfony/console/Application.php(192): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Upgrade), Object(Symfony\Component\Console\Input\ArgvInpu              t), Object(Symfony\Component\Console\Output\ConsoleOutput))
#8 /var/www/owncloud/3rdparty/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Out              put\ConsoleOutput))
#9 /var/www/owncloud/lib/private/Console/Application.php(146): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\Con              soleOutput))
#10 /var/www/owncloud/console.php(94): OC\Console\Application->run()
#11 /var/www/owncloud/occ(11): require_once('/var/www/ownclo...')

Someone he already encountered this problem?

thank a lot!

Server configuration
Operating system: Red Hat Enterprise Linux Server release 7.2 (Maipo)
Web server: Apache/2.4.6
Database: mariadb 5.5
PHP version: PHP 7.0.9 (cli) (built: Jul 21 2016 15:42:36) ( NTS )
ownCloud version (see ownCloud admin page): 9.1.0
Updated from an older ownCloud or fresh install: 9.0.3


#2

Are you using the music app?

edit: in your case it seems to be user_ldap. Did you remove the old code first (only keep data and config folder)?


#3

Thank you, that's it.

I have not deleted the old files, the update works now !