Installation failure

Issues during installation and related to database
Post Reply
bas
Posts: 6
Joined: Tue Jul 28, 2020 8:50 pm

Installation failure

Post by bas » Tue Jul 28, 2020 9:15 pm

Hi,

If I try an installation with docker-compose

Code: Select all

wget https://raw.githubusercontent.com/ONLYOFFICE/Docker-CommunityServer/master/docker-compose.yml
docker-compose up -d 
and I look at subdomain.domain.tld in the browser, the page is spinning forever.

If i run the script:

Code: Select all

wget http://download.onlyoffice.com/install/opensource-install.sh
bash opensource-install.sh -md subdomain.domain.tld
It works like a charm ...
How can I install with docker-compose ?

bas
Posts: 6
Joined: Tue Jul 28, 2020 8:50 pm

Re: Installation failure

Post by bas » Wed Jul 29, 2020 10:47 pm

Well I changed the webconfig to show the error.
MySqlException.png
MySqlException.png (63.29 KiB) Viewed 50 times
I have no log directory under /app/..

bas
Posts: 6
Joined: Tue Jul 28, 2020 8:50 pm

Re: Installation failure

Post by bas » Thu Jul 30, 2020 12:17 am

I attached the docker log.
dockerlogdata.zip
(6.71 KiB) Downloaded 3 times

bas
Posts: 6
Joined: Tue Jul 28, 2020 8:50 pm

Re: Installation failure

Post by bas » Thu Jul 30, 2020 12:51 am

When I look at the web.log I see an authentication failure:

2020-07-29 22:11:34,357 ERROR [5] ASC.Resources - Can not get resource from CalendarAddonResource.resx for en: GetString(AddonName), MySql.Data.MySqlClient.MySqlException (0x80004005): Authentication to host 'onlyoffice-mysql-server' for user 'onlyoffice_user' using method 'mysql_native_password' failed with message: Access denied for user 'onlyoffice_user'@'onlyoffice-community-server.onlyoffice_onlyoffice' (using password: YES) ---> MySql.Data.MySqlClient.MySqlException (0x80004005): Access denied for user 'onlyoffice_user'@'onlyoffice-community-server.onlyoffice_onlyoffice' (using password: YES)
at MySql.Data.MySqlClient.MySqlStream.ReadPacket () [0x00096] in <4f93ec5cee7d499da6a85a364813afe3>:0
at MySql.Data.MySqlClient.NativeDriver.ReadPacket () [0x00000] in <4f93ec5cee7d499da6a85a364813afe3>:0
at MySql.Data.MySqlClient.Authentication.MySqlAuthenticationPlugin.ReadPacket () [0x00000] in <4f93ec5cee7d499da6a85a364813afe3>:0

nginx.error.log gives:

020/07/29 22:00:42 [crit] 1190#1190: *78 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: 172.22.0.1, server: , request: "GET /api/2.0/capabilities.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost", referrer: "http://localhost/"
2020/07/29 22:00:45 [crit] 1190#1190: *78 connect() to unix:/var/run/onlyoffice/onlyoffice.socket failed (2: No such file or directory) while connecting to upstream, client: 172.22.0.1, server: , request: "GET /api/2.0/capabilities.json HTTP/1.1", upstream: "fastcgi://unix:/var/run/onlyoffice/onlyoffice.socket:", host: "localhost", referrer: "http://localhost/"

bas
Posts: 6
Joined: Tue Jul 28, 2020 8:50 pm

Re: Installation failure

Post by bas » Thu Jul 30, 2020 2:27 am

Well ...

Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 3120
Server version: 5.7.21 MySQL Community Server (GPL)

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> SHOW DATABASES;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mysql |
| performance_schema |
| sys |
+--------------------+
4 rows in set (0.00 sec)

Post Reply