Skip to content
This repository has been archived by the owner on Apr 27, 2023. It is now read-only.

Upgrade from 2.0 to 2.1

rucek edited this page Nov 10, 2014 · 1 revision

In order to upgrade from Codebrag 2.0 to 2.1 you need to:

  1. Download and unpack new package
  2. Copy your data to new Codebrag location

Codebrag 2.1 introduces "User Management" feature and migration of your data is done automatically when running Codebrag 2.1 for the first time. By default all existing users get "Admin" privileges and have ability to manage other users in Codebrag. You can revoke these prvivileges in the "Manage users" section in Codebrag menu.

Ping us at [email protected] if you encounter any issues with the upgrade process. We will do our best to help you.

Note: Commands bellow assume you are on Linux.

Step 1. Download and unpack

Download the new package, unpack (keep the old installation):

wget https://s3-eu-west-1.amazonaws.com/codebrag-dist/v2.1/codebrag-2.1.zip
unzip codebrag.zip

That should create directory codebrag-2.1.

Step 2. Copy 'data' and 'repos' directories and codebrag.conf

Stop the old Codebrag:

cd <old codebrag>
./codebrag.sh stop

and copy contents of data and repos directories and your codebrag.conf file to new Codebrag location:

cp -r <old codebrag>/data <old codebrag>/repos <old codebrag>/codebrag.conf codebrag-2.1