Jump to content

Herbert Horst

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by Herbert Horst

  1. Hallo zusammen, ich hab probleme mit dem login in meiner Nextcloud. Wenn ich auf der login Page Benutzer und PW eingebe und auf Login klicke, werde ich direkt wieder auf die Anmeldeseite redirected. Im log tauchen folgende 2 zeilen dabei auf: 2a00:6020:4899:3300:c9f1:bd40:2da1:15db - - [29/Apr/2024:20:46:32 +0200] "POST /login HTTP/1.1" 303 2099 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" 2a00:6020:4899:3300:c9f1:bd40:2da1:15db - - [29/Apr/2024:20:46:38 +0200] "GET /login?redirect_url=/apps/dashboard/&direct=1&user=HerbertH HTTP/1.1" 200 10429 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" Der Fix ist dann 1-3 Tage warten oder manchmal funktioniert ein anderer Browser. Das problem tritt nicht immer auf sondern nur manchmal. Zwischendurch komm ich problemlos rein. Wenn ich eingeloggt bin (gestern z.b. eingeloggt) und heute neu geöffnet passiert auch zwischendurch, dass ich nicht auf die Login Page redirected werde, sondern stadessen eine Meldung oben rechts sehe das ich nicht eingeloggt bin und erst wenn ich versuche eine Datei zu öffnen die er nicht im cache hat werde ich dann auf die Login Page geleitet (bekomm den fehler gerade nicht nachgestellt, sonst würde ich ein screenshot davon teilen) Weiß jemand was ich bei der einrichtung falsch gemacht hab? Ich benutze nextcloud-multimedia mit NginxProxyManager und cloudflare. Falls das hier schon behandelt wurde und ich es nicht gefunden habe nehm ichauch gerne Tipps dazu, wie ich die 25 Seiten Thread zu diesem Docker gut durchsuchen kann ohne jede Seite einzelnd zu lesen. Vielen Dank an alle schonmal im vorraus🙏! -------------------------------------------- Hello everyone, I have problems with the login in my Nextcloud. When I enter user and PW on the login page and click on login, I am redirected directly to the login page. The following 2 lines appear in the log: 2a00:6020:4899:3300:c9f1:bd40:2da1:15db - - [29/Apr/2024:20:46:32 +0200] "POST /login HTTP/1.1" 303 2099 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" 2a00:6020:4899:3300:c9f1:bd40:2da1:15db - - [29/Apr/2024:20:46:38 +0200] "GET /login?redirect_url=/apps/dashboard/&direct=1&user=HerbertH HTTP/1.1" 200 10429 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0" The fix is to wait 1-3 days or sometimes another browser works. The problem does not always occur, but only sometimes. In between I can get in without any problems. If I am 'logged in' (logged in yesterday but token should be expired by now) and open it again today, I can normally browse my files and I am not redirected to the login page, but see a message in the top right corner that I am not logged in and only when I try to open a file that it does not have in cache (or at least I think this is when it happens) I am then redirected to the login page (I can't recreate the error right now, otherwise I would share a screenshot of it). Does anyone know what I did wrong with the setup? I'm using nextcloud-multimedia with NginxProxyManager and cloudflare. If this has already been covered here and I haven't found it, I'd also like tips on how to search the 25 page thread on this Docker without reading each page individually. Many thanks to everyone in advance🙏!
  2. Hello, I have some issues with signing me in using my Browser. normaly im logged in but after X? hours I am redirected to the login page (no problem with that). But when I insert my User name and PW (I have them saved in my browser so no misstyping) I get Logged in but also still redirected to the login page " So my redirect goes from "https:/MyDomain.com/login" to "https://MyDomain.com/login?direct=1&user=HerbertH". When I try to open my dashboard URL directly I still get redirected to the login page "https://MyDomain.com/login?redirect_url=/apps/dashboard/" When i repeat clicking on the Login button I get a message that because of multiple invalid login attempts from my IP address the next login will therefore be delayed by 30 seconds. When i look into my dev options in the browser in the network tab I only see 200 as status codes so there is evereything fine. But I am not able to open my dashboard. Picture shows the error message "Several invalid login attempts from your IP address have been detected. The next login will therefore be delayed by 30 seconds." in german. Does any one know this problem or have a hint how to fix this. This does btw. not happen all the time, but way to often.
  3. Hey all - I have a problem with big file upload. I am able to uplaod big files up to 25Gb but everytime after a big file uplaod, a few hours (or days) later my complete Server dies. I'm then not able to open the unraid dashboard or any of my dockers webui (nextcloud, jellyfin, ... everything dead). The file itself is fine when I look it up on my disk(the file is assembled out of chunks. After the uplaod I'm able to download it without error and nextcloud shows no error messages. I#m not sure right now if SMB share still works when everything is dead.) Only way for me then is to go to my server and hold the on/Off button till it shuts down. Then when I restart, everything works fine, until I upload the next big file. For making Big File upload possible I added the following variables to my Docker: PHP_UPLOAD_LIMIT = 50G Also I gave PHP 2Gb of Ram with PHP_MEMORY_LIMIT = 2048m I'm using a NginxProxyManager where I also got some 'Custom Configuration': real_ip_header CF-Connecting-IP; client_body_buffer_size 512k; proxy_read_timeout 86400s; client_max_body_size 95M; Does someone know this problem and/or can help me where I can Download the Logs and what Logs would be interstinng to lock into? I allready enabled Unraid mirror Log to Flashdrive. Can I Upload this Log without being worried that personal Info will be in there? I switched from nextcloud linuxServer docker to nextcloud-multimedia (official nextcloud image but with ffmpeg (install from apt repository), pdlib (built from source) and bzip (built from source)) a week ago, but I had the same problem with the linuxServer dockerimage. Everytime after a big file upload (Big = everything bigger than ~2Gb) 2 Days later my server was dead. Maybe one of my apps got a problem or I dont know... My installed Apps: Im really thankfull for every help and hope someone knows this, Right now my cloud is not really usable like this. Thanks in advance!
  4. @Shawn Young Hey, I had the same problem with cron, but solved it like most people who also use the normal official nextcloud docker. I installed the plugin "User Scripts" on my Unraid and there a script which calls the cron.php. I'm not sure yet if this is 100% correct, but at least it works and doesn't give any errors. Skript: #!/bin/bash docker exec -u 99:100 Nextcloud-multimedia php -f /var/www/html/cron.php exit 0 I set the schedule to custom with executing it every 10 minutes "*/10 * * * *" . When everything works fine it should look something like this. When you got the wrong user or something like that it will show you the error statements. But with no errors it should look like my screenshot. Also the first few executions were taking pretty long but after that it got faster.
  5. EDIT: Found everything myself deep down in this and another nextcloud thread, so no help needed anymore. Hello, I'm complete new to all of this and im trying to get my cron to work with user scripts. I tried running this user script but I get the following error: Error: "Script location: /tmp/user.scripts/tmpScripts/nextcloud Cron for Knex/script Note that closing this window will abort the execution of this script Cannot write into "config" directory! This can usually be fixed by giving the web server write access to the config directory. But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See https://docs.nextcloud.com/server/27/go.php?to=admin-config" I tried setting Permission in my unraid system appdata/nextcloud/ and my share folder for nextcloud so everyone can read and Write but as a result I only got the next error: Error with appdata/nextcloud/ and data share permission set to "drwxrwxrwx": "Script location: /tmp/user.scripts/tmpScripts/nextcloud Cron for Knex/script Note that closing this window will abort the execution of this script Your data directory is readable by other users. Please change the permissions to 0770 so that the directory cannot be listed by other users." Now I have no idea what I have to do EDIT: I got no Error now using user 99:100, but is this wy the right way to do it or will I discover some erros in the future because of that? #!/bin/bash docker exec -u 99:100 Nextcloud php -f /var/www/html/cron.php exit 0 I also didnt understand what to do with the following information and how to set this up: EDIT: I found that the extra parameters are a thing in the docker advanced view where I was able to set these things.
  6. Das hab ich tatsächlich komplett übersehen beim suchen. Soweit das es sich bei dem was ich will um "HTTP basic auth" Support handelt hab ich garnicht bedacht bei meinem Problem (soweit abstrahiert hatte ich nicht ^^) Danke für den GitLink wo man verfolgen kann, wenn der Support dazu kommt und danke für die weiteren Tipps mit dem geo blocking. Hier ist noch ein Link zu einem Thread wo GeoBlocking mit Nginx etwas überlegt wird:
  7. Kurze Antwort: Leider ohne Erfolg, gleicher Fehler "Konnte nicht mit Server verbinden" Umfangreiche Antwort: Als erstes damit ich mir sicher bin das ich dne Link richtig hab, hab ich es am PC im Browser probiert. Dort wurde ich beim ersten mal gefragt ob ich mich wirklich als BENUTZER mit PW anmelden will und wurde mit klick auf "Bestätigen" weitergeleitet. Danach sobald das ein mal gemacht war, kam das Bestätigen Fenster nicht mehr beim Neuladen der Seite. Als ich es daraufhin in der App probierte hatte ich wieder den gleichen Fehler "Server konnte nicht erreicht werden". Daraufhin hab ich die AccessList in NGINX nochmal deaktiviert, mich in der App verbunden (mit dem Link wo schon Benutzername und PW drin sind. Hat interesannterweise funktioniert), bin in meinen Handy browser gewechselt (Chrome), hab die AccessList eingeschaltet und mich mit dem Link (mit Benutzernamen und PW) auf dem Handy in Chrome verbunden. Danach wechselte ich wieder in die App und ich wurde nicht automatisch rausgeworfen zum 'Connect to Server ' screen, sondern war noch verbunden (auch nach einem App neustart). Jedoch bekomme ich nun in der App die Fehlermeldung die ich zuvor im Browser hatte, mit "Format ist nicht kompatibel" und wenn ich anschließend Manuell nochmal versuche mich mit der URL zu verbinden, bin ich wieder bei "Konnte nicht mit Server verbinden"
  8. Wollte mir eigentlich den VPN sparen, weil ich ungern mehrere verschiedene Sachen Pflegen möchte. Dann hätte ich Cloudflare für meine nextcloud und VPN für Jellyfin. Seit letztem Update kann die Fritzbox zwar VPN auch mit DS-Lite aber so überzeugt bin ich noch nicht davon mich da nochmal im nächsten Thema schlau zu machen, damit mein Restliches Netzwerk nicht erreichbar ist, sondern nur der Docker. Aber dann nehm ich das mal so mit als 'Erstmal nicht (so einfach) Möglich'..
  9. Guten Abend, Ich bin neu im Forum und hoffe nicht gleich alles falsch zu machen.. Also bitte Feedback und etwas Nachsicht falls bei dem Thread etwas falsch eingestellt ist. ^^ Mein Jellyfin server läuft in Docker auf meinem Unraid server. Ich benutze Cloudflare für die verbindung nach draußen und geh nochmal ein zwischenschritt von Cloudflare über NGINX. In NGINX hab ich eine Access List eingestellt, weil ich nicht wollte, dass jeder der Domain raten spielt direkt sieht ob er nun auf meiner nextcloud, jellyfin oder meinem Dashboard gelandet ist. Wenn ich meine JellyFin domain im Webbrowser öffne, melde ich mich erst über das NGINX popUp an und danach nochmal mit meinen JellyFin Benutzerdaten. Soweit funktioniert alles. Jedoch hab ich in der JellyFin Android App nicht die Möglichkeit mich mit meinem Server zu verbinden. Wenn ich dort die URL eingebe kommt Rückmeldung das der Server nicht gefunden wurde/verbunden werden konnte. Wenn ich die AccessList in Nginx deaktiviere, (also keine extra PW abfrage) funktioniert die Verbindung in der App. Da ich im Handy Browser die Fehlermeldung "Wiedergabefehler, dieser client ist nicht mit den medien kompatibel und der Server sendet kein kompatible Medianformat." bekomme, ist die App meine einzige Möglichkeit, welche dann aber vorraussetzt keine AccessList zu haben. Gibt es da einen Workaround, wie ich meine AccesList in Nginx aktiv lassen kann und trotzdem die Android App nutzen? Und/Oder kann mir jemand helfen wie ich meinen Server ein kompatibles Format schicken lasse? Hardwarebeschleunigung ist bisher komplett deaktiviert, da ich noch nicht verstanden hab, wie ich die Treiber der Intel Iris Xe für den 'i5-1135G7' Installiere (falls das releveant ist).
×
×
  • Create New...