Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Support] AMJidovu - OnlyOffice Community Server

Featured Replies

Hey Gents, 

 

I am hoping you guys can shed some light on this issue I am having. I've have not been able to get this container to work. I am not sure if I am missing something here. This is a fresh new install of UnRaid and I just installed Nextcloud and have that working with SWAG. I wanted to integrate OnlyOffice as I had this working before on my old server. I have not touched anything on the Nextcloud side of things. I just installed your version of OnlyOffice Document Server and I have not modified anything. Its just a vanilla install of the docker, I wanted to make sure it works before moving on but I don't get any kind of webui. 

 

All I get is the following page I've also attached the log file. I don't see anything out of the ordinary. 

 

image.png.fdd4a070d6cd20d99514d62ab2b61e5d.png

 

Here is the docker setup the only thing I changed was the container name to 'onlyoffice' just because that is what my subdomain is 'onlyoffice.mydomain.com'

 

image.thumb.png.6b1f5482de082572699e08a950ee22ec.png

 

I know on my old server I use to be able to pull up the webui and it would say OnlyOffice was running. Any help would be greatly appreciated! Thank you!

 

 

OnlyOfficeDocumentServer.txt

  • Replies 54
  • Views 29.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Jidovu Marius Adrian
    Jidovu Marius Adrian

    You need to configure document server to use ssl by creating the certificates and then add them in the folder: /mnt/user/appdata/onlyoffice/DocumentServer/data/certs/ After you add them you

  • Jidovu Marius Adrian
    Jidovu Marius Adrian

    I will expand the guide write on the reserved post how to integrate nextcloud with document server.... In case you did not succeed read the how to again when it is done.

  • FYI for anyone having issues I was able to get this working by using an older version of OnlyOfficeDocumentServer as described here on this reddit post! I now have OnlyOffice working with my NextCloud

Posted Images

FYI for anyone having issues I was able to get this working by using an older version of OnlyOfficeDocumentServer as described here on this reddit post! I now have OnlyOffice working with my NextCloud again. 

 

image.png.c6185b7a58481a8ad641711201dcbf20.png

Edited by SiRMarlon

  • 2 months later...

Hi all,

 

I use Nginx Proxy Manager and added OnlyOffice Docker instance + created a letsencrypt ssl certificate for it (with a onlyoffice.xxx.tld subdomain).

I can login to onlyoffice via my subdomain (secured by letsencrypt ssl) but If I try to open a document, I get the message that the document service is not available.

 

What I'm doing wrong?

 

UPDATE: I made a misstake with the IP address of my document server, everything is fine, sorry !

Thank you and Regards,

Luk

Edited by luk

  • 1 month later...

I was hoping someone could help with an connection refused error I get when running onlyoffice in nextcloud behind nginx. I've attached the error log file.

 

nginx.error.log

  • 3 weeks later...

Hi,

 

how I can make OnlyOffice completely accessible via my subdomain (letsencrypt ssl) ? I can access already OnlyOffice CommunityServer via my subdomain, but Document Server is not accessible.

 

What I'm doing wrong? Please help me @Jidovu Marius Adrian

 

Thank you and Regards,

Luk

Edited by luk

  • 2 months later...

Is there a way to update the version of documentserver within the container?

It looks like this container is at version 5.4.2 but OnlyOffice Documentserver appears to be up to version 6.4 now?

 

Thanks

  • Author
6 hours ago, klingon00 said:

Is there a way to update the version of documentserver within the container?

It looks like this container is at version 5.4.2 but OnlyOffice Documentserver appears to be up to version 6.4 now?

 

Thanks

I am in the process to update the docker image right now and once is done I will update the template.

  • Author

I am reverting "onlyoffice community server" to the preview version due to onlyoffice supporting only systemd (systemctl) to start / stop services now.

  • 4 weeks later...

I would like to use the Community Server with my already existing mariadb docker, which I use for a nextcloud instance. Is this possible? 

 

  • Author
19 hours ago, Maginos said:

I would like to use the Community Server with my already existing mariadb docker, which I use for a nextcloud instance. Is this possible? 

 

You can use mariadb with community server.

Ok then, would you mind helping me with the setup of the community server (I don't need mail server)? Unfortunately, it doesn't work for me out of the box. Here's what I've done so far:

- mariadb and onlyoffice document server installed and running without issues
- downloaded and installed community server docker with the settings attached

 

- on console of mariadb docker:
mysql -uroot -p

CREATE USER 'onlyoffice_user'@'localhost' IDENTIFIED BY 'password_from_me';

CREATE DATABASE IF NOT EXISTS onlyoffice CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;

GRANT ALL PRIVILEGES ON onlyoffice. * TO 'root'@'%' IDENTIFIED BY 'password_from_me';
GRANT ALL PRIVILEGES ON onlyoffice. * TO 'onlyoffice_user'@'%' IDENTIFIED BY 'password_from_me';

FLUSH PRIVILEGES;

exit

 

When I then start the Community Server docker, I get several Warnings and Errors in the logs, I list them here:

Warning: rsyslogd: activation of module imklog failed [v8.32.0 try http://www.rsyslog.com/e/2145 ]
Warning: start-stop-daemon: warning: failed to kill 96: No such process
Error: /app/onlyoffice/run-community-server.sh: line 182: & 255 : syntax error: operand expected (error token is "& 255 ")
Warning: mysql: [Warning] Using a password on the command line interface can be insecure.
Error: ERROR 1045 (28000) at line 1: Access denied for user 'onlyoffice_user'@'localhost' (using password: YES)
Warning: /etc/init.d/redis-server: 51: ulimit: error setting limit (Operation not permitted)

They do not appear one after another, but they appear in this order in the log. The "mysql: [Warning] Using a password on the command line interface can be insecure." error occurs several times.

 

After waiting for around 15 minutes, the webgui of community server still says, "please wait".

 

Can you help me with this?

Thank you very much in advance!
Maginos

 

Bildschirmfoto vom 2021-10-22 20-10-27.png

Bildschirmfoto vom 2021-10-22 20-10-39.png

  • Author

You need to have both of them on same network and for mysql host instead of "localhost" put the name of the mariadb docker.

I did that and after 10 minutes, it still says „please wait“.

 The log of the OO community server fills up with these messages (they occur every 2-3 seconds):


1
+ mysqladmin ping -h mariadb -P 3306 -u onlyoffice_user --password=pw_from_me --silent
mysqladmin: [Warning] Using a password on the command line interface can be insecure.
 

  • Author

You need to use a supported mariadb, i do not know which is though.

For example mysql is supported from version mysql-5.7 and lower.

  • Author

Also you need to make changes to the db type and such.

For all the available configuration parameters look them here: https://helpcenter.onlyoffice.com/installation/docs-community-install-docker.aspx

 

Below is the complete list of parameters that can be set using environment variables.

ONLYOFFICE_HTTPS_HSTS_ENABLED: Advanced configuration option for turning off the HSTS configuration. Applicable only when SSL is in use. Defaults to true.

ONLYOFFICE_HTTPS_HSTS_MAXAGE: Advanced configuration option for setting the HSTS max-age in the onlyoffice NGINX vHost configuration. Applicable only when SSL is in use. Defaults to 31536000.

SSL_CERTIFICATE_PATH: The path to the SSL certificate to use. Defaults to /var/www/onlyoffice/Data/certs/tls.crt.

SSL_KEY_PATH: The path to the SSL certificate private key. Defaults to /var/www/onlyoffice/Data/certs/tls.key.

SSL_DHPARAM_PATH: The path to the Diffie-Hellman parameter. Defaults to /var/www/onlyoffice/Data/certs/dhparam.pem.

SSL_VERIFY_CLIENT: Enable verification of client certificates using the CA_CERTIFICATES_PATH file. Defaults to false.

DB_TYPE: The database type. Supported values are postgres, mariadb or mysql. Defaults to postgres.

DB_HOST: The IP address or the name of the host where the database server is running.

DB_PORT: The database server port number.

DB_NAME: The name of a database to be created on the image startup.

DB_USER: The new user name with superuser permissions for the database account.

DB_PWD: The password set for the database account.

AMQP_URI: The AMQP URI to connect to the message broker server.

AMQP_TYPE: The message broker type. Supported values are rabbitmq or activemq. Defaults to rabbitmq.

REDIS_SERVER_HOST: The IP address or the name of the host where the Redis server is running.

REDIS_SERVER_PORT: The Redis server port number.

NGINX_WORKER_PROCESSES: Defines the number of NGINX worker processes.

NGINX_WORKER_CONNECTIONS: Sets the maximum number of simultaneous connections that can be opened by a NGINX worker process.

JWT_ENABLED: Specifies the enabling the JSON web token validation by ONLYOFFICE Docs. Defaults to false.

JWT_SECRET: Defines the secret key to validate the JSON web token in the request to ONLYOFFICE Docs. Defaults to secret.

JWT_HEADER: Defines the HTTP header that will be used to send the JSON web token. Defaults to Authorization.

JWT_IN_BODY: Specifies the enabling the token validation in the request body to the ONLYOFFICE Docs. Defaults to false.

USE_UNAUTHORIZED_STORAGE: Set to true if using self-signed certificates for your storage server, e.g. Nextcloud. Defaults to false.

GENERATE_FONTS: When true, regenerates fonts list and the fonts thumbnails etc. at each start. Defaults to true.

METRICS_ENABLED: Specifies the enabling StatsD for ONLYOFFICE Docs. Defaults to false.

METRICS_HOST: Defines StatsD listening host. Defaults to localhost.

METRICS_PORT: Defines StatsD listening port. Defaults to 8125.

METRICS_PREFIX: Defines StatsD metrics prefix for backend services. Defaults to ds..

LETS_ENCRYPT_DOMAIN: Defines the domain for Let's Encrypt certificate.

LETS_ENCRYPT_MAIL: Defines the domain administator mail address for Let's Encrypt certificate.

Replace the MYSQL with MARIADB

Edited by Jidovu Marius Adrian

  • 2 weeks later...

Anyone using the document server with the nextcloud app?? With the most recent update I keep getting

 

The "documentType" parameter for the config object is invalid

 

when trying to open any documents. Googling the issue doesnt really give any info from what I can see. Just curious if anyone has experienced this and perhaps fixed it??

1 minute ago, tazire said:

Anyone using the document server with the nextcloud app?? With the most recent update I keep getting

 

The "documentType" parameter for the config object is invalid

 

when trying to open any documents. Googling the issue doesnt really give any info from what I can see. Just curious if anyone has experienced this and perhaps fixed it??


Yes, I have this issue too and we're not the only ones, as you can see here and here.

I also created a post in the OnlyOffice forum, which can be followed here.

The solution for me was to roll back an appdata backup from CA Appdata Backup/Restore App and now everything works again. 

3 hours ago, Maginos said:


Yes, I have this issue too and we're not the only ones, as you can see here and here.

I also created a post in the OnlyOffice forum, which can be followed here.

The solution for me was to roll back an appdata backup from CA Appdata Backup/Restore App and now everything works again. 

 

Thanks for that. I imagine it is likely to get fixed quickly so. Its not super pressing for me so I can hang on for an update. Thanks again for the info.

 

EDIT

 

I imagine you can probably delete app and then install the older version to get it fixed too. 

Edited by tazire

On 11/3/2021 at 9:54 PM, tazire said:

 

Thanks for that. I imagine it is likely to get fixed quickly so. Its not super pressing for me so I can hang on for an update. Thanks again for the info.

 

EDIT

 

I imagine you can probably delete app and then install the older version to get it fixed too. 

 

I found, that I was using the OO docker from chvb, which is version 5.5.0.165. After changing to the docker from Siwat2545’s Repository, I can upgrade OO to version 7.2.0 within NC without any issues. I use unraid 6.9.2, NC 22.2.0 stable and OO document server docker 6.4. Maybe you want to check, which OO docker you use and upgrade as well if needed. 

  • Author

I updated the document server docker image, hopefully it fixes your issues now.

Hello,

 

 

Anyone seen this error before in NC when trying to sync it?

 

"Error while downloading the document file to be converted (verzia 6.4.2.6)"

 

Edited by Digiboy

On 11/8/2021 at 8:29 PM, Maginos said:

 

I found, that I was using the OO docker from chvb, which is version 5.5.0.165. After changing to the docker from Siwat2545’s Repository, I can upgrade OO to version 7.2.0 within NC without any issues. I use unraid 6.9.2, NC 22.2.0 stable and OO document server docker 6.4. Maybe you want to check, which OO docker you use and upgrade as well if needed. 

thanks for the info. I think thats a very new image. I checked and installed all the different images available at the time. good to know its back. 

 

EDIT

 

As it turns out I just cant get that container to play nice with SWAG. can access it directly but not using reverse proxy :(

Edited by tazire

  • 1 year later...

Do the NEED to be on their own network or can I put them all in my proxy network?

  • Author
3 hours ago, isvein said:

Do the NEED to be on their own network or can I put them all in my proxy network?

It is up to you. I did set it up that way to separate them from other networks, but it is up to you on which network you put them.

Edited by Jidovu Marius Adrian

3 hours ago, Jidovu Marius Adrian said:

It is up to you. I did set it up that way to separate them from other networks, but it is up to you on which network you put them.

Then I will try to use my current proxynetwork, just will make it more easy I guess since I use NPM already :)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.