Switching Between RhodeCode Enterprise and RhodeCode Community

rcstack provides an easy way to switch between RhodeCode Enterprise and RhodeCode Community editions using the rcstack set-edition functionality.

If you’re currently using the Community edition and your setup looks similar to this:

CONTAINER ID   NAMES                                  IMAGE                               STATUS
ca651b694824   rc_cluster_apps-rhodecode-1            rhodecode/rhodecode-ce:beta         Up 2 days (healthy)
4dfc5442b03f   rc_cluster_apps-vcsserver-1            rhodecode/rhodecode-ce:beta         Up 2 days (healthy)
789ee615af54   rc_cluster_apps-celery-1               rhodecode/rhodecode-ce:beta         Up 2 days
49b0cfa236ee   rc_cluster_apps-celery-beat-1          rhodecode/rhodecode-ce:beta         Up 2 days
81016641ad1a   rc_cluster_apps-sshd-1                 rhodecode/rhodecode-ce:beta         Up 2 days (healthy)
0a2ca0154bd5   rc_cluster_apps-svn-1                  rhodecode/rhodecode-ce:beta         Up 2 days (healthy)

…then you can migrate from ce, to ee or other way around.

You’ll need to stop the currently running instances.

$ ./rcstack stack all down

And switch the images using set-edition command

# when moving from ce to ee
$ ./rcstack set-edition ee

# when moving from ee to ce
$ ./rcstack set-edition ce

Important

RhodeCode EE edition requires a valid license to access the UI. In addition RhodeCode 5.X+ also requires a new license that is incompatible with 4.X. To get a trial license, or convert your license key, please email us at support@rhodecode.com.

Start your instances, at this point new image will be downloaded, and the new edition should be visible via running images on status command.

$ ./rcstack stack all up -d
$ ./rcstack status

CONTAINER ID   NAMES                                  IMAGE                               STATUS
ca651b694824   rc_cluster_apps-rhodecode-1            rhodecode/rhodecode-ee:beta         Up 2 days (healthy)
4dfc5442b03f   rc_cluster_apps-vcsserver-1            rhodecode/rhodecode-ee:beta         Up 2 days (healthy)
789ee615af54   rc_cluster_apps-celery-1               rhodecode/rhodecode-ee:beta         Up 2 days
49b0cfa236ee   rc_cluster_apps-celery-beat-1          rhodecode/rhodecode-ee:beta         Up 2 days
81016641ad1a   rc_cluster_apps-sshd-1                 rhodecode/rhodecode-ee:beta         Up 2 days (healthy)
0a2ca0154bd5   rc_cluster_apps-svn-1                  rhodecode/rhodecode-ee:beta         Up 2 days (healthy)