spyd4r

Members
  • Posts

    55
  • Joined

  • Last visited

Posts posted by spyd4r

  1. 6 minutes ago, ich777 said:

    I don't think so because it is designed to deliver information form the host and it's attached devices not VMs or Docker.

    However, maybe there is a Prometheus Docker Exporter out there, which should definitely be the case.

    But the Node Exporter won't deliver these information.

    oh a standard docker install you can just place the following in /etc/docker/daemon.json to export metrics (unfortunately this just gives you a count of containers and not container details), not sure how to accomplish this on unraid though.

    { 
    	"metrics-addr" : "127.0.0.1:9323"
    }

     

  2. I set DB_HOST yet it keeps defaulting to localhost. Same in latest and beta.

     

    Could not poll the database: SQLSTATE[HY000] [1045] Access denied for user 'firefly'@'Firefly-III.br0' (using password: YES) (SQL: select `id`, `name`, `data` from `configuration` where `name` = is_demo_site and `configuration`.`deleted_at` is null limit 1)

  3. Is anyone able to get a VM running on unraid able to talk to netboot.xyz?

     

    I have it all setup as documented in my Unifi configuration, I just get no pxe boot from a VM.

     

    edit: pxe boot happened once, and it's gone again.. it's like I am not getting the DHCP request.

     

    edit 2: I figured it out, with Unifi USG, I had to add the following dhcp options

    NAME: code_93
    CODE: 93
    TYPE: Unsigned integer 16

     

  4. On 6/8/2020 at 8:45 AM, cobhc said:

    That's an unbelievably selfish view to have on this. We would all like a new release with new features, bugs fixed, etc. but it's not as simple as just flicking a switch and with the current world pandemic things are likely to take even longer. The fact that your only post on here is to bitch that it's been 3 months since a release speaks volumes about how little you know about development and thus aren't in the position to be able to judge.

    Exactly. Just stay on stable and wait for official releases then.

  5. 9 minutes ago, N¿¿B said:

    Thanks! I’m not near my sever right now but when I get back, I’ll definitely make those changes and report back. As for the turnsever.conf, it’s attached to the first post I made with my matrix.subdomain.conf and my log file. Sorry, if I was near my computer I would have just attached it to this post. 

    I'll show you my matrix.subdomain.conf file

    server {
    	listen 443 ssl;
    	listen 8448 ssl;
    	
    	server_name bridge.*;
    
    	include /config/nginx/ssl.conf;
    	
    	client_max_body_size 0;
    
    	location / {
    		include /config/nginx/proxy.conf;
    		resolver 127.0.0.11 valid=30s;
    		set $upstream_app 10.10.4.234;
    		set $upstream_port 8008;
    		set $upstream_proto http;
    		proxy_pass $upstream_proto://$upstream_app:$upstream_port;
    		proxy_set_header X-Forwarded-For $remote_addr;
    	}
    	
    	location ^~ /_matrix {
    		proxy_pass http://10.10.4.234:8008/_matrix;
    	}
    
    	location ^~ /_matrix/identity {
    		proxy_pass http://10.10.4.234:8008/_matrix/identity;
    		proxy_set_header Host $host;
    		proxy_set_header X-Forwarded-For $remote_addr;
    	}
    }

    While we're at it, in regards to your port forwards on your router, how do you have it configured? Are you using cloudflare also? I noticed a few things needed in regards to configuring DNS at cloudflare for federation to work properly.

     

     

    also, in regards to turnserver.conf. I think you added

    pidfile=/data/turnserver.pid
    userdb=/data/turnserver.db

    did you also add the no-cli?

  6. 7 hours ago, N¿¿B said:

    That's the homeserver.yaml file, right? I'll just post it here in the thread. Maybe it might help someone later who's having the same issue. I've went ahead and changed the secret and shared keys and switched domain to "domain.net" instead of my actual one. Thank you so much for taking your time to help me.  I really appreciate it. 🙂

    homeserver.yaml 74.14 kB · 0 downloads

    1 thing i see right off the bat..

    database:
      name: sqlite3
      args:
        database: /homeserver.db

    should be 

    database:
      name: sqlite3
      args:
        database: /data/homeserver.db

     

    other then that the only differences between yours and mine is the listeners, I have mine setup a bit diferently.

    listeners:
      # TLS-enabled listener: for when matrix traffic is sent directly to synapse.
      #
      # Disabled by default. To enable it, uncomment the following. (Note that you
      # will also need to give Synapse a TLS key and certificate: see the TLS section
      # below.)
      #
      - port: 8448
        tls: false
        type: http
        x_forwarded: false
        bind_addresses: ['0.0.0.0']
    
        resources:
          - names: [federation]
            compress: false
    
      # Unsecure HTTP listener: for when matrix traffic passes through a reverse proxy
      # that unwraps TLS.
      #
      # If you plan to use a reverse proxy, please see
      # https://github.com/matrix-org/synapse/blob/master/docs/reverse_proxy.md.
      #
      - port: 8008
        tls: false
        type: http
        x_forwarded: true
        bind_addresses: ['0.0.0.0']
    
        resources:
          - names: [client]
            compress: true
          - names: [federation]
            compress: false

    Can you paste your turnserver.conf? (remove the secret)

    • Thanks 1
  7. 4 hours ago, N¿¿B said:

    No, nothing that I can think of. This is literally the only docker I can't get up and running. I haven't had any issues with dockers connecting to my appdata folder through /mnt/cache/appdata or /mnt/user/appdata. I have Jitsi and Riot working from your guide as well as a few other containers. Some are set behind are reverse proxy too. Everything works fine, except Matrix. I'm confused. 😕 I usually never post anything on forums, but I created an account specifically for this because it was bugging me so much, haha. I just can't figure it out. 🤷🏽‍♀️

    if you want to send your conf file for matrix privately to me or paste here and make sure you remove anything sensitive. perhaps we can give you a hand.

  8. 23 minutes ago, yinzer said:

    thanks @spyd4r I'll add that above. I didnt have to make that change and it 'just works' but I'll at least note it unless othesr are having the same issue. The joys of living, actively-developed codebases :)

     

    The other error sounds like an SSL problem. If you don't actually own the domain, you can't use LetsEncrypt to provision your certificates (since it verifies ownership). You should be able to get a full-HTTP setup -- edit all your configs and replace http with https for internal services, and adjust ports accordingly (443 to 80 or whatever you are using).  If you run HTTPSEverywhere in your browser, expect problems!

    I got a locally run dimension server up and running, noticed that was still in your todo. Let me know if you need assitance putting that together.

  9. 14 hours ago, N¿¿B said:

    @yinzer Hi! I was wondering you could help me figure out what I'm doing wrong. I'm just about to give up. I've gotten everything up and running except for this matrix server and I've been working on it for the better part or two days now 🙁. I'd love for it to be something really silly because I followed the directions and uninstalled and reinstalled the set up multiple times now, but I'm not sure anymore. Everything else works. I've attached the logs and config files. I've changed the domain to "domain.net" for security.

    My main issues off the bat is the following:
     

    Doesn't Register As An Error or Warning But Thought It Was Concerning

     

    Cannot create pid file: /var/run/turnserver.pid: Permission denied

     

    Warnings

     

    [WARNING] cannot find certificate file: /data/bridge.domain.net.tls.crt (1)

    [WARNING] cannot start TLS and DTLS listeners because certificate file is not set properly

    [WARNING] cannot find private key file: /data/bridge.xb34st.com.tls.key (1)

    [WARNING] cannot start TLS and DTLS listeners because private key file is not set properly

    [WARNING] cannot find DH key file: /data/bridge.xb34st.com.tls.dh (1)

    [WARNING] - None - Server /usr/local/lib/python3.7/dist-packages/synapse/app/homeserver.py version 1.14.0

     

    Errors

     

    [ERROR] CONFIG ERROR: Empty cli-password, and so telnet cli interface is disabled! Please set a non empty cli-password!

    [ERROR] - - Traceback (most recent call last):

    [ERROR] - - File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main

    [ERROR] - - "__main__", mod_spec)

    [ERROR] - - File "/usr/lib/python3.7/runpy.py", line 85, in _run_code

    [ERROR] - - exec(code, run_globals)

    [ERROR] - - File "/usr/local/lib/python3.7/dist-packages/synapse/app/homeserver.py", line 682, in <module>

    [ERROR] - - main()

    [ERROR] - - File "/usr/local/lib/python3.7/dist-packages/synapse/app/homeserver.py", line 677, in main

    [ERROR] - - hs = setup(sys.argv[1:])

    [ERROR] - - File "/usr/local/lib/python3.7/dist-packages/synapse/app/homeserver.py", line 372, in setup

    [ERROR] - - hs.setup()

    [ERROR] - - File "/usr/local/lib/python3.7/dist-packages/synapse/server.py", line 274, in setup

    [ERROR] - - self.datastores = DataStores(self.DATASTORE_CLASS, self)

    [ERROR] - - File "/usr/local/lib/python3.7/dist-packages/synapse/storage/data_stores/__init__.py", line 49, in __init__

    [ERROR] - - with make_conn(database_config, engine) as db_conn:

    [ERROR] - - File "/usr/local/lib/python3.7/dist-packages/synapse/storage/database.py", line 112, in make_conn

    [ERROR] - - db_conn = engine.module.connect(**db_params)

    [ERROR] - - sqlite3.OperationalError: unable to open database file

     

    Any help or insight would be greatly appreciated! Thank you!

    homeserver.log 14.07 kB · 1 download matrix.subdomain.conf 418 B · 1 download turnserver.conf 232 B · 3 downloads

    in regards to the pid file

     

    edit /data/turnserver.conf, add the following and restart

    pidfile=/data/turnserver.pid
    userdb=/data/turnserver.db

     

    perhaps, @yinzer should add this to the original post.

     

    I believe you can set "no-cli" in turnserver.conf as well to remove the other message.

     

    reference: https://github.com/instrumentisto/coturn-docker-image/issues/13

    • Thanks 1