Skip to content

NC 13 Beta 1 occ repair error #7438

Closed
Closed

Description

@mind22

Steps to reproduce

  1. use occ maintenance:repair in the terminal

Expected behaviour

repairing :)

Actual behaviour

Exception throw

Error message

Details 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

Activity

  1. tflidd commented on Dec 10, 2017

    @tflidd
    Contributor

    Duplicate of #7309 ?

  2. mind22 commented on Dec 10, 2017

    @mind22
    Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions