Skip to content

v1.7.1-rc2

Pre-release
Pre-release
Compare
Choose a tag to compare
released this 11 Aug 21:28
· 286 commits to main since this release
69438cd

This is the second release candidate of v1.7.1. This release fixes a critical bug that was introduced in v.1.7.1-rc1 related to image uploads failing if the instance admin forgets to set the MAX_IMAGE_BYTES environmental variable. Framework configuration for trusted proxies was also introduced to properly handle rate limiting trigged by user IP addresses.

Comparison to previous version 1.7.0:

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

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. 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.7.1-rc2
  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 (or for PHP 8.3: systemctl reload php8.3-fpm)
  8. Restart the messengers: supervisorctl restart messenger:*

What's Changed

  • add default null to Instance entity nullables field by @asdfzdfj in #1006
  • Remove \intval around MAX_IMAGE_BYTES in src/Service/SettingsManager.php, breaks settings name resolution by @nobodyatroot in #1011
  • Add trusted proxy config to framework configuration by @nobodyatroot in #1012
  • Version bump for 1.7.1-rc2 by @nobodyatroot in #1015

Full Changelog: v1.7.1-rc1...v1.7.1-rc2