Show More
@@ -1,53 +1,54 b'' | |||
|
1 | 1 | .. _upgrade: |
|
2 | 2 | |
|
3 | 3 | Upgrade |
|
4 | 4 | ======= |
|
5 | 5 | |
|
6 | 6 | Upgrading from Cheese Shop |
|
7 | 7 | -------------------------- |
|
8 | 8 | |
|
9 | 9 | .. note:: |
|
10 | 10 | Firstly, it is recommended that you **always** perform a database backup |
|
11 | 11 | before doing an upgrade. |
|
12 | 12 | |
|
13 | 13 | The easiest way to upgrade ``rhodecode`` is to run:: |
|
14 | 14 | |
|
15 | 15 | easy_install -U rhodecode |
|
16 | 16 | |
|
17 | 17 | Or:: |
|
18 | 18 | |
|
19 | 19 | pip install --upgrade rhodecode |
|
20 | 20 | |
|
21 | 21 | |
|
22 | 22 | Then make sure you run the following command from the installation directory:: |
|
23 | 23 | |
|
24 | 24 | paster make-config RhodeCode production.ini |
|
25 | 25 | |
|
26 | 26 | This will display any changes made by the new version of RhodeCode to your |
|
27 | 27 | current configuration. It will try to perform an automerge. It's always better |
|
28 | 28 | to make a backup of your configuration file before hand and recheck the |
|
29 | 29 | content after the automerge. |
|
30 | 30 | |
|
31 | 31 | .. note:: |
|
32 | The next steps only apply to upgrading from non bugfix releases eg. from | |
|
33 | any minor or major releases. Bugfix releases (eg. 1.1.2->1.1.3) will | |
|
34 | not have any database schema changes or whoosh library updates. | |
|
32 | Please always make sure your .ini files are upto date. Often errors are | |
|
33 | caused by missing params added in new versions. | |
|
34 | ||
|
35 | 35 | |
|
36 | 36 | It is also recommended that you rebuild the whoosh index after upgrading since |
|
37 | the new whoosh version could introduce some incompatible index changes. | |
|
37 | the new whoosh version could introduce some incompatible index changes. Please | |
|
38 | Read the changelog to see if there were any changes to whoosh. | |
|
38 | 39 | |
|
39 | 40 | |
|
40 | 41 | The final step is to upgrade the database. To do this simply run:: |
|
41 | 42 | |
|
42 | 43 | paster upgrade-db production.ini |
|
43 | 44 | |
|
44 | 45 | This will upgrade the schema and update some of the defaults in the database, |
|
45 | 46 | and will always recheck the settings of the application, if there are no new |
|
46 | 47 | options that need to be set. |
|
47 | 48 | |
|
48 | 49 | |
|
49 | 50 | .. _virtualenv: http://pypi.python.org/pypi/virtualenv |
|
50 | 51 | .. _python: http://www.python.org/ |
|
51 | 52 | .. _mercurial: http://mercurial.selenic.com/ |
|
52 | 53 | .. _celery: http://celeryproject.org/ |
|
53 | 54 | .. _rabbitmq: http://www.rabbitmq.com/ No newline at end of file |
General Comments 0
You need to be logged in to leave comments.
Login now