Jump to content

davidjmorin

Members
  • Posts

    23
  • Joined

  • Last visited

Posts posted by davidjmorin

  1. 2022-08-01 09:39:01,911 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: AWS plugins 3.1.4 [org.graylog.aws.AWSPlugin]
    2022-08-01 09:39:01,912 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: Collector 3.1.4 [org.graylog.plugins.collector.CollectorPlugin]
    2022-08-01 09:39:01,912 INFO : org.graylog2.bootstrap.CmdLineTool - Loaded plugin: Threat Intelligence Plugin 3.1.4 [org.graylog.plugins.threatintel.ThreatIntelPlugin]
    2022-08-01 09:39:02,131 INFO : org.graylog2.bootstrap.CmdLineTool - Running with JVM arguments: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:NewRatio=1 -XX:MaxMetaspaceSize=256m -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -Dlog4j.configurationFile=/usr/share/graylog/data/config/log4j2.xml -Djava.library.path=/usr/share/graylog/lib/sigar/ -Dgraylog2.installation_source=docker
    2022-08-01 09:39:02,283 INFO : org.hibernate.validator.internal.util.Version - HV000001: Hibernate Validator 5.1.3.Final
    2022-08-01 09:39:03,404 INFO : org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
    2022-08-01 09:39:03,414 INFO : org.graylog2.plugin.system.NodeId - No node ID file found. Generated: 7422203b-8cec-41af-aa11-9d23d0495217
    2022-08-01 09:39:03,495 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,499 INFO : org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
    2022-08-01 09:39:03,500 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,550 INFO : org.mongodb.driver.cluster - Cluster created with settings {hosts=[192.168.1.17:27017], mode=SINGLE, requiredClusterType=UNKNOWN, serverSelectionTimeout='30000 ms', maxWaitQueueSize=500}
    2022-08-01 09:39:03,574 INFO : org.mongodb.driver.cluster - Cluster description not yet available. Waiting for 30000 ms before timing out
    2022-08-01 09:39:03,587 INFO : org.mongodb.driver.connection - Opened connection [connectionId{localValue:1, serverValue:7}] to 192.168.1.17:27017
    2022-08-01 09:39:03,590 INFO : org.mongodb.driver.cluster - Monitor thread successfully connected to server with description ServerDescription{address=192.168.1.17:27017, type=STANDALONE, state=CONNECTED, ok=true, version=ServerVersion{versionList=[5, 0, 9]}, minWireVersion=0, maxWireVersion=13, maxDocumentSize=16777216, logicalSessionTimeoutMinutes=30, roundTripTimeNanos=1631230}
    2022-08-01 09:39:03,598 INFO : org.mongodb.driver.connection - Opened connection [connectionId{localValue:2, serverValue:8}] to 192.168.1.17:27017
    2022-08-01 09:39:03,731 INFO : org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
    2022-08-01 09:39:03,731 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,784 INFO : io.searchbox.client.AbstractJestClient - Setting server pool to a list of 1 servers: [http://192.168.1.17:9200]
    2022-08-01 09:39:03,784 INFO : io.searchbox.client.JestClientFactory - Using multi thread/connection supporting pooling connection manager
    2022-08-01 09:39:03,817 INFO : io.searchbox.client.JestClientFactory - Using custom ObjectMapper instance
    2022-08-01 09:39:03,818 INFO : io.searchbox.client.JestClientFactory - Node Discovery disabled...
    2022-08-01 09:39:03,818 INFO : io.searchbox.client.JestClientFactory - Idle connection reaping disabled...
    2022-08-01 09:39:03,821 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,845 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,845 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,846 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,892 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,894 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,896 INFO : org.graylog2.shared.buffers.ProcessBuffer - Initialized ProcessBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
    2022-08-01 09:39:03,897 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,897 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,937 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,940 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,954 INFO : org.graylog2.shared.buffers.ProcessBuffer - Initialized ProcessBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
    2022-08-01 09:39:03,954 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,955 INFO : org.graylog2.shared.buffers.ProcessBuffer - Initialized ProcessBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
    2022-08-01 09:39:03,956 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,960 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:03,962 INFO : org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
    2022-08-01 09:39:03,962 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,054 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,071 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,080 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,081 INFO : org.graylog2.buffers.OutputBuffer - Initialized OutputBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
    2022-08-01 09:39:04,081 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,083 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,084 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,084 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,085 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,086 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,093 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,094 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,095 INFO : org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
    2022-08-01 09:39:04,095 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,096 INFO : org.graylog2.shared.buffers.ProcessBuffer - Initialized ProcessBuffer with ring size <65536> and wait strategy <BlockingWaitStrategy>.
    2022-08-01 09:39:04,096 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,097 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,098 INFO : org.graylog2.shared.buffers.InputBufferImpl - Message journal is enabled.
    2022-08-01 09:39:04,099 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,100 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,101 ERROR: org.graylog2.shared.journal.KafkaJournal - Cannot access offset file: Permission denied
    2022-08-01 09:39:04,103 ERROR: org.graylog2.bootstrap.CmdLineTool - 
    
    ################################################################################
    
    ERROR: Unable to access file /usr/share/graylog/data/journal/graylog2-committed-read-offset: Permission denied
    
    Need help?
    
    * Official documentation: http://docs.graylog.org/
    * Community support: https://www.graylog.org/community-support/
    * Commercial support: https://www.graylog.com/support/
    
    Terminating. :(
    
    ################################################################################
    
    
    ** Press ANY KEY to close this window ** 

     

    • Confused 1
  2. On 7/30/2022 at 8:32 PM, AyslanAlves said:

    I have the same problem and so far no solution. Can anyone help? Frustrating trying to run elasticsearch with unraid.

     

    mkdir: cannot create directory '/config/logs': Permission denied
    mkdir: cannot create directory '/config/jvm.options.d': Permission denied
    chown: changing ownership of '/config/data': Operation not permitted
    chown: changing ownership of '/config': Operation not permitted
    cp: cannot create regular file '/config/elasticsearch.yml': Permission denied
    cp: cannot create regular file '/config/jvm.options': Permission denied
    cp: cannot create regular file '/config/log4j2.properties': Permission denied
    cp: cannot create regular file '/config/my-plugins.txt': Permission denied
    comm: /config/my-plugins.txt: No such file or directory
    comm: /config/my-plugins.txt: No such file or directory
    Exception in thread "main" java.nio.file.NoSuchFileException: /config/jvm.options
            at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
            at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:106)
            at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
            at java.base/sun.nio.fs.UnixFileSystemProvider.newByteChannel(UnixFileSystemProvider.java:218)
            at java.base/java.nio.file.Files.newByteChannel(Files.java:375)
            at java.base/java.nio.file.Files.newByteChannel(Files.java:426)
            at java.base/java.nio.file.spi.FileSystemProvider.newInputStream(FileSystemProvider.java:420)
            at java.base/java.nio.file.Files.newInputStream(Files.java:160)
            at org.elasticsearch.tools.launchers.JvmOptionsParser.readJvmOptionsFiles(JvmOptionsParser.java:167)
            at org.elasticsearch.tools.launchers.JvmOptionsParser.jvmOptions(JvmOptionsParser.java:128)
            at org.elasticsearch.tools.launchers.JvmOptionsParser.main(JvmOptionsParser.java:95)
    
    ** Press ANY KEY to close this window ** 

     

     

     

    Also the same issue.  

  3. I need to disable the remote access to the tower.  I use the community plugin and enabled the remote access.  After doing that all I get is DNS probe error.  I am now unable to access the webgui.  I also cannot access via direct IP.  It forwards to the unraid.net URL.  I need this disabled.  How do I do this?  

  4. 27 minutes ago, Hoopster said:


    Spaces are no longer allowed in peer names. That could be causing problems. I had to replace spaces with underscores in my peer names to get things working.


    Sent from my iPhone using Tapatalk

    This did not work for me.  I am not sure where to look for this issue.  One works the other does not,.  Makes no sense. 

  5. I am trying to setup a new peer in my wireguard setup.  I have my phone that is working just fine.  When I add another peer it refuses to connect.  Ping does not work.  The setup is identical.  What am I missing?  It also says peer update required when I apply changes. 

     

    image.thumb.png.aaf26f8220d2600b9f0b54b8ac7fc8fb.png

     

    image.png.d61d603a70c96b3e64a5695f7aedcf04.png

  6. On 11/2/2020 at 7:30 AM, HellraiserOSU said:

    I'm trying to setup jira (god help me) and I'm a little stuck when using NGINX Proxy Manager.
    I have my url in the Reverse Proxy Entry in the template, and NGNIX Proxy Manager setup to reverse proxy the container. I get into it fine from the outside using the url but any posts or deletes will generate the XSRF check failed response. Thus I can't even get past the initial step of creating a project.

     

    Can someone let me know how I should setup NGINX Proxy Manager to handle this?

     

    image.thumb.png.38e2784a12cf30400911471a12f13188.png

     

    You ever get this working?  I have the same issue

     

  7. 6 hours ago, JorgeB said:
    
    shareUserInclude="disk1,disk2,disk3,disk4,disk5,disk6"

     

    You're not including disk7 in the user shares, you should select include="all", so any disk you add it the future is automatically part of the users shares.

     Now I just feel like an idiot.  This was the issue.  Thank you sir.  

    Wow what a rookie move. 

    • Like 1
  8. This is my current array and space available/used

    image.thumb.png.438e2e369849286d79616a505ada705a.png

     

    This was 4 days ago before I removed that drive.  

     

     

     

    But the issue is now in my plex I am missing over 800 movies and I dont even know how many shows.  Sonarr was clear and caught up and now there are hundreds of shows missing 5-10 episodes each.  

    But what is taking up the space then?

     

     

     

     

    image.png

  9. 54 minutes ago, itimpi said:

    The parity drive has no file system so it has no files on it.   It simply works in conjunction with other drives to provide redundancy against a drive failure.

     

    You should probably post your system’s diagnostics zip file (obtained via Tools -> Diagnostics) attached to your next post it might allow us to give some informed feedback.

    Thanks for the reply.  I am aware the parity does not have a file system but the array drive I removed should have something.  

     

    Attached is my diagnostics. 

     

    Thank you

    tower-diagnostics-20210501-1949.zip

  10. I made a mistake and was upgrading my storage capacity.  I had a single cache 256GB SSD and an array drive 480GB SSD.  I needed the sata cables for the new drives so I removed those after copying the data over to the other array drives.  The cache drive I left alone and didn't copy anything.  I also have another cache drive that is used which is 500GB SSD.  Once I removed the drives I ran a parity check which took 36 hours and then after I connected my 2 new 14TB drives and its currently clearing.  

     

    Here is my issue.  Before I removed any drives I was at 46TB of data out of 86.4.  Now my current storage is at 48TB out of 86TB.  My radarr and sonarr are also showing that about 876 movies are now missing, which are currently downloading and moving back and same with sonarr.  A ton of shows are now missing episodes.  A lot of these are older movies from last year I downloaded as well as the shows.  Whats really getting me is judging by the space used nothing was deleted, but I cannot find the files.   Could they possibly be on the parity drive and waiting till the new drives are done clearing?  I gotta be missing something here?  I know I didnt do it right out of the gate and I goofed but here I am now.  

     

    Thoughts?  Suggestions?  I did run a forensic on the removed array drive and it shows 0 files.  

     

    image.thumb.png.dfeaa0319d3166f27fe757aac0db5d0a.png

     

     

  11. I am having an issue with this image.  I am able to get it up and running but the issue is that when i visit home.myurl.com it redirects me to login page but once I login it does not redirect me back to the app.  The page that it shows is the authenticated page. 

     

    image.thumb.png.6f27ef3ebd324001736ea0183eebc2aa.png

     

    location /authelia {
    internal;
    set $upstream_authelia http://192.168.1.17:9094/api/verify;
    proxy_pass_request_body off;
    proxy_pass $upstream_authelia;    
    proxy_set_header Content-Length "";
    
    # Timeout if the real server is dead
    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
    client_body_buffer_size 128k;
    proxy_set_header Host $host;
    proxy_set_header X-Original-URL $scheme://$http_host$request_uri;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr; 
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-Host $http_host;
    proxy_set_header X-Forwarded-Uri $request_uri;
    proxy_set_header X-Forwarded-Ssl on;
    proxy_redirect  http://  $scheme://;
    proxy_http_version 1.1;
    proxy_set_header Connection "";
    proxy_cache_bypass $cookie_session;
    proxy_no_cache $cookie_session;
    proxy_buffers 4 32k;
    
    send_timeout 5m;
    proxy_read_timeout 240;
    proxy_send_timeout 240;
    proxy_connect_timeout 240;
    }
    
    location / {
    set $upstream_heimdall $forward_scheme://$server:$port;
    proxy_pass $upstream_heimdall;
    
    auth_request /authelia;
    auth_request_set $target_url https://$http_host$request_uri;
    auth_request_set $user $upstream_http_remote_user;
    auth_request_set $groups $upstream_http_remote_groups;
    proxy_set_header Remote-User $user;
    proxy_set_header Remote-Groups $groups;
    error_page 401 =302 https://identity.MYSITE.COM/?rd=$target_url;
    
    client_body_buffer_size 128k;
    
    proxy_next_upstream error timeout invalid_header http_500 http_502 http_503;
    
    send_timeout 5m;
    proxy_read_timeout 360;
    proxy_send_timeout 360;
    proxy_connect_timeout 360;
    
    proxy_set_header Host $host;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection upgrade;
    proxy_set_header Accept-Encoding gzip;
    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header X-Forwarded-Proto $scheme;
    proxy_set_header X-Forwarded-Host $http_host;
    proxy_set_header X-Forwarded-Uri $request_uri;
    proxy_set_header X-Forwarded-Ssl on;
    proxy_redirect  http://  $scheme://;
    proxy_http_version 1.1;
    proxy_set_header Connection "";
    proxy_cache_bypass $cookie_session;
    proxy_no_cache $cookie_session;
    proxy_buffers 64 256k;
    
    set_real_ip_from 192.168.1.1/16;
    real_ip_header X-Forwarded-For;
    real_ip_recursive on;
    
    }

     

    Log 

    time="2021-02-17T10:36:23-05:00" level=debug msg="Mark authentication attempt made by user authelia" method=POST path=/api/firstfactor remote_ip=71.184.125.234
    time="2021-02-17T10:36:23-05:00" level=debug msg="Credentials validation of user authelia is ok" method=POST path=/api/firstfactor remote_ip=71.184.125.234
    time="2021-02-17T10:36:23-05:00" level=debug msg="Required level for the URL https://home.MYSITE.zone/ is 1" method=POST path=/api/firstfactor remote_ip=71.184.125.234
    time="2021-02-17T10:36:23-05:00" level=debug msg="Redirection URL https://home.thecache.zone/ is safe" method=POST path=/api/firstfactor remote_ip=71.184.125.234
    time="2021-02-17T10:36:23-05:00" level=debug msg="Mark authentication attempt made by user authelia" method=POST path=/api/firstfactor remote_ip=71.184.125.234
    time="2021-02-17T10:36:23-05:00" level=debug msg="Credentials validation of user authelia is ok" method=POST path=/api/firstfactor remote_ip=71.184.125.234
    time="2021-02-17T10:36:23-05:00" level=debug msg="Required level for the URL https://home.MYSTIE.zone/ is 1" method=POST path=/api/firstfactor remote_ip=71.184.125.234
    time="2021-02-17T10:36:23-05:00" level=debug msg="Redirection URL https://home.MYSITE.zone/ is safe" method=POST path=/api/firstfactor remote_ip=71.184.125.234
    time="2021-02-17T10:36:25-05:00" level=error msg="Scheme of target URL http://home.MYSITE.zone/ must be secure since cookies are only transported over a secure connection for security reasons" method=GET path=/api/verify remote_ip=162.158.62.48 stack="github.com/authelia/authelia/internal/handlers/handler_verify.go:411 VerifyGet.func1\ngithub.com/authelia/authelia/internal/middlewares/authelia_context.go:49 AutheliaMiddleware.func1.1\ngithub.com/fasthttp/[email protected]/router.go:414 (*Router).Handler\ngithub.com/authelia/authelia/internal/middlewares/log_request.go:14 LogRequestMiddleware.func1\ngithub.com/valyala/[email protected]/server.go:2166 (*Server).serveConn\ngithub.com/valyala/[email protected]/workerpool.go:223 (*workerPool).workerFunc\ngithub.com/valyala/[email protected]/workerpool.go:195 (*workerPool).getCh.func1\nruntime/asm_amd64.s:1374

     

    I can see that its saying something about the Scheme but i am using an https url.  Any thoughts?

     

    time="2021-02-17T11:25:22-05:00" level=error msg="Scheme of target URL http://home.MYWEBSITE.COM/ must be secure since cookies are only transported over a secure connection for security reasons" method=GET path=/api/verify remote_ip=162.158.62.48 stack="github.com/authelia/authelia/internal/handlers/handler_verify.go:411 VerifyGet.func1\ngithub.com/authelia/authelia/internal/middlewares/authelia_context.go:49 AutheliaMiddleware.func1.1\ngithub.com/fasthttp/[email protected]/router.go:414 (*Router).Handler\ngithub.com/authelia/authelia/internal/middlewares/log_request.go:14 LogRequestMiddleware.func1\ngithub.com/valyala/[email protected]/server.go:2166 (*Server).serveConn\ngithub.com/valyala/[email protected]/workerpool.go:223 (*workerPool).workerFunc\ngithub.com/valyala/[email protected]/workerpool.go:195 (*workerPool).getCh.func1\nruntime/asm_amd64.s:1374 goexit"
    
    time="2021-02-17T11:26:24-05:00" level=error msg="Scheme of target URL http://ftp.MYWEBSITE.COM/ must be secure since cookies are only transported over a secure connection for security reasons" method=GET path=/api/verify remote_ip=173.245.52.158 stack="github.com/authelia/authelia/internal/handlers/handler_verify.go:411 VerifyGet.func1\ngithub.com/authelia/authelia/internal/middlewares/authelia_context.go:49 AutheliaMiddleware.func1.1\ngithub.com/fasthttp/[email protected]/router.go:414 (*Router).Handler\ngithub.com/authelia/authelia/internal/middlewares/log_request.go:14 LogRequestMiddleware.func1\ngithub.com/valyala/[email protected]/server.go:2166 (*Server).serveConn\ngithub.com/valyala/[email protected]/workerpool.go:223 (*workerPool).workerFunc\ngithub.com/valyala/[email protected]/workerpool.go:195 (*workerPool).getCh.func1\nruntime/asm_amd64.s:1374

     

  12. On 8/10/2020 at 1:29 PM, A75G said:

    I'm still running my Matrix Server and it working really fine with postgres database and redis.

    Permission issue it normal you need open with nano(cli) or use file managers that are available on CA.

     

    I forgot how i set it up but ill upload my config and see what you did wrong (password and domain will be removed so dont just copy and paste).

    If you are not using postgres or redis remove it and keep sqlite.

     

    homeserver.yaml

    Hello sir.  I see you setup your own turn server.  How did you get this working for outside video/audio calls?  Did you do anything on your router?  Im kinda lost here.  Works great in-network.

  13. On 11/23/2020 at 5:40 PM, thany said:

    When I try that, I get this:

    
    $ register_new_matrix_user -c /data/homeserver.yaml http://0.0.0.0:8008
    New user localpart [matrix]: 
    Password: 
    Confirm password: 
    Make admin [no]: yes
    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 170, in _new_conn
        (self._dns_host, self.port), self.timeout, **extra_kw
      File "/usr/local/lib/python3.7/dist-packages/urllib3/util/connection.py", line 96, in create_connection
        raise err
      File "/usr/local/lib/python3.7/dist-packages/urllib3/util/connection.py", line 86, in create_connection
        sock.connect(sa)
    ConnectionRefusedError: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 706, in urlopen
        chunked=chunked,
      File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 394, in _make_request
        conn.request(method, url, **httplib_request_kw)
      File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 234, in request
        super(HTTPConnection, self).request(method, url, body=body, headers=headers)
      File "/usr/lib/python3.7/http/client.py", line 1244, in request
        self._send_request(method, url, body, headers, encode_chunked)
      File "/usr/lib/python3.7/http/client.py", line 1290, in _send_request
        self.endheaders(body, encode_chunked=encode_chunked)
      File "/usr/lib/python3.7/http/client.py", line 1239, in endheaders
        self._send_output(message_body, encode_chunked=encode_chunked)
      File "/usr/lib/python3.7/http/client.py", line 1026, in _send_output
        self.send(msg)
      File "/usr/lib/python3.7/http/client.py", line 966, in send
        self.connect()
      File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 200, in connect
        conn = self._new_conn()
      File "/usr/local/lib/python3.7/dist-packages/urllib3/connection.py", line 182, in _new_conn
        self, "Failed to establish a new connection: %s" % e
    urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x1544ebed7198>: Failed to establish a new connection: [Errno 111] Connection refused
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 449, in send
        timeout=timeout
      File "/usr/local/lib/python3.7/dist-packages/urllib3/connectionpool.py", line 756, in urlopen
        method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
      File "/usr/local/lib/python3.7/dist-packages/urllib3/util/retry.py", line 573, in increment
        raise MaxRetryError(_pool, url, error or ResponseError(cause))
    urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /_matrix/client/r0/admin/register (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1544ebed7198>: Failed to establish a new connection: [Errno 111] Connection refused'))
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/usr/local/bin/register_new_matrix_user", line 20, in <module>
        main()
      File "/usr/local/lib/python3.7/dist-packages/synapse/_scripts/register_new_matrix_user.py", line 221, in main
        args.user, args.password, args.server_url, secret, admin, args.user_type
      File "/usr/local/lib/python3.7/dist-packages/synapse/_scripts/register_new_matrix_user.py", line 134, in register_new_user
        user, password, server_location, shared_secret, bool(admin), user_type
      File "/usr/local/lib/python3.7/dist-packages/synapse/_scripts/register_new_matrix_user.py", line 43, in request_registration
        r = requests.get(url, verify=False)
      File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 76, in get
        return request('get', url, params=params, **kwargs)
      File "/usr/local/lib/python3.7/dist-packages/requests/api.py", line 61, in request
        return session.request(method=method, url=url, **kwargs)
      File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 542, in request
        resp = self.send(prep, **send_kwargs)
      File "/usr/local/lib/python3.7/dist-packages/requests/sessions.py", line 655, in send
        r = adapter.send(request, **kwargs)
      File "/usr/local/lib/python3.7/dist-packages/requests/adapters.py", line 516, in send
        raise ConnectionError(e, request=request)
    requests.exceptions.ConnectionError: HTTPConnectionPool(host='0.0.0.0', port=8008): Max retries exceeded with url: /_matrix/client/r0/admin/register (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x1544ebed7198>: Failed to establish a new connection: [Errno 111] Connection refused'))

    So that's not good, is it? How do I make it not refuse the connection?

     

    In your homeserver.yaml file  Find the line for the database and change it to /data/homeserver.db

  14. ive read every page of this post.  I cannot get the Matrix server up and running for the life of me.  Has anyone successfully got this to work?  If so do you mind sharing your steps?

     

    -=> start turn
    -=> start matrix
    Cannot create pid file: /var/run/turnserver.pid: Permission denied
    socket: Protocol not supported
    socket: Protocol not supported
    0: log file opened: /var/tmp/turn_8_2021-01-28.log
    0:
    RFC 3489/5389/5766/5780/6062/6156 STUN/TURN Server
    Version Coturn-4.5.1.1 'dan Eider'
    
    0:
    Max number of open files/sockets allowed for this process: 40960
    0:
    Due to the open files/sockets limitation,
    max supported number of TURN Sessions possible is: 20000 (approximately)
    0:
    
    ==== Show him the instruments, Practical Frost: ====
    
    0: TLS supported
    0: DTLS supported
    0: DTLS 1.2 supported
    0: TURN/STUN ALPN supported
    0: Third-party authorization (oAuth) supported
    0: GCM (AEAD) supported
    0: OpenSSL compile-time version: OpenSSL 1.1.1d 10 Sep 2019 (0x1010104f)
    
    0:
    0: SQLite supported, default database location is /var/lib/turn/turndb
    0: Redis supported
    0: PostgreSQL supported
    0: MySQL supported
    0: MongoDB is not supported
    0:
    0: Default Net Engine version: 3 (UDP thread per CPU core)
    
    
    =====================================================
    
    0: Domain name:
    0: Default realm: turn.matrix
    0:
    CONFIGURATION ALERT: You specified --lt-cred-mech and --use-auth-secret in the same time.
    Be aware that you could not mix the username/password and the shared secret based auth methohds.
    Shared secret overrides username/password based auth method. Check your configuration!
    0: ERROR:
    
    CONFIG ERROR: Empty cli-password, and so telnet cli interface is disabled! Please set a non empty cli-password!
    
    0: WARNING: cannot find certificate file: /data/matrix.tls.crt (1)
    
    0: WARNING: cannot start TLS and DTLS listeners because certificate file is not set properly
    
    0: WARNING: cannot find private key file: /data/matrix.tls.key (1)
    
    0: WARNING: cannot start TLS and DTLS listeners because private key file is not set properly
    
    0: WARNING: cannot find DH key file: /data/matrix.tls.dh (1)
    
    0: NO EXPLICIT LISTENER ADDRESS(ES) ARE CONFIGURED
    0: ===========Discovering listener addresses: =========
    0: Listener address to use: 127.0.0.1
    0: Listener address to use: 172.17.0.28
    0: =====================================================
    0: Total: 1 'real' addresses discovered
    0: =====================================================
    socket: Protocol not supported
    0: NO EXPLICIT RELAY ADDRESS(ES) ARE CONFIGURED
    0: ===========Discovering relay addresses: =============
    0: Relay address to use: 172.17.0.28
    0: =====================================================
    0: Total: 1 relay addresses discovered
    0: =====================================================
    0: Cannot create pid file: /var/run/turnserver.pid
    0: pid file created: /var/tmp/turnserver.pid
    0: IO method (main listener thread): epoll (with changelist)
    0: Wait for relay ports initialization...
    0: relay 172.17.0.28 initialization...
    0: relay 172.17.0.28 initialization done
    0: Relay ports initialization done
    0: IO method (general relay thread): epoll (with changelist)
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=0 created
    0: IO method (general relay thread): epoll (with changelist)
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=2 created
    0: turn server id=1 created
    0: turn server id=3 created
    0: IO method (general relay thread): epoll (with changelist)
    0: IO method (general relay thread): epoll (with changelist)
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=4 created
    0: turn server id=6 created
    0: IO method (general relay thread): epoll (with changelist)
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=5 created
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=8 created
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=10 created
    0: turn server id=9 created
    0: turn server id=7 created
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=11 created
    0: IO method (general relay thread): epoll (with changelist)
    0: IO method (general relay thread): epoll (with changelist)
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=15 created
    0: turn server id=12 created
    0: IO method (general relay thread): epoll (with changelist)
    0: turn server id=14 created
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported
    socket: Protocol not supported

     

    Update: forget it.  Ill stick to rocket chat.  No need for it to be this difficult. 

  15. I am allso getting the same error as above.  My ip address for unraid is 192.168.1.17 and in the debug it is showing a different IP

    Error: Can't connect to database
    Please edit the $CONF['database_*'] parameters in config.local.php.
    
    DEBUG INFORMATION:
    Connect: Access denied for user 'postfix'@'172.17.0.1' (using password: YES)

     

    Where is it setting this from?  

×
×
  • Create New...