Update from 17.2 to 17.3 failed (mail app)

have two (nearly?) identical installations. While, on test, the update from 17.2 to 17.3 went well, for the prod machine I received the error msg during update:

Could not copy "/var/www/nc/apps/mail/vendor/christophwurst/kitinerary-bin/bin/kitinerary-extractor" to "/data/nc/updater-oc2577a033c1/backups/nextcloud-17.0.2.1/apps/mail/vendor/christophwurst/kitinerary-bin/bin/kitinerary-extractor". Source /var/www/nc/apps/mail/vendor/christophwurst/kitinerary-bin/bin/kitinerary-extractor is not readable. Destination /data/nc/updater-oc2577a033c1/backups/nextcloud-17.0.2.1/apps/mail/vendor/christophwurst/kitinerary-bin/bin/kitinerary-extractor is not writable

Update failed. To resume or retry just execute the updater again.

workaround: deactivate/delete app mail and activate it again after update.
Then, a one-time error msg popped up in the log:

[no app in context] Error: Symfony\Component\Routing\Exception\RouteNotFoundException: Unable to generate a URL for the named route “mail.page.index” as such route does not exist. at closure

  1. /var/www/nc/lib/private/Route/Router.php line 337
    Symfony\Component\Routing\Generator\UrlGenerator->generate(“mail.page.index”, [], 1)
  2. /var/www/nc/lib/private/Route/CachingRouter.php line 60
    OC\Route\Router->generate(“mail.page.index”, [], false)
  3. /var/www/nc/lib/private/URLGenerator.php line 79
    OC\Route\CachingRouter->generate(“mail.page.index”, [])
  4. /var/www/nc/apps/mail/appinfo/app.php line 42
    OC\URLGenerator->linkToRoute(“mail.page.index”)
  5. /var/www/nc/lib/private/legacy/app.php line 265
    undefinedundefinedrequire_once("/var/www/nc/apps/mail/appinfo/app.php")
  6. /var/www/nc/lib/private/legacy/app.php line 155
    OC_App::requireAppFile(“mail”)
  7. /var/www/nc/lib/private/legacy/app.php line 962
    OC_App::loadApp(“mail”)
  8. /var/www/nc/lib/private/Installer.php line 149
    OC_App::executeRepairSteps(“mail”, ["OCA\Mail\Mig … "])
  9. /var/www/nc/core/Command/App/Enable.php line 110
    OC\Installer->installApp(“mail”)
  10. /var/www/nc/core/Command/App/Enable.php line 85
    OC\Core\Command\App\Enable->enableApp(“mail”, [], Symfony\Componen … {})
  11. /var/www/nc/3rdparty/symfony/console/Command/Command.php line 255
    OC\Core\Command\App\Enable->execute(Symfony\Componen … {}, Symfony\Componen … {})
  12. /var/www/nc/3rdparty/symfony/console/Application.php line 908
    Symfony\Component\Console\Command\Command->run(Symfony\Componen … {}, Symfony\Componen … {})
  13. /var/www/nc/3rdparty/symfony/console/Application.php line 269
    Symfony\Component\Console\Application->doRunCommand(OC\Core\Command\App\Enable {}, Symfony\Componen … {}, Symfony\Componen … {})
  14. /var/www/nc/3rdparty/symfony/console/Application.php line 145
    Symfony\Component\Console\Application->doRun(Symfony\Componen … {}, Symfony\Componen … {})
  15. /var/www/nc/lib/private/Console/Application.php line 213
    Symfony\Component\Console\Application->run(Symfony\Componen … {}, Symfony\Componen … {})
  16. /var/www/nc/console.php line 97
    OC\Console\Application->run()
  17. /var/www/nc/occ line 11
    undefinedundefinedrequire_once("/var/www/nc/console.php")

at 2020-01-30T19:08:08+00:00

.

Hi,

I have just had the same error. I noticed there was an update to the mail app. I installed the update to the mail app and re-ran the nextcloud update which worked.

Hope that works for you too.

I have the same issue but cannot update the mail app because of a timeout issue (30 mbit/s fiber connection)

Shouldn’t be a problem. The tarball is just 12MB.