Updating Mixpost Enterprise
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 Enterprise version up to date. This ensures you get the latest features and fixes. Follow these guidelines based on your installation method.
Always back up your database before starting the update. If something goes wrong, you will need it to restore your previous state.
The Mixpost Enterprise package builds on the core Mixpost Pro package. When Mixpost Pro is updated, Enterprise users can update too, ensuring they benefit from all new enhancements and fixes seamlessly.
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 Enterprise manually or within an existing Laravel application.
1. Update the Mixpost Enterprise Package
To update Mixpost Enterprise, which extends Mixpost Pro, run the following command:
composer update inovector/mixpost-enterprise -W
This command ensures both the core package, Mixpost Pro, and its extension, Mixpost Enterprise, are updated to their latest versions.
2. Upgrade the database
Apply any database changes included in the update:
php artisan mixpost:upgrade-database
php artisan mixpost-enterprise:upgrade-database
This command is only available starting with Mixpost Enterprise v7. 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 Enterprise installation is updated with the latest versions, maintaining performance and security standards.