This repository has been archived by the owner on May 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 104
/
00-UPGRADE.txt
56 lines (38 loc) · 1.99 KB
/
00-UPGRADE.txt
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
INFO
-------------------------------------------------------------------------------
Most versions add changes to the Database. If upgrading several versions you
must apply all the relevant SQL commands to the DB. As of version 1.7 this is
performed from the GUI on first run.
All your files reside inside the itdb/data/ directory. Both the database and the
uploaded files.
*** *** *** ***
*** *** *** ***
*** You cannot automatically upgrade the database from github releases. Only from released numbered versions. ***
*** *** *** ***
*** *** *** ***
INSTRUCTIONS to upgrade version 1.6 to 1.7
-------------------------------------------------------------------------------
1.Backup everything (the whole directory). You can use the "Get Full Backup"
link on the menu, or from the command like use something like: cp -a itdb/
itdbold/
2.Rename itdb.php to index.php
3.Extract the tar over the existing files. The file itdb.db should not be
overwritten (it won't normaly since there is no itdb.db file on the package).
or
Transfer the itdb/data from the old installation to a fresh installation
4.run sqlite3 on the command prompt inside the itdb/data/ directory:
sqlite3 itdb.db
5.on the sqlite> prompt paste the SQL instructions sequentialy depending on the
itdb version
6.type .q to quit the sqlite prompt
7.fix the ownerships/permissions if necessary as per original installation instructions
INSTRUCTIONS for version >1.7
-------------------------------------------------------------------------------
1.Backup everything (the whole itdb directory). You can use the "Get Full Backup"
link on the menu, or from the command like use something like:
tar zcvf itdb.tar.gz itdb/
2.Extract the new tar over the existing files. The file itdb.db should not be
overwritten (it won't normaly since there is no itdb.db file on the package).
or
Transfer the itdb/data from the old installation to a fresh installation
3.Browse to the itdb/ with your browser and follow instructions as prompted