Nextcloud Desktop Client kann nichtmehr verbinden?

Keylan

Lt. Commander
Registriert
Apr. 2012
Beiträge
1.199
Sorry, wahrscheinlich übersehe ich das offensichtliches aber ich komme Grade nicht weiter.

Also, letzte Woche haben ich auf meinem Raspberry 4 mit Raspian NextcloudPi installiert und eingerichtet. Sicher als Anfänger etwas unbeholfen rumgestolpert aber am Ende hat alles geklappt. Zugriff ist nur aus dem eigenen Netzwerk. Der Pi hängt direkt am Lan-Kabel und am TV, wird aber eher Headless betrieben also Zugriff per SSH oder VNC.

Jetzt hatte sich die Kiste wohl aufgehängt, auf jeden Fall war der Pi an (Strom und Lampe an) aber nicht erreichbar. Nicht per SSH und auch keine Anzeige auf dem TV.
Also Strom ab und wieder an. Gefühlt ist das auch vorher ohne NextcloudPi schon passiert. Ggf. brauche ich da noch etwas einblick wie ich da die Ursache prüfen kann bzw. loggen/monitoren.

Aber das aktuelle Problem ist, das sowohl auf meinem Linux-Client als auch dem Windows Client die Nextcloud-Desktopclients beim Start kurz in der Taskleiste auftauchen und dann wohl sterben.

Also seit 3 Tagen kein Sync mehr und ich bekomme die auch nicht zum Laufen. Aufruf im Browser geht aber ganz normal.

Wenn ich nextcloud über Terminal starte kommt folgende etwas mysteriöse Meldung.

Code:
Icon theme "elementary" not found.
zsh: segmentation fault (core dumped)  nextcloud

Warum da welches Icon Theme gesucht werden sollte ist mir schleierhaft, aber auch ein Reinstall hat keine Abhilfe geschaffen (hätte mich auch gewundert, da ja Linux und Win Clients betroffen).

Ich habe auch sowohl für Desktopclients als auch nen NextcloudPi auf Updates geprüft. War aber alles top aktuell und auch das letzte Update ist länger her als das Fehlerbild.

Beim prüfen des Status im NextcloudPi wird angemerkt, dass Port 80 und 443 geschlossen sind. Ich weiss nicht mehr ob das jemals anders war. Eine Portweiterleitung hatte ich nie eingerichtet. Sollte ja auch für rein interne Verwendung nicht notwendig sein.
 
Zuletzt bearbeitet:
niteaholic schrieb:
Welche version von nc hast du installiert?
2021-09-20_18-22_Nextcloud.png

Das sollte diese und weitere Fragen klären
 
Und dass die Ports zu sind hat dir bisher noch keine Sorgen bereitet ?
 
Ports ist wurscht, erstrecht wenn es nur via lan erreichbar sein soll.

Edit: hast du vielleicht ein theme auf dein nc installiert? Liste mal die apps bitte auf.
 
Also die Theme app ist ja standardmässig installiert. Da hatte ich Icon und Wallpaper und so geändert. Das hatte damals der Funktionalität aber keinen Abbruch getan. Themes installiert habe ich keine. Hab grade alles auf Default zurück gestellt und erhalte den selben Fehler.

Die App Liste in der Web config ist ja doch sehr Umfangreich und dadurch unübersichtlich um die hier zu posten. Deshalb mal hier der Inhalt des app-Verzeichnis
Code:
root@pi:/var/www/nextcloud/apps# dir
accessibility         contacts              files             files_videoplayer        notifications     provisioning_api       survey_client          user_ldap
activity              contactsinteraction   files_external    firstrunwizard           notify_push       ransomware_protection  systemtags             user_status
admin_audit           dashboard             files_pdfviewer   logreader                oauth2            recommendations        tasks                  viewer
analytics             dav                   files_rightclick  lookup_server_connector  password_policy   serverinfo             text                   weather_status
calendar              encryption            files_sharing     nextcloud_announcements  photos            settings               theming                workflowengine
cloud_federation_api  federatedfilesharing  files_trashbin    nextcloudpi              previewgenerator  sharebymail            twofactor_backupcodes
comments              federation            files_versions    notes                    privacy           support                updatenotification

Edit: Nach dem was Google mir ausgespuckt hat, erreichen Themes auch nicht den Desktop-Client. Stattdessen wird Firmen angeboten sich Clients mit Branding erstellen zu lassen.
Macht meines Erachtens auch wenig Sinn ein Theme zum Client durch zu reichen. Aber wenns das gibt, lerne ich gerne dazu.
 
Zuletzt bearbeitet:
niteaholic schrieb:
Deaktiviere mal die theme app. Starte neu und schau obs noch kommt.
Leider keine Veränderung.

Ich hab jetzt über die Konsole auf dem Client mal ein Logfile erstellen lassen. etwas mehr als 3600 Zeilen, aber immer nur die Wiederholung von:

Code:
2021-09-20 20:16:18:176 [ warning nextcloud.sync.pushnotifications ]:    Websocket ssl errors on with account QUrl("https://pi.local") ("The host name did not match any of the valid hosts for this certificate")
2021-09-20 20:16:18:176 [ info nextcloud.sync.pushnotifications ]:    Close websocket for account QUrl("https://pi.local")

Das geht wolh schon etwas besser ins detail, richtig schlau werde ich daraus aber auch nicht.
 
Hi,
ich würde da ja nochmal wegen den Ports schauen, einer der Vorredner hatte das ja auch schon angemerkt.

Vielleicht mal ein: netstat -npl

und schauen ob ein Webserver Port wirklich offen und erreichbar ist.
 
Was soll den das Problem mit den Ports sein, wenn es nur um den internen Zugriff geht?
Das sind ja eh nur die http und https Ports und der Zugriff im Browser läuft ja. Es geht bei dem Check also offensichtlich um die Abfrage nach draußen und da sollen die Ports aktuell auch schön zu bleiben.

So, ich habe mich nochmal mit dem Logfile beschäftigt. Die ersten 500 Zeilen sind dann doch noch etwas anders gestrickt. Soweit ich das nachvollzogen habe gehen die ersten 400 aber nur darum den Status der Sync Ordner zu ermitteln und in der DB festzuhalten nachdem die DB überhaupt initialisiert wurde. Dann kommen aber gut 60 Zeilen die ggf. Aufschluss zur Fehlerursache geben könnten. Die mal eben hier:

Code:
2021-09-20 20:16:17:266 [ info nextcloud.sync.clientproxy ]:    Set proxy configuration to use the preferred system proxy for http tcp connections
2021-09-20 20:16:17:383 [ warning default ]:    qrc:/qml/src/gui/tray/Window.qml:55:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
2021-09-20 20:16:17:383 [ warning default ]:    qrc:/qml/src/gui/tray/Window.qml:48:5: QML Connections: Implicitly defined onFoo properties in Connections are deprecated. Use this syntax instead: function onFoo(<arguments>) { ... }
2021-09-20 20:16:17:405 [ info nextcloud.sync.credentials.webflow ]:    Fetch from keychain!
2021-09-20 20:16:17:406 [ debug nextcloud.gui.folderwatcher ]    [ OCC::FolderWatcher::pathIsIgnored ]:    * Ignoring file "/home/sgrah/Nextcloud/.owncloudsync.log"
2021-09-20 20:16:17:407 [ debug nextcloud.gui.folderwatcher ]    [ OCC::FolderWatcher::pathIsIgnored ]:    * Ignoring file "/home/sgrah/Scripts/.owncloudsync.log"
2021-09-20 20:16:17:407 [ debug nextcloud.gui.folderwatcher ]    [ OCC::FolderWatcher::pathIsIgnored ]:    * Ignoring file "/home/sgrah/Documents/.owncloudsync.log"
2021-09-20 20:16:17:407 [ debug nextcloud.gui.folderwatcher ]    [ OCC::FolderWatcher::pathIsIgnored ]:    * Ignoring file "/home/sgrah/Music/.owncloudsync.log"
2021-09-20 20:16:17:407 [ debug nextcloud.gui.folderwatcher ]    [ OCC::FolderWatcher::pathIsIgnored ]:    * Ignoring file "/home/sgrah/Pictures/.owncloudsync.log"
2021-09-20 20:16:17:407 [ debug nextcloud.gui.folderwatcher ]    [ OCC::FolderWatcher::pathIsIgnored ]:    * Ignoring file "/home/sgrah/Videos/.owncloudsync.log"
2021-09-20 20:16:17:487 [ warning nextcloud.sync.credentials.keychainchunk ]:    Unable to read "sgrah_clientCertificatePEM:https://pi.local/:0" chunk "0" "Entry not found"
2021-09-20 20:16:17:492 [ warning nextcloud.sync.credentials.keychainchunk ]:    Unable to read "sgrah_clientKeyPEM:https://pi.local/:0" chunk "0" "Entry not found"
2021-09-20 20:16:17:492 [ warning nextcloud.sync.credentials.webflow ]:    Unable to read client key "Entry not found"
2021-09-20 20:16:17:497 [ warning nextcloud.sync.credentials.keychainchunk ]:    Unable to read "sgrah_clientCaCertificatePEM0:https://pi.local/:0" chunk "0" "Entry not found"
2021-09-20 20:16:17:497 [ warning nextcloud.sync.credentials.webflow ]:    Unable to read client CA cert slot "0" "Entry not found"
2021-09-20 20:16:17:501 [ info nextcloud.gui.account.state ]:    Fetched credentials for "https://pi.local" attempting to connect
2021-09-20 20:16:17:501 [ debug nextcloud.sync.account ]    [ OCC::Account::resetNetworkAccessManager ]:    Resetting QNAM
2021-09-20 20:16:17:501 [ info nextcloud.sync.credentials.webflow ]:    Get QNAM
2021-09-20 20:16:17:501 [ debug nextcloud.sync.connectionvalidator ]    [ OCC::ConnectionValidator::checkServerAndAuth ]:    Checking server and authentication
2021-09-20 20:16:17:501 [ debug nextcloud.sync.connectionvalidator ]    [ OCC::ConnectionValidator::checkServerAndAuth ]:    Trying to look up system proxy
2021-09-20 20:16:17:502 [ info nextcloud.sync.connectionvalidator ]:    No system proxy set by OS
2021-09-20 20:16:17:502 [ info nextcloud.sync.accessmanager ]:    2 "" "https://pi.local/status.php" has X-Request-ID "6c3d0900-0005-45ab-8ca4-894276e94db8"
2021-09-20 20:16:17:502 [ debug nextcloud.sync.cookiejar ]    [ OCC::CookieJar::cookiesForUrl ]:    QUrl("https://pi.local/status.php") requests: (QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; SameSite=lax; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; SameSite=strict; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"))
2021-09-20 20:16:17:502 [ info nextcloud.sync.networkjob ]:    OCC::CheckServerJob created for "https://pi.local" + "status.php" "OCC::ConnectionValidator"
2021-09-20 20:16:17:591 [ info nextcloud.sync.credentials.webflow ]:    request finished
2021-09-20 20:16:17:591 [ info nextcloud.sync.networkjob.checkserver ]:    status.php returns:  QJsonDocument({"edition":"","extendedSupport":false,"installed":true,"maintenance":false,"needsDbUpgrade":false,"productname":"Nextcloud","version":"21.0.4.1","versionstring":"21.0.4"})   QNetworkReply::NoError  Reply:  QNetworkReplyHttpImpl(0x55d5492cd030)
2021-09-20 20:16:17:591 [ info nextcloud.sync.connectionvalidator ]:    ** Application: ownCloud found:  QUrl("https://pi.local")  with version  "21.0.4" ( "21.0.4.1" )
2021-09-20 20:16:17:591 [ info nextcloud.sync.connectionvalidator ]:    QUrl("https://pi.local") has server version "21.0.4.1"
2021-09-20 20:16:17:591 [ debug nextcloud.sync.networkjob ]    [ OCC::AbstractNetworkJob::slotFinished ]:    Network job OCC::CheckServerJob finished for "status.php"
2021-09-20 20:16:17:593 [ debug nextcloud.sync.connectionvalidator ]    [ OCC::ConnectionValidator::checkAuthentication ]:    # Check whether authenticated propfind works.
2021-09-20 20:16:17:593 [ info nextcloud.sync.accessmanager ]:    6 "PROPFIND" "https://pi.local/remote.php/dav/files/sgrah/" has X-Request-ID "fd0d7cb0-f096-4bc1-b7c6-bf11be1394be"
2021-09-20 20:16:17:593 [ debug nextcloud.sync.cookiejar ]    [ OCC::CookieJar::cookiesForUrl ]:    QUrl("https://pi.local/remote.php/dav/files/sgrah/") requests: (QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; SameSite=lax; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; SameSite=strict; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("oc_sessionPassphrase=ZhJBT6Pkmmqtu2MMqsTlQjQuy1vXA9LMXQrJ5lUXcWCDBr1q%2ByUw2Vy3ZH0xqQFMP5ztHrf4WDfPSifP8cwgJAw0S9CA2f%2Bio18N4MdM4lgDQct%2Bi672dUh%2F2wtWhpRz; secure; HttpOnly; SameSite=Lax; domain=pi.local; path=/"), QNetworkCookie("oc6k8viaixcm=fmjr41scp0mf38igojamo7a8vl; secure; HttpOnly; SameSite=Lax; domain=pi.local; path=/"))
2021-09-20 20:16:17:594 [ info nextcloud.sync.networkjob ]:    OCC::PropfindJob created for "https://pi.local" + "/" "OCC::ConnectionValidator"
2021-09-20 20:16:17:597 [ info nextcloud.sync.account ]:    appPassword stored in keychain
2021-09-20 20:16:17:835 [ info nextcloud.sync.credentials.webflow ]:    request finished
2021-09-20 20:16:17:835 [ info nextcloud.sync.networkjob.propfind ]:    PROPFIND of QUrl("https://pi.local/remote.php/dav/files/sgrah/") FINISHED WITH STATUS "OK"
2021-09-20 20:16:17:836 [ info nextcloud.sync.accessmanager ]:    2 "" "https://pi.local/ocs/v1.php/cloud/capabilities?format=json" has X-Request-ID "ad2f0a55-f35e-4b90-b114-3bb1e447f108"
2021-09-20 20:16:17:836 [ debug nextcloud.sync.cookiejar ]    [ OCC::CookieJar::cookiesForUrl ]:    QUrl("https://pi.local/ocs/v1.php/cloud/capabilities?format=json") requests: (QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; SameSite=lax; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; SameSite=strict; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("oc_sessionPassphrase=ZhJBT6Pkmmqtu2MMqsTlQjQuy1vXA9LMXQrJ5lUXcWCDBr1q%2ByUw2Vy3ZH0xqQFMP5ztHrf4WDfPSifP8cwgJAw0S9CA2f%2Bio18N4MdM4lgDQct%2Bi672dUh%2F2wtWhpRz; secure; HttpOnly; SameSite=Lax; domain=pi.local; path=/"), QNetworkCookie("oc6k8viaixcm=h2i5820npfonoklmcg1k6evoj6; secure; HttpOnly; SameSite=Lax; domain=pi.local; path=/"))
2021-09-20 20:16:17:836 [ info nextcloud.sync.networkjob ]:    OCC::JsonApiJob created for "https://pi.local" + "ocs/v1.php/cloud/capabilities" "OCC::ConnectionValidator"
2021-09-20 20:16:17:836 [ debug nextcloud.sync.networkjob ]    [ OCC::AbstractNetworkJob::slotFinished ]:    Network job OCC::PropfindJob finished for "/"
2021-09-20 20:16:18:041 [ info nextcloud.sync.credentials.webflow ]:    request finished
2021-09-20 20:16:18:041 [ info nextcloud.sync.networkjob.jsonapi ]:    JsonApiJob of QUrl("https://pi.local/ocs/v1.php/cloud/capabilities?format=json") FINISHED WITH STATUS "OK"
2021-09-20 20:16:18:041 [ info nextcloud.sync.connectionvalidator ]:    Server capabilities QJsonObject({"activity":{"apiv2":["filters","filters-api","previews","rich-strings"]},"bruteforce":{"delay":0},"core":{"pollinterval":60,"webdav-root":"remote.php/webdav"},"dav":{"chunking":"1.0"},"files":{"bigfilechunking":true,"blacklisted_files":[".htaccess"],"comments":true,"directEditing":{"etag":"6226ba873373f5e73a3ef504107523f7","url":"https://pi.local/ocs/v2.php/apps/files/api/v1/directEditing"},"undelete":true,"versioning":true},"files_sharing":{"api_enabled":true,"default_permissions":31,"federation":{"expire_date":{"enabled":true},"incoming":true,"outgoing":true},"group":{"enabled":true,"expire_date":{"enabled":true}},"group_sharing":true,"public":{"enabled":true,"expire_date":{"enabled":false},"expire_date_internal":{"enabled":false},"multiple_links":true,"password":{"askForOptionalPassword":false,"enforced":false},"send_mail":false,"upload":true,"upload_files_drop":true},"resharing":true,"sharebymail":{"enabled":true,"expire_date":{"enabled":true},"password":{"enabled":true,"enforced":false},"upload_files_drop":{"enabled":true}},"sharee":{"always_show_unique":true,"query_lookup_default":false},"user":{"expire_date":{"enabled":true},"send_mail":false}},"notes":{"api_version":["0.2","1.2"],"version":"4.1.1"},"notifications":{"admin-notifications":["ocs","cli"],"ocs-endpoints":["list","get","delete","delete-all","icons","rich-strings","action-web","user-status"],"push":["devices","object-data","delete"]},"notify_push":{"endpoints":{"pre_auth":"https://pi.local/apps/notify_push/pre_auth","websocket":"wss://pi/push/ws"},"type":["files","activities","notifications"]},"ocm":{"apiVersion":"1.0-proposal1","enabled":true,"endPoint":"https://pi.local/ocm","resourceTypes":[{"name":"file","protocols":{"webdav":"/public.php/webdav/"},"shareTypes":["user","group"]}]},"password_policy":{"api":{"generate":"https://pi.local/ocs/v2.php/apps/password_policy/api/v1/generate","validate":"https://pi.local/ocs/v2.php/apps/password_policy/api/v1/validate"},"enforceNonCommonPassword":true,"enforceNumericCharacters":false,"enforceSpecialCharacters":false,"enforceUpperLowerCase":false,"minLength":8},"provisioning_api":{"AccountPropertyScopesFederationEnabled":true,"AccountPropertyScopesVersion":2,"version":"1.11.0"},"user_status":{"enabled":true,"supports_emoji":true},"weather_status":{"enabled":true}})
2021-09-20 20:16:18:042 [ info nextcloud.sync.account ]:    Try to setup push notifications
2021-09-20 20:16:18:042 [ info nextcloud.sync.pushnotifications ]:    Setup push notifications
2021-09-20 20:16:18:042 [ info nextcloud.sync.pushnotifications ]:    Close websocket for account QUrl("https://pi.local")
2021-09-20 20:16:18:042 [ info nextcloud.sync.pushnotifications ]:    Open connection to websocket on QUrl("wss://pi/push/ws") for account QUrl("https://pi.local")
2021-09-20 20:16:18:042 [ info nextcloud.sync.accessmanager ]:    2 "" "https://pi.local/ocs/v2.php/apps/files/api/v1/directEditing?format=json" has X-Request-ID "073a082d-a567-4f44-8b66-6708155bec32"
2021-09-20 20:16:18:042 [ debug nextcloud.sync.cookiejar ]    [ OCC::CookieJar::cookiesForUrl ]:    QUrl("https://pi.local/ocs/v2.php/apps/files/api/v1/directEditing?format=json") requests: (QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; SameSite=lax; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; SameSite=strict; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("oc_sessionPassphrase=ZhJBT6Pkmmqtu2MMqsTlQjQuy1vXA9LMXQrJ5lUXcWCDBr1q%2ByUw2Vy3ZH0xqQFMP5ztHrf4WDfPSifP8cwgJAw0S9CA2f%2Bio18N4MdM4lgDQct%2Bi672dUh%2F2wtWhpRz; secure; HttpOnly; SameSite=Lax; domain=pi.local; path=/"), QNetworkCookie("oc6k8viaixcm=h2i5820npfonoklmcg1k6evoj6; secure; HttpOnly; SameSite=Lax; domain=pi.local; path=/"))
2021-09-20 20:16:18:043 [ info nextcloud.sync.networkjob ]:    OCC::JsonApiJob created for "https://pi.local" + "ocs/v2.php/apps/files/api/v1/directEditing" ""
2021-09-20 20:16:18:043 [ info nextcloud.sync.accessmanager ]:    2 "" "https://pi.local/ocs/v1.php/cloud/user?format=json" has X-Request-ID "3c3f1f1c-8511-4376-84f2-2395ecd02ac1"
2021-09-20 20:16:18:043 [ debug nextcloud.sync.cookiejar ]    [ OCC::CookieJar::cookiesForUrl ]:    QUrl("https://pi.local/ocs/v1.php/cloud/user?format=json") requests: (QNetworkCookie("__Host-nc_sameSiteCookielax=true; secure; HttpOnly; SameSite=lax; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("__Host-nc_sameSiteCookiestrict=true; secure; HttpOnly; SameSite=strict; expires=Fri, 31-Dec-2100 23:59:59 GMT; domain=pi.local; path=/"), QNetworkCookie("oc_sessionPassphrase=ZhJBT6Pkmmqtu2MMqsTlQjQuy1vXA9LMXQrJ5lUXcWCDBr1q%2ByUw2Vy3ZH0xqQFMP5ztHrf4WDfPSifP8cwgJAw0S9CA2f%2Bio18N4MdM4lgDQct%2Bi672dUh%2F2wtWhpRz; secure; HttpOnly; SameSite=Lax; domain=pi.local; path=/"), QNetworkCookie("oc6k8viaixcm=h2i5820npfonoklmcg1k6evoj6; secure; HttpOnly; SameSite=Lax; domain=pi.local; path=/"))
2021-09-20 20:16:18:043 [ info nextcloud.sync.networkjob ]:    OCC::JsonApiJob created for "https://pi.local" + "ocs/v1.php/cloud/user" "OCC::UserInfo"
2021-09-20 20:16:18:043 [ debug nextcloud.sync.networkjob ]    [ OCC::AbstractNetworkJob::slotFinished ]:    Network job OCC::JsonApiJob finished for "ocs/v1.php/cloud/capabilities"
2021-09-20 20:16:18:064 [ warning nextcloud.sync.pushnotifications ]:    Websocket ssl errors on with account QUrl("https://pi.local") ("The host name did not match any of the valid hosts for this certificate")
2021-09-20 20:16:18:064 [ info nextcloud.sync.pushnotifications ]:    Close websocket for account QUrl("https://pi.local")

Es scheint als werden Zertifikate zur Websocket Verbindung nicht gefunden. Problem ist nur, dass ich nie Zertifikate angelegt habe und auch nicht wüsste wo ich das hier tun sollte. In den entsprechenden Anleitung war auch nie die Rede, das man hier den Server noch als CA aufsetzen müsste.
Klar, wenn man die Encyption nutzt muss dafür noch was mit Zertifikaten erstellt werden und der Key abgelegt werden. Aber wie oben im Screen der System Info zu sehen, habe ich diese Funktionen gar nicht aktiviert.
 
Deaktiviere mal die push notifications, neustarten und erneut testen.
Edit: ist sie ssd auf dein pi ggf verschlüsselt als du ncpi installiert hast?
 
Keinerlei besserung. Habe etwa ein duzend apps deaktiviert.

niteaholic schrieb:
ist sie ssd auf dein pi ggf verschlüsselt als du ncpi installiert hast?
Nein, die ssd ist nicht verschlüsselt. Zudem sollte das den Client nicht stören das die entschlüsselung ja beim Server passieren muss. Und der kann das ja, habe ja Zugriff auf die Dateien über den Browser.
 
evtl. eine Firewall auf den Clients laufen die SSL Zertifikate prüft? Firewall auf dem PI? Fail2ban? Fehlerhafte Host Datei vom Webserver? Bekommst Du von einem Client eine Ausgabe wenn Du das eingibst curl -v [deineIP] (Sofern Curl installiert ist)
 
Keine Firewall.
der curl gibt die erwartete Antwort vom Apache

Code:
*   Trying 192.168.178.25:80...
* Connected to 192.168.178.25 (192.168.178.25) port 80 (#0)
> GET / HTTP/1.1
> Host: 192.168.178.25
> User-Agent: curl/7.78.0
> Accept: */*
> 
* Mark bundle as not supporting multiuse
< HTTP/1.1 302 Found
< Date: Mon, 20 Sep 2021 20:44:12 GMT
< Server: Apache
< Strict-Transport-Security: max-age=15768000; includeSubDomains
< Location: https://192.168.178.25/
< Content-Length: 207
< Content-Type: text/html; charset=iso-8859-1
< 
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://192.168.178.25/">here</a>.</p>
</body></html>
* Connection #0 to host 192.168.178.25 left intact
 
kannst Du mal Deine nextcloud.conf posten und die Virtual Host vom Apache. Es scheint das Du in der VHost eine SSL Verbindung erzwingst (redirect 302)- und da kein Zertifikat vorhanden ist bekommst Du keine Verbindung zum Client.
 
Zuletzt bearbeitet:
Die Passwortdaten hab ich mal raus genommen. Die hat sich sonst aber auch nicht verändert zwischen den geht/gehtnicht Zuständen.

Code:
<?php
$CONFIG = array (
'passwordsalt' => '######,
'secret' => '######',
'trusted_domains' =>
array (
0 => 'localhost',
1 => '192.168.178.25',
2 => 'pi.local',
22 => 'nextcloudpi',
11 => '######',
3 => 'pi',
),
'datadirectory' => '/media/myCloudDrive/ncdata',
'dbtype' => 'mysql',
'version' => '21.0.4.1',
'overwrite.cli.url' => 'https://pi/',
'dbname' => 'nextcloud',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'ncadmin',
'dbpassword' => '######',
'installed' => true,
'instanceid' => 'oc6k8viaixcm',
'memcache.local' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => '/var/run/redis/redis.sock',
'port' => 0,
'timeout' => 0.0,
'password' => '######',
),
'tempdirectory' => '/media/myCloudDrive/ncdata/tmp',
'mail_smtpmode' => 'sendmail',
'mail_smtpauthtype' => 'LOGIN',
'mail_from_address' => 'admin',
 
ok, vermutlich kannst Du einige der 'trusted_domains' herausnehmen. localhost und die IP sollten reichen, es sei denn Du hast die Namen auch in der Host Datei stehen. Jetzt nochmal bitte die virtualhost Datei vom Apache. (NextcloudPi basiert glaub ich auf Debian? /etc/apache2/sites-available/ ) Vermutlich hast Du Dir die irgendwo heraus kopiert??
 
Ich habe hier in der Config nur den "pi.local" eingetragen und das weil ich eben auch den Host ensprechend umbenannt hatte. Den würde ich auch gern drinlassen, da ich den Server auch darüber anspreche. Geht ja aber bei SSH und VNC auch wunderbar und ebenso im Browser.
Den "nextcloudpi" Eintrag kann man wohl rausnhemen der wurde von der Installation angelegt die ja auch meinen Hostnamen angepasst hatte.
Die virtualhost Datei vom Apache habe ich nie angefasst und wüsste jetzt auch gar nicht wo ich die Finde oder was da drin stehen sollte.
 
hmm... Du könntest mal im genannten Verzeichnis schauen /etc/apache2/sites-available/ da könnte eine .conf Datei liegen oder in der .htaccess Datei. Ein ls -la im Webroot Verzeichnis oder ein cat .htaccess

Doch, schau doch mal bitte zuerst in dem Verzeichnis /etc/apache2/sites-available/ Da muss eine Datei liegen.
 
OK, ich glaube ich habe sie gefunden

Code:
<VirtualHost _default_:80>
  DocumentRoot /var/www/nextcloud
  <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} !=on
    RewriteRule ^/?(.*) https://%{SERVER_NAME}/$1 [R,L]
  </IfModule>
  <Directory /var/www/nextcloud/>
    Options +FollowSymlinks
    AllowOverride All
    <IfModule mod_dav.c>
      Dav off
    </IfModule>
    LimitRequestBody 0
  </Directory>
</VirtualHost>
 
Zurück
Oben