Am Mittwoch, 2. September 2009 10:40:37 schrieb 李建:
Hi, guys!
I've much question on setup obs on my localhost. :-)
Do you have configure the api server in the web server config ? /srv/www/obs/webclient/config/environments/production_slave.rb bye adrian
my obs.conf is : ----------------------------------------- 1 $HTTP["host"] =~ "172.16.70.30\.?" { 2 rails_app = "webclient" 3 rails_root = "/srv/www/obs/webclient" 4 rails_procs = 5 5 # production/development are typical values here 6 rails_mode = "production_slave" 7 8 log_root = "/srv/www/obs/webclient/log" 9 10 include "vhosts.d/rails.inc" 11 } 12 $SERVER["socket"] == "172.16.70.30:81\.?" { 13 rails_app = "frontend" 14 rails_root = "/srv/www/obs/frontend" 15 rails_procs = 5 16 # production/development are typical values here 17 rails_mode = "production_slave" 18 19 log_root = "/srv/www/obs/frontend/log" 20 21 include "vhosts.d/rails.inc" 22 } ... ===============================
When I install obs pkgs, and configure database, initialed db. I access http://172.16.70.30 which is my webclient ip, and created project.
first, i clicked "Create New Project", the webclient convert to http://172.16.70.30/project/new
second, I write some info and clicked "Creat Project",
third, the webclient convert to url -- http://172.16.70.30/project/save_new, then get errors: ----------------------------------------------- OpenSUSE Webclient Error:
Error Details: Errorcode: unknown Message: execution expired
Exception from Webclient: Timeout::Error: execution expired Stack Trace:
/usr/lib/ruby/1.8/timeout.rb:54:in `rbuf_fill' /usr/lib/ruby/1.8/timeout.rb:56:in `timeout' /usr/lib/ruby/1.8/timeout.rb:76:in `timeout' /usr/lib/ruby/1.8/net/protocol.rb:132:in `rbuf_fill' .... ==================================
But, the project I created just now have created successed already ! ------------------------------------------------- # cat /srv/obs/projects/GTES\:11.3.xml <project name="GTES:11.3"> <title>GTES 11.3 test environment</title> <description>GTES 11.3 test enviroment, at 172.16.70.30 host!
-- Jian Lee</description> <person role="maintainer" userid="Admin" /> <person role="bugowner" userid="Admin" /> <person role="maintainer" userid="Admin" /> </project> ================================
but when i logout and login with "Admin" account, clicked "List of All projects" get none .
I'm puzzled on this, anyone can give me a suggest ?
-- Adrian Schroeter SUSE Linux Products GmbH email: adrian@suse.de -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org