Skip to content

Upgrade from Community Edition

pawi edited this page Jun 19, 2012 · 1 revision

Preparation

  • Complete database backup (mysql dump)
  • Complete clipperz backup (web files)
  • Get the latest clipperz build from github see Building
  • Check the backups!

Database fix

Clipperz Communicty Edition had a serious bug due some data truncation, you can read it on Google Groups.

If you haven't already altered the database please execute follow sql commands: ALTER TABLE record MODIFY COLUMN data LONGTEXT NOT NULL;
ALTER TABLE user MODIFY COLUMN header LONGTEXT NOT NULL;
ALTER TABLE user MODIFY COLUMN statistics LONGTEXT NOT NULL;
ALTER TABLE recordversion MODIFY COLUMN header LONGTEXT NOT NULL;
ALTER TABLE recordversion MODIFY COLUMN data LONGTEXT NOT NULL;

Upgrade

  1. Move the builded copy of clipperz to your webroot or any subfolder.
    I suggest to not overwrite the community edition due the new js(css/img structure just pick a new folder name or rename the old clipperz folder if still on the server.
  2. Edit the configuration.php file and copy the database connection details from your old configuration.php file.
  3. Launch your new clipperz site in your browser
    Please Note that the default build puts the index.html in the beta subfolder. You can move the contents of the beta folder to the parent folder for easy access without the beta tag.
Clone this wiki locally