Skip to content

Photos depends on Viewer #38

@MichaIng

Description

@MichaIng

When accessing the app, the Nextcloud "Interner Serverfehler" page shows up.

Related Nextcloud error entry:

[index] Error: Exception: Class 'OCA\Viewer\Event\LoadViewer' not found at <<closure>>

0. /var/www/nextcloud/lib/private/AppFramework/App.php line 123
   OC\AppFramework\Http\Dispatcher->dispatch(OCA\Photos\Contr ... }}, "index")
1. /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
   OC\AppFramework\App::main("OCA\\Photos\\Controller\\PageController", "index", OC\AppFramework\ ... {}, {_route: "photos.page.index"})
2. <<closure>>
   OC\AppFramework\Routing\RouteActionHandler->__invoke({_route: "photos.page.index"})
3. /var/www/nextcloud/lib/private/Route/Router.php line 298
   call_user_func(OC\AppFramework\ ... {}, {_route: "photos.page.index"})
4. /var/www/nextcloud/lib/base.php line 1006
   OC\Route\Router->match("/apps/photos/")
5. /var/www/nextcloud/index.php line 42
   OC::handleRequest()

GET /nextcloud/apps/photos/
from 95.81.18.51 by Micha at 2019-12-10T13:13:41+01:00

As a guess, I enabled the Viewer app and voila! No error, but first access takes VERY long to generate previous I guess. However it works.

I don't know if app dependencies are such a great idea, especially since there seems to be no infrastructure to handle those, e.g. enabling required apps automatically and warn when disabling dependencies etc. Wouldn't it make sense to simply merge those two apps then? I was already confused when Viewer app was added the first time, added as core app, while Gallery app already provided all feature I require, hence I disabled obsolete Viewer. Now Gallery seems to have been replaced by Photos?

At least a missing app should be handled gracefully with clear info, instead of such an error, which is hard to read for most.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions