{"action":"created","issue":{"url":"https://api.github.com/repos/nextcloud/server/issues/531","repository_url":"https://api.github.com/repos/nextcloud/server","labels_url":"https://api.github.com/repos/nextcloud/server/issues/531/labels{/name}","comments_url":"https://api.github.com/repos/nextcloud/server/issues/531/comments","events_url":"https://api.github.com/repos/nextcloud/server/issues/531/events","html_url":"https://github.com/nextcloud/server/issues/531","id":167092630,"number":531,"title":"Upgrade issue 9.0.50 -> 10.0beta: undefined method during federations upgrade","user":{"login":"jowi24","id":962952,"avatar_url":"https://avatars.githubusercontent.com/u/962952?v=3","gravatar_id":"","url":"https://api.github.com/users/jowi24","html_url":"https://github.com/jowi24","followers_url":"https://api.github.com/users/jowi24/followers","following_url":"https://api.github.com/users/jowi24/following{/other_user}","gists_url":"https://api.github.com/users/jowi24/gists{/gist_id}","starred_url":"https://api.github.com/users/jowi24/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jowi24/subscriptions","organizations_url":"https://api.github.com/users/jowi24/orgs","repos_url":"https://api.github.com/users/jowi24/repos","events_url":"https://api.github.com/users/jowi24/events{/privacy}","received_events_url":"https://api.github.com/users/jowi24/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-22T17:22:20Z","updated_at":"2016-08-15T22:29:30Z","closed_at":null,"body":"### Steps to reproduce\r\n1. `./occ upgrade` with an existing 9.0.50 nextcloud installation\r\n\r\n### Expected behaviour\r\nNo errors during upgrade.\r\n\r\n### Actual behaviour\r\nGetting error:\r\n\r\n```\r\nUpdating <federation> ...\r\nAn unhandled exception has been thrown:\r\nError: Call to undefined method OCA\\Federation\\AppInfo\\Application::setupCron() in /home/rk/nextcloud.test/apps/federation/appinfo/update.php:23\r\nStack trace:\r\n#0 /home/rk/nextcloud.test/lib/private/legacy/app.php(1197): include()\r\n#1 /home/rk/nextcloud.test/lib/private/Updater.php(374): OC_App::updateApp('federation')\r\n#2 /home/rk/nextcloud.test/lib/private/Updater.php(251): OC\\Updater->doAppUpgrade()\r\n#3 /home/rk/nextcloud.test/lib/private/Updater.php(150): OC\\Updater->doUpgrade('9.1.0.13', '9.0.50.0')\r\n#4 /home/rk/nextcloud.test/core/Command/Upgrade.php(290): OC\\Updater->upgrade()\r\n#5 /home/rk/nextcloud.test/3rdparty/symfony/console/Command/Command.php(259): OC\\Core\\Command\\Upgrade->execute(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#6 /home/rk/nextcloud.test/3rdparty/symfony/console/Application.php(844): Symfony\\Component\\Console\\Command\\Command->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#7 /home/rk/nextcloud.test/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))\r\n#8 /home/rk/nextcloud.test/3rdparty/symfony/console/Application.php(123): Symfony\\Component\\Console\\Application->doRun(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#9 /home/rk/nextcloud.test/lib/private/Console/Application.php(145): Symfony\\Component\\Console\\Application->run(Object(Symfony\\Component\\Console\\Input\\ArgvInput), Object(Symfony\\Component\\Console\\Output\\ConsoleOutput))\r\n#10 /home/rk/nextcloud.test/console.php(92): OC\\Console\\Application->run()\r\n#11 /home/rk/nextcloud.test/occ(11): require_once('/home/rk/nextcl...')\r\n```\r\n### Server configuration\r\n**Operating system**:\r\nLinux 4.6.2\r\n**Web server:**\r\nnginx 1.11.2\r\n**Database:**\r\nmariadb 10.1.14\r\n**PHP version:**\r\nphp 7.0.9\r\n**Nextcloud version:** (see Nextcloud admin page)\r\n10.0beta\r\n**Updated from an older Nextcloud/ownCloud or fresh install:**\r\nUpgrade from 9.0.50\r\n**Where` did you install Nextcloud from:**\r\n\r\n**Signing status:**\r\n<details>\r\n<summary>Signing status</summary>\r\n\r\n```\r\nLogin as admin user into your Nextcloud and access \r\nhttp://example.com/index.php/settings/integrity/failed \r\npaste the results here.\r\n```\r\n</details>\r\n\r\n**List of activated apps:**\r\n<details>\r\n<summary>App list</summary>\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ app:list\r\nfrom within your Nextcloud installation folder\r\n```\r\n</details>\r\n\r\n**The content of config/config.php:**\r\n<details>\r\n<summary>Config report</summary>\r\n\r\n```\r\nIf you have access to your command line run e.g.:\r\nsudo -u www-data php occ config:list system\r\nfrom within your Nextcloud installation folder\r\n\r\nor \r\n\r\nInsert your config.php content here\r\n(Without the database password, passwordsalt and secret)\r\n```\r\n</details>\r\n\r\n**Are you using external storage, if yes which one:** local/smb/sftp/...\r\n\r\n**Are you using encryption:** yes/no\r\n\r\n**Are you using an external user-backend, if yes which one:** LDAP/ActiveDirectory/Webdav/...\r\n\r\n#### LDAP configuration (delete this part if not used)\r\n<details>\r\n<summary>LDAP config</summary>\r\n\r\n```\r\nWith access to your command line run e.g.:\r\nsudo -u www-data php occ ldap:show-config\r\nfrom within your Nextcloud installation folder\r\n\r\nWithout access to your command line download the data/owncloud.db to your local\r\ncomputer or access your SQL server remotely and run the select query:\r\nSELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';\r\n\r\n\r\nEventually replace sensitive data as the name/IP-address of your LDAP server or groups.\r\n```\r\n</details>\r\n\r\n### Client configuration\r\n**Browser:**\r\n\r\n**Operating system:**\r\n\r\n### Logs\r\n#### Web server error log\r\n<details>\r\n<summary>Web server error log</summary>\r\n```\r\nInsert your webserver log here\r\n```\r\n</details>\r\n\r\n#### Nextcloud log (data/nextcloud.log)\r\n<details>\r\n<summary>Nextcloud log</summary>\r\n```\r\nInsert your Nextcloud log here\r\n```\r\n</details>\r\n\r\n#### Browser log\r\n<details>\r\n<summary>Browser log</summary>\r\n```\r\nInsert your browser log here, this could for example include:\r\n\r\na) The javascript console log\r\nb) The network log\r\nc) ...\r\n```\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/nextcloud/server/issues/comments/239948888","html_url":"https://github.com/nextcloud/server/issues/531#issuecomment-239948888","issue_url":"https://api.github.com/repos/nextcloud/server/issues/531","id":239948888,"user":{"login":"LukasReschke","id":878997,"avatar_url":"https://avatars.githubusercontent.com/u/878997?v=3","gravatar_id":"","url":"https://api.github.com/users/LukasReschke","html_url":"https://github.com/LukasReschke","followers_url":"https://api.github.com/users/LukasReschke/followers","following_url":"https://api.github.com/users/LukasReschke/following{/other_user}","gists_url":"https://api.github.com/users/LukasReschke/gists{/gist_id}","starred_url":"https://api.github.com/users/LukasReschke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LukasReschke/subscriptions","organizations_url":"https://api.github.com/users/LukasReschke/orgs","repos_url":"https://api.github.com/users/LukasReschke/repos","events_url":"https://api.github.com/users/LukasReschke/events{/privacy}","received_events_url":"https://api.github.com/users/LukasReschke/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T22:29:29Z","updated_at":"2016-08-15T22:29:29Z","body":"I got some other reports of this. Reopening."}}
{"actor":{"display_login":"LukasReschke"}}