Upgrade


v3.1

For this release, you need to make a fresh install of the PHP application, and then, apply a migration to the database.

Refer to the installation page if necessary in order to get more details at each step of the procedure.

First, install the new release in a new folder:

git clone https://github.com/trax-project/trax3-extended-lrs trax31
cd trax31
composer install

Manage the rights of the storage and bootstrap/cache to make them writable both by the web server and the console user.

Copy the configuration file from the 3.0 release:

cp ../trax3/.env .

Now, go back to the previous release and enable the maintenance mode:

cd ../trax3
php artisan down

In the new application folder, apply the database migrations:

cd ../trax31
php artisan migrate --database=auth
php artisan migrate --database=logging

Now, switch the web server to the public folder of the new installation.

New configuration options are available. Adapt your .env file if needed:

SHOW_RELEASE=false             # Hide the release number on the login page.

PASSWORDS_SIZE=12              # Number of characters, at least 12.
PASSWORDS_LETTERS=true         # Must contain letters.
PASSWORDS_NUMBERS=true         # Must contain numbers.
PASSWORDS_SYMBOLS=true         # Must contain symbols.
PASSWORDS_MIXED_CASE=true      # Must contain both uppercase and lowercase letters.

PASSWORDS_UNCOMPROMISED=true   # Must not be found in data leaks.

PASSWORDS_RENEW=30             # Force to renew the password every 30 days.

v3.0.1

This release requires a minor upgrade process.