Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ensure you backup all your data in case something does not work as expected.
(Database would be 'froxlor' in most of the cases)
mysqldump -u root -p [database] > backup_[database].sql
Now backup your old userdata.inc.php* from the lib/ folder
cp /var/www/froxlor/lib/userdata.inc.php /tmp/
2. Extract new files
Now that we have all important data backed up, we can safely remove the old files, and replace them with the new ones.
Download the latest version of Froxlor from http://files.froxlor.org/releases/
rm -rf /var/www/froxlor/* # change directory cd /var/www/ # download latest froxlor version wget http://files.froxlor.org/releases/froxlor-latest.tar.gz # the content should go in to the folder /var/www/froxlor # note: the archive contains the folder 'froxlor' already! tar xvfz froxlor-latest.tar.gz # remove archive rm froxlor-latest.tar.gz
3. Move back userdata.inc.php
# move back the userdata.inc.php file mv /tmp/userdata.inc.php /var/www/froxlor/lib/
4. Correct permissions
In order for the webserver to be able to server the files, the owner must be set correctly. Note: If you're using FCGID/PHP-Fpm for the Froxlor-Vhost, you have to replace the webserver-user with your local froxlor-user.
chown -R [webserver-user]:[webserver-user] /var/www/froxlor/
(the 'webserver-user' on most systems is 'www-data' or 'apache')
5. Login to Froxlor
Now open Froxlor in your browser and login with the admin-account. You will be prompted to run the database-update.