after some troubles, and tipps from the forum, i successfully updated my owncloud 8.2 to 9.0 and than to 9.1.
But now i get the following 502 error when i try to access it:
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.2.22 (Univention) Server at owncloudsrv Port 80
Where should i search for log files with the new dockerized owncloud app?
Anyone had similar problems?
# dpkg -l|grep apache
ii apache2-mpm-prefork 2.2.22-13.101.201609281005 amd64 Apache HTTP Server - traditional non-threaded model
ii apache2-utils 2.2.22-13.101.201609281005 amd64 utility programs for webservers
ii apache2.2-bin 2.2.22-13.101.201609281005 amd64 Apache HTTP Server common binary files
ii apache2.2-common 2.2.22-13.101.201609281005 amd64 Apache HTTP Server common files
rc libapache2-mod-php5 5.4.45-0.235.201611171529 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii libapache2-mod-php7.0
The current system state is not clear to me, so lets start with some basics. What is currently installed on the UCS host? That would be the output of univention-app info
Its not an error that the docker image for the owncloud app is not downloaded again upon reinstalling the app, the base image is present on the UCS host - see the output of docker images
What would probably be helpful is the information in the logfile /var/log/univention/management-console-module-appcenter.log from the time of the app installation
Sorry, i assumed that you reinstalled the app via the UMC App Center module. To capture the installation log from the installation via command line, something like this should create the logfile install.log in the current directory:
univention-app install owncloud82=9.1.4-20170427 2>&1 | tee install.log
The docker container inherits the nameserver settings from the UCS host. That host has to have a nameserver configured, that is capable of resolving UCS domain servers. Set the UCR variable nameserver1 on your UCS host to such a server and retry the installation. The default setting would be the domaincontroller master.
nameserver1 of our owncloudsrv points to 192.168.168.100 the UCS Master.
i still have the question, if there shold be a apache package inside the docker application, cause there isnât any apache package, and in the installer log, you can see that the installer is trying to call âa2enmodâ which retuns ânot foundââŠ
The join of the appbox image failed. The app was therefor never installed, so the correct php and apache2 packages are missing.
First, we have to fix the issue that the docker container cannot join your domain. As SirTux suggested, check the DNS service records. This sdb article contains the default settings that should be present in a UCS domain.
Search DC Master:
**************************************************************************
* Join failed! *
* Contact your system administrator *
**************************************************************************
* Message: missing dns service record for _domaincontroller_master._tcp.domain.local
**************************************************************************
Something went wrong while joining the system
On the owncloud server, where owncloud should be installed i can successfully resolve _domaincontroller_master, and also rejoin the host.
But the Docker Application still says no
Edit1:
my Owncloud docker app isnât even able to communicate with anyone
Somehow the nameserver settings are not correctly applied to the docker container. Please check the nameserver settings inside the container: univention-app shell owncloud82 ucr search --brief {nameserver,forwarder} cat /etc/resolv.conf ping -c 1 $(ucr get nameserver1)