IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 3 and Version 4 of IppUpgrade


Ignore:
Timestamp:
Nov 18, 2009, 12:32:29 PM (17 years ago)
Author:
dravg.uk.edinburgh
Comment:

Added updating the schema_version in the database

Legend:

Unmodified
Added
Removed
Modified
  • IppUpgrade

    v3 v4  
    2323  * ./psbuild -dev -extbuild -optimize > & Update.log
    2424  * Check Update.log. It should end with `** psbuild: finished **`
     25
     26== Troubleshooting after Upgrade ==
     27
     28While downloading data (see IppDownloadData), if you get an error in the pantasks console like:
     29
     30{{{
     31 -> pxCheckImportVersion (pxtools.c:278): unknown psLib error
     32     input file schema_version: 1.1.57 does not match data base: 1.1.56
     33 -> importrunMode (stacktool.c:1395): unknown psLib error
     34     pxCheckImportVersion failed
     35}}}
     36
     37then you need to adjust the `schema_version` stored in the database. In the following example, I'm assuming the database is `PS1data` owned by the mysql user `ipp` and we need to update to version 1.1.57.
     38 * `mysql --user ipp --password`
     39  * <enter password>
     40  * `show databases;`
     41  * `use PS1data;`
     42  * `update dbversion set schema_version='1.1.57', updated=CURRENT_TIMESTAMP();
     43  * quit;