Difference between revisions of "Seon update"

From Seon
Jump to: navigation, search
Line 42: Line 42:
 
#run the Seon database updater "<code>seon_dbupdate</code>"!
 
#run the Seon database updater "<code>seon_dbupdate</code>"!
 
#restart the wanted daemons ("<code>seonrd</code>", "<code>seonsqd</code>", "<code>seondebugd</code>", "<code>seonclientd</code>")
 
#restart the wanted daemons ("<code>seonrd</code>", "<code>seonsqd</code>", "<code>seondebugd</code>", "<code>seonclientd</code>")
 +
 +
== Run update manually (2) ==
 +
In some cases, you just receive single files, fixing a specific small problem. In this case, refer to the above method ([[Seon update#Run update manually (1)|Run update manually (1)]])

Revision as of 21:47, 12 November 2007

Requirements

If you have a software support bought with your software distribution, you may receive updates from time to time via several media. These media can be:

  • Download links in the internet
  • Files via OFTP, received via
    • ISDN
    • ENX
    • Internet
    • etc.

Run update automatically

These update files, if received via OFTP, have always the virtual filename

Seon_UPDATE

When this flag is set, your Seon installation tries to check the integrity and signature of this package internally. For this purpose, an event binary is (configured here) started. This event binary (default:

/opt/seon/bin/seonupdate

is started with the parameter "-f". It checks the signature of the file and if valid, it extracts the update procedure program and executes it in an Seon shell. The update process searches for the Seon environment variables and uses them to change and update the installation.

Run update semi-automatically (1)

If you have received such a signed update file manually or houy ave disabled this feature, you are able to re-start the event program manually. For this (in a standard environment), call the update program with appropriate parameters. They are documented here.

Example:

/opt/seon/bin/seonupdate -f /tmp/Seon_UPDATE

Run update semi-automatically (2)

You may have received a file which is a verified and extracted version of the "Seon_UPDATE" file. They have normally a file extension of ".sh". This file is a complete Seon installation package, which checks if it's running inside Seon. In order to do this manually, use the Seon shell "shox".

Example:

/opt/seon/bin/shox -e /tmp/seon_update_linux_x86_he.sh

Run update manually (1)

You receive a gzipped TAR file which contains all files in this structure. You may exchange the binaries, scripts, programs, webinterfaces. You should do this in the following order:

  1. make a backup of everything
  2. copy all binaries to the target directory
    1. if swapping the whole directory, don't forget to copy the license file into the new directory!
  3. check if the configuration file has changed it's schema ("/etc/seon.conf")
  4. copy the webinterface for administration to it's destination
    1. check the file "database.inc.php"
  5. if Seon Enteprise is installed:
    1. copy the Seon web access client to it's target destination
    2. check the file "database.inc.php" in the Seon web access directory
    3. copy all plugins
  6. have a look at the configuration page of Seon (administrative web interface)
  7. run the Seon database updater "seon_dbupdate"!
  8. restart the wanted daemons ("seonrd", "seonsqd", "seondebugd", "seonclientd")

Run update manually (2)

In some cases, you just receive single files, fixing a specific small problem. In this case, refer to the above method (Run update manually (1))