Skip to content

Commit 05d20da

Browse files
author
Richard Jones
committed
more doc
1 parent 48fae71 commit 05d20da

File tree

1 file changed

+36
-11
lines changed

1 file changed

+36
-11
lines changed

doc/admin_guide.txt

Lines changed: 36 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Administration Guide
33
====================
44

5-
:Version: $Revision: 1.5.2.1 $
5+
:Version: $Revision: 1.5.2.2 $
66

77
.. contents::
88

@@ -100,16 +100,40 @@ Software Upgrade
100100
Always make a backup of your tracker before upgrading software. Steps you may
101101
take:
102102

103-
1. ensure that the unit tests run on your system
104-
2. copy your tracker home to a new directory
105-
3. follow the steps in the upgrading documentation for the new version of
106-
the software
107-
4. test each of the admin tool, web interface and mail gateway using the new
108-
version of the software
109-
5. stop the production web and email frontends
110-
6. perform the upgrade steps on the existing tracker directory
111-
7. upgrade the software
112-
8. restart your tracker
103+
1. Ensure that the unit tests run on your system:
104+
105+
python run_tests.py
106+
107+
2. If you're using an RDBMS backend, make a backup of its contents now.
108+
3. Copy your tracker home to a new directory.
109+
110+
Now, working in that copied tracker home:
111+
112+
1. Follow the steps in the `upgrading documentation`_ for the new version of
113+
the software in the copied.
114+
2. Test each of the admin tool, web interface and mail gateway using the new
115+
version of the software. To do this, invoke the scripts directly in the
116+
source directory with::
117+
118+
PYTHONPATH=. python roundup/scripts/roundup_server.py <normal arguments>
119+
PYTHONPATH=. python roundup/scripts/roundup_admin.py <normal arguments>
120+
PYTHONPATH=. python roundup/scripts/roundup_mailgw.py <normal arguments>
121+
122+
Once you're comfortable that the upgrade will work using that copy, you
123+
should upgrade the live version:
124+
125+
1. Stop the production web and email frontends.
126+
2. Perform the upgrade steps on the existing tracker directory.
127+
3. Upgrade the software::
128+
129+
python setup.py install
130+
131+
4. Restart your tracker.
132+
133+
If something bad happens, you may reinstate your backup of the tracker and
134+
reinstall the older version of the sofware using the same install command::
135+
136+
python setup.py install
113137

114138

115139
Migrating Backends
@@ -204,4 +228,5 @@ Back to `Table of Contents`_
204228

205229
.. _`Table of Contents`: index.html
206230
.. _`customisation documentation`: customizing.html
231+
.. _`upgrading documentation`: upgrading.html
207232

0 commit comments

Comments
 (0)