Hi Adrian, Adrian Schröter schrieb:
On Monday 07 July 2008 10:33:21 Christian wrote:
Hi Adrian,
have a look inside obs-api-0.9.1. I upgraded my local obs to 0.9.99. Then I wanted to create a new package "osc meta pkg -e home:Admin gpg". I could edit the meta information, but after saving it could not be uploaded to api (error 500). I frontent log I found
What does
grep SCHEMA_LOCATION /srv/www/obs/./frontend/config/environments/production_slave.rb
and
grep rails_mode /etc/lighttpd/vhosts.d/obs.conf
say ? I'm using development_base.rb bacause I wasn't able to get production running.
now I changed development_base.rb there still was: APIDOCS_LOCATION = "../../docs/api/html/" SCHEMA_LOCATION = File.expand_path("#{RAILS_ROOT}/../../docs/api/frontend")+"/" now replaced with: APIDOCS_LOCATION = File.expand_path("#{RAILS_ROOT}/public/apidocs/html")+"/" SCHEMA_LOCATION = File.expand_path("#{RAILS_ROOT}/public/schema")+"/" Thank you :) Chris --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org