Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

beta 4 update failed #4934

Closed
igrekbs opened this issue May 18, 2017 · 2 comments
Closed

beta 4 update failed #4934

igrekbs opened this issue May 18, 2017 · 2 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap

Comments

@igrekbs
Copy link

igrekbs commented May 18, 2017

Steps to reproduce

  1. Manual update with cli from Nextcloud 12 betta 2 to beta 4
  2. Access to main page

Actual behaviour

Nothing happens

Logs

Stack trace

sudo -u www-data php occ maintenance:repair
An unhandled exception has been thrown:
TypeError: Argument 2 passed to OCA\Theming\Util::__construct() must implement interface OCP\Files\IRootFolder, instance of OC\App\AppManager given, called in /var/www/nextcloud/lib/private/Server.php on line 860 and defined in /var/www/nextcloud/apps/theming/lib/Util.php:49
Stack trace:
0 /var/www/nextcloud/lib/private/Server.php(860): OCA\Theming\Util->__construct(Object(OC\AllConfig), Object(OC\App\AppManager), Object(OC\Files\AppData\AppData))
1 /var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php(113): OC\Server->OC{closure}(Object(OC\Server))
2 /var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php(115): Pimple\Container->offsetGet('ThemingDefaults')
3 /var/www/nextcloud/lib/private/ServerContainer.php(116): OC\AppFramework\Utility\SimpleContainer->query('ThemingDefaults')
4 /var/www/nextcloud/lib/private/Server.php(1641): OC\ServerContainer->query('ThemingDefaults')
5 /var/www/nextcloud/lib/private/Console/Application.php(59): OC\Server->getThemingDefaults()
6 /var/www/nextcloud/console.php(90): OC\Console\Application->__construct(Object(OC\AllConfig), Object(Symfony\Component\EventDispatcher\EventDispatcher), Object(OC\AppFramework\Http\Request), Object(OC\Log))
7 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')
8 {main}

@juliusknorr
Copy link
Member

Looks like something went wront when you replaced the files.
I seems that apps/theming/lib/Util.php is still an old version from before beta 4.

How did you put the extracted archive in place?

@juliusknorr juliusknorr added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label May 18, 2017
@igrekbs
Copy link
Author

igrekbs commented May 18, 2017

Hello!

It's my mistake! It wasn't able to update from b2 to b4 through web updater (it seems some errors here) and I decided to copy old (b2) app folder to new (b4) nextcloud root folder during cli update!

Thank for your reply! Now it's ok!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap
Projects
None yet
Development

No branches or pull requests

2 participants