ONLYOFFICE / Docker-CommunityServer

Collaborative system for managing documents, projects, customer relations and emails in one place
MIT License
477 stars 177 forks source link

Community Server - Docker Compose not creating MySQL properly. #59

Open Quin452 opened 5 years ago

Quin452 commented 5 years ago

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.

alexanderonlyoffice commented 5 years ago

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
Quin452 commented 5 years ago

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.

alexanderonlyoffice commented 5 years ago

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.

Quin452 commented 5 years ago

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.