1786: Cannot change Server name under Site Settings
- Fixed
- Review Board
wle***@gmai***** (Google Code) (Is this you? Claim this profile.) | |
Jan. 30, 2012 |
What version are you running? 1.5 RC 1 What's the URL of the page containing the problem? /admin/settings/general/?saved=1 What steps will reproduce the problem? 1. Change the name for the server. 2. Click the Save button 3. New screen appears with old name. What is the expected output? What do you see instead? Expect to see a new screen appear with the new name. What operating system are you using? What browser? Centos 5 on the server. IE 7 for the browser. Please provide any additional information below. Very easy to reproduce. A work around for this issue would be nice since the emails are sent with the wrong URL in them. (We moved the server from one VM to another VM.)
Is there any workaround for this issue?
The workaround is to change it and immediately restart your django service; the correct sever name is in the db, but not in memory. If reviewboard tries to write its settings to the db again, it'll overwrite it back with the original server name.
Ok, I just restarted the apache and things worked for me.
We had some bugs in the settings infrastructure that prevented other threads on the web server from not getting the updated code. These should be worked out now.
-
+ Fixed
What version is this fixed in? I'm using Review Board in the Bitnami Stack v1.6.6 and seeing this issue.
I found this issue is caused by the in-database caches. After you change the site setting in admin panel, you should execute the follow command to resetting in-database caches first! Command: $ sudo rb-site upgrade /var/www/YOUR SITE INSTALL NAME Then refresh the setting page, it's OK now