thank you
Hi everyone,
Yesterday i made a clean install Nethserver + Nextcloud (from Software center) + OnlyOffice + DocumentServer 5.1.4 as per instructions (onlyoffice Wiki).
Despite this, I have always received an error (when I press the Save button in Nextcloud - ONLYOFFICE):
“Command Request on check error: Error while downloading the document file to be converted.”
I spent the whole day trying to solve the problem.
I found a solution this morning. In file default.json (/etc/onlyoffice/documentserver/) I made a simple change (true to false):
“requestDefaults”: {
“headers”: {
“userAgent”: “Node.js/6.13”
},
“rejectUnauthorized”: false
},
I know the problem is in the certificates, but only in this way have I managed to make Onlyoffice to work.
I am a little confused
Hi Zoran,
Yes, you need a valid trusted cert like letsencrypt and you probably need to port forward 8082 from your router to your Nethserver. You have to set your domain too.
Thanks for sharing, this is great for using onlyoffice without valid cert but I am afraid it’s not the best for security.
Thanks Markus,
now I will try to implement the certificates.
Hi Markus @mrmarkuz ,
I installed a new NS instance with NC-13.0.6 and only-office 5.0.7 (selfsigned certs).
I had to install librabbitmq and librabbitmq-tools from puias-unsupported.
I did:
wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64//librabbitmq-0.5.2-1.sdl7.x86_64.rpm
and
wget http://springdale.math.ias.edu/data/puias/unsupported/7/x86_64//librabbitmq-tools-0.5.2-1.sdl7.x86_64.rpm
and then
yum localinstall -y librabbitmq-0.5.2-1.sdl7.x86_64.rpm
yum localinstall -y librabbitmq-tools-0.5.2-1.sdl7.x86_64.rpm
Now onlyoffice in NC 13 on NS 7.5 is running fine:
Maybe you want to update your Howto.
IIRC it’s only a problem with old documentserver needed for self-signed certs, newer documentserver version should just work. It’s because epel changed rabbitmq packages.
Thanx, I’ll update the wiki entry asap.
EDIT: updated.
I found a workaround to install onlyoffice 5.1.x with selfsigned certs.
It’s only a workaround, because it breaks SSL security due to allow connections to unauthorized ssl servers, but it works.
Set services.CoAuthoring.requestDefaults.rejectUnauthorized=false
in /etc/onlyoffice/documentserver/defaults.json
file and restart documentserver serviceis with supervisorctl restart all
.
Got it from: https://github.com/ONLYOFFICE/Docker-DocumentServer/issues/96
I updated the module. Please test it so I can put it to the repo!
- self-signed certificate possible - thanks to @kizotux and @flatspin
- works with ONLYOFFICE-documentserver 5.1.5
To update an existing installation (for a full install follow the wiki except of these two lines):
yum -y install https://github.com/ONLYOFFICE/DocumentServer/releases/download/ONLYOFFICE-DocumentServer-5.1.5/onlyoffice-documentserver.x86_64.rpm
yum -y install https://nethserver.globalcortex.net/mirror/devtest/nethserver-onlyoffice-0.0.1-4.ns7.noarch.rpm
It seems the formats were extended too:
Just saw, that I posted the same solution as you did before. Sorry
I didn’t read this topic exactly enough.
I could have saved half a day of searching if I had done…
Worked here like a charme! Thanks Markus! You are great !
PS: selfsigned certs still work with changing “true” to “false”.
Thanks for testing! For the self-signed certs there’s a db prop now too:
https://wiki.nethserver.org/doku.php?id=onlyoffice#self-signed_certificate
I am afraid of future documentserver updates may change the default.json so I decided to add it.
I tried to get started with Onlyoffice following wiki documentation but using DocumentServer 5.2.3.
The server didn’t start. Quick and ugly fix:
chown onlyoffice:onlyoffice /etc/onlyoffice/documentserver/default.json
supervisorctl restart all
Thanks, I can confirm this, it seems they changed something in 5.2 but I can’t find documentation about it.
I am going to investigate, only found this for the moment, default.json is read-only now and config should be saved in another file:
Here is the changelog, but I can’t find something about it too.
hello, help me.
Some time ago I made my first installation of ONLYOFFICE and everything went wonderfully.
A few days ago I’m trying to do some installations but I can not start the APP.
I have created more virtual machines with Neth 7.5 or 7.6, update, but the result is always the same.
I do as follows:
I install Nethserver 7.5 or 7.6
I install LDAP
I install NEXTCLOUD
I do everything that the WIKI says
This is the result:
test the document server.
Then open NEXTCLOUD
Then try to open file .docx
Did you allow self-signed certs? It’s necessary with newer documentserver versions:
https://wiki.nethserver.org/doku.php?id=onlyoffice&s[]=onlyoffice#self-signed_certificate
Hi, Markus
Tomorrow i’ll try and then… I hope
When I click on a document in nextcloud im getting the error “ONLYOFFICE cannot be reached. Please contact admin” i can access via https://www.mydomain.com:8082 i get the screen says document server running below is my onlyoffice setting in nextcloud