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

Tomboy Notes server not installable in Nextcloud 13 app store (docker) #55

Closed
all-the-good-ones-are-gone opened this issue Feb 8, 2018 · 5 comments

Comments

@all-the-good-ones-are-gone

On clicking on [Enable] in the Nextcloud app 'store' in Nextcloud 13 (and previously 12):
App "Grauphel: Tomboy note server" cannot be installed because the following dependencies are not fulfilled: The library OAuth is not available.

I cannot test with a bare install anymore, as I've apparently killed that. Current system is near-copy of example files from https://github.com/nextcloud/docker, using https://github.com/nextcloud/docker/tree/master/.examples/docker-compose/with-nginx-proxy/mariadb-cron-redis/fpm and https://github.com/nextcloud/docker/tree/master/.examples/dockerfiles/full/fpm, setting individual configuration, and modifying the nextcloud Dockerfile (from full above) to include "&& pecl install oauth ".
Additionally, running "docker-compose exec app pecl install oauth" results in "ecl/oauth is already installed and is the same as the released version 2.0.2".

Is this potentially a misconfiguration on my end, or an issue with grauphel?

@cweiske
Copy link
Collaborator

cweiske commented Feb 8, 2018

It looks like php's oauth extension is installed, but not loaded.

You need to load it in your php.ini, by adding extension=oauth.so, and then restart php-fpm or the web server.

@all-the-good-ones-are-gone
Copy link
Author

I found this near the end of the build command output. Maybe an echo command to append a line to a php.ini file somewhere is needed?

Build process completed successfully
Installing '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/oauth.so'
install ok: channel://pecl.php.net/oauth-2.0.2
configuration option "php_ini" is not set to php.ini location
You should add "extension=imagick.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=imagick.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=smbclient.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=imagick.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=smbclient.so" to php.ini
configuration option "php_ini" is not set to php.ini location
You should add "extension=oauth.so" to php.ini
Removing intermediate container 053c77c48f24
---> badd87b92314
Step 3/5 : COPY redis.config.php /usr/src/nextcloud/config/redis.config.php
---> 0a3c3d936b6b
Step 4/5 : COPY supervisord.conf /etc/supervisor/supervisord.conf
---> 937449da653e
Step 5/5 : CMD ["/usr/bin/supervisord"]
---> Running in d8ecd2efdef3
Removing intermediate container d8ecd2efdef3
---> 5bb6d4dacb77
Successfully built 5bb6d4dacb77
Successfully tagged docker_app:latest

@cweiske
Copy link
Collaborator

cweiske commented Feb 9, 2018

Yes. But that's not grauphel's task.

@monperrus
Copy link

WDYT of nextcloud/docker#1023?

@monperrus
Copy link

Here is how to activate oauth for grauphel.

Works for me in a Docker container running Nextcloud 23:

apt install libpcre3-dev
pecl install oauth
echo extension=oauth.so > /usr/local/etc/php/conf.d/oauth.ini
service apache2 restart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants