Loading...
 

 Note

This page is to document "what Tiki should do". For feature documentation (what Tiki does), please see corresponding page on doc site
(Cached) Type of page »  Feature page

Server check

Tiki Check is stable & functional. Below are some ideas for the future, but no more imminent work is planned.

Bugs 

Next 

  • tiki-check.php: make all these 50+ values available to Nagios/Icinga/Shinken
  • tiki-check.php should refuse being indexed by robots (how to do this in PHP?)
  • The checks we have for htaccess (which are in tiki-admin.php?page=sefurl) should be available in tiki-check.php and when .htaccess is not the correct one for that version, there should be a huge warning
  • Make it easy to find for site admins (ex.: add link in menu, or admin panel)
  • Backport to branches/9.x
  • tiki-install.php -> * PHP error reporting level should not be reverted Done in trunk and 9.2
  • Testing Tiki installations on major Shared Hosting companies
  • Make a section for advanced things that basic users shouldn't worry about Done, I changed the category from bad to info

Questions 

  • In tiki-admin_system.php, when exporting a zip: Error:PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open archive '' in wb mode
  • Is realpath_cache check suitable for Tiki Check?
  • Is there a reliable way to tell people where to change the settings? (ex: /etc/php.ini /etc/my.cnf )
  • Are warnings about default_charset and date.timezone too stern? I have seen them on servers where Tiki works nicely
    • I changed from bad to ugly
  • if possible warn when running with another MPM than "prefork" - PHP is NOT thread-safe
    • can this be checked from PHP at all? (without using exec and parsing apachectl output)
  • session.save_path = /tmp
    • Does it make sense to check that?! Reasonable values for this vary from server to server and setup to setup.
  • Can we check for a working .htaccess?
    • e.g. create a htaccess with some RewriteRule in it, call the URL and see if it is being rewritten
    • any smarter way?
  • Can we check for the configuration of mod_deflate/expires/security ?
  • Disk space check should be KILled completely, it's the wrong place for it here.

Phase 2 


Beyond Tiki Check, but let's explore 

  • Should we have tiki-admin.php?page=server where we attempt to override various settings uncovered by Tiki Check?
  • File storage
    • If more than 50 Megs in MySQL, recommend to the admin to move to filesystem
    • If set to filesystem, but they are not accessible/writable, give a warning
  • check if we are often using more than x% of memory_limit and warn the admin
  • Run tiki-check automated, regularly in the background and e-mail admin or something like that
    • Run on Pre-Dogfood Servers and send an email report of hard crashes. (email could be stored in db/local.php)
  • security - how to lock it? (turtle)
    • If a Tiki is installed where tiki-check.php is, it should use tiki auth system and check tiki_p_admin, or ask for db/local.php info (because if Tiki is crashed, it can't check for tiki_p_admin). If it detects a brute force password attack, it should lock itself like t0iki-install.php does.
  • what happens, if Tiki is crashed
    • We want it to run in standalone, but we don't want people to DoS a Tiki to read it
  • A function to export to txt, csv, html or something for easy distribution to people wanting to help on debugging
    • ask LPH for some parsable format
      • Could be .csv to mother.tiki.org
        • We should do this at the end
  • In tiki-admin.php it should be warned that activating a feature doesn't help, if the server environment doesn't support it

File/folder permissions 

tiki-recovery.php 

Nice to have 

  • Can Tiki index file content? -> Search Within Files
    • Link to Admin->File Galleries
  • Check if Tikis Paths fit open_basedir
  • It would be nice to run from the command line php tiki-check.php and have a decent looking output (now it's hard to read HTML)
    • Since CLI PHP can be different than the web PHP, is this a good idea?

Low priority (only do if very easy) 

  • Show DB-credentials form in the MySQL section
  • Is it possible to report 32bits vs 64 bits? (useful to know what software to install)
  • Indicate if MyISAM or InnoDB (people can use adminer.php)
  • Warn if correlating values are too far off each other, for example
    • max_execution_time <> max_input_time
    • upload_max_filesize <> post_max_size <> max_allowed_packet

sh tiki-check.sh 

  • Since some things (like Apache worker MPM) can't be detected via PHP, perhaps the next step will be tiki-check.sh Let's move all the checks that can't be done via PHP to this section. And even here, some things will require root.
  • Check for these Server tools or for requirements for TRIM


Server check script examples 

Good, bad, ugly references 


In Nagios, it's OK, WARNING, UNKNOWN, or CRITICAL

Related 

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
Directory (of hyperlinks)
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
DogFood
Draw
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
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, alert + Social Bookmarking
Terms and Conditions
Theme
TikiTests
Timesheet
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