Mir ist gerade noch was eingefallen. Ich weiß ja nicht wie wichtig die Nextcloud ist. Aber vielleicht kannst du einfach schon jetzt auf Debian Bookworm (Testing) upgraden und dabei die ganzen Fremdpakete rauswerfen. Hierbei könnte

Wäre sicher eine Option. Dann muss man aber vorher die Fremdpakete rausschmeißen und das PHP 7.4 aus Bullseye wieder richtig in Betrieb nehmen oder?uname hat geschrieben:04.01.2023 09:57:32@Mesquita
Mir ist gerade noch was eingefallen. Ich weiß ja nicht wie wichtig die Nextcloud ist. Aber vielleicht kannst du einfach schon jetzt auf Debian Bookworm (Testing) upgraden und dabei die ganzen Fremdpakete rauswerfen. Hierbei könnteapt-show-versions hilfreich sein.
Hast du meinen Post gelesen?Mesquita hat geschrieben:04.01.2023 12:38:43Nun stehe ich aber mit dem gescheiterten Upgrade da und "will" eine Lösung des Problems finden.
Code: Alles auswählen
root@nextcloudpi:/home/pi# ls /etc/apache2/mods-enabled/
access_compat.load alias.load authnz_external.load autoindex.conf dir.conf headers.load mime.load negotiation.load proxy.load rewrite.load ssl.conf unique_id.load
actions.conf auth_basic.load authz_core.load autoindex.load dir.load http2.conf mpm_event.conf proxy.conf proxy_wstunnel.load setenvif.conf ssl.load
actions.load authn_core.load authz_host.load deflate.conf env.load http2.load mpm_event.load proxy_fcgi.load reqtimeout.conf setenvif.load status.conf
alias.conf authn_file.load authz_user.load deflate.load filter.load mime.conf negotiation.conf proxy_http.load reqtimeout.load socache_shmcb.load status.load
root@nextcloudpi:/home/pi# systemctl restart apache2
root@nextcloudpi:/home/pi# a2enmod php8.1
Considering dependency mpm_prefork for php8.1:
Considering conflict mpm_event for mpm_prefork:
ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Considering conflict mpm_worker for mpm_prefork:
ERROR: Could not enable dependency mpm_prefork for php8.1, aborting
.ERROR: Module mpm_event is enabled - cannot proceed due to conflicts. It needs to be disabled first!
Code: Alles auswählen
a2enmod php8.1-fpm
ERROR: Module php8.1-fpm does not exist!
/etc/apache2/mods-available/
Code: Alles auswählen
systemctl restart php8.1-fpm.service
Code: Alles auswählen
a2enconf php8.1-fpm
systemctl restart apache2.service php8.1-fpm
Code: Alles auswählen
root@nextcloudpi:/home/pi# systemctl status php8.1-fpm.service
● php8.1-fpm.service - The PHP 8.1 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php8.1-fpm.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2023-01-04 13:11:14 CET; 6min ago
Docs: man:php-fpm8.1(8)
Process: 152466 ExecStartPost=/usr/lib/php/php-fpm-socket-helper install /run/php/php-fpm.sock /etc/php/8.1/fpm/pool.d/www.conf 81 (code=exited, status=0/SUCCESS)
Main PID: 152463 (php-fpm8.1)
Status: "Processes active: 0, idle: 2, Requests: 7, slow: 0, Traffic: 0req/sec"
Tasks: 3 (limit: 8986)
CPU: 714ms
CGroup: /system.slice/php8.1-fpm.service
├─152463 php-fpm: master process (/etc/php/8.1/fpm/php-fpm.conf)
├─152464 php-fpm: pool www
└─152465 php-fpm: pool www
Jan 04 13:11:14 nextcloudpi systemd[1]: Starting The PHP 8.1 FastCGI Process Manager...
Jan 04 13:11:14 nextcloudpi systemd[1]: Started The PHP 8.1 FastCGI Process Manager.
root@nextcloudpi:/home/pi# a2enconf php8.1-fpm
Conf php8.1-fpm already enabled
root@nextcloudpi:/home/pi# systemctl restart apache2.service php8.1-fpm
root@nextcloudpi:/home/pi#
Code: Alles auswählen
/etc/apache2/sites-available/nextcloud.conf [----] 0 L:[ 1+ 0 1/ 33] *(0 /1035b) 0035 0x023 [↕][✕]
### DO NOT EDIT! THIS FILE HAS BEEN AUTOMATICALLY GENERATED. CHANGES WILL BE OVERWRITTEN ###
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
DocumentRoot /var/www/nextcloud
ServerName xx.xx
CustomLog /var/log/apache2/nc-access.log combined
ErrorLog /var/log/apache2/nc-error.log
SSLEngine on
SSLProxyEngine on
SSLCertificateFile /etc/letsencrypt/live/xx.xx/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/xx.xx/privkey.pem
# For notify_push app in NC21
ProxyPass /push/ws ws://127.0.0.1:7867/ws
ProxyPass /push/ http://127.0.0.1:7867/
ProxyPassReverse /push/ http://127.0.0.1:7867/
</VirtualHost>
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
<IfModule mod_dav.c>
Dav off
</IfModule>
LimitRequestBody 0
SSLRenegBufferSize 10486000
</Directory>
<IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains"
</IfModule>
</IfModule>
Code: Alles auswählen
[Wed Jan 04 13:23:04.769480 2023] [ssl:error] [pid 153881:tid 547756942400] AH02604: Unable to configure certificate localhost:4443:0 for stapling
[Wed Jan 04 13:23:04.774092 2023] [mpm_event:notice] [pid 153881:tid 547756942400] AH00489: Apache/2.4.54 (Debian) OpenSSL/1.1.1n configured -- resuming normal operations
[Wed Jan 04 13:23:04.774219 2023] [core:notice] [pid 153881:tid 547756942400] AH00094: Command line: '/usr/sbin/apache2'
Code: Alles auswählen
root@nextcloudpi:/home/pi# sudo -u www-data php /var/www/nextcloud/occ
An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache \OC\Memcache\Redis not available for local cache (Is the matching PHP module installed and enabled?)
Code: Alles auswählen
sudo -u www-data php index.php
Code: Alles auswählen
Operating system: Linux
Operating system name: Debian
Operating system version: 11.6
Kernel version: 5.15.76
Hardware platform: aarch64
Hostname: nextcloudpi
Code: Alles auswählen
version 25.0.2.3
vor der Übertragung in die php.ini unter cli:sudo -u www-data php index.php
Code: Alles auswählen
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Code: Alles auswählen
Access denied.
Code: Alles auswählen
[Thu Jan 05 13:59:06.916386 2023] [proxy_fcgi:error] [pid 932:tid 547668668800] [client xxx.xxx.xxx.xxx:57676] AH01071: Got error 'Access to the script '/var/www/nextcloud/login' has been denied (see security.limit_extensions)'