Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
[Upgrade 9.0.4=>9.1 error] undefined method OCA\Federation\AppInfo\Application::setupCron() #25552
Steps to reproduce
Upgrade without error
Updated from an older ownCloud or fresh install:
List of activated apps:
The content of config/config.php:
Insert your webserver log here
This is a wrong done upgrade. Please follow the instructions provided in the documentation:
If you do a manual upgrade you need to delete all files and folders except /data/ and /config/ before copying over the new files.
Probably some caching (like APCu) in place here. Thats why the upgrading manual is suggesting to restart the webserver:
@j-ed Good way. Thats probably also the reason why i didn't have a single update and upgrade issue in the past (in contrast to other peeps) on my oC instance running since oC 4.0.something
@kinsi55 Are you really sure? IIRC there were no single report about such a behavior of the updater app in the past.
Ah, a crashed updater app might explain that.
In general a "pro-tip": Never do upgrades with the updater app but do the manual upgrade as suggested above: #25552 (comment) and explained in https://doc.owncloud.org/server/latest/admin_manual/maintenance/manual_upgrade.html
With that you're on the "safe side" and don't need to worry about such issues.