forked from ledgersmb/LedgerSMB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUPGRADE
67 lines (55 loc) · 2.74 KB
/
UPGRADE
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
Upgrading to LedgerSMB 1.3
From LedgerSMB 1.3:
Untar over the top and then select step 1 or 2:
1) Automated process (all platforms):
* direct browser to the setup.pl file in the directory you are in.
* provide PostgreSQL superuser credentials and the name of your data base.
* Click continue.
* [Optionally] Click 'Backup DB' and/or 'Backup Roles'.
* Click 'Yes', answering "LedgerSMB 1.3 found. Rebuild/Upgrade?"
* Repeat for each database.
2) Shell script process (UNIX/Linux only):
* cd to the sql/modules directory of the ledgersmb installation.
* sh reload_modules.sh [dbname]
* repeat the shell script for each database.
From LedgerSMB 1.1 and earlier:
For versions prior to 1.2, please upgrade to LedgerSMB 1.2 before upgrading to
1.3.x. To do this upgrade, simply untar the version of 1.2.x over your old
installation and run the relevant database upgrade scripts (in
sql/upgrade/legacy). Then proceed below.
From LedgerSMB 1.2.x
* Untar over the top.
* Check your Perl dependencies:
* perl Makefile.PL
* make
* make test
But run 'make test' under an english locale, because some tests check for english error messages.
(Bash tips: LANG=en_US make test )
* run the install.sh script.
* fix ledgersmb.conf with new config
copy ledgersmb.conf to ledgersmb.conf.old
copy ledgersmb.conf.default to ledgersmb.conf and reconfigure.
* direct your browser to the setup.pl script in your ledgersmb directory (via
http) and follow the prompts:
* Provide Pg superuser and database information for your existing database
(the database created for your company)
* Click continue when asked to upgrade
* When asking for upgrade info:
* contrib_dir is the directory where either tablefunc.control or
tablefunc.sql is, depending on your PostgreSQL version (9.1 and higher
would use tablefunc.control)
* Default country is the country to map contacts which have no country
information to. This is the short, two letter ISO code for the
country, such as AU for Austria, or US for United States. It is
case insensitive.
* Default ar/ap accounts provide links to accounts for purposes of
selection among multiple AR/AP accounts, and for purposes of payment
reversals. Enter account numbers here, like 1200 for AR and 2100 for
AP
* Provide user information.
Note: users are recreated as PostreSQL db users with application acess instead
of just imported from your 1.2.x install. New users created by the administrative
functions have their password auth timing out after a day, unless they change their
passwords after logging into LedgerSMB.
* log into the application and create additional users under System/User
Management