Another try installing ownCloud... failed!

Steps to reproduce

  1. Downloaded yesterday (12th May 2018) Ubuntu Server 16.04 LTS 64b
  2. Fresh Install Ubuntu 16.04 LTS Server 64b
  3. Installed Ubuntu-Desktop
  4. Installed Docker Server
  5. Docker Server Post Install Steps
  6. Installed Docker Compose
  7. Tried to install ownCloud docker WITHOUT ANY CHANGES OR MODS only following what is available in https://doc.owncloud.org/server/10.0/admin_manual/installation/docker/

Expected behaviour

Having a running ownCloud server

Actual behaviour

Here is the print from my terminal

...
Status: Downloaded newer image for owncloud/server:10.0
Creating owncloud-docker-server_redis_1 ... done
Creating owncloud-docker-server_db_1 ... done
Creating owncloud-docker-server_owncloud_1 ... error

ERROR: for owncloud-docker-server_owncloud_1 Cannot start service owncloud: driver failed programming external connectivity on endpoint owncloud-docker-server_owncloud_1 (7e27def1a71e967fe1be8addc6a5e12b57b08cd907d2e88a731546bad908b1d6): Error starting userland proxy: listen tcp 0.0.0.0:80: listen: address already in use

ERROR: for owncloud Cannot start service owncloud: driver failed programming external connectivity on endpoint owncloud-docker-server_owncloud_1 (7e27def1a71e967fe1be8addc6a5e12b57b08cd907d2e88a731546bad908b1d6): Error starting userland proxy: listen tcp 0.0.0.0:80: listen: address already in use
ERROR: Encountered errors while bringing up the project.

Server configuration

Operating system: Ubuntu Server 16.04 LTS 64b
Web server: Apache 2.4.18
Database: MySQL 5.7.22-0ubuntu0.16.04.1 (Ubuntu)
PHP version: 7.0.28-0ubuntu0.16.04.1 (cli) ( NTS )
ownCloud version: (see ownCloud admin page) 10.0.8 (I think, just followed online installation procedure)
Updated from an older ownCloud or fresh install: NO
Where did you install ownCloud from: (own computer)
Signing status (ownCloud 9.0 and above): n.a.

`
At this point this is as much info as I can get.
Can you help me?
Thanks in advance.
PS: This is after many many manual installation attempts. That always failed when I got to the https configuration and never got it back to work again. BTW loads of assumptions are taken regarding that approach and it's quite a hard learning curve... :frowning:

Since the error said "listen tcp 0.0.0.0:80: listen: address already in use" you should start with looking for the app which uses this address e.g. sudo netstat -peanut|grep ":80"

Here is the result, but I think it's logical...

$ sudo netstat -peanut|grep ":80"
[sudo] password for aabfm:
tcp6 0 0 :::80 :::* LISTEN 0 20943 1531/apache2

Just update the HTTP and HTTPS ports within the .env file to use a different port for owncloud. It’s configurable for exactly cases like that.

This issue isn’t really related to owncloud, you just got already an Apache running on the host that already uses port 80 and possibly 443.