Nextcloud Login nach Neuinstallation nicht möglich

Hallo zusammen,
ich öffne dieses Ticket mit der Hoffnung, dass ich geholfen werde.

Ich habe Nextcloud mehrmals auf Ubuntu 22.xx neu installiert, allerdings habe ich am Ende immer das selbe Problem, nach der Installation rufe ich die Webseite auf, gebe die Daten ein (Neuer Username, neues PW/ Datenbank-Informationen), wenn ich aber auf INSTALLIEREN drücke, passiert nichts, außerdass die Seite neu geladen wird.

kann jemand mir bitte dabei helfen?
Danke im Voraus
Grüße

Installation habe ich nach dieser Anleitung durchgeführt:

Nextcloud 24 auf Ubuntu 22.04 installieren

updating

apt update && apt upgrade -y

Installing apache

apt install apache2

Install PHP

apt install software-properties-common
add-apt-repository ppa:ondrej/php
apt update

Install PHP & Moduls

apt install php libapache2-mod-php php-zip php-dompdf php-xml php-mbstring php-gd php-curl php-imagick libmagickcore-6.q16-6-extra php-intl php-bcmath php-gmp php-cli php-json php-mysql php-zip php-gd php-mbstring php-curl php-xml php-pear unzip nano php-apcu redis-server ufw php-redis

adjust PHP.ini file

nano /etc/php/8.1/apache2/php.ini
(alternativ)
(nano /etc/php/8.0/apache2/php.ini)
memory_limit = 1024M
upload_max_filesize = 20G
post_max_size = 20G
date.timezone = Europe/Berlin
output_buffering = Off

Install Databse Server

apt install mariadb-server

Maria DB Server Konfiguration

mysql_secure_installation

open SQL dialoge

mysql

create database calles nextcloud

CREATE DATABASE nextcloud;

create database user with password

CREATE USER ‘nextclouduser’@‘localhost’ IDENTIFIED BY ‘password_here’;
#grant accesss to databse
GRANT ALL PRIVILEGES ON nextcloud.* TO ‘nextclouduser’@‘localhost’;
#save changes and exit
FLUSH PRIVILEGES;
EXIT;

Download lastest nextcloud version

cd /tmp && wget https://download.nextcloud.com/server/releases/latest.zip
unzip latest.zip
mv nextcloud /var/www/
#adjust conf
nano /etc/apache2/sites-available/000-default.conf

chnage document root to /var/www/nextcloud

Enable the NextCloud and Rewrite Module

a2enmod rewrite
a2enmod headers
a2enmod env
a2enmod dir
a2enmod mime

restart apache

systemctl restart apache2.service

prepare data folder

mkdir /home/data/
chown -R www-data:www-data /home/data/
chown -R www-data:www-data /var/www/nextcloud/
chmod -R 755 /var/www/nextcloud/

→ open server ip in browser

Remote Access & SSL

#create new conf
nano /etc/apache2/sites-available/nextcloud.conf
<VirtualHost *:80>
ServerAdmin master@domain.com
DocumentRoot /var/www/nextcloud/
ServerName
<Directory /var/www/nextcloud/>
Options +FollowSymlinks
AllowOverride All
Require all granted

Dav off

SetEnv HOME /var/www/nextcloud
SetEnv HTTP_HOME /var/www/nextcloud

ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined

#enbale config
a2ensite nextcloud.conf
service apache2 restart
#install certbot
apt install certbot python3-certbot-apache
certbot --apache -m master@domain.com -d cloud.domain.com

An der Anleitung ist auf den ersten Blick nichts auszusetzen. Das Neuladen der Seite ist eigentlich normal nur sollte der Install-Wizzard nicht nochmal erscheinen.

Das passiert in der Regel, wenn die NC-Instanz sich nicht mit der Datenbank verbinden kann und die Installation dann abbricht.

Poste wenn möglich bitte das Log-File deiner Nextcloud und checke ob du dich mit deiner DB verbinden kannst. Sollte über die Konsole leicht zu testen sein.

Alternativ Berechtigungen auf der Datadirectory prüfen. Der user www-data braucht alle Berechtigungen auf der Directory.

Hallo Drjambus
sorry, dass ich mich jetzt erst melde. Mir ist Corona, unsere PV-Anlage und weitere Problemchen dazwischen gekommen.
Jetzt möchte ich mit der Cloud endlich mal weiterkommen…

Der letzte Eintrag in nextcloud.log ist

{"reqId":"1dj0ZR8iqgocQ9XnKZMT","level":0,"time":"2022-08-15T14:15:23+00:00","remoteAddr":"192.168.1.110","user":"--","app":"files_sharing","method":"HEAD","url":"/remote.php/webdav/","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the >
</3rdparty/sabre/dav/lib/DAV/Auth/Plugin.php","Line":154,"CustomMessage":"--"}}


Soll ich noch weitere Zeilen kopieren, die noch andere Fehler enthalten?
Wie ist die Vorgehensweise? Von neu nach alt oder umgekehrt?

Danke für eine Antwort.

Hilft nicht so recht weiter und ist wohl eher ein stechen im Dunkeln. Kannst du mal nachschauen ob der Deamon der MariaDB läuft?