-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bookmarks is missing php-gmp #854
Comments
I would recommend to build a derived image on top of nextcloud and install the dependency. See in the documentation and the examples. |
@brettinternet did you managed to resolve it? I tried to install php-gmp via apt install (inside the cointainer) but apt tells me that there are no install candidates. Thank you |
@SnowMB What are the chances of php-gmp being installed in the standard Docker? I'm also unable to |
@e-magon @ellis Because containers are ephemeral, it's not practical to install this dependency manually via
You could also consider using someone else's build, like linuxserver/docker-nextcloud. @SnowMB Is the strategy here not to include any dependencies for Apps? I'd imagine this decision will affect quite a few people. It looks like the |
@brettinternet good point about In the past we had many questions/discussions about smb (#19, #22, #60, #105, #474, #557, #578, #648, #754, #777) and imap (#19, #66, #372, #595, #756) which are also optional and not directly "supported". I hoped that documenting in the readme and giving examples would help, but building derived docker images seems a burden that many users don't want to do (Even so it's fairly simple in my opinion). Recently we also made some contradictory decisions like #785 so it might be time to revisit this standpoint. However I'm not very active in maintaining the image and even less sure what dependencies are needed for the internals of nextcloud and it's apps so @tilosp and @J0WI are the maintainers to ask. 😄 |
There's also a security perspective: #594 (comment) |
@J0WI Dependency installations via I understand this project has some difficult decisions regarding dependencies given the nature of Nextcloud and Apps. Thank you for your efforts in maintaining this repo! |
Indeed you would have to register this as kind of a post run hook. |
+1 from my side. |
If anyone needs a quick fix, I was able to resolve this by:
|
Thanks I got it worked by following this link: |
I would love to see this integrated. Currently the "Bookmark Addon" is "uninstallable" for a regular docker setup without workarounds. From a security perspective I could imagine some "more" docker images regularly published along the basic one: docker:14.0.14-apache-full (all dependencies for popular addons included) I could also imagine, that moving addons to separate docker containers/container images would solve the problem of having small basic containers, but also extend those easily. But you may need a "bridge" (container) to docker to install/start/stop addons. This would also open the ecosystem to non-php extensions. I think this would be a big change. I don't know the internal architecture of nextcloud, so I'm not sure if this is possible. |
@maxmeyer you are right. it is effecting the Bookmark Android app which is based on Next Cloud Bookmark. Not able to use the latest version docker. Had a extensive discussion with @marcelklehr can some one look into this pull request? |
That's why alpine doesn't use |
Docker has it's own way to install PHP extensions, see #854 (comment). |
Help, is appreaciated. I'm currently stuck with the debian x86 targets, which fail for some reason. |
any updates? it looks like the PR that fixes this is hung up |
@norweeg Feel free to take a look at the PR and try to make it work, I'm not really a docker wizard. |
@marcelklehr I am pretty sure I found the problem. I will add a comment to the PR |
This shoud be a treated as tempurary fix. @marcelklehr any reason why this has not taken care with the main docker image?? |
@dasbiswajit According to docker-library/official-images#6867, this issue is fixed in the current docker hub images. The solution you cited works out of the box for debian@x64 but for other platforms some tweaks were necessary. |
Bookmarks now requires manually installing a required dependency which isn't optimal for a container (see nextcloud/bookmarks#792). Is it practical to include the
php-gmp
extension in the docker build?The error reads:
The text was updated successfully, but these errors were encountered: