Hey Guys,
I keep struggling with installing the OwnCloud App:
The setup:
- Univention 4.4-2
- Let’s Encrypt
- Owncloud 10.2.1-1 (installation worked without warnings)
- Server works behind a router (FritzBox), only Port 443 is open, https is forced
The problem:
I reach the UMC without any problem via https. After opening the Owncloud App I see the following:
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /owncloud.
Reason: Error reading from remote server
Apache/2.4.25 (Univention) Server at kkserver.selfhost.eu Port 443
According to this topic I enabled the firewall with root@owncloudsrv:~# ucr set security/packetfilter/disabled='no'
and reinstalled the app without success.
Then I checked the logs of the app and found the following:
Waiting for MySQL...
wait-for-it: waiting 180 seconds for 172.17.42.1:3306
wait-for-it: timeout occurred after waiting 180 seconds for 172.17.42.1:3306
Creating volume folders...
Creating hook folders...
Waiting for MySQL...
wait-for-it: waiting 180 seconds for 172.17.42.1:3306
So OwnCloud is not able to reach the MySQL Database. According to this topic I checked if MySQL listens to 3306 and the result was
Administrator@ucs:~$ sudo lsof -PniTCP:3306 -sTCP:LISTEN
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
mysqld 5954 mysql 17u IPv4 1976045 0t0 TCP *:3306 (LISTEN)
This looks quite fine for me. Someone has an idea what I may have done wrong? Do I miss something? Do I have to activate the firewall of the Univention Server after enabling it? Do I have to open the Port 3306 in the Univention firewall?
Edit: A new installation with the new ISO Image solved the problem.