Loading...
 
Skip to main content

Architecture / Installation


You are viewing a reply to Should I upgrade?

Re: Should I upgrade?

Okay, I may not make any friends here. 🙀

I've been using tiki for over a year and I find the info on this site to be needlessly complicated. It's as if it is written by people who know too much and do not realise that there are plenty of people using tiki who would like the whole thing to be simpler.

I want to upgrade to 1.9.x but I simply don't understand what I have to do. I've pasted the upgrade instructions below and added my queries where relevant. Can anyone answer this in language that is straightforward? I appreciate that I'm out of my depth here. But I'm willing to learn some simple elements of MySQL etc. I just need to be taught in plainer language than the faqs or docs on this site provide. 😎

Upgrading from Version 1.8


1. Clear templates and module cache in Admin -> System Admin
2. Backup your existing database (use the command mysqldumpexternal link or use phpMyAdminexternal link)
3. Download the 1.9.x package from our SourceForge Project Areaexternal link
4. Uncompress the 1.9.x package

5. Upgrade your database (see below)

See below for my questions about this step.

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

Okay, copy OVER? That means overwrite? or add to a different directory? It seems to me if I overwrite I'll delete what I've got there right?

7. Run setup.sh again to verify the correct permissions are set

Now this is an example of a vague instruction. What is setup.sh? When did I run it before in this process? What permissions do you mean (CHMOD?)? How will I know they are verified?

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 sic 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.


Oh okay... but if I had followed the steps above literally, this is what I WOULD already have done. This info should be up above surely.

* You can use the secdb database files to check your installation directory for old/modified files. See AdminSecurity

I'm not even going to touch this one... I didn't understand hardly a word of the page it linked to.

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.

Why does it tell me where the scripts are? Do I need to know this or just run the scripts? When I run the scripts in PHPMyAdmin, I'm pressuming that I need to be in the SQL tab of my tiki database and enter this info in the window headed "Run SQL query/queries on database". Is this correct?