Skip to content

Update Application

chrRtg edited this page May 23, 2021 · 1 revision

Update the application

Table of Contents

  1. Maintenance Mode

  2. Software update

  3. Database update

Maintenance mode

To enable the maintenance mode, to lock out all users rename ./public/_maintenance.html to ./public/maintenance.html. To lift the maintenance mode rename ./public/maintenance.html back to ./public/_maintenance.html.

If you would like to have access to your skŸlizer even if maintenance mode is enables edit the .htaccess file in server root, enter your IP adress:

RewriteCond %{REMOTE_ADDR} !^101\.202\.111\.222

Software Update

You may update using git or by updating the files manually e.g. by unzipping the distribution.

After updating from GIT please follow these steps:

If you upgrade your existing Skylizer installation please delete the ./vendor directory before install.

  1. run composer update

    composer update
  2. clear the caches with

    rm -Rf ./data/cache/*

Database update

Import the SQL files in directory /ressource/db/ depending on which version of Skylizer you run.

Example, you run Version 2.3

./ressource/db/skylizer_update_v230_to_240.sql
./ressource/db/skylizer_update_v230_to_300.sql

This files does not overwrite your data like moons, scans, users, roles or permission.

Finally you should update all data in your database to the most current version

Disable Maintenance Mode

Please mind to disable the Maintenance Mode after you're done with the update.

Clone this wiki locally