Nextcloud funktioniert nicht - die Zweite

Hinweis: In dem Thema Nextcloud funktioniert nicht - die Zweite gibt es 3 Antworten. Der letzte Beitrag () befindet sich ganz unten auf dieser Seite.
  • Hallo liebe Community,


    ich versuche seit Tagen ebenfalls Nextcloud "latest" unter TW zu installieren. Ich fahre in die selbe Baustelle wie Sven.

    Ich bin nach diesem Handhout vorgegangen:

    How To Install Nextcloud on openSUSE
    Learn how to install Nextcloud on openSUSE and take control of your data. Step-by-step guide for a secure, self-hosted cloud. Get started now!
    idroot.us

    Leider komme ich bei Aufruf

    http://10.10.10.30/nextcloud


    Der angeforderte URL konnte auf dem Server nicht gefunden werden.


    Eine index.php ist in dem Dokument-Root Verzeichnis.


    /srv/www/htdocs/nextcloud/

    -rwxr-xr-x. 1 wwwrun www     3485 17. Apr 11:06 index.php*

    Ich sehe im config-Verzeichnis :

    §/srv/www/htdocs/nextcloud/config> l

    insgesamt 88

    drwxr-xr-x. 1 wwwrun www    74 17. Apr 11:10 ./

    drwxr-xr-x. 1 wwwrun www   518  6. Mai 15:32 ../

    -rwxr-xr-x. 1 wwwrun www     0 17. Apr 11:06 CAN_INSTALL*

    -rwxr-xr-x. 1 wwwrun www 84698 17. Apr 11:06 config.sample.php*

    -rwxr-xr-x. 1 wwwrun www   665 17. Apr 11:06 .htaccess*

    Der Lamp-Stack läuft. Test okay!


    NextCloud-Version 31.0.4.1

    PHP Version 8


    Frage zu mariadb config:

    Wie ist eigentlich der Syntax? mit ' ' oder ohne?


    Code
    > CREATE USER nextclouduser@localhost IDENTIFIED BY 'put-password-here';
    grant all privileges on nextcloud.* to nextclouduser@localhost identified by 'some-password-here';
    
    oder 
    
    CREATE USER 'nextclouduser'@'localhost' IDENTIFIED BY 'your_password';
    GRANT ALL PRIVILEGES ON nextcloud.* TO 'nextclouduser'@'localhost';

    Weitere Information:

    Next:~ # zypper lr -E

    Repository priorities are without effect. All enabled repositories share the same priority

    # | Alias         | Name                                   | Enabled | GPG Check | Refresh

    --+---------------+----------------------------------------+---------+-----------+--------

    3 | repo-non-oss  | openSUSE-Tumbleweed-Non-Oss            | Yes     | (r ) Yes  | Yes

    4 | repo-openh264 | Open H.264 Codec (openSUSE Tumbleweed) | Yes     | (r ) Yes  | Yes

    5 | repo-oss      | openSUSE-Tumbleweed-Oss                | Yes     | (r ) Yes  | Yes

    7 | repo-update   | openSUSE-Tumbleweed-Update             | Yes     | (r ) Yes  | Yes

    <VirtualHost *:80>

    ServerName 10.10.10.30

    ServerAdmin Bill.Gehts@w911.net

    DocumentRoot /srv/www/htdocs/nextcloud

    <Directory /srv/www/htdocs/nextcloud>

    Options +FollowSymlinks

    AllowOverride All

    Require all granted

    <IfModule mod_dav.c>

    Dav off

    </IfModule>

    </Directory>

    </VirtualHost>


    Und zu Letzt noch die log -files

    Next:~ # more /var/log/apache2/nextcloud_error.log

    [Wed May 07 11:32:16.348251 2025] [ssl:warn] [pid 11139:tid 11139] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

    [Wed May 07 11:32:16.474928 2025] [mpm_prefork:notice] [pid 11139:tid 11139] AH00163: Apache/2.4.63 (Linux/SUSE) OpenSSL/3.5.0 PHP/8.4.6 configured -- r

    esuming normal operations

    [Wed May 07 11:32:16.474963 2025] [core:notice] [pid 11139:tid 11139] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -D phpMyAdmin -C PidF

    ile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c I

    nclude /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'

    [Wed May 07 11:37:03.817539 2025] [mpm_prefork:notice] [pid 11139:tid 11139] AH00170: caught SIGWINCH, shutting down gracefully

    [Wed May 07 11:37:03.991641 2025] [ssl:warn] [pid 11269:tid 11269] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

    [Wed May 07 11:37:04.038198 2025] [mpm_prefork:notice] [pid 11269:tid 11269] AH00163: Apache/2.4.63 (Linux/SUSE) OpenSSL/3.5.0 PHP/8.4.6 configured -- r

    esuming normal operations

    [Wed May 07 11:37:04.038237 2025] [core:notice] [pid 11269:tid 11269] AH00094: Command line: '/usr/sbin/httpd-prefork -D SYSCONFIG -D phpMyAdmin -C PidF

    ile /run/httpd.pid -C Include /etc/apache2/sysconfig.d//loadmodule.conf -C Include /etc/apache2/sysconfig.d//global.conf -f /etc/apache2/httpd.conf -c I

    nclude /etc/apache2/sysconfig.d//include.conf -D SYSTEMD -D FOREGROUND'

    Und zuletzt noch die LOG-Files:

    10.10.10.1 - - [07/May/2025:11:34:25 +0200] "GET /favicon.ico HTTP/1.1" 404 1226 "http://10.10.10.30/nextcloud/" "Mozilla/5.0 (X11; Linux x86_64; rv:128

    .0) Gecko/20100101 Firefox/128.0"

    10.10.10.1 - - [07/May/2025:11:34:50 +0200] "GET /nextcloud/ HTTP/1.1" 404 1099 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/12

    8.0"



    Wo liegt der Fehler, wo muss ich noch nachjustieren, nachschauen?


    Ich bin für jeden Polemik-freien Tipp sehr dankbar.


    Grüße aus dem Süden


    Remark: meine produktive Nextcloud läuft unter Debian 12

  • Leider komme ich bei Aufruf

    http://10.10.10.30/nextcloud

    Und wenn du einfach mal "localhost/nextcloud" aufrufst?

    Sollte die .htaccess nicht im Nextcloud-Verzeichnis liegen?

    Hast du die .htaccess mal umbenannt?

    Gruß Jürgen

    Für den Inhalt des Beitrages 319573 haftet ausdrücklich der jeweilige Autor: JSC

  • So, ich habe den Tipp aus dem Nextcloud-Forum (engl) bekommen.

    SELinux - und siehe da --> SELinux Modus auf disable setzen und schon funktioniert es.


    Muss jetzt nur noch gucken, wie die Settings sind und ob das auch funktioniert. Aber


    SELinux configuration — Nextcloud latest Administration Manual latest documentation



    Ich setze das mal auf gelöst.


    zappa.frank