Docker-CommunityServer icon indicating copy to clipboard operation
Docker-CommunityServer copied to clipboard

Community Server - Docker Compose not creating MySQL properly.

Open Quin452 opened this issue 7 years ago • 4 comments

I've followed these steps to the letter, or more precisely, the docker-compose file (literally as is). https://github.com/ONLYOFFICE/Docker-CommunityServer

Now, I get to the "please wait, this will take some time" window, and nothing changes. Actually refreshing or trying again later comes back with many errors, usually MySQL.

First, the user wasn't created, so I did that manually. Then I refreshed, and it said that it couldn't find the database. A restart sorted that out.

But now, the tenants table cannot be found, and there is nothing in the files alluding to them being created. I've been trying to sort this out all month, and I'm not getting anywhere.

Quin452 avatar Dec 30 '18 09:12 Quin452

Hello @Quin452, please try to follow this instruction:

  1. Copy the repository with the command git clone https://github.com/ONLYOFFICE/Docker-CommunityServer.git
  2. Go to directory Docker-CommunityServer
  3. Run docker compose with the command docker-compose -f docker-compose.yml up

alexanderonlyoffice avatar Jan 09 '19 10:01 alexanderonlyoffice

Hello @Quin452, please try to follow this instruction:

  1. Copy the repository with the command git clone https://github.com/ONLYOFFICE/Docker-CommunityServer.git
  2. Go to directory Docker-CommunityServer
  3. Run docker compose with the command docker-compose -f docker-compose.yml up

I've just tried this, completely fresh, and I'm getting the same issues. The "Please wait" page is just sat loading forever. The output from terminal is telling me a lot of errors, especially with access denied for user onlyoffice_mailserver_user.

I refreshed the page, got the usual Runtime Error, and told to edit the CustomErrors thing; probably will lead to the MySQL thing again IMO.

Quin452 avatar Jan 09 '19 13:01 Quin452

Hello @Quin452, unfortunately, we cannot reproduce the described errors on our side, both instructions are working well. We would suggest taking a new clean server and trying to install Community Edition using installation script using Docker. Please follow this link to find the instruction.

alexanderonlyoffice avatar Jan 10 '19 08:01 alexanderonlyoffice

Thanks for the advice, but when nothing else is running, I am getting issues with port 25 already being bound and 443. I've stopped PostFix for 25, but Docker is the one using 443, and I can't use the docker-compose without Docker running.

Update: I've literally tried force killing any processes on 443, and I get the same issue.

Update 2: Trying on a completely new machine, it now says Error 1130 Host is not allowed to connect to this MySQL server.

Quin452 avatar Jan 10 '19 12:01 Quin452