[opensuse-buildservice] OBS on 12.2 / http 500 errors
Hi everybody, I did the stupid thing of updating my box running OBS from 12.1 to 12.2... only to find out: there are no OBS packages for 12.2 :( So, stupidly / bravely, I added openSUSE:Tools:Unstable in place; updated OBS. Changed the entire config to use apache instead of lighttpd, changed a bunch of .osc/_apiurl files (the default is now to use https:// so I followed that). osc ls / osc co seems to work just fine... which is good. I have a few things 'left' to be fixed: - OBS WEbui does not log me in (credentials are confirmed to work using osc) - I can't checkin changes, get a HTTP Error 500 (and I don't seem to find the log file telling me more than 'Error 500'). Any pointers on where I should look, things that are known to cause issues like this? Best regards, Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Donnerstag, 18. Oktober 2012, 14:49:54 schrieb Dominique Leuenberger a.k.a DimStar:
Hi everybody,
I did the stupid thing of updating my box running OBS from 12.1 to 12.2... only to find out: there are no OBS packages for 12.2 :(
So, stupidly / bravely, I added openSUSE:Tools:Unstable in place; updated OBS. Changed the entire config to use apache instead of lighttpd, changed a bunch of .osc/_apiurl files (the default is now to use https:// so I followed that).
osc ls / osc co seems to work just fine... which is good. I have a few things 'left' to be fixed: - OBS WEbui does not log me in (credentials are confirmed to work using osc) - I can't checkin changes, get a HTTP Error 500 (and I don't seem to find the log file telling me more than 'Error 500').
Any pointers on where I should look, things that are known to cause issues like this?
first thing would be log/production.log of api server and the /srv/obs/log/srcserver.log files. -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Quoting Adrian Schröter <adrian@suse.de>:
Am Donnerstag, 18. Oktober 2012, 14:49:54 schrieb Dominique Leuenberger a.k.a DimStar:
Hi everybody,
I did the stupid thing of updating my box running OBS from 12.1 to 12.2... only to find out: there are no OBS packages for 12.2 :(
So, stupidly / bravely, I added openSUSE:Tools:Unstable in place; updated OBS. Changed the entire config to use apache instead of lighttpd, changed a bunch of .osc/_apiurl files (the default is now to use https:// so I followed that).
osc ls / osc co seems to work just fine... which is good. I have a few things 'left' to be fixed: - OBS WEbui does not log me in (credentials are confirmed to work using osc) - I can't checkin changes, get a HTTP Error 500 (and I don't seem to find the log file telling me more than 'Error 500').
Any pointers on where I should look, things that are known to cause issues like this?
first thing would be log/production.log of api server and the /srv/obs/log/srcserver.log files.
/srv/www/obs/api/log/production.log does not give ANY line while trying to checkin. apache_access.log shows: 192.168.163.161 - - [18/Oct/2012:15:54:32 +0200] "POST /source/SuSE/vlc?comment=fix&cmd=commitfilelist&user=dimstar HTTP/1.1" 500 17373 /srv/obs/log/src_server.log gives a useless: 2012-10-18 15:52:32 [28261]: GET /source/SuSE/vlc?rev=latest 2012-10-18 15:52:33 [28262]: POST /source/SuSE/vlc?cmd=getprojectservices 2012-10-18 15:52:34 [28263]: POST /source/SuSE/vlc?cmd=commitfilelist&user=dimstar&comment=fix Best regards, Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Donnerstag, 18. Oktober 2012, 16:01:52 schrieb Dominique Leuenberger a.k.a DimStar:
Quoting Adrian Schröter <adrian@suse.de>:
Am Donnerstag, 18. Oktober 2012, 14:49:54 schrieb Dominique Leuenberger a.k.a DimStar:
Hi everybody,
I did the stupid thing of updating my box running OBS from 12.1 to 12.2... only to find out: there are no OBS packages for 12.2 :(
So, stupidly / bravely, I added openSUSE:Tools:Unstable in place; updated OBS. Changed the entire config to use apache instead of lighttpd, changed a bunch of .osc/_apiurl files (the default is now to use https:// so I followed that).
osc ls / osc co seems to work just fine... which is good. I have a few things 'left' to be fixed: - OBS WEbui does not log me in (credentials are confirmed to work using osc) - I can't checkin changes, get a HTTP Error 500 (and I don't seem to find the log file telling me more than 'Error 500').
Any pointers on where I should look, things that are known to cause issues like this?
first thing would be log/production.log of api server and the /srv/obs/log/srcserver.log files.
/srv/www/obs/api/log/production.log does not give ANY line while trying to checkin.
You may run in development mode then? check development.log. Also trying to run a local console might help to find some dependency problem: RAILS_ENV=production rails-3_2 c
apache_access.log shows: 192.168.163.161 - - [18/Oct/2012:15:54:32 +0200] "POST /source/SuSE/vlc?comment=fix&cmd=commitfilelist&user=dimstar HTTP/1.1" 500 17373
/srv/obs/log/src_server.log gives a useless: 2012-10-18 15:52:32 [28261]: GET /source/SuSE/vlc?rev=latest 2012-10-18 15:52:33 [28262]: POST /source/SuSE/vlc?cmd=getprojectservices 2012-10-18 15:52:34 [28263]: POST /source/SuSE/vlc?cmd=commitfilelist&user=dimstar&comment=fix
Best regards, Dominique -- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Quoting Adrian Schröter <adrian@suse.de>:
Am Donnerstag, 18. Oktober 2012, 16:01:52 schrieb Dominique
/srv/www/obs/api/log/production.log does not give ANY line while trying to checkin.
You may run in development mode then? check development.log.
development.log is not touched since May...
Also trying to run a local console might help to find some dependency problem:
RAILS_ENV=production rails-3_2 c
# RAILS_ENV=production rails-3_2 c You did not specify how you would like Rails to report deprecation notices for your production environment, please set config.active_support.deprecation to :notify at config/environments/production.rb Loading production environment (Rails 3.2.8) irb(main):001:0> Seems to start up correctly. After restarting apache, I no longer get a 500 error, but I'm now on 400 error code :( -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Quoting Adrian Schröter <adrian@suse.de>:
You may run in development mode then? check development.log.
Also trying to run a local console might help to find some dependency problem:
RAILS_ENV=production rails-3_2 c
A lot of debugging more (Thanks Darix!) it seems a lot like the DB schema is a bit corrupted. I saw that db:migrate doesn't complete... first issues were in 20110728072502_create_issue_trackers (a quick patch from darix fixed that). Currently I run into undefined method `issues_updated' for #<IssueTracker:0x0000000296a300> Not really sure why the DB migrations causes so many issues here :( (The upgrade was from a 2.1 to 2.3.91 system.. so the 'long' upgrade path makes sense... if it'd work) Best regards, Dominique -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Adrian Schröter
-
Dominique Leuenberger a.k.a DimStar