It is essential that you perform regular backups of your site to an offsite location. Below are directions on how to backup your files and MySQL database from Pligg.
- Install the Pligg Update module
- Continue to step 2, where you will be able to download a copy of your MySQL and regular files
- Make sure that you confirm that the files generated are valid before performing an upgrade.
Please be sure to make a backup of your MySQL databases and files before upgrading to the latest version of Pligg. Some upgrades might alter your MySQL database, so please make backups whenever upgrading.
These instructions do not support upgrading your template. Template upgrades require manual changes and should be carefully handled by the template author.
- Backup your MySQL database
- Backup your old pligg files
- Disable all of the modules from your admin panel.
You will need to re-enable them after upgrade.
- Delete all of the files from your server EXCEPT:
- Your current template folder
- Upload all of the latest files to your server.
If you are able to I suggest uploading a zip file to the server and extracting it server-side. This is both the quickest and most full-proof method.
- Confirm that the CHMOD permissions for the following files or folders are all set to 777.
- /languages/lang_english.conf (+ whichever language files you use)
- Run the upgrade from /install/upgrade.php
If there are no error messages, delete the /install directory from your web server.
- Log in as a "god" level user.
In some cases you may already be logged in from your previous version of Pligg.
- Either update your template to work with the latest version or navigate to /admin/admin_config.php?page=Template and change the template name to "wistie"
- Re-activate any modules that were previously disabled for the upgrade.
Upgrades have been a hassle in the past during Pligg's "Beta" stage, but as of Pligg 1.0 we are editing fewer templates between releases. We will also provide more detailed information about which templates have been edited, and what content has been changed, removed or added for each update.
As a member of the Pligg Forum, you are able to mark downloaded modules as installed and keep track of modules. By marking a module (or template) as installed you are subscribing to receive a notice whenever an update is released and marked as important by the module developer.
The Pligg module admin panel page also makes use of a pligg.com feature that will allow you to keep track of what the latest version is for many of your modules. this makes it easy to compare your installed version of a module with the latest available version.
To upgrade a module, you should follow these steps:
- Download the latest available version of the module to your computer and unzip it.
- Navigate to your Pligg site's admin panel, then click on the Modules link to go to the admin module page.
- If you have made any customizations to the module you are updating, you will need to repeat those customizations with the latest version.
- Find the module you are updating. Click the disable link, then the remove link. You are only temporarily disabling the module to reduce the chance of a problem happening during the upgrade.
- Delete the old module folder from the /modules directory in your Pligg site.
- Upload the new module folder to the /modules directory of your Pligg site.
- Refresh the module admin page and click on the install link for the module.
- If the module has any settings, make sure that you double check them after re-installation.