Try the fastest and simplest way to install ONLYOFFICE

Uploading and converting .doc and .xls

Uploading and converting .doc and .xls

Postby yanuk » Wed Jun 14, 2017 10:33 am

I am running onlyoffice on Ubuntu with onlyoffice CS and DS in docker.

I am connected to the server via https

When I upload a .doc or .xls file, onlyoffice tries to convert the file but I get this error.
Error occurred in the Documents Service (Error: ConnectFailure (Connection refused))

Image

The file is uploaded properly and the other functions seem to operate well. Editing XLSX and DOCX files work well.
yanuk
 
Posts: 5
Joined: Thu Jun 08, 2017 2:27 am

Re: Uploading and converting .doc and .xls

Postby Maxim » Wed Jun 14, 2017 1:14 pm

Hello yanuk!
Community Server cannot connect to the Document Conversion Service Address for some reason. Try next
1 Reboot containers
2 In Settings -> Document Service -> Document Conversion Service Address you'll find
Code: Select all
http://onlyoffice-document-server/ConvertService.ashx

Put IP address of document serves' container instaed of onlyoffice-document-server, smth. like
Code: Select all
http://10.0.7.2/ConvertService.ashx

You will point Community Server how to connect to the Document Server.
3 Reinstall containers.
Maxim
 
Posts: 1229
Joined: Tue Oct 11, 2016 2:34 pm

Re: Uploading and converting .doc and .xls

Postby yanuk » Wed Jun 14, 2017 1:41 pm

coo! #2 did it for me.

I was determined to have a more elegant solution in case the container IPs change in future; I stopped the containers, deleted the bridging network, recreated the network, started the containers again and it stopped working again.

I realised that the settings defaulted to HTTPS

Image

I changed HTTPS to HTTP and it's all good now permanently!

Great stuff!
yanuk
 
Posts: 5
Joined: Thu Jun 08, 2017 2:27 am

Re: Uploading and converting .doc and .xls

Postby Maxim » Thu Jun 15, 2017 6:08 am

Hello yanuk!
I hope you enjoy Onlyoffice ;)
Maxim
 
Posts: 1229
Joined: Tue Oct 11, 2016 2:34 pm


Return to Miscellaneous

Who is online

Users browsing this forum: No registered users and 1 guest