Skip to content

Upgrade from Clipbucket 4.2

MacWarrior edited this page Aug 20, 2024 · 8 revisions

Starting situation

To see where we're going, you need to see where you come from ; here you are :

  • Using ClipBucket 4.2 RC1 (Latest official release, released on 2019-01-31) without any specific issue relative to your system configuration
  • Using PHP 5.6.X (Latest PHP version compatible with ClipBucket 4.2 RC1, discontinued since 2019-01-10)
  • You want to upgrade ClipBucket to 5.X ! 😄

First situation : Upgrading your installation

  1. Make a full backup of your DB
  2. Make a full copy of your website
  3. Upgrade your PHP to 7.0+ (8.0+ recommended)
  4. Upgrade your MySQL to 5.6+ (MariaDB 10.3+ recommended)
  5. Replace existing Clipbucket directory with latest release or a git clone of this repository
    For now, git clone and usage of latest release (5.5.1-X) is more than recommended
  6. Replace /upload/files/ directory with your old one
  7. Move all files from old /upload/images/avatars/* to new /upload/files/avatars/ except no_avatar* files
  8. Copy your old /upload/includes/dbconnect.php to new /upload/includes/config.php
  9. Create new directories /upload/files/avatars/ , /upload/files/cover_photos/ and /upload/files/logos/ (With correct chmod and chown !)
  10. Move all files from old /upload/images/avatars/* to new /upload/files/avatars/ except no_avatar* files
  11. Login on /admin_area/login.php and then follow DB update instructions

Optionnal :

  • Remove php-imagick
  • Remove gpac
  • Remove flvtool2

Second situation : Make a new installation

  1. Make a full backup of your DB
  2. Use easy installation script
  3. Replace /upload/files/ directory with your old one
  4. Create new directories /upload/files/avatars/ , /upload/files/cover_photos/ and /upload/files/logos/ (With correct chmod and chown !)
  5. Move all files from old /upload/images/avatars/* to new /upload/files/avatars/ except no_avatar* files
  6. Drop installed DB and then restore clipbucket DB with your backup
  7. Login on /admin_area/login.php and then follow DB update instructions

Finally

Welcome aboard adventurer !