Loading...
 
 Note
This page is to document "what Tiki should do". For feature documentation (what Tiki does), please see corresponding page on doc site

Command-line tool

It would be nice to have a command-line tool, similar to TRIM and Permission Check for managing all aspects of Tiki. Done in Tiki11, as Tiki Console (using Symfony console)

Tasks

For now, here is the list of command lines (some are now legacy, some are still valid):

Task current command line
Fix permissions and run Composer sh setup.sh
Update from SVN svn up
Update DB and clear all cache (if there are no DB changes needed, it just clears the cache) php installer/shell.php
Install php installer/shell.php install
Re-install and delete all data (careful!) php installer/shell.php install
Apply a profile php lib/profilelib/shell.php install Screencast
Update search index php lib/search/shell.php rebuild

Missing in Tiki Console

High priority

  • Backup db and files
  • Restore
  • Clone (backup and restore)
  • Pre-dogfood server (which is in effect clone and upgrade)

Examples of commands

  • Ideal: that all this can be scripted and put on cron jobs

console.php backup

  • content
    • 1- db only
    • 2- db and files to a zip (like TRIM) (This is what you would put on a cron job for safe incremental backups)
      • See TRIM backups for format: TRIM
  • location of files: ex.: /var/www/backups/
  • name of file: enter nothing for automatically generated


Like http://www.drush.org/#archive-dump

console.php clone

  • dbonly or dbandfiles (default)
  • location of files: /var/www/html/11x/
  • database info
    • db: Must be different than current Tiki
    • u:
    • p:
    • h: localhost is default
  • upgrade?: if the clone should be upgraded, indicate version here. This is in essence a Pre-Dogfood Server like with https://sourceforge.net/p/tikiwiki/code/HEAD/tree/trunk/doc/devtools/update.dogfoodserver.sh
  • redact level from Database Redact
    • none (exact clone)
    • basic (remove stuff which are expected to be different on a another server
      • memcache_prefix
    • max if clone should be redacted, indicate here
  • prefs modification. For example
    • To add a header "This is a test site, all modifications will be overriden"
    • User_watches = n (Testing changes shouldn't spam people)
    • admin password should become XYZ



Note: If files are stored to absolute paths, there will be a problem that the clone.

Related: http://www.drush.org/#core-rsync

console.php restore

This would restore a backup to the current Tiki. Note: this should perhaps only be doable on an empty database, to avoid big errors?

  • location of files: /var/www/html/11x/20130707backup_tiki_abc.sql or 20130707backup_tiki_abc.zip
    • If it's a .sql, it should restore just that
    • If it's a .zip, it would contain files and db
  • If files are to be restored to an absolute path, the admin should be asked which path to restore to.


Like: http://www.drush.org/#archive-restore

console.php update

Similar to the current svnup.sh

  • svn upgrade
  • sh setup.sh
  • update db
  • clean cache
  • re-index


http://www.drush.org/#pm-update
http://www.drush.org/#self-update

console.php upgrade

This would do these steps:

  • svn switch
  • svn upgrade
  • sh setup.sh
  • update db
  • clean cache
  • re-index

console.php clone_and_update

test a minor upgrade on a copy of the data

console.php clone_and_upgrade

This is in essence a pre-dogfood server

Should we bother?

  • Health check, or should this be done via external Monitoring ?
  • Set admin password to XYZ (or should be interactive profile?)
  • secdb/trim check

Potential Integrations

  • tiki-batch_send_newsletter.php

Prerequisites

  • Clean up externals done
  • Perhaps ZF2? not needed

Related apps

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
Administration
Ajax
Articles & Submissions
Backlinks
Banner
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Calendar
Category
Chat
Comment
Communication Center
Consistency
Contacts Address book
Contact us
Content template
Contribution
Cookie
Copyright
Credits
Custom Home (and Group Home Page)
Database MySQL - MyISAM
Database MySQL - InnoDB
Date and Time
Debugger Console
Diagram
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw -superseded by Diagram
Dynamic Content
Preferences
Dynamic Variable
External Authentication
FAQ
Featured links
Feeds (RSS)
File Gallery
Forum
Friendship Network (Community)
Gantt
Group
Groupmail
Help
History
Hotword
HTML Page
i18n (Multilingual, l10n, Babelfish)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
jQuery
Kaltura video management
Kanban
Karma
Live Support
Logs (system & action)
Lost edit protection
Mail-in
Map
Menu
Meta Tag
Missing features
Visual Mapping
Mobile
Mods
Modules
MultiTiki
MyTiki
Newsletter
Notepad
OS independence (Non-Linux, Windows/IIS, Mac, BSD)
Organic Groups (Self-managed Teams)
Packages
Payment
PDF
Performance Speed / Load / Compression / Cache
Permission
Poll
Profiles
Quiz
Rating
Realname
Report
Revision Approval
Scheduler
Score
Search engine optimization (SEO)
Search
Security
Semantic links
Share
Shopping Cart
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
Task
Tell a Friend
Terms and Conditions
Theme
TikiTests
Federated Timesheets
Token Access
Toolbar (Quicktags)
Tours
Trackers
TRIM
User Administration
User Files
User Menu
Watch
Webmail and Groupmail
WebServices
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
WYSIWTSN
WYSIWYCA
WYSIWYG
XMLRPC
XMPP




Useful Tools