server icon indicating copy to clipboard operation
server copied to clipboard

NC 13 Beta 1 occ repair error

Open mind22 opened this issue 8 years ago • 2 comments

Steps to reproduce

  1. use occ maintenance:repair in the terminal

Expected behaviour

repairing :)

Actual behaviour

Exception throw

Error message

An unhandled exception has been thrown: Error: Call to a member function isEnabledForUser() on null in /var/www/nextcloud/core/Command/Maintenance/Repair.php:89

Stack trace: #0 /var/www/nextcloud/3rdparty/symfony/console/Command/Command.php(264): OC\Core\Command\Maintenance\Repair->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#1 /var/www/nextcloud/3rdparty/symfony/console/Application.php(874): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#2 /var/www/nextcloud/3rdparty/symfony/console/Application.php(228): Symfony\Component\Console\Application->doRunCommand(Object(OC\Core\Command\Maintenance\Repair), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#3 /var/www/nextcloud/3rdparty/symfony/console/Application.php(130): Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#4 /var/www/nextcloud/lib/private/Console/Application.php(173): Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

#5 /var/www/nextcloud/console.php(96): OC\Console\Application->run()

#6 /var/www/nextcloud/occ(11): require_once('/var/www/nextcl...')

#7 {main}

Server configuration

Operating system: Ubuntu 16.04.1

Web server: nginx

Database: mariadb

PHP version: 7.1

Nextcloud version: 13b1

Updated from an older Nextcloud/ownCloud or fresh install: NC12 RC

Where did you install Nextcloud from: official

Are you using encryption: no

mind22 avatar Dec 10 '17 10:12 mind22

Duplicate of https://github.com/nextcloud/server/issues/7309 ?

tflidd avatar Dec 10 '17 14:12 tflidd

Ah yes you are right, seems to be the same. Then iam gonna close this here.

mind22 avatar Dec 10 '17 14:12 mind22