Unable to Upgrade from 26.0.1.1 invalid post_max_size

Currently trying to upgrade from 26.0.1.1 using Docker compose file.
Seems like when trying to do the upgrade it thinks that newer versions are a downgrade. Also getting the issue with the post_max_size. I’m trying to find where this is set in the docker volume files for Nextcloud.
I’ve checked ini.php, .htaccess, and .user.ini.

Here is the logs file from docker compose logs

nextcloud-app-1  | Can't start Nextcloud because the version of the data (
nextcloud-app-1  | Warning: Invalid "post_max_size" setting. Invalid quantity "5.5G", interpreting as "5G" for backwards compatibility in Unknown on line 0
nextcloud-app-1  | 26.0.1.1) is higher than the docker image version (
nextcloud-app-1  | Warning: Invalid "post_max_size" setting. Invalid quantity "5.5G", interpreting as "5G" for backwards compatibility in Unknown on line 0
nextcloud-app-1  | 26.0.3.2) and downgrading is not supported. Are you sure you have pulled the newest image version?

Any suggestions would be greatly appreciated.

I was able to figure this out by adding a custom ini to the container.

What image are you using? If you’re using the official community Docker, that “5.5G” value is coming from your Compose file in an environment variable that you set somewhere.

Are you also saying that after you fixed the post_max_size that the downgrade complaint went away? Those should be unrelated…