-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not able to connect with Document Server #166
Comments
@ejgutierrez74, according to the logs Document Server cannot connect to PostgreSQL database: [2019-11-17T17:50:22.199] [ERROR] nodeJS - sqlQuery error sqlCommand: INSERT INTO task_result (id, status, status_info, : The reason is in lack of permissions. Please specify the installation guide you used to deploy Document Server. |
@alexanderonlyoffice I have tested and i have postgres, rabbit and redis active and running.... eduardo@eduardo-VirtualBox:~$ sudo systemctl status rabbitmq-server.service
I hva followed the official tutorial on onlyoffice: https://helpcenter.onlyoffice.com/server/linux/document/linux-installation.aspx Also make self-signed cerftificate using openssl and this guide adpated to ubuntu 18.04: |
orry but actually the github issue is #166 as my first idea was putting all in the same server, i didnt get it to work, so i decided to put NC in one machine and DS in other machine. Just in case to make it clearier i attach a schema/draw: Here more configs ( nginx of both machines) You would find plenty of information of logs in that issue.... any extra things you need....we can continue in that issue if you agree. This is my last post where they told me the problem is in document server side. Obvious i have shut down and boot many times both virtual machines. Wget https://nextcloud.eduardo.com 😉 ( from DS virtual machine who has 192.168.1.51 to NC virtual machine who has 192.168.1.52
Wget https://onlyoffice.eduardo.com 😉 ( from NC virtual machine who has 192.168.1.52 to DS virtual machine who has 192.168.1.51
Wget https://onlyoffice.eduardo.com 😉 ( from NC virtual machine who has 192.168.1.52 to DS virtual machine who has 192.168.1.51 avoid check certificate
Finally my nextcloud.log when trying to connect using onlyoffice app to document server ( tried both 192.168.1.51 and https://onlyoffice.eduardo.com
I upload in the issue of github 166 Thanks |
@ejgutierrez74, please send us all logs of the Document Server, as I do not see them attached to any of your emails to support@onlyoffice.com. The logs are in folder: For Windows installation: C:\Program Files\ONLYOFFICE\DocumentServer\Logs |
Sorry for de delay ive been very busy these days....would you prefer to continue in the github issue page or here ? Note i hope you would notice, but you can read the path to the file in the terminal. For example: Answer to logs:
If you need any more logs just tell me |
@ejgutierrez74, we checked the logs from the very beginning once again. There is a problem of connection between your Document Server and its database - PostgreSQL, there are also problems with RabbitMQ service. I would recommend you to do the full re-installation of the Document Server on clean machine. It is better to use Docker installation, as all the prerequisites are preinstalled inside the container. Please find the installation guide here. There is also a possibility to use Docker compose file for deploying ONLYOFFICE Document Server + Nextcloud without HTTPS on one server using Docker. Please follow this link to find more information. |
Well if you need more information....its possible that other people would have similar problems in Ubuntu 18.04. My Postgres works well. Also tried to install latest version of RabbitMq Service...I can also upload the VM just to make tests.... |
Related to #161
Ive been working in a different approach...Bjut stills doesnt work...
Two different virtual machines in my local computer, ubuntu 18.4. ping between machines works ok. Both using virtualbox on bridge mode.
Document Server 5.4.1
Nextcloud 16.0.4 and now 17.0.1
Both machines using nginx in Ubuntu 18.04
One virtual mahine with Nextcloud 16.0.4 and now updated to 17.0.1, both failing...
Nextcloud works ok, installed and enable Onlyoffice integration app.
Error:
Log level 0 of nextcloud:
eduardo@eduardo-VirtualBox:~$ sudo tail -30 /var/log/nextcloud16.log
[sudo] contraseña para eduardo:
Then i have another virtual machine with Document Server runnig ok, with http and https in localhost self-signed SSL using openssl

Here many logs on Document Server:
https://pastebin.com/qnT1u5eL
I also configured the config.php with
'onlyoffice' => array (
'verify_peer_off' => true
)
Any help would be apreciated.
I ideally would like to have both Document server and nextcloud in same virtual machine as declared in #611
The text was updated successfully, but these errors were encountered: