Hallo zusammen,
seid gestern läuft meine Nextcloud nicht mehr nach einem Update, finde aber leider den Fehler überhaupt nicht und habe kein Idee, woran es liegen könnte.
Folgende Umgebung habe ich im Einsatz:
Kommando: lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
Kommando: php -v
PHP 8.1.2-1ubuntu2.9 (cli) (built: Oct 19 2022 14:58:09) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
with Zend OPcache v8.1.2-1ubuntu2.9, Copyright (c), by Zend Technologies
Kommando: cat /etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse
Kommando: dpkg -l | grep php
ii php-apcu 5.1.21+4.0.11-7ubuntu1 amd64 APC User Cache for PHP
ii php-bcmath 2:8.1+92ubuntu1 all Bcmath module for PHP [default]
ii php-bz2 2:8.1+92ubuntu1 all bzip2 module for PHP [default]
ii php-common 2:92ubuntu1 all Common files for PHP packages
ii php-curl 2:8.1+92ubuntu1 all CURL module for PHP [default]
ii php-fpm 2:8.1+92ubuntu1 all server-side, HTML-embedded scripting language (FPM-CGI binary) (default)
ii php-gd 2:8.1+92ubuntu1 all GD module for PHP [default]
ii php-gmp 2:8.1+92ubuntu1 all GMP module for PHP [default]
ii php-imagick 3.6.0-4ubuntu1 amd64 Provides a wrapper to the ImageMagick library
ii php-intl 2:8.1+92ubuntu1 all Internationalisation module for PHP [default]
ii php-json 2:8.1+92ubuntu1 all JSON module for PHP [default]
ii php-mbstring 2:8.1+92ubuntu1 all MBSTRING module for PHP [default]
ii php-mysql 2:8.1+92ubuntu1 all MySQL module for PHP [default]
ii php-xml 2:8.1+92ubuntu1 all DOM, SimpleXML, WDDX, XML, and XSL module for PHP [default]
ii php-zip 2:8.1+92ubuntu1 all Zip module for PHP [default]
ii php8.1 8.1.2-1ubuntu2.9 all server-side, HTML-embedded scripting language (metapackage)
ii php8.1-apcu 5.1.21+4.0.11-7ubuntu1 amd64 APC User Cache for PHP
ii php8.1-bcmath 8.1.2-1ubuntu2.9 amd64 Bcmath module for PHP
ii php8.1-bz2 8.1.2-1ubuntu2.9 amd64 bzip2 module for PHP
ii php8.1-cli 8.1.2-1ubuntu2.9 amd64 command-line interpreter for the PHP scripting language
ii php8.1-common 8.1.2-1ubuntu2.9 amd64 documentation, examples and common module for PHP
ii php8.1-curl 8.1.2-1ubuntu2.9 amd64 CURL module for PHP
ii php8.1-fpm 8.1.2-1ubuntu2.9 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary)
ii php8.1-gd 8.1.2-1ubuntu2.9 amd64 GD module for PHP
ii php8.1-gmp 8.1.2-1ubuntu2.9 amd64 GMP module for PHP
ii php8.1-imagick 3.6.0-4ubuntu1 amd64 Provides a wrapper to the ImageMagick library
ii php8.1-intl 8.1.2-1ubuntu2.9 amd64 Internationalisation module for PHP
ii php8.1-mbstring 8.1.2-1ubuntu2.9 amd64 MBSTRING module for PHP
ii php8.1-mysql 8.1.2-1ubuntu2.9 amd64 MySQL module for PHP
ii php8.1-opcache 8.1.2-1ubuntu2.9 amd64 Zend OpCache module for PHP
rc php8.1-pgsql 8.1.2-1ubuntu2.9 amd64 PostgreSQL module for PHP
ii php8.1-readline 8.1.2-1ubuntu2.9 amd64 readline module for PHP
ii php8.1-xml 8.1.2-1ubuntu2.9 amd64 DOM, SimpleXML, XML, and XSL module for PHP
ii php8.1-zip 8.1.2-1ubuntu2.9 amd64 Zip module for PHP
Kommando: netstat -plant | grep ‘80|443’
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1749/nginx: master
tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 1749/nginx: master
tcp6 0 0 :::80 :::* LISTEN 1749/nginx: master
tcp6 0 0 :::443 :::* LISTEN 1749/nginx: master
Kommando: systemctl status php8.1-fpm
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 Sat 2023-01-21 18:29:29 CET; 2h 48min ago
Docs: man:php-fpm8.1(8)
Process: 1863 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: 1860 (php-fpm8.1)
Status: "Processes active: 0, idle: 2, Requests: 88, slow: 0, Traffic: 0req/sec"
Tasks: 3 (limit: 38268)
Memory: 23.7M
CPU: 865ms
CGroup: /system.slice/php8.1-fpm.service
|-1860 "php-fpm: master process (/etc/php/8.1/fpm/php-fpm.conf)" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
|-1861 "php-fpm: pool www" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
`-1862 "php-fpm: pool www" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "">
Jan 21 18:29:29 nextcloud systemd[1]: Starting The PHP 8.1 FastCGI Process Manager...
Jan 21 18:29:29 nextcloud systemd[1]: Started The PHP 8.1 FastCGI Process Manager.
Kommando: systemctl status nginx
* nginx.service - nginx - high performance web server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2023-01-21 18:12:34 CET; 3h 7min ago
Docs: https://nginx.org/en/docs/
Process: 1748 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
Process: 1960 ExecReload=/bin/sh -c /bin/kill -s HUP $(/bin/cat /var/run/nginx.pid) (code=exited, status=0/SUCCESS)
Main PID: 1749 (nginx)
Tasks: 5 (limit: 38268)
Memory: 6.0M
CPU: 277ms
CGroup: /system.slice/nginx.service
|-1749 "nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf"
|-1964 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
|-1965 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
|-1966 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
`-1967 "nginx: worker process" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" "" ""
Jan 21 18:12:34 nextcloud systemd[1]: Starting nginx - high performance web server...
Jan 21 18:12:34 nextcloud systemd[1]: Started nginx - high performance web server.
Kommando: cat /etc/php/8.1/fpm/pool.d/www.conf (hier nur Auszug:
; Note: This value is mandatory.
listen.owner = www-data
listen.group = www-data
;listen.mode = 0660
listen = /run/php/php8.1-fpm.sock
env[HOSTNAME] = $HOSTNAME
env[PATH] = /usr/local/bin:/usr/bin:/bin
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
-
Nextcloud ist in der Version 25.0.3 (meine ich)
-
Die error.logs von nginx, php-fpm oder nextcloud bringen keinerlei Fehler.
Was kann ich noch prüfen/ tun, damit ich die nextcloud wieder ans Laufen bekommen. Mein aktueller Verdacht: PHP Versionen oder Module. Warum?
Kommando: ls -l /run/php/
lrwxrwxrwx 1 root root 30 Jan 21 21:28 php-fpm.sock -> /etc/alternatives/php-fpm.sock
-rw-r--r-- 1 root root 4 Jan 21 21:28 php8.1-fpm.pid
srw-rw---- 1 www-data www-data 0 Jan 21 21:28 php8.1-fpm.sock
Hier verweist fpm.sock auf alternatives und ich weiß nicht, ob das richtig ist, denke aber es ist falsch…
Ideen sind herzlich willkomAmen.
NGINX läuft, dass kann ich über eine Test-Datei erkennen.
LG
SHe