ONLYOFFICE Docs v6.4 with conditional formatting, new scaling options, and WOPI protocol support
ONLYOFFICE Docs v6.4 released

The document couldnt be opened - contact admin - Download fail

hello,

I’ve installed onlyoffice docs server 6.4.1-45 - nginx - ssl (own cert)
on localhost port 88 server runs charmly good

only on ssl i can connect to example ssl is good - but if i open any docs

error: first: yellow : the document couldnt be opened - contact admin -
error: second: red: Download fail
so i press ok back to example page

further it gives logical troubles to nextcloud:
couldn’t download doc from docserver to be converted…6.4.1-45
so nextcloud find docserver - secret is done also

where is the hint i can’t see - with ssl connection no download?
thanks for helping me out

Browser Firefox v92 - linux
OS: Ubuntu 20.04
place of install: /var/www/onlyoffice
my ds.conf of nginx is:

include /etc/nginx/includes/http-common.conf;
server {
listen 0.0.0.0:88;
listen [::]:88 default_server;
listen 0.0.0.0:6443 ssl http2 default_server;
listen [::]:6443 ssl http2 default_server;
server_tokens off;
ssl_certificate /path/to.crt;
ssl_certificate_key /path/to.key;
ssl_verify_client off;

ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_session_cache builtin:1000 shared:SSL:10m;

ssl_prefer_server_ciphers on;
add_header Strict-Transport-Security max-age=31536000;
add_header X-Content-Type-Options nosniff;

include /etc/nginx/includes/ds-*.conf;

}


juergen@juergen:~$ sudo systemctl status nginx.service
● nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2021-10-01 02:55:16 CEST; 19min ago
Docs: man:nginx(8)
Process: 45863 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Process: 45864 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited, status=0/SUCCESS)
Main PID: 45865 (nginx)
Tasks: 9 (limit: 38438)
Memory: 19.6M
CGroup: /system.slice/nginx.service
├─45865 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;
├─45866 nginx: worker process
├─45867 nginx: worker process
├─45868 nginx: worker process
├─45869 nginx: worker process
├─45870 nginx: worker process
├─45871 nginx: worker process
├─45872 nginx: worker process
└─45873 nginx: worker process

Okt 01 02:55:16 juergen systemd[1]: Starting A high performance web server and a reverse proxy server…
Okt 01 02:55:16 juergen systemd[1]: Started A high performance web server and a reverse proxy server.
juergen@juergen:~$
proxyok

Ports open:
|5432|PostgreSQL|
|5672|RabbitMQ|
|8000|DocService|
|8080|Spellchecker|
|6443|ssl|
|88|http|

Greetings!

Please provide us with all the logs located in the following directory (depending on the Installation type of your Document Server(DS) )

/var/log/onlyoffice/documentserver/ (Linux/Docker - inside the Document Server Docker container)
/var/log/onlyoffice/documentserver/ (Linux/DEB/RPM - on your host machine)

Also - please specify the exact method/guide you used to install your ONLYOFFICE DS and to switch it to HTTPS.

Best regards.

Hello Viktor - thx for answer

Sry had to split in 4 posts because of only 2 links allowed in one post
:slight_smile:

Processing: nginx.error.log…
here is my error-log for download: Nextcloud

First i installed Postgresgl - created databank - created user with password - privileges

→ sudo -i -u postgres psql -c “CREATE DATABASE onlyoffice;”
→ sudo -i -u postgres psql -c “CREATE USER onlyoffice WITH password ‘onlyoffice’;”
→ sudo -i -u postgres psql -c “GRANT ALL privileges ON DATABASE onlyoffice TO onlyoffice;”

→ sudo apt-get install nginx-extras

#lead ports by default

Add GPG key:
→ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys CB2DE8E5

→ echo “deb https://download.onlyoffice.com/repo/debian squeeze main” | sudo tee /etc/apt/sources.list.d/onlyoffice.list

→ sudo apt-get install ttf-mscorefonts-installer
→ sudo apt-get install onlyoffice-documentserver

after entering password
some error appears …
so i rebooted and installed:
→ sudo apt install redis-server rabbitmq-server nginx-extras gnupg2
→ sudo apt update / upgrade
→ sudo sudo apt-get reinstall onlyoffice-documentserver

installed sucessfully!
reboot

open Ports on Ubuntu and Router

so i went to page :
Switching ONLYOFFICE Docs to HTTPS protocol - ONLYOFFICE
to changing ssl

→ sudo service nginx stop

->looked at
/etc/onlyoffice/documentserver/nginx/ds-ssl.conf

and did the config in
/etc/onlyoffice/documentserver/nginx/ds.conf (first post - config at this time running)
→ changed ports and paths to ssl (tried a little bit with configs to get it running)
→ restarted

→ (tried to split server local:88 and ssl:6443 - but then i got the local - page Server is runnung with a green ok (no example)

→ at ssl 6443 the example page)
with this config i got example page at localhost:88 where i can do everthing with docs and server

at ssl → only example page on https://DDNS:6443 with verified ssl :good:
but if i open docs/any included opening uploaded docs error appears.

best regards
Jürgen

this was the splitted config i wrote one post before:

#server is runnig page with green ok in the middle of site no example

include /etc/nginx/includes/http-common.conf;
server {
listen 0.0.0.0:88;
listen [::]:88 default_server;
server_tokens off;

include /etc/nginx/includes/ds-common.conf;
include /etc/nginx/includes/ds-docservice.conf;
}

#server with example page to start but errors opening docs

server {
listen 0.0.0.0:6443 ssl http2 default_server;
listen [::]:6443 ssl http2 default_server;
server_tokens off;
ssl_certificate /path/to/my.crt;
ssl_certificate_key /path/to/my.key;
ssl_verify_client off;

ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_session_cache builtin:1000 shared:SSL:10m;

ssl_prefer_server_ciphers on;
add_header Strict-Transport-Security max-age=31536000;
add_header X-Content-Type-Options nosniff;

include /etc/nginx/includes/ds-*.conf;

}

Hello,
We require full requested log folder to analyze the issue, not just nginx log.
Please reproduce the issue and provide a full log folder.