I'm using nextcloud:26.0.2-fpm with the following Dockerfile:
FROM nextcloud:26.0.2-fpm
USER root
RUN apt-get update && apt-get install -y ffmpeg
USER www-data
However, when nextcloud starts I get the following error:
This version of Nextcloud is not compatible with PHP>=8.2.
You are currently running 8.2.6.
How do I resolve this? I haven't changed anything except going from 26.0.1 to 26.0.2 and it appears to have this issue with either version.