[opensuse-buildservice] Private OBS instance - webui problems
Hi, I am trying to get OBS on a private server but I face some issues. I followed this README: http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP When I want to login to the webinterface with default id/password (Admin / opensuse), I get this error: "Authentication failed" When I try to register a new user I get a 401 error: *********************************************************** <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> Authentication required! <!--/*--><![CDATA[/*><!--*/ <br/> body { color: #000000; background-color: #FFFFFF; }<br/> a:link { color: #0000CC; }<br/> p, address {margin-left: 3em;}<br/> span {font-size: smaller;}<br/>/*]]>*/--> Authentication required! This server could not verify that you are authorized to access the URL "/person/register". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. In case you are allowed to request the document, please check your user-id and password and try again. If you think this is a server error, please contact the webmaster. Error 401 api.opensuse.org Tue Jun 4 22:33:56 2013 Apache/2.2.12 (Linux/SUSE) *********************************************************** Otherwise OBS server seems to be ok since osc commands works fine such as: osc -A https://192.168.0.21:444 ls Any idea what could be wrong in my setup ? If I use the OBS appliance (based on openSUSE 12.2), no problem, but I would like to get OBS working on openSUSE 12.3. Guillaume -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am Dienstag, 4. Juni 2013, 22:40:48 schrieb Guillaume Gardet:
Hi,
I am trying to get OBS on a private server but I face some issues. I followed this README: http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP
When I want to login to the webinterface with default id/password (Admin / opensuse), I get this error: "Authentication failed"
...
This server could not verify that you are authorized to access the URL "/person/register". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
You have enabled new_user_registration: allow in config/options.yml of the api?
Any idea what could be wrong in my setup ?
If I use the OBS appliance (based on openSUSE 12.2), no problem, but I would like to get OBS working on openSUSE 12.3.
I know that the boot order is not corrent on 12.3 using systemd. You may want to restart mysqld and apache2 to be sure. But I think that is not cause in this case. bye adrian -- Adrian Schroeter email: adrian@suse.de SUSE LINUX GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 21284 (AG Nürnberg) Maxfeldstraße 5 90409 Nürnberg Germany -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi, Thanks for quick answer Adrian. Le 05/06/2013 10:15, Adrian Schröter a écrit :
Am Dienstag, 4. Juni 2013, 22:40:48 schrieb Guillaume Gardet:
Hi,
I am trying to get OBS on a private server but I face some issues. I followed this README: http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP
When I want to login to the webinterface with default id/password (Admin / opensuse), I get this error: "Authentication failed" ...
This server could not verify that you are authorized to access the URL "/person/register". You either supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required. You have enabled
new_user_registration: allow
in config/options.yml of the api?
Yes, it is the default value.
Any idea what could be wrong in my setup ?
If I use the OBS appliance (based on openSUSE 12.2), no problem, but I would like to get OBS working on openSUSE 12.3. I know that the boot order is not corrent on 12.3 using systemd. You may want to restart mysqld and apache2 to be sure. But I think that is not cause in this case.
No effect, still the same problem... Guillaume
bye adrian
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hey, On 04.06.2013 22:40, Guillaume Gardet wrote:
I am trying to get OBS on a private server but I face some issues. I followed this README: http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP
When I want to login to the webinterface with default id/password (Admin / opensuse), I get this error: "Authentication failed"
How about some webui logs? :) And check that you have set the correct frontend_port in webui/config/options.yaml Henne -- Henne Vogelsang http://www.opensuse.org Everybody has a plan, until they get hit. - Mike Tyson -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Le 05/06/2013 12:52, Henne Vogelsang a écrit :
Hey,
On 04.06.2013 22:40, Guillaume Gardet wrote:
I am trying to get OBS on a private server but I face some issues. I followed this README: http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP
When I want to login to the webinterface with default id/password (Admin / opensuse), I get this error: "Authentication failed" How about some webui logs? :)
And check that you have set the correct frontend_port in
webui/config/options.yaml
Nearly. frontend_host was api.opensuse.org, so I need to set it to my server name. But now, I have an application error instead of the webui... :( I need to debug it, probably logs will help in this case. Anyway, thanks for the hint. Guillaume
Henne
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hi Guillaume, On Wed, 05 Jun 2013 17:51:56 +0200 Guillaume Gardet <guillaume.gardet@free.fr> wrote:
Le 05/06/2013 12:52, Henne Vogelsang a écrit :
Hey,
On 04.06.2013 22:40, Guillaume Gardet wrote:
I am trying to get OBS on a private server but I face some issues. I followed this README: http://gitorious.org/opensuse/build-service/blobs/master/dist/README.SETUP
When I want to login to the webinterface with default id/password (Admin / opensuse), I get this error: "Authentication failed" How about some webui logs? :)
And check that you have set the correct frontend_port in
webui/config/options.yaml
Nearly. frontend_host was api.opensuse.org, so I need to set it to my server name. But now, I have an application error instead of the webui... :(
I need to debug it, probably logs will help in this case.
Do you use selfsigned ssl certificates? Search for a error in your logs. If so, copy your certificate cat /srv/obs/certs/server.key /srv/obs/certs/server.crt
/srv/obs/certs/server.pem
(Be sure to redirect the output into the file server.pem. The Mail client might display the last command line wrong.) cp /srv/obs/certc/server.pem /etc/ssl /etc/ssl/certs/ c_rehash /etc/ssl/certs
Anyway, thanks for the hint.
I branch the OBS documentation and some missing things since the change to obs 2.4 . Regards, Philipp -- Philipp Seiler Linux Consultant Tel.: +49-175 2958714 Mail: seiler@b1-systems.de GPG Key: 0x75911461 B1 Systems GmbH Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
participants (4)
-
Adrian Schröter
-
Guillaume Gardet
-
Henne Vogelsang
-
Philipp Seiler