mgranger

Members
  • Posts

    168
  • Joined

  • Last visited

Everything posted by mgranger

  1. @DZMM I got it to work with your information. I was trying to follow the reverse proxy instructions using https://cyanlabs.net/tutorials/the-complete-unraid-reverse-proxy-duck-dns-dynamic-dns-and-letsencrypt-guide/ however it did not have information to use Home Assistant however when I used something similar for the home assistant line it did not work. I was hoping to be able to use some of these and add home assistant to it however that did't seem to work. Here is the default file from the above guide. upstream backend { server 192.168.1.3:19999; keepalive 64; } server { listen 443 ssl default_server; listen 80 default_server; root /config/www; index index.html index.htm index.php; server_name _; ssl_certificate /config/keys/letsencrypt/fullchain.pem; ssl_certificate_key /config/keys/letsencrypt/privkey.pem; ssl_dhparam /config/nginx/dhparams.pem; ssl_ciphers 'ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA'; ssl_prefer_server_ciphers on; client_max_body_size 0; location = / { return 301 /htpc; } location /sonarr { include /config/nginx/proxy.conf; proxy_pass http://192.168.1.3:8989/sonarr; } location /radarr { include /config/nginx/proxy.conf; proxy_pass http://192.168.1.3:7878/radarr; } location /htpc { include /config/nginx/proxy.conf; proxy_pass http://192.168.1.3:8085/htpc; } location /downloads { include /config/nginx/proxy.conf; proxy_pass http://192.168.1.3:8112/; proxy_set_header X-Deluge-Base "/downloads/"; } #PLEX location /web { # serve the CSS code proxy_pass http://192.168.1.3:32400; } # Main /plex rewrite location /plex { # proxy request to plex server proxy_pass http://192.168.1.3:32400/web; } location /nextcloud { include /config/nginx/proxy.conf; proxy_pass https://192.168.1.3:444/nextcloud; } location ~ /netdata/(?<ndpath>.*) { proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://backend/$ndpath$is_args$args; proxy_http_version 1.1; proxy_pass_request_headers on; proxy_set_header Connection "keep-alive"; proxy_store off; } } UPDATE: It seemed to work when I brought those locations into @DZMM default above.
  2. This is probably an easy question but I am learning. I have set up home assistant and I have configured Let's Encrypt to give me a cert so that I am able to access Home Assistant using a DDNS however I am not sure how I get my configuration.yaml to point to the cert and key file which reside in the Let's Encrypt container. I tried setting up a Host Path from Home Assistant but I don't think I did this correctly.
  3. I am trying to use a Aeon Labs Aeotec Z-Wave Z-Stick, Gen5 but can't seem to get my devices hooked up. I put this in the privileged line --device=/dev/ttyACM0 But it doesn't seem to be working here is some lines in my log file �[39m�[31m2018-03-18 14:52:29.936 Error, ERROR: Failed to open serial port /dev/ttyACM0 �[39m�[32m2018-03-18 14:52:29.936 Always, �[39m�[32m2018-03-18 14:52:29.936 Always, Dumping queued log messages �[39m�[32m2018-03-18 14:52:29.936 Always, �[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[32m2018-03-18 14:52:29.936 Always, �[39m�[32m2018-03-18 14:52:29.936 Always, End of queued log message dump �[39m�[32m2018-03-18 14:52:29.936 Always, �[39m�[31m2018-03-18 14:52:34.936 Error, ERROR: Cannot open serial port /dev/ttyACM0. Error code 13 �[39m�[32m2018-03-18 14:52:34.936 Always, �[39m�[32m2018-03-18 14:52:34.936 Always, Dumping queued log messages �[39m�[32m2018-03-18 14:52:34.936 Always, �[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[32m2018-03-18 14:52:34.937 Always, �[39m�[32m2018-03-18 14:52:34.937 Always, End of queued log message dump �[39m�[32m2018-03-18 14:52:34.937 Always, �[39m�[31m2018-03-18 14:52:34.937 Error, ERROR: Failed to open serial port /dev/ttyACM0 �[39m�[32m2018-03-18 14:52:34.937 Always, �[39m�[32m2018-03-18 14:52:34.937 Always, Dumping queued log messages �[39m�[32m2018-03-18 14:52:34.937 Always, �[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[39m�[32m2018-03-18 14:52:34.937 Always, �[39m�[32m2018-03-18 14:52:34.937 Always, End of queued log message dump �[39m�[32m2018-03-18 14:52:34.937 Always, �[39m2018-03-18 14:52:34.937 �[1;31mError: OpenZWave: Driver Failed!!�[0;0m 2018-03-18 14:54:29.969 New sensors allowed for 5 minutes... 2018-03-18 14:54:44.740 New sensors allowed for 5 minutes... 2018-03-18 14:55:58.836 New sensors allowed for 5 minutes... 2018-03-18 14:56:16.068 New sensors allowed for 5 minutes... 2018-03-18 14:56:16.068 OpenZWave: Node Include command initiated... What am I doing wrong?
  4. In the couple of days I have been using unRAID I have had a couple of times where the Terminal window would not open up and today I had an issue where one of my Docker containers would not work. The solution I did was to clear my browser history and then when I tried again the issues were fixed. While I am happy this solved my issue I find it frustrating that I have to do this and makes the process of using my PC inconvenient. Is there some other issue here that I should be looking for.
  5. so i am planning to make the switch to unRaid except there is one piece from my existing setup. i currently have two disks that i backup my files to every night and two other disks i rotate them with that are offsite so that i always have a copy of my data offsite even if it is not the most up to date copy it is at least better than nothing in case of some extreme event i will be able to get most off my stuff back hopefully. i currently use Back In Time in xubuntu to back up my items and have enjoyed it. i have been looking around for dockers to use in unraid to do something similar but didnt really find anything yet. what do most people use to do this as i cant be the only one to do this. if there are better ideas for backing items up i am open to that too.
  6. Ok it looks like adding the epg source to every channel may do the trick. I was hoping to avoid having to do this since I didn't have to do it in MythTV however I should only have to do it once when I set it up so I guess I will just live with it. Thanks for the help
  7. I am now trying to get the EPG setup. I have typed the following in docker exec -it -u abc tvheadend /usr/bin/tv_grab_sd_json --configure and I go through all the information as far as setting up the cache and username and password. then after I get to the end I enable the module. I then hit the button to rerun internal EPG grabbers but nothing seems to show up. What am I missing here?
  8. Sorry I am not familiar with TVheadend yet. What am I looking for here?
  9. I think I got things setup however when I go to stream the video to my PC I don't get a picture. I am getting audio sometimes. Here is the log at the bottom. 2018-03-13 17:28:13.928 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92) 2018-03-13 17:28:13.928 tvhdhomerun: tuning to auto:641028615 2018-03-13 17:28:13.939 subscription: 0002: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" 2018-03-13 17:28:14.544 subscription: 0002: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" 2018-03-13 17:28:18.749 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92) 2018-03-13 17:28:18.749 tvhdhomerun: tuning to auto:641028615 2018-03-13 17:28:18.750 subscription: 0004: "HTTP" subscribing on channel "Antenna", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "Antenna", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" 2018-03-13 17:28:21.583 subscription: 0004: "HTTP" unsubscribing from "Antenna", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" 2018-03-13 17:29:50.037 mpegts: 641.028MHz in OTA TV - tuning on HDHomeRun ATSC-T Tuner #0 (192.168.1.92) 2018-03-13 17:29:50.037 tvhdhomerun: tuning to auto:641028615 2018-03-13 17:29:50.038 subscription: 0006: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="webtv-h264-aac-matroska", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" 2018-03-13 17:29:50.373 transcode: 0001: 01:MPEG2VIDEO: ==> Using profile webtv-h264 2018-03-13 17:29:50.373 transcode: 0001: 02:AC3: ==> Using profile webtv-aac 2018-03-13 17:29:50.373 transcode: 0001: 03:AC3: ==> Filtered out 2018-03-13 17:29:50.695 libav: AVCodecContext: Error setting profile 0. 2018-03-13 17:29:50.695 libav: AVCodecContext: Possible profiles: 2018-03-13 17:29:50.695 libav: AVCodecContext: baseline 2018-03-13 17:29:50.695 libav: AVCodecContext: main 2018-03-13 17:29:50.695 libav: AVCodecContext: high 2018-03-13 17:29:50.695 libav: AVCodecContext: high10 2018-03-13 17:29:50.695 libav: AVCodecContext: high422 2018-03-13 17:29:50.695 libav: AVCodecContext: high444 2018-03-13 17:29:50.695 libav: AVCodecContext: 2018-03-13 17:29:52.161 subscription: 0007: "HTTP" subscribing on channel "WNDU-", weight: 100, adapter: "HDHomeRun ATSC-T Tuner #0 (192.168.1.92)", network: "OTA TV", mux: "641.028MHz", service: "WNDU-HD", profile="pass", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" 2018-03-13 17:29:52.795 subscription: 0007: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" 2018-03-13 17:29:53.139 subscription: 0006: "HTTP" unsubscribing from "WNDU-", hostname="192.168.1.192", username="mgranger", client="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36" 2018-03-13 17:29:53.140 libav: AVCodecContext: Qavg: 118.000 2018-03-13 17:29:53.140 libav: AVCodecContext: 2 frames left in the queue on closing
  10. Ok I will look into updating the BIOS. So far I have had better results with the disable C state but I am not sure I understand what that is yet. It sounds like doing it through the BIOS is a better option. As far as "losing network connection" when I type in the IP address I am not able to access the gui. I think I server is not frozen but rather something to do with the C state although I haven't researched it enough yet. It seems like the server is still operating when I have the keyboard and monitor plugged in.
  11. No I have not tried another network cable or port. This computer is using a Ryzen chip so after I posted I did some more digging and found I needed to add the code below. So this was done before I ran the diagnostic but i am posting what I have. Take a look and see if there is anything weird and I will run it and see if I am still having issues and will update with what I find. /usr/local/sbin/zenstates --c6-disable executer-diagnostics-20180308-2325.zip
  12. I just installed unRAID for the first time last night but I have had the network connection go down and not allow me to access the computer over the gui. I don't know what to do besides reboot the computer and once it is back up and running it is fine for awhile. Is there any reason this would be happening. I would try to look at the logs but I can't get to them when the network connection is down. Any ideas on how to troubleshoot this or fix this? I am running version 6.4.1
  13. Well I completely removed it then reinstalled and it works.
  14. I am completely new to unraid so sorry for the noob questions but I am struggling to get Zoneminder started. When I go to start the Zoneminder docker it will seem like it will start but then stop after awhile. I assume this is because it was failing so I looked at the log which is below. Can someone point me in the right direction as to what I am doing wrong. It looks like I need to set up apache and maybe MySQL but I am not really sure how to do that in unRAID. Mar 7 22:53:42 8cadcc7b1eda syslog-ng[14]: syslog-ng starting up; version='3.5.6' Mar 7 22:53:43 8cadcc7b1eda syslog-ng[14]: EOF on control channel, closing connection; *** Running /etc/my_init.d/20_apt_update.sh... Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB] Get:4 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB] Fetched 306 kB in 1s (188 kB/s) Reading package lists... Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... Calculating upgrade... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Reading package lists... Building dependency tree... Reading state information... 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. *** Running /etc/my_init.d/30_gen_ssl_keys.sh... using existing keys in "/config/keys" *** Running /etc/my_init.d/40_firstrun.sh... File zm.conf already exists Using existing ssmtp configuration Using existing mysql database Using existing skins directory Creating symbolink links usermod: no changes usermod: no changes usermod: no changes Using existing data directory for events Using existing data directory for images Using existing data directory for temp no crontab for root Setting shared memory to : 50% of 16383896 bytes Starting services * Starting MariaDB database server mysqld ...fail! Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_HOST"} in pattern match (m//) at /usr/share/perl5/ZoneMinder/Config.pm line 91. Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_HOST"} in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Config.pm line 100. Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_NAME"} in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Config.pm line 106. DBI connect('database=;host=','',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Config.pm line 106. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 129. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 129. Compilation failed in require at /usr/bin/zmupdate.pl line 71. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71. Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_HOST"} in pattern match (m//) at /usr/share/perl5/ZoneMinder/Config.pm line 91. Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_HOST"} in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Config.pm line 100. Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_NAME"} in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Config.pm line 106. DBI connect('database=;host=','',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Config.pm line 106. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 129. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 129. Compilation failed in require at /usr/bin/zmupdate.pl line 71. BEGIN failed--compilation aborted at /usr/bin/zmupdate.pl line 71. * Starting Apache httpd web server apache2 * * The apache2 configtest failed. Output of config test was: AH00526: Syntax error on line 32 of /etc/apache2/sites-enabled/default-ssl.conf: SSLCertificateFile: file '/etc/apache2/ssl/zoneminder.crt' does not exist or is empty Action 'configtest' failed. The Apache error log may have more information. Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_HOST"} in pattern match (m//) at /usr/share/perl5/ZoneMinder/Config.pm line 91. Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_HOST"} in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Config.pm line 100. Use of uninitialized value $ZoneMinder::Config::Config{"ZM_DB_NAME"} in concatenation (.) or string at /usr/share/perl5/ZoneMinder/Config.pm line 106. DBI connect('database=;host=','',...) failed: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) at /usr/share/perl5/ZoneMinder/Config.pm line 106. Can't connect to db at /usr/share/perl5/ZoneMinder/Config.pm line 129. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder/Config.pm line 129. Compilation failed in require at /usr/share/perl5/ZoneMinder.pm line 33. BEGIN failed--compilation aborted at /usr/share/perl5/ZoneMinder.pm line 33. Compilation failed in require at /usr/bin/zmpkg.pl line 48. BEGIN failed--compilation aborted at /usr/bin/zmpkg.pl line 48. Starting ZoneMinder: failure *** /etc/my_init.d/40_firstrun.sh failed with status 255