Mailinglist Archive: opensuse-buildservice (351 mails)

< Previous Next >
Re: [opensuse-buildservice] obs-api-0.9.99-3.1.noarch.rpm missing files /srv/www/docs !!!
  • From: Christian <chris@xxxxxxxxxxxxxxxx>
  • Date: Mon, 07 Jul 2008 09:21:22 +0000
  • Message-id: <4871E012.3040806@xxxxxxxxxxxxxxxx>
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@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >