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

This app cannot be installed because the following dependencies are not fulfilled: Server version 19 or higher is required. #161

Closed
userbradley opened this issue Jan 28, 2020 · 3 comments
Labels
invalid This doesn't seem right

Comments

@userbradley
Copy link

userbradley commented Jan 28, 2020

When I have tried to isntall the app 'Photos' and enable it I get the error:
'This app cannot be installed because the following dependencies are not fulfilled:
Server version 19 or higher is required.'

I have isntalled it by running git clone https://github.com/nextcloud/photos.git in the /apps folder of nextcloud
I have set the correct permisions for the folder and all subfolders but still get the issue, even after isntalling php-gd and restarting apache2
I am running version 18 of nextcloud on Ubuntu 18.04.3 LTS
Any clue where I've gone wrong?

@skjnldsv
Copy link
Member

Hey, the master branch is for nextcloud 19, you might want to check the stable18.
But you do not need to manually install it, this is shipped with nextcloud 18 and automatically updated alongside any nextcloud server update.

@skjnldsv skjnldsv added the invalid This doesn't seem right label Jan 29, 2020
@userbradley
Copy link
Author

userbradley commented Jan 29, 2020

Thanks! I have downloaded and tried the stable18 and it's now picked up the correct version. For some reason it was not installed with my nextcloud version :(
When I added it in I now get the error

The server was unable to complete your request.

If this happens again, please send the technical details below to the server administrator.

More details can be found in the server log.

Technical details
Remote Address: 10.255.255.240
Request ID: oBnBNSfHWGHgmN0X4Fyx
Type: Exception
Code: 0
Message: Class 'OCA\Viewer\Event\LoadViewer' not found
File: /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php
Line: 109

Trace
#0 /var/www/nextcloud/lib/private/AppFramework/App.php(125): OC\AppFramework\Http\Dispatcher->dispatch(Object(OCA\Photos\Controller\PageController), 'index')
#1 /var/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php(47): OC\AppFramework\App::main('OCA\Photos\Cont...', 'index', Object(OC\AppFramework\DependencyInjection\DIContainer), Array)
#2 [internal function]: OC\AppFramework\Routing\RouteActionHandler->__invoke(Array)
#3 /var/www/nextcloud/lib/private/Route/Router.php(299): call_user_func(Object(OC\AppFramework\Routing\RouteActionHandler), Array)
#4 /var/www/nextcloud/lib/base.php(1008): OC\Route\Router->match('/apps/photos/')
#5 /var/www/nextcloud/index.php(38): OC::handleRequest()
#6 {main}

@userbradley
Copy link
Author

Sorry. This can be closed.
I have installed viewer and set the permissions and this seemed to help:
git clone --branch stable18 https://github.com/nextcloud/viewer.git
root@nextcloud:/var/www/nextcloud/apps# chown www-data:www-data viewer/
root@nextcloud:/var/www/nextcloud/apps# chmod -R 755 viewer/
root@nextcloud:/var/www/nextcloud/apps# systemctl restart apache2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants