Mbin Versions Save

Mbin: a federated content aggregator, voting, discussion and microblogging platform (By the community, for the community)

v1.5.3

1 month ago

[!CAUTION] Do NOT checkout this release if you normally track main. Continue to track main as always. This release is ONLY for those that previously were on 1.5.2 https://github.com/MbinOrg/mbin/commit/0e63cdd5f3cf0f535a06af2d60832cc87d7cf3f9. Those that track main already have these fixes and will get the new version number as usual.

Hotfix to circular chain activity messages and an account deletion FK violation that would cause deadlocks. Advise bringing down messengers in order the migrate the DB successfully, as there may be lock conflicts with the table changes.

DB migrations New ENV vars Admin guide changes Suggest cache clearing
:ballot_box_with_check: :x: :x: :x:

What's Changed

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.5.2...v1.5.3

v1.5.2

1 month ago

Quick hotfix to some issues regarding local user actions and account deletion

In some scenarios:

  • Local user replies to other local users weren't federating out
  • Deleting your own posts may also have failed
  • Account deletion may have failed due to foreign key constraints

These issues should now be resolved

DB migrations New ENV vars Admin guide changes Suggest cache clearing
:ballot_box_with_check: :x: :ballot_box_with_check: :ballot_box_with_check:

What's Changed

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.5.1...v1.5.2

v1.5.1

1 month ago

Most important: Fix email sent issues (both during registration as well as contact form). The reason to create this patch release.

Have a nice Easter!

DB migrations New ENV vars Admin guide changes Suggest cache clearing
:x: :x: :x: :ballot_box_with_check:

What's Changed

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.5.0...v1.5.1

v1.5.0

1 month 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
:ballot_box_with_check: :ballot_box_with_check: :ballot_box_with_check: :ballot_box_with_check:

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: https://github.com/MbinOrg/mbin/compare/v1.4.1...v1.5.0

v1.4.1

2 months ago

PLEASE REVIEW v1.4.0 RELEASE NOTES BEFORE CONTINUING!!!

https://github.com/MbinOrg/mbin/releases/tag/v1.4.0

Hi everyone, v1.4.1 is here to address some critical bugs that were discovered in v1.4.0 that may cause 500 errors and/or odd behavior under the right conditions, so please update at your earliest convenience. Thank you!

Comparison to previous version: v1.4.0

DB migrations New ENV vars Admin guide changes Suggest cache clearing
:x: :x: :x: :ballot_box_with_check:

What's Changed

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.4.0...v1.4.1

v1.4.0

2 months ago

Hi everybody this is our v1.4.0 release bringing big changes to the messenger queue layout, our background worker system. And because of that the update process is a little more complicated than usually. For a little more info you can check out our FAQ#messenger-queue-is-building-up-even-though-my-messengers-are-idling and our Admin Guide#symfony-messenger-queues

Comparison to previous version: v1.3.0

DB migrations New ENV vars Admin guide changes Suggest cache clearing
:ballot_box_with_check: :x: :ballot_box_with_check: :ballot_box_with_check:

Upgrade Instructions

For Docker

We removed one of the containers in the docker compose, because we do not have separate workers for the different queues anymore. That means that the default is only one work process on the messenger queue.
If you need more than that, you can

  • copy & paste the messenger part of the docker/compose.yml and give them unique container names or
  • use the docker compose replicas option instead: comment out container_name for messenger service and this block and just change amount of replica you need
services:
  messenger:
    deploy:
      mode: replicated
      replicas: <number of replicas here>
  1. Get the new docker image by either checking out the new code and building the image or pull the published image
  2. Stop the containers and remove the messenger containers: docker compose down && docker compose rm
  3. Start the containers docker compose up -d

For Bare Metal

  1. Stop all supervisor messenger processes: supervisorctl stop messenger-ap:* messenger-kbin:*
  2. Remove the all process groups supervisorctl remove messenger-ap messenger-kbin
  3. Edit the messenger config at /etc/supervisor/conf.d/messenger-worker.conf to:
[program:messenger]
command=php /var/www/mbin/bin/console messenger:consume async async_ap failed --time-limit=3600
user=www-data
numprocs=4
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 async async_ap failed --time-limit=3600
  1. Get the new release: git fetch && git checkout v1.4.0
  2. 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.
  3. Refresh supervisor and start the new messenger group: supervisorctl reread && supervisorctl update && supervisorctl start messenger:*

What's Changed

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.3.0...v1.4.0

v1.3.0

3 months ago

Happy new year! This is our v1.3.0 release, as always with new features, frontend changes, bug fixes and various other improvements.

Thank you everybody for all your contributions and being part of our Mbin community.


Comparison to previous version: v1.2.0

DB migrations New ENV vars Admin guide changes Suggest cache clearing
:x: :x: :x: :ballot_box_with_check:

What's Changed

New Contributors

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.2.1...v1.3.0

v1.2.1

5 months ago

Thank you contributors and users! Wishing everyone a happy holiday season! :snowman_with_snow:


Comparison to previous version: v1.2.0

DB migrations New ENV vars Admin guide changes Suggest cache clearing
:x: :x: :x: :ballot_box_with_check:

What's Changed

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.2.0...v1.2.1

v1.2.0

5 months ago

Thank you to everyone making this possible!


Comparison to previous version: v1.1.0

DB migrations New ENV vars Will log users out
:ballot_box_with_check: :ballot_box_with_check: :ballot_box_with_check:

Major Features

  • exiftool image cleaning
    • By default, if exiftool is found, sanitize local uploads of GPS data
    • Can be configured via env vars to turn off / scrub more details / work on external images
  • Subscriber counts now populated from source magazines
  • Implementation of FEP-1b12
    • Moderators will now appear from AP software that implement linked FEP
    • Likewise, Mbin moderators will now appear for other software that implement it
  • New indexes for reducing DB CPU usage
  • Many improvements to markdown parsing, media type previewing, and more

What's Changed

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.1.0...v1.2.0

v1.1.0

6 months ago

Mbin Second release

A big thank you! to all those that submit issues, create pull requests, and constructively engage with our community to further enhance everyone's Mbin experience.

What's Changed

New Contributors

Full Changelog: https://github.com/MbinOrg/mbin/compare/v1.0.0...v1.1.0