JustAnotherGuy1324

Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by JustAnotherGuy1324

  1. Lumpy_BD I think we might have the same underlying problem. I will look into it again later today as I believe there is something wrong with some of the text-files for nginx.
  2. I have some prolems with authelia. Whenever I try to go to my auth.domain.com I get a white screen and no change in my authelia logs. If I go to a domain that I have set to bypass it seems to work and I get some activity in the logs. I have another subdomain with one_factor where I also get a white screen when accessing, however here I get some logs. level=info msg="Access to [REDACTED] (method unknown) is not authorized to user <anonymous>, sending 401 response" method=GET path=/api/verify remote_ip=[REDACTED] I haven't been able to replicate it but somethimes I get this error message in my logs error when serving connection "172.18.0.8:9091"<->"172.18.0.1:38846": error when reading request headers: EOF. Buffer size=194, contents: "\x16\x03\x01\x00\xbd\x01\x00\x00\xb9\x03\x03\u0084\xf4<\xb5\xa8\xaaB '\xe1\xf3͔\xb7\xd5\xd8g7z`\r\x05瑫\xd2[\xb3Iҷ\x00\x008\xc0,\xc00\x00\x9f̨̩̪\xc0+\xc0/\x00\x9e\xc0$\xc0(\x00k\xc0#\xc0'\x00g\xc0\n\xc0\x14\x009\xc0\t\xc0\x13\x003\x00\x9d\x00\x9c\x00=\x00<\x005\x00/\x00\xff\x01\x00\x00X\x00\v\x00\x04\x03\x00\x01\x02\x00\n\x00\f\x00\n\x00\x1d\x00\x17\x00\x1e\x00\x19\x00\x18\x00#\x00\x00\x00\x16\x00\x00\x00\x17\x00\x00\x00\r\x000\x00.\x04\x03\x05\x03\x06\x03\b\a\b\b\b\t\b\n\b\v\b\x04\b\x05\b\x06\x04\x01\x05\x01\x06\x01\x03\x03\x02\x03\x03\x01\x02\x01\x03\x02\x02\x02\x04\x02\x05\x02\x06\x02" Could it have to do with the default buffer sizes in "Authelia Portal.conf" or "Protected Endpoint.conf"? It says "Buffer size=194" but both those files have buffers if I read it correctly. PS is there a good reasource to lean more about this as I don't really understand what is going into these files? From my configuration.yml access_control: ## Default policy can either be 'bypass', 'one_factor', 'two_factor' or 'deny'. It is the policy applied to any ## resource if there is no policy to be applied to the user. default_policy: deny # Always set to deny rules: # Rules applied to everyone - domain: [REDACTED] policy: bypass - domain: [REDACTED] policy: bypass - domain: [REDACTED] policy: one_factor - domain: [REDACTED] policy: two_factor From "Authelia Portal.conf": client_body_buffer_size 128k; proxy_buffers 64 256k; From "Protected Endpoint.conf": client_body_buffer_size 128k; proxy_buffers 4 32k; The weird thing is that it has been working and now after I have woken up it does not work? Any help is much appreciated and if there is any information I need to provide please let me know.
  3. Is it possible to use Authelia in front of Nextcloud? I know you can do it when using a web browser but I can't get it to work if I want to use the Nexcloud-client(https://nextcloud.com/install/) on my PC or android phone.
  4. How does one change the root or user password? I have a lot of problems with setting and changing the password. I don't know if it is because I have used special charaters? Seems like it should be allowed: https://kb.iu.edu/d/aphg I have tried using: 1. mysqladmin -u root -p password newpass 2. mysql_secure_installation I can login using mysql -uroot -p # mysql -uroot -p Enter password: Welcome to the MariaDB monitor. Commands end with ; or \g. Your MariaDB connection id is 38 Server version: 10.4.19-MariaDB-1:10.4.19+maria~bionic-log mariadb.org binary distribution Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. MariaDB [(none)]> EDIT: I now changed the password with mysqladmin -u root -p password newpass and used a password with special characters, however I copied the password I used to login and it will not recognize it. Is there a way to recover/reset the password? EDIT nr.2: I figured out how to change it even when you can't login to mariadb root user based on this link: https://gist.github.com/rordi/ab55c92848fd06884172ed22ae88d7df Resetting mariadb root password even when you can't login - first change mariadb Container settings below - select advanced view - add entrypoint below to "Post Arguments:" mysqld_safe --skip-grant-tables --user=mysql - now use server terminal (not container terminal) - get into the container $> docker exec -it mariadb bash - login to root with no password $> mysql -u root -p - check the hostname for root Mysql> SELECT user,host FROM mysql.user; - now change root password and insert hostname for root 1. mysql> FLUSH PRIVILEGES; 2. mysql> ALTER USER 'root'@'INSERT_HOST' IDENTIFIED BY 'your_secret'; 2. mysql> ALTER USER 'root'@'%' IDENTIFIED BY 'your_secret'; <- my setup 3. mysql> FLUSH PRIVILEGES; - logout and remove the entrypoint and restart the container
  5. Hello I am just starting using nextcloud and if there is any more information I should provide let me know. I have been trying to setup nextcloud on UNRAID with a mariadb dabase and it was working fine with 21.0.1 but when I upgraded to 21.0.2 or even did a complete clean install there was some problems with the demo PDFs. I can include my own and they seem to work but I just don’t understand what to make of it. Also when installing(fresh or upgrade) 21.0.2 I get an error on page below - https://index.php/core/apps/recommended and it does not redirect me to the dashboard as it did in 21.0.1 when installing. Nextcloud seems to work but just have to manually navigate to it. I have attached a picture of the error on the index page after install and how it displays the demo-PDFs. Any input is very welcome and if you know some material that might be useful please let me know. EDIT. It seems to be an error with the current version(21.0.2) - https://github.com/nextcloud/files_pdfviewer/issues/381