MySQL Upgrade Issue¶
Upgrading a RhodeCode Enterprise version that runs with MySQL currently requires some
reconfiguring of your
production.ini file so that an
IP Address is
set and not
Fedora 23 / Ubuntu 18.04¶
RhodeCode Control has a know problem with locales, due to changes in glibc 2.27+ which affects the local-archive format, which is now incompatible with our used glibc 2.26.
This often results in an error: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
To work around this problem, you need set path to
$LOCAL_ARCHIVE to the
locale package in older pre glibc 2.27 format, or set LC_ALL=C in your enviroment.
To use the pre 2.27 locale-archive fix follow these steps:
- Download the pre 2.27 locale-archive package
$LOCAL_ARCHIVEto the locale package.
$ export LOCALE_ARCHIVE=/home/USER/locale-archive # change to your path
This can either added in ~/.rccontrol/supervisor/supervisord.ini or in user .bashrc/.zshrc etc, or via a startup script that runs rccontrol self-init
If you happen to be running RhodeCode Control from systemd, use the following example to pass the correct locale information on boot.
[Unit] Description=Rhodecode After=network.target [Service] Type=forking User=scm Environment="LOCALE_ARCHIVE=/YOUR-PATH/locale-archive" ExecStart=/YOUR-PATH/.rccontrol-profile/bin/rccontrol-self-init [Install] WantedBy=multi-user.target