My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 1881: all projects with its status and user group setting miss after changing canonicalWebUrl and restart.
1 person starred this issue and may be notified of changes. Back to list
Status:  WontFix
Owner:  ----
Closed:  Apr 2013


Sign in to add a comment
 
Reported by hero78...@gmail.com, Apr 22, 2013
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:
2.2.2, with jetty
What steps will reproduce the problem?
1.change the canonicalWebUrl in gerrit.conf to new url
2.restart gerrit 
3.then find all settings disappear on web page

Do not alter any other parameter and move any file, simply changing the canonicalWebUrl.
After restarting gerrit and logging to web console with the same Gmail account, all the projects and privilege settings was gone with logging as any origin user! 
Fetching project from command line seems working as usual, so I guess that maybe the same gmail account doen't bind to the origin user  after restarting gerrit.

What's happened and how to restore all the setting to the web console?


Apr 22, 2013
#1 sop@google.com
Google Accounts are identified by a unique string that is dependent upon the URL the Gerrit server is at. When you modified the canonicalWebUrl and moved Gerrit to a different address, Google created a new token for the account and Gerrit thinks this is a new user.

Move the server back to the old address, or enable auth.allowGoogleAccountUpgrade to permit Gerrit to match Google Accounts by email address if the unique token strings don't match.
Status: WontFix
Sign in to add a comment

Powered by Google Project Hosting