Skip to content

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

Closed

Description

@gwarf

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!

Activity

  1. changed the title [-]O[/-] [+]Onlyoffice document_server app doesn't work with alpine versions of Nextcloud containers[/+] on Mar 21, 2020
  2. 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[/+] on Mar 21, 2020
  3. digitalcraig commented on Apr 16, 2020

    @digitalcraig

    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.

  4. J0WI commented on Nov 7, 2020

    @J0WI
    Collaborator

    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.

  5. added a commit that references this issue on Oct 24, 2023
    aaeecaf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    examplesCompose/Dockerfile/etcintegration: officeIntegration with Office/Collabora/CODE/OnlyOffice/etc

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions