[opensuse-buildservice] OBS 2.6 private installation: Web UI hangs

Hi all, I just tried to install OBS 2.6 on openSUSE 13.1 (x86-64), but unfortunately a connection to the web interface just hangs. The base system was minimal fresh install of openSUSE 13.1 (x86-64). Then I did zypper in obs-server from http://ftp5.gwdg.de/pub/opensuse/repositories/OBS:/Server:/2.6/openSUSE_13.1... and followed /usr/share/doc/packages/obs-server/README.SETUP to the letter up to and including section 3.2.3 Restart apache2 All the steps went through w/o and error and all the services started up without an error, too. A web connection to http://$hostname/ works fine (I get a directory listing with overview.html.TEMPLATE). So the Apache generally seems to be working. A manual connection from the command line to MySQL/MariaDB as user 'obsapi' works fine, too. When I try the same with HTTPS (https://$hostname/) the connection just hangs, i.e. a white page in the browser. If I terminate the Apache on the OBS the browser immediately says that the URL can't be reached. /var/log/apache2/error_log gives me an error that does seem to occur at startup already: [ 2015-02-23 14:24:55.4588 1520/7f3e471bc700 Pool2/SmartSpawner.h:298 ]: Preloader for /srv/www/obs/api started on PID 1942, listening on unix:/run/passenger/passenger.1.0.1307/generation-1/backends/preloader.nxq3v5 [ 2015-02-23 14:25:19.0460 1487/7f43330c2740 agents/Watchdog/Main.cpp:386 ]: Some Phusion Passenger agent processes did not exit in time, forcefully shutting down all. But I'm not really sure what to make of it. The remaining logs that I discovered (/var/log/apache2/*log /srv/obs/log/*.log /srv/www/obs/api/log/*) didn't get me going either. How can I go about finding out what's wrong? TIA -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Till Dörges <doerges@pre-sense.de> writes:
The base system was minimal fresh install of openSUSE 13.1 (x86-64). Then I did
zypper in obs-server
from
http://ftp5.gwdg.de/pub/opensuse/repositories/OBS:/Server:/2.6/openSUSE_13.1...
I think you need to update the ruby packages from there as well. Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Am 23.02.2015 um 15:12 schrieb Andreas Schwab:
Till Dörges <doerges@pre-sense.de> writes:
The base system was minimal fresh install of openSUSE 13.1 (x86-64). Then I did
zypper in obs-server
from
http://ftp5.gwdg.de/pub/opensuse/repositories/OBS:/Server:/2.6/openSUSE_13.1...
I think you need to update the ruby packages from there as well.
Almost all ruby and rails RPMs are from that repo already, only 6 packages with ruby in the package name are from the standard openSUSE 13.1 repo: box:~ # rpm --query -a --queryformat '%-20{VENDOR}%15{DISTRIBUTION}\t%{NAME}\n' | sort | egrep -i 'rails|ruby' obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 libruby2_1-2_1 obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 ruby-common obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 ruby2.1 obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 ruby2.1-rubygem-actionmailer-4_1 obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 ruby2.1-rubygem-actionpack-4_1 [...] obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 rubygem-passenger obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 rubygem-passenger-apache2 openSUSE openSUSE 13.1 libstorage-ruby openSUSE openSUSE 13.1 ruby openSUSE openSUSE 13.1 ruby20 openSUSE openSUSE 13.1 rubygem-fast_gettext openSUSE openSUSE 13.1 rubygem-ruby-dbus openSUSE openSUSE 13.1 yast2-ruby-bindings Shall I try to remove the ruby20 RPMs? Regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org

Check /etc/sysconfig/apache2 to make sure you're loading the SSL module. It should add a "Listen" for 443 if that's loading successfully. You will also want to look in /srv/www/obs/api/log/production.log (I think that's the name and path -- this is from memory) to see if there's anything useful in there. -Matt On Mon, 2015-02-23 at 15:45 +0100, Till Dörges wrote:
Am 23.02.2015 um 15:12 schrieb Andreas Schwab:
Till Dörges <doerges@pre-sense.de> writes:
The base system was minimal fresh install of openSUSE 13.1 (x86-64). Then I did
zypper in obs-server
from
http://ftp5.gwdg.de/pub/opensuse/repositories/OBS:/Server:/2.6/openSUSE_13.1...
I think you need to update the ruby packages from there as well.
Almost all ruby and rails RPMs are from that repo already, only 6 packages with ruby in the package name are from the standard openSUSE 13.1 repo:
box:~ # rpm --query -a --queryformat '%-20{VENDOR}%15{DISTRIBUTION}\t%{NAME}\n' | sort | egrep -i 'rails|ruby' obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 libruby2_1-2_1 obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 ruby-common obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 ruby2.1 obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 ruby2.1-rubygem-actionmailer-4_1 obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 ruby2.1-rubygem-actionpack-4_1 [...] obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 rubygem-passenger obs://build.opensuse.org/OBSOBS:Server:2.6 / openSUSE_13.1 rubygem-passenger-apache2 openSUSE openSUSE 13.1 libstorage-ruby openSUSE openSUSE 13.1 ruby openSUSE openSUSE 13.1 ruby20 openSUSE openSUSE 13.1 rubygem-fast_gettext openSUSE openSUSE 13.1 rubygem-ruby-dbus openSUSE openSUSE 13.1 yast2-ruby-bindings
Shall I try to remove the ruby20 RPMs?
Regards -- Till
Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024

Hi all, thanks for your replies. Am 23.02.2015 um 19:20 schrieb Matthew Drobnak:
Check /etc/sysconfig/apache2 to make sure you're loading the SSL module. It should add a "Listen" for 443 if that's loading successfully.
SSL was working (my client was presented a certificate by the server).
You will also want to look in /srv/www/obs/api/log/production.log (I think that's the name and path -- this is from memory) to see if there's anything useful in there.
The file exists, but it didn't contain anything useful (for me). I did get it working by simply trying again with a fresh install. This time I followed /usr/share/doc/packages/obs-server/README.md (instead of /usr/share/doc/packages/obs-server/README.SETUP which I tried twice, too). A bit odd... Regards -- Till -- Dipl.-Inform. Till Dörges doerges@pre-sense.de Tel. +49 - 40 - 244 2407 - 14 Fax +49 - 40 - 244 2407 - 24 PRESENSE Technologies GmbH Sachsenstr. 5, D-20097 HH Geschäftsführer/Managing Directors AG Hamburg, HRB 107844 Till Dörges, Jürgen Sander USt-IdNr.: DE263765024 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (3)
-
Andreas Schwab
-
Matthew Drobnak
-
Till Dörges