v1.7.1-rc2
Pre-release
Pre-release
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
- Get the official image or checkout the code and build it locally
- Stop all containers
docker compose down
- Start all containers
docker compose up -d
For Bare Metal
- Login as the mbin/kbin user:
su mbin
- Go to your repo
cd /var/www/mbin
- Get the new release:
git fetch && git checkout v1.7.1-rc2
- 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. - Run
exit
so we are back at the root user (or put a sudo infront of every command) - flush your redis db by running
redis-cli
, type inAUTH [YOUR PASSWORD]
and thenFLUSHDB
- clear your opcache by reloading php fpm
systemctl reload php8.2-fpm
(or for PHP 8.3:systemctl reload php8.3-fpm
) - Restart the messengers:
supervisorctl restart messenger:*
What's Changed
- add default null to Instance entity nullables field by @asdfzdfj in #1006
- Remove
\intval
aroundMAX_IMAGE_BYTES
insrc/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