Netmagis |
|||
Starting from 2.2.2, you can upgrade your database from any version later than 2.1.x with only one call to the netmagis-dbupgrade program. For previous versions, or to upgrade from a version older than 2.1.0, you must follow upgrade procedure for all intermediate versions.
Upgrading to Netmagis 2.3 from Netmagis 2.2Don't forget to read release notes. This procedure assumes that your existing Netmagis database is already running with a version >= 9.1 of PostgreSQL and that your Apache version is greater or equal to 2.4. If this is not the case, read PostgreSQL upgrade instructions. First, make a backup of your existing Netmagis database. On your database server, run the netmagis-dbupgrade program (without argument). You should see an output similar to: Detected schema version: 22 This messages says that you database is detected as 2.2.x (or lower) installation, and the netmagis-dbupgrade is able to upgrade it to 2.3.x. Run now: # netmagis-dbupgrade 23to upgrade your database to 2.3.x. Since this release includes some large infrastructure changes related to authentication, you may have to modify some of your configuration files:
The authentication infrastructure is deeply modified with this release: authentication is no longer performed by the Apache server, but directly by the application. You should now use the "Connection" item in the left side. Familiarize yourself with the new authentication parameters in the "Admin" / "Application parameters" menu.
Upgrading to Netmagis 2.2 from Netmagis 2.1Don't forget to read release notes. This procedure assumes that your existing Netmagis database is already running with a version >= 9.1 of PostgreSQL. If this is not the case, read PostgreSQL upgrade instructions. First, make a backup of your existing Netmagis database. On your database server, run the netmagis-dbupgrade program (without argument). You should see the following output: Detected schema version: 21 This messages says that you database is detected as 2.1.x installation, and the netmagis-dbupgrade is able to upgrade it to 2.2.x. You can now run: # netmagis-dbupgrade 22to upgrade your database to 2.2.x. Since this release includes some large infrastructure changes, you may have to modify some of your scripts or configuration:
Upgrading to Netmagis 2.1 from Netmagis 2.0Don't forget to read release notes. This procedure assumes that your existing Netmagis database is already running with a version >= 9.1 of PostgreSQL. If this is not the case, read PostgreSQL upgrade instructions. First, make a backup of your existing Netmagis database. One of the changes in Netmagis 2.1 release is the use of only one unprivileged PostgreSQL user (the one you specified with the parameter dnsdbuser in the netmagis.conf file, let us call it "nm"). This simplifies considerably the installation, but the upgrade needs to take this into account: you need to transfer ownership of the database to this unprivileged user. Assuming this user is called "nm": On the database server, do the following actions:
Next, go to the .../share/examples/netmagis/upgrade/20-21/ directory, and then:
When you have tested your new installation, you can remove the old database:
Upgrading to Netmagis 2.0 from WebDNS 1.5Don't forget to read release notes. Upgrading from the previous Netmagis/WebDNS version is simple. First, make a backup of the old WebDNS database. Next, install common, database packages, and configure them according to installation instructions (except database creation). On the database server, go to the .../share/examples/netmagis/upgrade/15-20/ directory, and then:
Next, install the www package, and follow installation instructions. If you use PostgreSQL authentication, do not forget to update the Apache configuration to use to the new tables in the Netmagis database. |
|||
Netmagis license | Netmagis Web site |