[opensuse-buildservice] internal server error with obs-server
I followed the steps from README.SETUP found in obs-server-0.5-3.1.src.rpm on a fresh 10.3 default kde install. But the docu is either wrong or outdated. The example described in section 6.1 leads to an internal server error. lighthttpd does not log anything, so its not clear whats wrong. # osc -A http://127.0.42.2 meta prj openSUSE:Tools -e <project name="openSUSE:Tools"> <title>Short title of NewProject</title> <description>This project aims at providing some foo and bar. It also does some weird stuff. </description> <person role="maintainer" userid="Admin" /> <!-- remove this block to publish your packages on the mirrors --> <publish> <disable /> </publish> <build> <enable /> </build> <debuginfo> <disable /> </debuginfo> <repository name="openSUSE_10.2"> <path project="openSUSE:10.2" repository="standard"/> <arch>i586</arch> </repository> </project> "/tmp/osc_metafile.13Ck1R.xml" 61L, 1569C geschrieben Sending meta data... Cannot save meta data. Unknown error. HTTP Error 500: Internal Server Error Try again? (yY = Yes - nN = No): Also, something like this should be added to the beginning of the file, just to make it more clear what needs to be installed: .... 0. install the server ===================== Do a openSuSE 10.3 default KDE install, configure the network, mail, ntp, and apply all available update packages. Add the oss (for ruby-fcgi) and openSuSE:Tools repositories: # zypper addrepo -n http://download.opensuse.org/pub/opensuse/distribution/10.3/repo/oss/ openSUSE-10.3-oss # zypper addrepo -n http://download.opensuse.org/pub/opensuse/repositories/openSUSE:/Tools/openS... openSUSE-10.3-Tools # zypper refresh Verify the number of available install sources: # zypper lr It should list openSUSE-10.3-DVD, openSUSE-10.3-Updates and the newly added openSUSE-10.3-Tools. Install the obs sever packages, this will install also all the dependend packages: # zypper install obs-api obs-server obs-worker osc 1. run the backend .... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sun, Jan 20, Olaf Hering wrote:
I followed the steps from README.SETUP found in obs-server-0.5-3.1.src.rpm on a fresh 10.3 default kde install. But the docu is either wrong or outdated.
Installing on a fresh 10.2 does not work either. It has rubygem-rails 1.1.6, but obs-api requires 1.2.3. and the ruby repository is at 1.2.5 since October last year. Wasnt the point of the buildservice that everything gets rebuilt if a dependent package changes? Why was the obs-* stuff not rebuilt against the newer ruby? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-01-21 15:48:29 +0100, Olaf Hering wrote:
On Sun, Jan 20, Olaf Hering wrote:
I followed the steps from README.SETUP found in obs-server-0.5-3.1.src.rpm on a fresh 10.3 default kde install. But the docu is either wrong or outdated.
Installing on a fresh 10.2 does not work either. It has rubygem-rails 1.1.6, but obs-api requires 1.2.3. and the ruby repository is at 1.2.5 since October last year.
Wasnt the point of the buildservice that everything gets rebuilt if a dependent package changes? Why was the obs-* stuff not rebuilt against the newer ruby?
the numbers are not automagically calculated but hardcoded. will commit the new rails packages today and rebuild the obs packages against them. darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 21 January 2008 15:48:29 wrote Olaf Hering:
On Sun, Jan 20, Olaf Hering wrote:
I followed the steps from README.SETUP found in obs-server-0.5-3.1.src.rpm on a fresh 10.3 default kde install. But the docu is either wrong or outdated.
Installing on a fresh 10.2 does not work either. It has rubygem-rails 1.1.6, but obs-api requires 1.2.3. and the ruby repository is at 1.2.5 since October last year.
Wasnt the point of the buildservice that everything gets rebuilt if a dependent package changes? Why was the obs-* stuff not rebuilt against the newer ruby?
ruby is not that compatible that you can simply upgrade. Therefore we deliver the matching ruby packages. It is hardcoded inside of the source. -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Monday 21 January 2008 16:09:00 wrote Adrian Schröter:
On Monday 21 January 2008 15:48:29 wrote Olaf Hering:
On Sun, Jan 20, Olaf Hering wrote:
I followed the steps from README.SETUP found in obs-server-0.5-3.1.src.rpm on a fresh 10.3 default kde install. But the docu is either wrong or outdated.
Installing on a fresh 10.2 does not work either. It has rubygem-rails 1.1.6, but obs-api requires 1.2.3. and the ruby repository is at 1.2.5 since October last year.
Wasnt the point of the buildservice that everything gets rebuilt if a dependent package changes? Why was the obs-* stuff not rebuilt against the newer ruby?
ruby is not that compatible that you can simply upgrade. Therefore we deliver the matching ruby packages. It is hardcoded inside of the source.
This should be "Rails is not that compatible" of course, ruby itself has less issues. But Andreas needs to adapt code changes even on small updates. On the other hand the upgrade to 2.0 seems not to need too much work. -- Adrian Schroeter SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) email: adrian@suse.de --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2008-01-21 16:09:00 +0100, Adrian Schröter wrote:
ruby is not that compatible that you can simply upgrade. Therefore we deliver the matching ruby packages. It is hardcoded inside of the source.
s/ruby/ruby on rails/ darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Sun, Jan 20, Olaf Hering wrote:
# osc -A http://127.0.42.2 meta prj openSUSE:Tools -e
/srv/www/obs/frontend/log/development.log contains this: ... [D|# 4425] Repository Columns (0.001322) SHOW FIELDS FROM repositories [D|# 4425] SQL (0.000680) INSERT INTO repositories (`name`, `db_project_id`) VALUES('openSUSE_10.2', 9) [D|# 4425] PathElement Load (0.000918) SELECT * FROM path_elements WHERE (path_elements.parent_id = 9) [D|# 4425] Repository Load (0.000960) SELECT r.* FROM repositories r LEFT JOIN db_projects p ON p.id = r.db_project_id WHERE p.name = BINARY 'openSUSE:10.2' AND r.name = BINARY 'standard' [D|# 4425] SQL (0.257829) ROLLBACK [F|# 4425] RuntimeError (unable to walk on path 'openSUSE:10.2/standard'): /app/models/db_project.rb:160:in `store_axml' /srv/www/obs/common/lib/activexml/node.rb:308:in `call' /srv/www/obs/common/lib/activexml/node.rb:308:in `method_missing' /usr/lib/ruby/1.8/rexml/element.rb:934:in `each' /usr/lib/ruby/1.8/rexml/xpath.rb:53:in `each' /usr/lib/ruby/1.8/rexml/element.rb:934:in `each' /srv/www/obs/common/lib/activexml/node.rb:306:in `method_missing' /app/models/db_project.rb:157:in `store_axml' /srv/www/obs/common/lib/activexml/node.rb:308:in `call' /srv/www/obs/common/lib/activexml/node.rb:308:in `method_missing' ... what does it mean, how do I fix it? --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
Adrian Schröter
-
Marcus Rueckert
-
Olaf Hering