UPGRADE.txt
2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
KnowledgeTree Upgrade instructions
==================================
Before you upgrade
------------------
Before you upgrade, ensure that your data (KnowledgeTree, Documents, and
database) is backed up safely. An upgrade may fail to accurately change
the data to the format required by the next version of KnowledgeTree,
and a backup will allow you to return to the original version of
KnowledgeTree. Please report failed upgrades to the KnowledgeTree
developers.
Automated upgrade
-----------------
The automated upgrade may be used from the command line or through a web
page. The web page is preferable, as it provides better error
reporting. The automated upgrade works between any version of
KnowledgeTree to the current version. The automated upgrade remembers
which upgrades it has performed, and will not perform them again, unless
forced to do so. Using the automated upgrade will create an upgrade
history that can be reviewed via the KnowledgeTree administrators
interface.
If you are upgrading KnowledgeTree from versions prior to 2.0.6, see the
section at the bottom of this document to set up automated upgrades.
Web page:
- If your KnowledgeTree installation is at http://example.org/kt/,
visit:
http://example.org/kt/setup/upgrade.php
- Review the upgrades available to you, and select the button to perform
the upgrade.
- Review the results of the upgrade.
Command line:
- Run bin/automated-upgrade.php
- Any errors will be reported.
==========================================================================
Additional steps
----------------
KnowledgeTree 2.0.6
-------------------
The automated upgrade requires that you set up a database administrator
user (name configurable in config/environment.php, defaults to
'dmsadmin') for the upgrade process to function. You need to run this
command on your database (say, 'dms') from the MySQL command prompt:
mysql> use dms;
mysql> GRANT ALL PRIVILEGES ON * TO dmsadmin@localhost IDENTIFIED BY 'js9281djw';
In config/environment.php, you should add:
$default->dbAdminUser = "dmsadmin";
$default->dbAdminPass = "js9281djw";
You should now be able to use the automated upgrade.
---------------------------------------------------------------------------
KnowledgeTree Document Management System
Web page: http://www.ktdms.com/
Wiki: http://support.ktdms.com/confluence/
Forums: http://forum.ktdms.com/
Bug reporting: http://support.ktdms.com/
$Id$