Loading...
 

Upgrading an Addon

Once an addon has been installed, and subsequently the developer of the addon releases a new version, it will be possible to upgrade the addon as follows.

First make a copy of your TIki installation and test the upgrade there

Although it is an addon developer's responsibility to make sure that addon upgrades execute smoothly, and preserve data from the previous version, one can never be sure. As such, it is important to make a copy of your TIki site and conduct the upgrade on the test site first.

Then get a copy of the new version and replace the version that exists

Similar to when Installing Addons, you have to obtain a copy of the addon package and place it in the addons folder, REPLACING the version that exists there. It is recommended to move the existing folder e.g. addons/vendorname_packagename away to a safe location and then extracting the new version there.

If you are getting your packages via composer (advanced), it will be enough to change the version to be picked up in your composer.json file and it will automatically update it when composer is run.

Then run the upgrade script for the addon

To complete the upgrade, execute in the folder where you installed Tiki, replacing vendorname_packagename with the actual name of package you are upgrading.
php console.php  addon:upgrade vendorname_packagename


Then test your newly upgraded addon. if all works well, you are then ready to upgrade your live production site using the same process.

Caveats

Upgrade from only certain versions may be allowed

Depending on the specific addon, it may not be possible to upgrade from every version to another version. The developer of the addon sets this information in a file "upgrade.json" that is shipped with the addon. The developer should also have documented this information on the addon's website. If you are a few versions behind, with some addons you might have to do multiple separate upgrades instead of just one, to get it to the latest version.

When running the upgrade command above if you do not have installed one of the versions, it will tell you so.

Certain versions have different dependencies (i.e. other addons) of certain version.

Depending on the specific addon, it could depend on a specific version (or minimum version) of another addon being already installed. The developer of the addon sets this information in a file "tikiaddon.json" that is shipped with the addon. The developer should also have documented this information on the addon's website.

When running the upgrade command above if you get error messages saying such and such profile and so on are not yet installed, you are probably missing a dependency.
Contributors to this page: Nelson Ko .
Page last modified on Friday 29 April, 2016 20:38:22 CEST by Nelson Ko.

doc.tiki.org


Bootstrap

AdminGuide

UserGuide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting (7.x)
Articles and Submissions
Backlinks
Banners
Batch (6.x)
BigBlueButton audio/video/chat/screensharing (5.x)
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution (2.x)
Cookie
Copyright
Credit (6.x)
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs 8.x
Draw 7.x
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management (4.x)
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Lost edit protection
Mail-in
Map with Mapserver
Menu
Meta Tags
Mobile Tiki and Voice Tiki
Mods
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links (3.x)
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags (2.x)
Task
Tell a Friend, alert + Social Bookmarking
TikiTests (2.x)
Theme CSS & Smarty
Trackers
Transitions (5.x)
TRIM
User Administration including registration and banning
User Files
User Menu
Watch
WebHelp
WebDAV (5.x)
Webmail
Web Services
Wiki 3D
Wiki History, page rename, etc
Wiki Page Staging and Approval (2.x)
Wiki Plugin extends basic syntax
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG (2.x)
XMLRPC


Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki