files_mindmap icon indicating copy to clipboard operation
files_mindmap copied to clipboard

App can not be activate

Open 19Topgun93 opened this issue 5 years ago • 7 comments

Hello,

my Nextcloudpi says after install: "An error has occurred in the request. It cannot continue."

What can I do? :)

19Topgun93 avatar Mar 14 '20 21:03 19Topgun93

Please provide the following information: NextCloud version: Mindmap version: NextCloud-settings-error message in the log:

ACTom avatar Mar 15 '20 04:03 ACTom

Same problem NextCloud version: 18.0.2 Mindmap version: 0.0.20 NextCloud-settings-error message in the log:

Exception: Return value of "OC\Core\Command\Maintenance\Mimetype\UpdateJS::execute()" must be of the type int, NULL returned.

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 125:

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "enableApps")

    /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

    OC\AppFramework\App::main("OCA\\Settin ... r", "enableApps", OC\AppFramew ... {}, { _route: "s ... "})

    <<closure>>

    OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "s ... "})

    /var/www/nextcloud/lib/private/Route/Router.php - line 299:

    call_user_func(OC\AppFramew ... {}, { _route: "s ... "})

    /var/www/nextcloud/lib/base.php - line 1008:

    OC\Route\Router->match("/settings/apps/enable")

    /var/www/nextcloud/index.php - line 38:

    OC::handleRequest()

Caused by TypeError: Return value of "OC\Core\Command\Maintenance\Mimetype\UpdateJS::execute()" must be of the type int, NULL returned.

    /var/www/nextcloud/apps/files_mindmap/lib/Migration/InstallStep.php - line 47:

    Symfony\Component\Console\Command\Command->run(Symfony\Comp ... {}, Symfony\Comp ... {})

    /var/www/nextcloud/lib/private/Repair.php - line 104:

    OCA\Files_MindMap\Migration\InstallStep->run(OC\Repair {})

    /var/www/nextcloud/lib/private/legacy/app.php - line 981:

    OC\Repair->run()

    /var/www/nextcloud/lib/private/Installer.php - line 169:

    OC_App::executeRepairSteps("files_mindmap", { step: "OCA ... "})

    /var/www/nextcloud/apps/settings/lib/Controller/AppSettingsController.php - line 443:

    OC\Installer->installApp("files_mindmap")

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 170:

    OCA\Settings\Controller\AppSettingsController->enableApps([ "files_mindmap"], [])

    /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 99:

    OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings ... {}, "enableApps")

    /var/www/nextcloud/lib/private/AppFramework/App.php - line 125:

    OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings ... {}, "enableApps")

    /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:

    OC\AppFramework\App::main("OCA\\Settin ... r", "enableApps", OC\AppFramew ... {}, { _route: "s ... "})

    <<closure>>

    OC\AppFramework\Routing\RouteActionHandler->__invoke({ _route: "s ... "})

    /var/www/nextcloud/lib/private/Route/Router.php - line 299:

    call_user_func(OC\AppFramew ... {}, { _route: "s ... "})

    /var/www/nextcloud/lib/base.php - line 1008:

    OC\Route\Router->match("/settings/apps/enable")

    /var/www/nextcloud/index.php - line 38:

    OC::handleRequest()

RickMcDonald avatar Mar 15 '20 08:03 RickMcDonald

@19Topgun93 @RickMcDonald Try to disable 'news' app, then activate mindmap app, finally re-enable 'news' app.

ACTom avatar Mar 15 '20 12:03 ACTom

Thanks 😊

Von: ACTom [email protected] Gesendet: Sonntag, 15. März 2020 13:24 An: ACTom/files_mindmap [email protected] Cc: 19Topgun93 [email protected]; Mention [email protected] Betreff: Re: [ACTom/files_mindmap] App can not be activate (#96)

@19Topgun93 https://github.com/19Topgun93 @RickMcDonald https://github.com/RickMcDonald Try to disable 'news' app, then activate mindmap app, finally re-enable 'new' app.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ACTom/files_mindmap/issues/96#issuecomment-599203489 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZJN7Y5VPQC5ELM66OQ2QTRHTCGHANCNFSM4LJYHJUQ . https://github.com/notifications/beacon/AJZJN72Z5G5NIO4FHOI4CRLRHTCGHA5CNFSM4LJYHJU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEO3R5II.gif

19Topgun93 avatar Mar 15 '20 16:03 19Topgun93

@19Topgun93 @RickMcDonald Try to disable 'news' app, then activate mindmap app, finally re-enable 'news' app.

That solved the problem, thank you.

RickMcDonald avatar Mar 16 '20 01:03 RickMcDonald

@19Topgun93 @RickMcDonald The news app has been updated. Can you try whether the problem exists?

ACTom avatar Apr 23 '20 16:04 ACTom

@19Topgun93 @RickMcDonald The news app has been updated. Can you try whether the problem exists?

Yes, both the news app and mindmap updated and are working correctly. Thanks for your work on this!

RickMcDonald avatar Apr 27 '20 03:04 RickMcDonald