Try the fastest and simplest way to install ONLYOFFICE

Cant get https to work, http works fine.

Questions/problems on Docker

Cant get https to work, http works fine.

Postby relink » Sun Apr 30, 2017 5:31 am

After several days of trial and error I finally managed to get OnlyOffice Community Edition installed and running in my Ubuntu 17.04 VM. I used the installation method at http://helpcenter.onlyoffice.com/server/docker/opensource/opensource-script-installation.aspx to get up and running very easily. I used the method of install without the mail server as I have no need for it.

However now I am trying to be able to connect using https, and I simply cannot get it to work. Keep in mind im a complete noob when it comes to docker.
I followed the instructions at https://helpcenter.onlyoffice.com/server/docker/community/run-using-https.aspx
I created the two files and placed them in
Code: Select all
/app/onlyoffice/CommunityServer/data/certs/

I then tried running the command
Code: Select all
sudo docker run -i -t -d -p 80:80  -p 443:443 \
    -v /app/onlyoffice/CommunityServer/data:/var/www/onlyoffice/Data  onlyoffice/communityserver

and I ended up with an error
Code: Select all
Bind for 0.0.0.0:443 failed: port is already allocated


I already tried researching this issue myself, however any command to see running containers (this SHOULD be the only one btw), mapped ports, etc, etc all essentially say that docker isnt installed...Whats weird is that im using onlyoffice right now, this second...its running fine. Just no https. :(
relink
 
Posts: 25
Joined: Wed May 13, 2015 12:33 pm

Re: Cant get https to work, http works fine.

Postby relink » Sun Apr 30, 2017 2:20 pm

After some more research I found the two guides linked to below;
https://helpcenter.onlyoffice.com/serve ... https.aspx
https://helpcenter.onlyoffice.com/serve ... https.aspx

However I do not know what some of the options are, or what to set them too?
relink
 
Posts: 25
Joined: Wed May 13, 2015 12:33 pm

Re: Cant get https to work, http works fine.

Postby relink » Sun Apr 30, 2017 6:00 pm

I think I seem to have gotten it working, but I dont actually know how. all I know is when I type in the address to my portal it automatically says "https://" in the address bar...It says in big red letters "Not Secure" (Google Chrome), but I assume this is just because its a self-signed cert correct?

I am also able to use the iOS app just fine, but for some reason I cannot use the desktop editors. It just keeps saying "Check the portal name" any idea what I can do?

Lastly Onlyoffice community edition doesnt seem to be starting on boot on my server, I have to go in via VNC and start it from the terminal after a reboot.
relink
 
Posts: 25
Joined: Wed May 13, 2015 12:33 pm

Re: Cant get https to work, http works fine.

Postby relink » Mon May 01, 2017 10:01 am

Started over using Ubuntu Server 16.04 as a base and I now have it working fine, except I cant connect to the Desktop Editors, but ill post that in a new thread.
relink
 
Posts: 25
Joined: Wed May 13, 2015 12:33 pm

Re: Cant get https to work, http works fine.

Postby Maxim » Tue May 02, 2017 6:17 am

Hello relink!
...post that in a new thread

See here
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm


Return to Docker Version

Who is online

Users browsing this forum: No registered users and 1 guest

cron