Docker-DocumentServer icon indicating copy to clipboard operation
Docker-DocumentServer copied to clipboard

Question about docker image for document server community edition

Open TineUser opened this issue 2 years ago • 15 comments

When setting up a docker container on a Synology system I have to fill the parameter "PRODUCT_EDITION". It is a mandatory field so I can't left it blank. Which value is needed to get the community edition? I tried "community" and "ce" but nothing happened and I'm not able to connect to OnlyOffice. Even using "ee" OnlyOffice doesn't seem to work. I can't find any documenttation for filling this field with the right value.

TineUser avatar May 15 '23 13:05 TineUser

With the help of this article, https://blog.viking-studios.net/collabora-libreoffice-als-docker-container-in-nextcloud-auf-der-synology-diskstation-integrieren/, I was able to get the docker image running and have now access to OnlyOffice. I deleted the parameter "PRODUCT_EDITION".

And I don't know why the local port parameters are not mandatory in the Docker settings of Synology. I only saw "Local Port" and thought that the port number behind this is the local port. So I left them blank and there was no error message that these fields have to be filled.

TineUser avatar May 15 '23 14:05 TineUser

But I don't understand what has to be set here:

image

I created the folder "onlyoffice" and in this folder the subfolders "data" and "logs" as I read in some other articles. But I don't see any files in these folders.

TineUser avatar May 15 '23 15:05 TineUser

Hello @TineUser, sorry for the late reply, unfortunately we don't have a device with Docker on Synology. We will come back when we have it.

igwyd avatar Sep 17 '24 11:09 igwyd

Hello @TineUser, you have sloved your problem?

Diggit1 avatar Jan 27 '25 16:01 Diggit1

Hello @Diggit1, no, I haven't. I stopped trying.

TineUser avatar Jan 27 '25 17:01 TineUser

ok, if you want to try again let me know. then i try to help

Diggit1 avatar Jan 27 '25 19:01 Diggit1

@Diggit1: Do you have OnlyOffice running on Synology?

TineUser avatar Jan 28 '25 07:01 TineUser

@TineUser yes..... it is running

Diggit1 avatar Jan 28 '25 08:01 Diggit1

I think it would be nice for the community how you got it running with the shared folders of the Synology. And which version of DSM do you have running?

TineUser avatar Jan 28 '25 08:01 TineUser

OK, i can tell this in a few steps.

  1. if you are on DSM 6 and NC over webstation you must download onlyoffice/documentserver 7.5.1.1 another higher not work!
  2. on DSM 7 with NC over webstation, onlyoffice/documentserver 7.5.1.1 and latest work! Btw, i am on the DSM Version: 7.2.2-72806 Update 2

Diggit1 avatar Jan 28 '25 18:01 Diggit1

So, with your container setup, you have to set JWT_ENABLED .... true and JWT_SECRET ....... selfcreated secretkey

the container ports are 443 , 80 and 8000 <-- you can read it in the terminal; 8000 is the listening port

but this is the most important Image

then for the external folder/files create 4 folder in your destination and set it up like you want or my example with read/write permissions

Image

Diggit1 avatar Jan 28 '25 18:01 Diggit1

then start up the container, wait a few min...........

try your NAS IP:

123.123.0.123:8000/healthcheck

, if its a screen with "true" you can connect onlyoffice documentserver to your NC

thats it BR Diggit

Image

Diggit1 avatar Jan 28 '25 18:01 Diggit1

Hello, I am installing OnlyOffice on docker on a Nas Synology DS923+. In the future I'd like to make it work with NextCloud to get rid of Microsoft and Google.

When I try to make a new document, it gets stuck on “Loading document”.

Do you have an explanation?

GBInformatics avatar May 06 '25 14:05 GBInformatics

For eventual help, i need more information eg: what you have done, nc ver, server ver, healthchek is true???

Diggit1 avatar May 09 '25 09:05 Diggit1

Pour une aide éventuelle, j'ai besoin de plus d'informations par exemple : qu'avez-vous fait, version NC, version du serveur, healthchek est vrai ???

I'm using the latest version of onlyoffice/documentserver. I get the error “document loading” and then the warning “The document could not be saved. Please check the connection settings”. The container is in good health.

GBInformatics avatar Jun 06 '25 19:06 GBInformatics