Loading...
 
Skip to main content

History: UpgradeTo19

Preview of version: 18

Warnings

Please also see the following links if you want to upgrade to the latest stable version of TikiWiki from either 1.8.x or 1.9.x


Other warnings:

  • 1.9.0 does contain security issues, you are advised to upgrade straight to release 1.9.2, at least, or to the latest stable version (without installing 1.9.0)
  • As with any new stable version, you can expect minor bugs with 1.9.x branch. Please report them on http://dev.tikiwiki.org/tracker5
    Any sane admin with a valuable Tiki will want to backup its database before the upgrade, using MySQL (for example mysqldump or phpMyAdmin).
    plus backup daily in case of problems.
  • Upgrading will require a number of files. Leaving tiki-install.php or sql files after upgrading is a bad idea that could potentially help people to screw up your Tiki.

Upgrading from before 1.8

  • Please see the UpgradeTo18 page, and follow the steps carefully

Upgrading from Version 1.8

  1. Clear templates and module cache in Admin -> System Admin
  2. Backup your existing database (use the command mysqldump or use phpMyAdmin)
  3. Download the 1.9.x package from our SourceForge Project Area
  4. Uncompress the 1.9.x package
  5. Upgrade your database (see below)
  6. Copy over the contents of the 1.9.x tiki dir to your exisiting tiki web root (eg /var/www/html/tiki)
    • Linux users can use: cp -R tiki/* /var/www/html/tiki/.
    • Windows users equiv: xcopy tiki\* c:\inetpub\wwwroot\tiki\ /e
  7. Run setup.sh again to verify the correct permissions are set
  8. Remove the contents of templates_c, the temp and modules/cache directories


You should now be running a 1.9.x site.

Notes:

  • Do not delete the 1.8.x directory and uncompress tiki 1.9.x over. You may loose images uploaded in wiki or custom avatars or some other content. If you want to have a clean install (no old files) then make a backup of the 1.8.x installation directory before you do that.
  • You can use the secdb database files to check your installation directory for old/modified files. See AdminSecurity

Upgrading the database

Upgrade scripts are located in the "db" subdirectory and are run with this mysql command:

mysql -f -u dbuser -p tikidb < tiki_1.8to1.9.sql

where "dbuser" is the name of a mysql user with sufficient privs in the tiki db to modify that table structures and data rows (probably root), and "tikidb" is the name of your tiki database. The -p is only needed if you have a password on the database (which is highly recommended). The -f is required to force all the updates to occur.

(Note: If you are upgrading to 1.9.y from a previous 1.9.x, you will also need to run the 1.9.xto1.9.y.sql script)

You can safely ignore any errors, but if the script aborts (as it would without the -f), then your database will be missing part of the update.

Upgrading your css file

The new classes that have been added from 1.8 to 1.9 are listed in the file styles/transitions/1.8to1.10.css

Related information

7 pages found for title search 'ReleaseNotes19'



18 pages found for title search 'ReleaseProcess19'


History

Information Version
mlpvolt 26
View
mlpvolt REDIRECT to doc.two 25
View
Marc Laporte 1.9.3.1 24
View
wan1980 23
View
wan1980 22
View
wan1980 21
View
Marc Laporte made bold 20
View
sven2001 19
View
sven2001 18
View
sylvie greverend 17
View
Xavier de Pedro 16
View
Greg Martin 15
View
Damian Parker 14
View
Marc Laporte 13
View
Chaim Krause Typo 12
View
bitshop Added Windows directions of xcopy tiki\*... to go with Linux instructions 11
View
Florian Gleixner 10
View
Florian Gleixner 9
View
Marc Laporte typos 8
View
Jim Kring changed hyperlink from [dev.tikiwiki.org/tracker5] to [http://dev.tikiwiki.org/tracker5] so that it would not be relative to tw.o 7
View
Marc Laporte updated warning 6
View
Marc Laporte updated for 1.9.0 5
View
gaf 4
View