Update php Nextcloud Pi docker

Hello! I have installed nextcloud pi docker on openmediavault 6.0.4-1 (Shaitan). To install some applications, nextcloud requires php to be updated to 7.4. Has anyone done this? If you did, PLEASE tell me how.

Your Composer dependencies require a PHP version “>= 7.4.0”. You are running 7.3.31-1~deb10u1

You would enter the docker container /bin/bash and then install php version 7.4 from debian sources.

Google for how to do both. It is not a difficult process.

Please give a little more details. I did not understand. As an example - the command in the terminal.

enter the docker container /bin/bash - I did not understand.

Now I understand.Screenshot_20211122_233942

The following information may help to resolve the situation:

The following packages have unmet dependencies:
gnat-7-sjlj : Depends: gnat-7 (= 7.4.0-6) but it is not going to be installed
libgnatvsn7-dev : Depends: gnat-7 (= 7.4.0-6) but it is not going to be installed
libneon27-dev : Conflicts: libneon-dev
Conflicts: libneon27-gnutls-dev but 0.30.2-3 is to be installed
libneon27-gnutls-dev : Conflicts: libneon-dev
Conflicts: libneon27-dev but 0.30.2-3 is to be installed
linux-image-4.19.0-17-amd64 : Conflicts: linux-image-4.19.0-17-amd64-unsigned but 4.19.194-3 is to be installed
linux-image-4.19.0-17-amd64-unsigned : Conflicts: linux-image-4.19.0-17-amd64 but 4.19.194-3 is to be installed
linux-image-4.19.0-17-cloud-amd64 : Conflicts: linux-image-4.19.0-17-cloud-amd64-unsigned but 4.19.194-3 is to be installed
linux-image-4.19.0-17-cloud-amd64-unsigned : Conflicts: linux-image-4.19.0-17-cloud-amd64 but 4.19.194-3 is to be installed
linux-image-4.19.0-17-rt-amd64 : Conflicts: linux-image-4.19.0-17-rt-amd64-unsigned but 4.19.194-3 is to be installed
linux-image-4.19.0-17-rt-amd64-unsigned : Conflicts: linux-image-4.19.0-17-rt-amd64 but 4.19.194-3 is to be installed
php-apcu : Conflicts: php-yac but 2.0.2+0.9.2-4 is to be installed
php-gmagick : Conflicts: php-imagick but 3.4.3-4.1 is to be installed
php-yac : Conflicts: php-apcu but 5.1.17+4.0.11-1 is to be installed
Conflicts: php-user-cache
python-cherrypy3 : Conflicts: python-cherrypy but 2.3.0-5 is to be installed
python-libpcap : Conflicts: python-pypcap but 1.2.2-1 is to be installed
python-pypcap : Conflicts: python-libpcap but 0.6.4-1 is to be installed
python-pysqlite1.1 : Conflicts: python-sqlite but 1.0.1-12 is to be installed
python-sqlite : Conflicts: python-pysqlite1.1 but 1.1.8a-8 is to be installed
python-xattr : Conflicts: python-pyxattr
python3-eccodes : Breaks: python3-gribapi but 1.28.0-2 is to be installed
python3-gribapi : Conflicts: python3-eccodes but 2.12.0-1 is to be installed
python3-xattr : Conflicts: python3-pyxattr
E: Unable to correct problems, you have held broken packages.

You’ll just need to understand how to install PHP 7.4 in Debian now that you are inside the container. Google will be your friend for these steps. It will take either of us the same amount of time to google the documentation.

Fyi, their is a request for PHP 7.4 support in a future docker image of NextcloudPi. You could switch to standard Nextcloud docker image to setup whatever version of PHP you prefer from the jump. Cheers.