Loading...
 

Move Tiki to a new server


This is an installation guide. Also, you can use Server Check to make sure the new server is appropriately configured for Tiki.

The following worked for me and was so surprisingly easy and smooth that I have to share it with you! biggrin Nevertheless, there is no guarantee it will work the same way for you.

Initial Assumptions

  • You have a working current Tiki installation on your "OLD" server where all data is stored in the database. (I know that is not the optimal way but for the actual moving it comes in quite handy...if not, files outside the db have to be moved manually at the end)
  • both hosts web-host allow FTP access & provide phpMyAdmin.
  • Otherwise you can Move tiki using ssh.

Part 1 : New Tiki & old database on the new server

  1. Make a mysqldump (e.g. old_dump.sql) of your old mysql database. Damian explains here how to do it.
  2. Then go and log into your new site.
  3. Install by FTP under a folder (e.g. /tiki) and set necessary permissions to all folders.
  4. Using phpMyAdmin, create a new (empty) database, and a user for that database (same as in Install by FTP. You need the info: host, user, password, information.
  5. You can import the dump from the old database via phpMyAdmin, unless it is greater than 50 megs in size - in which case you need to Install by SSH or get help from your web host.
    1. Go to the menu SQL > textfile. Click on Browse and point to old_dump.sql. (I used "autodetect" for the format which worked for me. I read that there can be problems because mysqldump and the phpMyAdmin way are not always leading to compatible dump files. Could not verify though.) Hopefully you will not get any SQL Errors in the process.
    2. Now, you have an new Tiki set up (not yet fully installed) and the old (= moved) MySQL database below, but they are not yet connected.

Part 2 : A little different Tiki installation

  1. Point with your browser to your /tiki folder. You should enter the usual install script.
  2. Enter the new database access information (host, user, password, etc.)
  3. Do NOT create any new tiki install but click on "Do nothing and proceed directly to Tiki".
  4. Now you should see tiki/tiki-index.php
  5. Now Tiki should be running smoothly. mrgreen
  6. In my case: I got an error because temp/cache permissions have not been taken the first time. So I deleted the folder temp/cache (via FTP, remember) and created the same again. Then giving all permission ("chmod 777").

If you have not saved all data in the database, now you got to move all images/files/etc. from the old site to the new.
(see again Damians post)

Part 3 : Dealing with UTF-8 issues

  • If your pages contain some non-ASCII characters (ex: accented latin characters), it could be that you see them displayed as a question mark, or some other strange form.
  • If you experience this, it means there is a mismatch between the charset used by different parts of the system, and the data.
  • To resolve this issue, do the following.
  1. Make sure the default encoding for the SQL connection uses the same charset on both servers
    1. PhpMyAdmin > General Parameters
    2. It is recommended that you use utf8_general_ci
  2. Make sure tiki on the target server uses the same encoding as on the original server
    1. SSH to original server, then look at the $client_charset value set in db/local.php.
    2. SSH to target server, then edit to make sure it's set at the same value.
    3. If you had to change the value, then clear the Tiki caches.


Created by mlpvolt. Last Modification: Friday 26 July, 2019 13:07:10 GMT-0000 by Yves Kipondo.

doc.tiki.org

Get Started

Admin Guide User Guide

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
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
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
Draw
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)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
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
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

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