Good Morning, I am trying to get onlyoffice to work with nextcloud, and struggling a bit…
I followed the installation steps on wiki, and installed documentserver 5.07, and its running on the port 8082, but I keep getting the following message when trying to open a document. PDF files open just fine.
I even tried the re-install option and then recreated the database, but with same results. Any ideas?
Internal Server Error
The server was unable to complete your request.
If this happens again, please send the technical details below to the server administrator.
Do these symbolic links exist? If not please try another reinstallation:
I saw you already use Letsencrypt cert and FQDN. Then you may just try to update to a newer documentserver (tested until 5.1.1) version. I saw there’s a new version 5.1.2 available, I have to test it. Seems onlyoffice releases quite often.
Thank you very much for this motivating feedback!
This error usually occurs only once because documentserver depends on nginx and default nginx wants to listen on port 80 where apache already listens. With nethserver-nginx, which is required by nethserver-onlyoffice, this error gets fixed.
As you wrote that the documentserver is running (I assume you can see the documentserver page on port 8082) we can ignore this nginx error.
This seems to be an old log. Newest entry is from Apr 17 14:15:21.
Did you open port 8082 to the public? I tried to reach your documentserver without success. And you have to use FQDN from version 5.1.0 on, even if internal.
EDIT:
I tried to open your onlyoffice-http.conf file and got the “Internal server error” too.
text files are not opened by onlyoffice by default (or did you set txt files too?) so maybe there’s some error in the Nextcloud config.
Starting Nmap 6.40 ( http://nmap.org ) at 2018-04-24 15:09 CEST
Nmap scan report for vmakol.com (217.71.195.125)
Host is up (490s latency).
rDNS record for 217.71.195.125: 125.195.71.217.wimax.clients.aeromax.es
PORT STATE SERVICE
8082/tcp open blackice-alerts
Starting Nmap 6.40 ( http://nmap.org ) at 2018-04-24 15:30 CEST
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
RTTVAR has grown to over 2.3 seconds, decreasing to 2.0
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00037s latency).
Not shown: 986 closed ports
PORT STATE SERVICE
22/tcp open ssh
25/tcp open smtp
53/tcp open domain
80/tcp open http
111/tcp open rpcbind
443/tcp open https
3128/tcp open squid-http
3306/tcp open mysql
5432/tcp open postgresql
8000/tcp open http-alt
8009/tcp open ajp13
8080/tcp open http-proxy
8082/tcp open blackice-alerts
9001/tcp open tor-orport
Device type: general purpose
Running: Linux 3.X
OS CPE: cpe:/o:linux:linux_kernel:3
OS details: Linux 3.7 - 3.9
Network Distance: 0 hops
I tried but that is causing other services to fail.
Task completed with errors
Adjust service nginx #45 (exit status 1)
restart service nginx failed!
Adjust service nginx #208 (exit status 1)
restart service nginx failed!
Adjust service nginx #312 (exit status 1)
failed
And now when I change it back to the original, I am still getting the errors.
Task completed with errors
Adjust service nginx #45 (exit status 1)
restart service nginx failed!
Adjust service nginx #208 (exit status 1)
restart service nginx failed!
Adjust service nginx #312 (exit status 1)
failed