Moorfleeter Deich 216, 22113 Hamburg
+49 1774661716info@bastcom.deMon–Fri: 09:00–18:00

Blog

ITWeb Knowledge

Tech news, AI and practical knowledge – around WordPress, Joomla, hosting and web development.

Froxlor Update

← Back to the blog

Introduction

Before updating Froxlor, it is essential to create a complete backup of the current installation. This ensures that the system can be restored in case of problems during the update. This guide will guide you step by step through the Froxlor backup, download and update process.

1. Create backup

Before the update is done, a complete backup of the existing Froxlor installation should be created.

Database backup (the assumed database name is “froxlor”):

mysqldump -u root -pfroxlor > /tmp/backup_froxlor.sql

In addition, the file userdata.inc.php from the lib/-Directory to be secured:

cp /var/www/froxlor/lib/userdata.inc.php /tmp/

2. Download and unpack the latest version

Download the current stable version of Froxlor, save the existing Froxlor directory and unpack the new version:

cd /var/www/
mv froxlor froxlor_backup
wget http://files.froxlor.org/releases/froxlor-[version].tar.gz
tar -zxvf froxlor-[version].tar.gz

3. Restore Configuration File

Copy the previously secured configuration file back into the new installation:

mv /tmp/userdata.inc.php /var/www/froxlor/lib/

4. Set permissions

Make sure that the right user and group rights are set:

chown -R www-data:www-data /var/www/froxlor

(Check in advance which user and which group must be used for the web server.)

5. Register and update

Sign in to the Froxlor surface as admin and run the database update.

6. Update completed!

The update is now complete. If problems occur, the updated directory can be deleted and the previous backup directory can be restored:

rm -rf /var/www/froxlor
mv /var/www/froxlor_backup /var/www/froxlor

IMPORTANT: If necessary, don’t forget to play back the MySQL backup!