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

docker-compose examples: alpine versions of Nextcloud containers doesn't work with Onlyoffice document_server app #1041

Closed
gwarf opened this issue Mar 21, 2020 · 2 comments · May be fixed by #2089
Labels
examples Compose/Dockerfile/etc integration: office Integration with Office/Collabora/CODE/OnlyOffice/etc

Comments

@gwarf
Copy link

gwarf commented Mar 21, 2020

Hi,
I've been trying to use the onlyoffice document_server app with my docker-compose deployment based on the examples from this repository, and it seems that the document_server app doesn't work with alpine containres as some binaries (like x2t) require a glibc and the alpine comes with the musl libc.
It would be good to mention this somewhere in the doc.

In order to fix onlyoffice on my deployment I had to switch back to non alpine versions (for the nextcloud containers).

The principal source of info I found with regards this is this comment by @siccovansas: nextcloud/documentserver_community#10 (comment)

I've some more details on this discourse post: https://help.nextcloud.com/t/strugging-integrating-onlyoffice-with-nextcloud-fpm-alpine-mariadb-redis-cron-lets-encrypt-docker-compose/66639/2

So happy to now have onlyoffice working, thanks for all this work!

@gwarf gwarf changed the title O Onlyoffice document_server app doesn't work with alpine versions of Nextcloud containers Mar 21, 2020
@gwarf gwarf changed the title Onlyoffice document_server app doesn't work with alpine versions of Nextcloud containers docker-compose examples: alpine versions of Nextcloud containers doesn't work with Onlyoffice document_server app Mar 21, 2020
@digitalcraig
Copy link

digitalcraig commented Apr 16, 2020

I can confirm this issue. I was able to trace down the error from the logs as "x2t not found" (no mention of missing glibc). Once I switched the Docker image from nextcloud:18.0.3-fpm-alpine to nextcloud:18.0.3-fpm it worked. Also note that I had to chown the files on the volume because www-data between the two images has a different uid/gid:

# chown -R www-data:root /var/www
# chmod -R g=u /var/www

It really should be documented somewhere that the documentserver_community app on the non-alpine Docker image in addition to only on x86.

@J0WI
Copy link
Contributor

J0WI commented Nov 7, 2020

It is mentioned here: https://github.com/nextcloud/documentserver_community#requirements

The community document server only supports running on x86-64 Linux servers using glibc based distributions.

@joshtrichards joshtrichards added examples Compose/Dockerfile/etc integration: office Integration with Office/Collabora/CODE/OnlyOffice/etc labels Oct 24, 2023
joshtrichards added a commit that referenced this issue Oct 24, 2023
Alpine based images are not supported by OnlyOffice or Nextcloud Office.

Fixes #1041 + some mingled in reports elsewhere like:
- #1896 (comment)

Signed-off-by: Josh Richards <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
examples Compose/Dockerfile/etc integration: office Integration with Office/Collabora/CODE/OnlyOffice/etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants