Upgrade vcsserver 4.5.2 to 4.6.1 failed

sebastien.l's Avatar

sebastien.l

15 Feb, 2017 07:41 PM

Hi

I upgraded the supervisor and the community but when i try to upgrade the vcsserver , i got this error.

Checking for available update for vcsserver-1 @ 4.5.2
Upgrade to version 4.6.1 is available.
Stopped vcsserver-1
Running Upgrade of <VCSServerInstance of (vcsserver-1)> at version 4.5.2 to 4.6.1
'locale'
Traceback (most recent call last):
  File "rccontrol/upgrade.py", line 82, in rccontrol.upgrade.main (rccontrol/upgrade.c:2145)
  File "rccontrol/lib/context.py", line 1654, in rccontrol.lib.context.VCSServer.upgrade (rccontrol/lib/context.c:50926)
  File "/opt/rhodecode/store/200kaz0y5aqj95m351hvhia27fpddwkm-python2.7-configobj-5.0.6-patched/lib/python2.7/site-packages/configobj.py", line 484, in __getitem__
    val = dict.__getitem__(self, key)
KeyError: 'locale'
Rolling back to previous version.
Auto starting vcsserver-1
Supervisord state is: RUNNING

do you have information about this issue?

Thank in advance

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 15 Feb, 2017 07:46 PM

    Marcin Kuzminski's Avatar

    Hi,

    It looks like your vcsserver.ini is missing locale= variable. Please open ~/.rccontrol/vcsserver-1/vcsserver.ini and set it:

    locale = en_US.UTF-8

    inside [app:main] section.

    Best,

  2. 2 Posted by sebastien.l on 15 Feb, 2017 08:12 PM

    sebastien.l's Avatar

    Hi Marcin

    I already have this setting

    This is my header of my vccserver.ini file:

    ################################################################################
    # RhodeCode VCSServer with HTTP Backend - configuration #
    # #
    ################################################################################

    [DEFAULT]
    debug = false

    [app:main]
    use = egg:rhodecode-vcsserver

    pyramid.default_locale_name = en
    pyramid.includes =

    # default locale used by VCS systems
    locale = en_US.UTF-8

  3. Support Staff 3 Posted by Marcin Kuzminsk... on 15 Feb, 2017 08:36 PM

    Marcin Kuzminski's Avatar

    Hi,

    the problem is that somehow the [DEFAULT] section exists, this confuses the ini migrator. Please remove it, then it should be fine.

    Did you add that section manually by any chance ?

    [DEFAULT] 
    debug = false
    
  4. 4 Posted by sebastien.l on 15 Feb, 2017 08:41 PM

    sebastien.l's Avatar

    I't work!

    Thank you very much for your help , i appreciate a lot!

  5. Support Staff 5 Posted by Marcin Kuzminsk... on 15 Feb, 2017 08:42 PM

    Marcin Kuzminski's Avatar

    No problem, happy we could resolve that quickly.

    Have a nice day.

    In order to keep our support system clean and improve our response time to the open tickets, I will now close this support ticket. Of course, if you still have questions regarding this issue you may reopen this ticket at your convenience.

  6. Marcin Kuzminski closed this discussion on 15 Feb, 2017 08:42 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

15 Oct, 2018 12:10 PM
15 Oct, 2018 05:20 AM
10 Oct, 2018 08:11 AM
03 Oct, 2018 01:16 PM
01 Oct, 2018 08:41 AM

 

28 Sep, 2018 10:12 AM
26 Sep, 2018 04:34 AM
21 Sep, 2018 04:40 PM
20 Sep, 2018 07:42 PM
18 Sep, 2018 03:30 PM
11 Sep, 2018 09:12 AM