Starting OnlyOffice on AWS

Tech support for Enterprise Version
Post Reply
davekant
Posts: 2
Joined: Sat Sep 15, 2018 12:12 pm

Starting OnlyOffice on AWS

Post by davekant » Sat Sep 15, 2018 1:59 pm

We are using Enterprise OnlyOffice and have setup an EC2 instance in AWS using the provider script
https://helpcenter.onlyoffice.com/serve ... ation.aspx
The portal is working fine, we uploaded our license key, created users and did some editing using the sample documents.

However, we want to run two instances of only office and use an external mysql database that will be shared by the instances.

Whats the recommended approach to do this?

We note that the MySQL database can defined using environment variables.
However, to do that, we need to start the containers using our own startup script attached.

Our script assumes that the standard installation via the provided script has already been executed, and will stop containers, remove them and delete the bridge network.
It then re-creates the network and executes docker run for each of the containers using the -e and -v commands.

When we run this script, the onlyoffice portal is in a perpetual waiting state with the message
"The portal startup process might take sometime, please wait..."

I have attached the steps we performed, and removed all passwords (replaced with xxxxx) for this post.

Can anyone let me know what i'm doing wrong, or whether there are alternative approaches?

Thankyou.
Attachments
start_stop_onlyoffice.txt.zip
startup script we executed for onlyoffice
(1.71 KiB) Downloaded 36 times

Maxim
Posts: 2017
Joined: Tue Oct 11, 2016 2:34 pm

Re: Starting OnlyOffice on AWS

Post by Maxim » Thu Dec 20, 2018 10:30 am

Hello davekant!
When we run this script, the onlyoffice portal is in a perpetual waiting state with the message
"The portal startup process might take sometime, please wait..."
Looks like it cannot connect to the MySQL database.

Post Reply