Error undefined method Application::setupCron()

Hello, i attempt to upgrade NC from 9.0.53 to 10 :wink:

But when i upgrade with php occ upgrade, it result this error :

$ sudo -u user_web php occ upgrade
Nextcloud 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                                     
 27/27 [============================] 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 <federation> 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_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%  
Checked database schema update for apps
Updating database schema
Updated database
Updating <federation> ...
An unhandled exception has been thrown:
Error: Call to undefined method OCA\Federation\AppInfo\Application::setupCron() in /div_www/cld.stephane-huc.net/www/apps/federation/appinfo/update.php:23
Stack trace:
#0 /div_www/cld.stephane-huc.net/www/lib/private/legacy/app.php(1220): include()
#1 /div_www/cld.stephane-huc.net/www/lib/private/Updater.php(375): OC_App::updateApp('federation')
#2 /div_www/cld.stephane-huc.net/www/lib/private/Updater.php(252): OC\Updater->doAppUpgrade()
#3 /div_www/cld.stephane-huc.net/www/lib/private/Updater.php(151): OC\Updater->doUpgrade('9.1.0.16', '9.0.53.0')
#4 /div_www/cld.stephane-huc.net/www/core/Command/Upgrade.php(292): OC\Updater->upgrade()
#5 /div_www/cld.stephane-huc.net/www/3rdparty/symfony/console/Command/Command.php(259): OC\Core\Command\Upgrade->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#6 /div_www/cld.stephane-huc.net/www/3rdparty/symfony/console/Application.php(844): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#7 /div_www/cld.stephane-huc.net/www/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))
#8 /div_www/cld.stephane-huc.net/www/3rdparty/symfony/console/Application.php(123): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#9 /div_www/cld.stephane-huc.net/www/lib/private/Console/Application.php(146): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#10 /div_www/cld.stephane-huc.net/www/console.php(90): OC\Console\Application->run()
#11 /div_www/cld.stephane-huc.net/www/occ(11): require_once('/div_www/cld.st...')
#12 {main}
$

Due to bad upload files? or another problem?

My nextcloud.log:

{“reqId”:“pSBw9cwjmzCGLJ/l/ejS”,“remoteAddr”:“”,“app”:“core”,“message”:“starting upgrade from 9.0.53.0 to 9.1.0.16”,“level”:0,“time”:“2016-08-26T13:38:50+00:00”,“method”:“–”,“url”:“–”,“user”:“–”}

Ok, i’ve read … and reupload files after uncompress-it. So run correctly! Thanks :smiley: