github MbinOrg/mbin v1.5.0

latest releases: v1.8.0, v1.7.4, v1.7.3...
11 months ago

This is the 1.5.0 release of Mbin. It brings changes to messenger queue layout (again), adds Zitadel SSO support, UI improvements, a proper account deletion which is controlled by the user, performance improvements, and a bunch of bug fixes and security updates in our dependencies.

An explanation of the new messenger queues can be found here: admin_guide.md#symfony-messenger-queues and other documentation improvements.

DB migration may take multiple minutes for new index creation.

Comparison to previous version 1.4.1:

DB migrations New ENV vars Admin guide changes Suggest cache clearing
☑️ ☑️ ☑️ ☑️

Upgrade Instructions

For Docker

  1. Get the official image or checkout the code and build it locally
  2. Stop all containers docker compose down
  3. Start all containers docker compose up -d

For Bare Metal

  1. Stop all messenger processes by running supervisorctl stop messenger:* as the root user
  2. Edit the supervisor messenger config located at /etc/supervisor/conf.d/messenger-worker.conf to
command=php /var/www/mbin/bin/console messenger:consume scheduler_default old async outbox deliver inbox resolve receive failed --time-limit=3600
user=www-data
numprocs=6
startsecs=0
autostart=true
autorestart=true
startretries=10
process_name=%(program_name)s_%(process_num)02d

Adjust the numprocs parameter to your needs. Also be aware of the path to the mbin repo. If you are coming from kbin and never changed your folder structure then the second line has to be changed to:

command=php /var/www/kbin/bin/console messenger:consume scheduler_default old async outbox deliver inbox resolve receive failed --time-limit=3600 
  1. Login as the mbin/kbin user: su mbin
  2. Go to your repo cd /var/www/mbin
  3. Get the new release: git fetch && git checkout v1.5.0
  4. Run the update script: bash bin/post-upgrade.sh. If you get an error when running the db migrations you maybe have to stop your webserver, so nothing is trying to access the database.
  5. Run exit so we are back at the root user (or put a sudo infront of every command)
  6. flush your redis db by running redis-cli, type in AUTH [YOUR PASSWORD] and then FLUSHDB
  7. clear your opcache by reloading php fpm systemctl reload php8.2-fpm
  8. Refresh supervisor and start the new messenger group: supervisorctl reread && supervisorctl update && supervisorctl start messenger:*

What's Changed

Full Changelog: v1.4.1...v1.5.0

Don't miss a new mbin release

NewReleases is sending notifications on new releases.