This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
maintenance:update:03-update [2019/08/22 12:21] mpospisek [perform update] |
maintenance:update:03-update [2020/03/26 08:16] (current) mpospisek [SW modules] |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ~~NOCACHE~~ | ||
| + | |||
| ====== Update ====== | ====== Update ====== | ||
| - | ===== specify | + | ===== Specify |
| < | < | ||
| vi / | vi / | ||
| </ | </ | ||
| - | Enable only the aducid-media section | + | Enable |
| <sxh bash> | <sxh bash> | ||
| [aducid-media] | [aducid-media] | ||
| Line 15: | Line 17: | ||
| </ | </ | ||
| - | Copy your installation files to the same directory, as specified above (/ | + | Copy your installation files to the same directory, as specified above (/ |
| - | ===== perform | + | ===== Perform |
| + | |||
| + | ==== SW modules ==== | ||
| < | < | ||
| yum clean all | yum clean all | ||
| # if the following is OK ... | # if the following is OK ... | ||
| + | # (running the following command enables you to check that | ||
| + | # * you are using the right yum repository | ||
| + | # * you are upgrading to the right version | ||
| + | |||
| yum update aducid-installer | yum update aducid-installer | ||
| # ... then do the others | # ... then do the others | ||
| Line 25: | Line 34: | ||
| </ | </ | ||
| - | ===== check config files ===== | + | ==== DB schema |
| - | * You will probably need to replace newly installed file / | + | |
| + | You will need to update database schema. The process depends on the version, from which the update is being performed. | ||
| + | |||
| + | < | ||
| + | cd / | ||
| + | </ | ||
| + | |||
| + | In this directory, there are subdirectories for every previous version supported for DB schema update. (4.0.1, 4.1.0, 4.2.0) | ||
| + | * If updating from 4.0.0, start with directory 4.0.1 | ||
| + | * If updating from 4.0.1, start with directory 4.1.0 | ||
| + | * If updating from 4.1.0, start with directory 4.2.0 | ||
| + | For every directory do the following | ||
| + | < | ||
| + | cd / | ||
| + | for importfile in `ls *.sql` ; do | ||
| + | psql -e -d aim -f $importfile | ||
| + | done | ||
| + | </ | ||
| + | |||
| + | ===== Check config files ===== | ||
| + | | ||
| * Check also the / | * Check also the / | ||
| - | ===== start services ===== | + | ===== Start services ===== |
| < | < | ||
| Line 41: | Line 70: | ||
| </ | </ | ||
| + | [<>] | ||