How to update
WARNING
If your current version is below 1.0.0, please follow the migration guide first.
For docker users
If you are using the docker version of Paymenter, use the following commands to update:
bash
docker compose pull
docker compose up -dAutomatic update
Run the following command in your terminal:
bash
cd /var/www/paymenter
php artisan app:upgradeManual update
Cd to your paymenter directory and run the following commands:
Put the application in maintenance mode
bash
php artisan downDownload the latest version
bash
curl -L https://github.com/paymenter/paymenter/releases/latest/download/paymenter.tar.gz | tar -xzUpdate extensions
Sometimes extensions also need to be updated, now is the time to check if any of your installed extensions have updates available.
Update the dependencies
bash
composer install --no-dev --optimize-autoloaderSet the correct permissions
bash
chmod -R 755 storage/* bootstrap/cache/Migrate the database
bash
php artisan migrate --force --seedClear config and view
bash
php artisan config:clear
php artisan view:clearSet webserver permissions
bash
chown -R www-data:www-data /var/www/paymenter/*Remove the maintenance mode
bash
php artisan upUpdate is now complete!