Nextcloud 21 - Settings, System - Error The server was unable to complete your request

ok - give me 5 minutes and please support me.

First step

root@h2937523:~# which php
/usr/bin/php
root@h2937523:~# /opt/plesk/php/7.4/bin/php -v
PHP 7.4.18 (cli) (built: Apr 30 2021 08:02:55) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with the ionCube PHP Loader + ionCube24 v10.4.5, Copyright (c) 2002-2020, by ionCube Ltd.
with Zend OPcache v7.4.18, Copyright (c), by Zend Technologies
root@h2937523:~#

@stefan-franz ok, take your time :+1:

Next Step

root@h2937523:~# find /opt/plesk/php/*/bin/php
/opt/plesk/php/7.3/bin/php
/opt/plesk/php/7.4/bin/php

Next step with error…File or directory not found (in english)

root@h2937523:~# ln -s /opt/plesk/php/7.4/bin/php /var/www/vhosts/chroot/bin/phproot@h2937523:~# ./update_chroot.sh --apply all
-bash: ./update_chroot.sh: Datei oder Verzeichnis nicht gefunden

@stefan-franz check the comments section, I have find this :
mv /usr/bin/php /usr/bin/php.backup
mv /usr/bin/php-cgi /usr/bin/php-cgi.backup
mv /sbin/php-fpm /sbin/php-fpm.backup
ln -s /opt/plesk/php/7.4/bin/php /usr/bin/php
ln -s /opt/plesk/php/7.4/bin/php-cgi /usr/bin/php-cgi
ln -s /opt/plesk/php/7.4/sbin/php-fpm /sbin/php-fpm
/usr/local/psa/admin/bin/php_handlers_control --reread
/usr/local/psa/admin/sbin/httpdmng --reconfigure-all
#to reset all the domains to php7.4 if required (can be done through Plesk UI)
php -v
#will confirm php7.4 but this is not enough as I discovered with other methods to set default php binary)

I made a new start from the server and look - and if it not runs, i go back to data backup.
Thank you for your support.

1 Like

apt install jq
tail -f /path/to/nextcloud-data/nextcloud.log | jq

Hello all - thank you for your support. After my server restore is finished, i come return again with this theme.

@Admins: Maybe you delete this thead - theres ist absolut no solution for any problem here.
Thanks.