Loading...
 

Update

Assuming you got Tiki via SVN, you can easily update using:

What version am I running?

svn info


Or you can check in tiki-admin.php?page=general

Files

If you got your check out before 2012-12-12

Update from SVN pre 2013

Check status (svn status)

To check for differences between your code base and the official one
svn status

Minor upgrade (svn up)

Upgrade all your files to the latest version on the current branch (Ex.: from 6.x to 6.y) or latest version of trunk.

Files, directly

svn up

Update to a specific revision

svn update -r 43705


This can be used to downgrade as well. But keep in mind that your database structure can't be automatically downgraded. Database structure typically doesn't change much between minor revisions.

Files, via script

svn up


Will output the current revision number. See Module SVNup to show version within Tiki.


This can be on a cron job.

Major upgrade (svn switch)

You can upgrade from 2.x to any later version, in one step. All data migration files are included in each version. For example, from 4.x->7.x, 2.x->6.x, etc.

This is when you switch from one branch to another. When you switch (especially from an old version), you will perhaps get an error message about some directories or files that were not previously in version control (ex.: templates_c). This could be "svn: Working copy 'temp/cache' is missing or not locked". If these are directories that you didn't customize (very likely), you can simply delete them and try again. Otherwise, rename them, and you can manually merge your changes back in later. This is caused because we reorganized the code.

Here is a typical error and how to resolve

svn: Failed to add directory 'lib/jquery/jquery-ui': an unversioned directory of the same name already exists

Delete problematic directory

rm -rf lib/jquery/jquery-ui

and run svn update again

svn update

switch to branches/12.x

Go to where the Tiki code is and run the following commands
svn switch https://svn.code.sf.net/p/tikiwiki/code/branches/12.x .
svn up

switch to branches/15.x

Go to where the Tiki code is and run the following commands
svn switch https://svn.code.sf.net/p/tikiwiki/code/branches/15.x .
svn up

switch to branches/16.x

Go to where the Tiki code is and run the following commands
svn switch https://svn.code.sf.net/p/tikiwiki/code/branches/16.x .
svn up

switch to branches/17.x

Go to where the Tiki code is and run the following commands
svn switch https://svn.code.sf.net/p/tikiwiki/code/branches/17.x .
svn up

Note : When switching from a from 16x to 17x some error caused by changes in the way Tiki set or handle Composer may occurs.
You may have to delete caches or some files from previous install.

IE:

Fatal error: Uncaught exception 'Symfony\Component\DependencyInjection\Exception\InvalidArgumentException' with message 'You cannot set service "service_container".'

Is solved by deleting : temp/cache/container.php

switch to trunk (the next major version)

Go to where the Tiki code is and run the following commands
svn switch https://svn.code.sf.net/p/tikiwiki/code/trunk .
svn up

switch to a specific version

Go to where the Tiki code is and run the following commands
svn switch https://svn.code.sf.net/p/tikiwiki/code/tags/6.4/ .


Update file and permissions & database

sh setup.sh


This can be on a cron job, if you indicate the user & group params.

Setup.sh will prompt you to run Composer, which updates your database. You can go to tiki-install.php, you'll have the option to click on "automatic database upgrade"

This is easy thanks to Database Schema Upgrade


There is no database downgrade so make a backup before you proceed.

.htaccess

Upon install, _htaccess must be renamed .htaccess
Because of this, svn up doesn't keep it up to date.
To see if there was a change, you can do:

diff _htaccess .htaccess


If there is a difference, you can delete .htaccess and rename _htaccess to .htaccess

Clear cache

From web, visit tiki-admin_system.php?do=all

php console.php cache:clear

Update search index

  • tiki-admin.php?page=search&rebuild=now

Combine all steps in one

php doc/devtools/svnup.php

Also see

Alias

Keywords

The following is a list of keywords that should serve as hubs for navigation within the Tiki development and should correspond to documentation keywords.

Each feature in Tiki has a wiki page which regroups all the bugs, requests for enhancements, etc. It is somewhat a form of wiki-based project management. You can also express your interest in a feature by adding it to your profile. You can also try out the Dynamic filter.

Accessibility (WAI & 508)
Accounting 7.x
Administration
Ajax 2.x
Articles & Submissions
Backlinks
Banner
Batch 6.x
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution 2.x
Cookie
Copyright
Credits 6.x
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
DogFood
Draw 7.x
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Group
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping 3.x
Mobile Tiki and Voice Tiki
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Payment 5.x
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Score
Search engine optimization (SEO)
Search
Security
Semantic links 3.x
Share
Shopping Cart 5.x
Shoutbox
Site Identity
Slideshow
Smarty Template
Social Networking
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Staging and Approval
Stats
Survey
Syntax Highlighter (Codemirror)
Tablesorter
Tags 2.x
Task
Tell a Friend, alert + Social Bookmarking
Terms and Conditions
Theme
TikiTests 2.x
Timesheet
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
WebHelp
Webmail and Groupmail
WebServices 3.x
Wiki 3D
Wiki History, page rename, etc
Wiki plugins extends basic syntax
Wiki syntax text area, parser, etc
Wiki structure (book and table of content)
Workspace and perspectives 4.x
WYSIWTSN 4.x
WYSIWYCA
WYSIWYG 2.x
XMLRPC




Useful Tools