Skip to main content

Updating Mixpost Pro

Update involves improvements and bug fixes to enhance security and functionality, occurring regularly with little impact on user interaction.

It's important to keep your Mixpost Pro version up to date. This ensures you get the latest features and fixes. Follow these guidelines based on your installation method.

Backup your database first

Always back up your database before starting the update. If something goes wrong, you will need it to restore your previous state.

Update Using Docker​

Updating Mixpost using Docker is straightforward. Ensure that you preserve the mounted volume during the process. Simply follow these steps:

Navigate to your folder where you have the docker-compose.yml the file then run:

# Pull the latest version
docker compose pull

# Stop and remove the old container
docker compose down

# Start a new container
docker compose up -d

Any database changes included in the update are applied automatically when the new container starts.

Update in a PHP Environment​

This method applies if you have installed Mixpost Pro manually or within an existing Laravel application.

1. Update the Mixpost Pro Package​

composer update inovector/mixpost-pro-team

2. Upgrade the database​

Apply any database changes included in the update:

php artisan mixpost:upgrade-database
note

This command is only available starting with Mixpost Pro v6. If you are on an older version, skip this step.

3. Clear the cache​

php artisan optimize:clear --except cache
php artisan mixpost:clear-services-cache
php artisan mixpost:clear-settings-cache

4. Optimize application​

php artisan optimize --except cache

5. Restart Reverb​

If you’ve set reverb as your BROADCAST_DRIVER, make sure to restart it to apply changes.

Restart Reverb using the following command:

php artisan reverb:restart

6. Terminate the Horizon process​

php artisan horizon:terminate

Conclusion​

Following these steps will ensure that your Mixpost Pro installation is updated with the latest versions, maintaining performance and security standards.