Jump to content

blknitro11

Members
  • Posts

    114
  • Joined

  • Last visited

Posts posted by blknitro11

  1. Hi all,

     

    So my Plex server on my unraid box for some reason says that it can't connect to my unraid server.  Plex itself launches and I am able to login but it just can't get the media on my unraid server.  It was working before, now suddenly this is happening.  I even wiped the appdata for this and started from scratch but still no luck.   any help would be much appreciated.

  2. Hi guys,

     

    I have a Windows 10 VM setup for gaming and i am running into an annoying issue.  Performance is awesome, but after a few days the game installs get corrupted on the dedicated SSD and have to be re-downloaded and installed.  I do not know why this is happening.  I had the same setup on another VM (has since been deleted) and i didnt have this issue. The SSD is not part of the array or cache pool.  I am wondering if i missed something?  All software like Steam, Battle.net, and Origin are configured to install to the "D" drive.  Installs fine, i can play fine with no issue, then all of a sudden i try to launch it later and poof, wants to reinstall.  If i install directly on the vdisk, no issues, but i get performance issues.

     

    Any help would be greatly appreciated.

     

    Thanks!

     

    Unraid version - 6.3.5

    Diag file attached

    VM XML below

    screenshots attached

     

    VM XML

    <domain type='kvm' id='8'>
      <name>Gaming Rig</name>
      <uuid>7255cb6c-a68a-615c-57fa-f609319ff721</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Windows 10" icon="windows.png" os="windows10"/>
      </metadata>
      <memory unit='KiB'>17301504</memory>
      <currentMemory unit='KiB'>17301504</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>12</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='2'/>
        <vcpupin vcpu='1' cpuset='3'/>
        <vcpupin vcpu='2' cpuset='4'/>
        <vcpupin vcpu='3' cpuset='5'/>
        <vcpupin vcpu='4' cpuset='6'/>
        <vcpupin vcpu='5' cpuset='7'/>
        <vcpupin vcpu='6' cpuset='18'/>
        <vcpupin vcpu='7' cpuset='19'/>
        <vcpupin vcpu='8' cpuset='20'/>
        <vcpupin vcpu='9' cpuset='21'/>
        <vcpupin vcpu='10' cpuset='22'/>
        <vcpupin vcpu='11' cpuset='23'/>
        <emulatorpin cpuset='0,8,16,24'/>
      </cputune>
      <resource>
        <partition>/machine</partition>
      </resource>
      <os>
        <type arch='x86_64' machine='pc-i440fx-2.7'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/7255cb6c-a68a-615c-57fa-f609319ff721_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
        <hyperv>
          <relaxed state='on'/>
          <vapic state='on'/>
          <spinlocks state='on' retries='8191'/>
          <vendor_id state='on' value='none'/>
        </hyperv>
      </features>
      <cpu mode='host-passthrough'>
        <topology sockets='1' cores='6' threads='2'/>
      </cpu>
      <clock offset='localtime'>
        <timer name='hypervclock' present='yes'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/ISOs/SW_DVD5_Win_Pro_10_1703_64BIT_English_MLF_X21-36726.ISO'/>
          <backingStore/>
          <target dev='hda' bus='sata'/>
          <readonly/>
          <boot order='2'/>
          <alias name='sata0-0-0'/>
          <address type='drive' controller='0' bus='0' target='0' unit='0'/>
        </disk>
        <disk type='file' device='cdrom'>
          <driver name='qemu' type='raw'/>
          <source file='/mnt/user/ISOs/virtio-win-0.1.139.iso'/>
          <backingStore/>
          <target dev='hdb' bus='sata'/>
          <readonly/>
          <alias name='sata0-0-1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='1'/>
        </disk>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='none'/>
          <source file='/mnt/user/domains/Gaming Rig/vdisk1.img'/>
          <backingStore/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <alias name='sata0-0-2'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <disk type='block' device='disk'>
          <driver name='qemu' type='raw' cache='none'/>
          <source dev='/dev/disk/by-id/ata-Samsung_SSD_850_EVO_1TB_S35UNX0J502542T'/>
          <backingStore/>
          <target dev='hdd' bus='virtio'/>
          <alias name='virtio-disk3'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
        </disk>
        <controller type='usb' index='0' model='nec-xhci'>
          <alias name='usb'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0'/>
        </controller>
        <controller type='pci' index='0' model='pci-root'>
          <alias name='pci.0'/>
        </controller>
        <controller type='sata' index='0'>
          <alias name='sata0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <alias name='virtio-serial0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='MAC ADDRESS'/>
          <source bridge='br0'/>
          <target dev='vnet0'/>
          <model type='virtio'/>
          <alias name='net0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
        </interface>
        <serial type='pty'>
          <source path='/dev/pts/0'/>
          <target port='0'/>
          <alias name='serial0'/>
        </serial>
        <console type='pty' tty='/dev/pts/0'>
          <source path='/dev/pts/0'/>
          <target type='serial' port='0'/>
          <alias name='serial0'/>
        </console>
        <channel type='unix'>
          <source mode='bind' path='/var/lib/libvirt/qemu/channel/target/domain-8-Gaming Rig/org.qemu.guest_agent.0'/>
          <target type='virtio' name='org.qemu.guest_agent.0' state='connected'/>
          <alias name='channel0'/>
          <address type='virtio-serial' controller='0' bus='0' port='1'/>
        </channel>
        <input type='mouse' bus='ps2'>
          <alias name='input0'/>
        </input>
        <input type='keyboard' bus='ps2'>
          <alias name='input1'/>
        </input>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x04' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x04' slot='0x00' function='0x1'/>
          </source>
          <alias name='hostdev1'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x08' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x02' slot='0x00' function='0x0'/>
          </source>
          <alias name='hostdev2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x09' function='0x0'/>
        </hostdev>
        <memballoon model='virtio'>
          <alias name='balloon0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x0a' function='0x0'/>
        </memballoon>
      </devices>
      <seclabel type='none' model='none'/>
      <seclabel type='dynamic' model='dac' relabel='yes'>
        <label>+0:+100</label>
        <imagelabel>+0:+100</imagelabel>
      </seclabel>
    </domain>

     

     

    battista-unraid-diagnostics-20170907-1325.zip

    Drive_Info.jpg

  3. 4 hours ago, NeoDude said:

    Can you not try booting into a physical Windows install using a spare drive and see if the rig still crashes when gaming on bare metal. Would rule out anything UnRaid related. Sounds temperature related. Maybe also try running something that logs CPU/GPU/HDD temperatures.

    CPU1 which has the threads for my VM pinned, under load sits at about 49c

    MB stays under 40c

     

  4. On 7/25/2017 at 3:26 PM, blknitro11 said:

     

     

    @bjp999, So i did a major cleaning of my server.  Turns out the Video card and CPU heat sinks was caked in dust!  Since cleaning i have not had the server crash under load.  Looks like i need to do a weekly cleaning of this thing.  Sheesh.  Thanks for the suggestion!  I should have thought of it sooner.  

     

    If it happens again i will post here, but so far so good!

    poop :(  It crashed again, not even under load.  It was just sitting there at the screensaver.

     

    Anything else you guys recommend i try?

  5. @Mortuus Angelus, This is a brand new VM.  The same thing was happening to another VM.  Thank you for the suggestion

     

    @bjp999,  I will give that a shot.  I just opened up the case and didnt realize how much dust got caked in there.  Will be cleaning this thing today and see if that make a difference, if not then i will try your suggestion with the fan.  The power supply is from my gaming rig that I decommissioned, 1100 Watts, so i should have plenty of power available.  Mem all test good, so honestly i would think it would be the temps.  Thanks for the suggestions, I will give it shot.

  6. Hi all,

     

    I am having an issue that i can not figure out how to resolve.  I have a Windows 10 Pro VM that i am using as my gaming machine.  I have a GTX 770 passed through (until i get my 1080ti) and for some reason it will run fine for a while, but then i will be playing a game and it crashes, but the more concerning part is it crashes my entire server.  I am afraid this is going to ruin my drives or corrupt my data at some point.  Any help would be greatly appreciated.  I have attached my Diag zip.

     

    Thanks!

    battista-unraid-diagnostics-20170717-1124.zip

  7. solved most of my issues.  The Zoneminder Docker container that i had installed was breaking everything,  except for my VM crashes that crash the entire server.  I uninstalled the container and poof everything started working again.  I reinstalled to see if it was just a coincidence but everything broke again.  So I am keeping it uninstalled for now until I feel like messing around with it and figuring out why it is breaking my server.

     

    Thanks all

  8. 21 hours ago, aptalca said:

     


    Nginx cannot connect to the reverse proxied servers. If you didn't change the nginx site config in a while, then you probably changed your router/firewall rules or something. Can you connect to Sonarr directly at 192.168.2.90:9898?

     

    ok sonarr started working fine all of a sudden.  I am wondering why Plex still gives me a 502 error though.  Any thoughts?

  9. 1 hour ago, aptalca said:

     


    Nginx cannot connect to the reverse proxied servers. If you didn't change the nginx site config in a while, then you probably changed your router/firewall rules or something. Can you connect to Sonarr directly at 192.168.2.90:9898?

     

    havent changed any firewall rules recently.  Last time i did was when i was getting Nginx setup initially.  It was working great up until a week ago

     

    I can get to sonarr directly, yes (now that port is corrected)

     

    UPDATE:  So i just realized I had the port flipped....it should have been 8989.  Plex still give me the 502 error.  When i go to Sonarr now, It just says "Sonarr Ver"

  10. On 7/12/2017 at 11:59 PM, blknitro11 said:

    Hi all,

     

    I had this working all up until a week ago.  Now any time i try I receive an error "502 Bad Gateway".  I am not sure what is causing it.  Please see my config below.  THanks!

     

    UPDATE:  If this helps, I am seeing this in the error.log file

    
    2017/07/13 12:21:29 [error] 340#340: *1 upstream prematurely closed connection while reading response header from upstream, client: 192.168.2.60, server: _, request: "GET /plex HTTP/1.1", upstream: "http://192.168.2.90:32400/web", host: "MYSUBDOMAIN.duckdns.org"
    
    2017/07/13 12:23:19 [error] 338#338: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.2.60, server: _, request: "GET /sonarr HTTP/1.1", upstream: "http://192.168.2.90:9898/sonarr", host: "MYSUBDOMAIN.duckdns.org"
    
    upstream backend {
    	server 192.168.2.90:19999;
    	keepalive 64;
    }
    
    server {
    	listen 443 ssl default_server;
    	listen 80 default_server;
    	#listen 443 ssl;
        #server_name MYSUBDOMAIN.duckdns.org;
    	#listen 80;
    	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 /plex;
    	}
    
    	
    	# Sonarr
    	location /sonarr {
    		satisfy  any;
    		#allow  192.168.2.90/24;
    		#deny   all;
    
    		proxy_pass http://192.168.2.90:9898/sonarr;
    		proxy_set_header Host $http_host;
    		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;
    	}    
    
    
    	#location /sonarr {
    	#	auth_basic "Restricted";
    	#	auth_basic_user_file /config/nginx/.htpasswd;
    	#	include /config/nginx/proxy.conf;
    	#	proxy_pass http://192.168.2.90:9898/sonarr;
    	#}
    	
    	
    	#location /sonarr {
    	#	include /config/nginx/proxy.conf;
    	#	proxy_pass http://192.168.2.90:9898/sonarr;
    	#}
    	
    	#location /cp {
    	#	include /config/nginx/proxy.conf;
    	#	proxy_pass http://192.168.2.90:5050/cp;
    	#}
    		
    	
    	#Zoneminder
    	location /zm {
    		include /config/nginx/proxy.conf;
    		proxy_pass http://192.168.2.90:8082/zm;
    		#proxy_connect_timeout    300;
    		#proxy_send_timeout       300;
    		#proxy_read_timeout       300;
    		#send_timeout             300;
    	}
    	
    	#location /zm/api/ {
        #    alias                   /usr/share/zoneminder/api;
        #    rewrite ^/zm/api(.+)$ /zm/api/index.php?p=$1 last;
        #}
    	
    	#PLEX
    	location /web {
    		# serve the CSS code
    		proxy_pass http://192.168.2.90:32400;
    	}
    
    	# Main /plex rewrite
    	location /plex {
    		# proxy request to plex server
    		proxy_pass http://192.168.2.90:32400/web;
    	}
    
    	#location /nextcloud {
    	#	include /config/nginx/proxy.conf;
    	#	proxy_pass https://192.168.2.90: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;
    	}
    }

     

    Anyone able to help me out with the 502 error i am getting?  It would be greatly appreciated.

  11. Hi all,

     

    I had this working all up until a week ago.  Now any time i try I receive an error "502 Bad Gateway".  I am not sure what is causing it.  Please see my config below.  THanks!

     

    UPDATE:  If this helps, I am seeing this in the error.log file

    2017/07/13 12:21:29 [error] 340#340: *1 upstream prematurely closed connection while reading response header from upstream, client: 192.168.2.60, server: _, request: "GET /plex HTTP/1.1", upstream: "http://192.168.2.90:32400/web", host: "MYSUBDOMAIN.duckdns.org"
    
    2017/07/13 12:23:19 [error] 338#338: *1 connect() failed (111: Connection refused) while connecting to upstream, client: 192.168.2.60, server: _, request: "GET /sonarr HTTP/1.1", upstream: "http://192.168.2.90:9898/sonarr", host: "MYSUBDOMAIN.duckdns.org"
    upstream backend {
    	server 192.168.2.90:19999;
    	keepalive 64;
    }
    
    server {
    	listen 443 ssl default_server;
    	listen 80 default_server;
    	#listen 443 ssl;
        #server_name MYSUBDOMAIN.duckdns.org;
    	#listen 80;
    	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 /plex;
    	}
    
    	
    	# Sonarr
    	location /sonarr {
    		satisfy  any;
    		#allow  192.168.2.90/24;
    		#deny   all;
    
    		proxy_pass http://192.168.2.90:9898/sonarr;
    		proxy_set_header Host $http_host;
    		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;
    	}    
    
    
    	#location /sonarr {
    	#	auth_basic "Restricted";
    	#	auth_basic_user_file /config/nginx/.htpasswd;
    	#	include /config/nginx/proxy.conf;
    	#	proxy_pass http://192.168.2.90:9898/sonarr;
    	#}
    	
    	
    	#location /sonarr {
    	#	include /config/nginx/proxy.conf;
    	#	proxy_pass http://192.168.2.90:9898/sonarr;
    	#}
    	
    	#location /cp {
    	#	include /config/nginx/proxy.conf;
    	#	proxy_pass http://192.168.2.90:5050/cp;
    	#}
    		
    	
    	#Zoneminder
    	location /zm {
    		include /config/nginx/proxy.conf;
    		proxy_pass http://192.168.2.90:8082/zm;
    		#proxy_connect_timeout    300;
    		#proxy_send_timeout       300;
    		#proxy_read_timeout       300;
    		#send_timeout             300;
    	}
    	
    	#location /zm/api/ {
        #    alias                   /usr/share/zoneminder/api;
        #    rewrite ^/zm/api(.+)$ /zm/api/index.php?p=$1 last;
        #}
    	
    	#PLEX
    	location /web {
    		# serve the CSS code
    		proxy_pass http://192.168.2.90:32400;
    	}
    
    	# Main /plex rewrite
    	location /plex {
    		# proxy request to plex server
    		proxy_pass http://192.168.2.90:32400/web;
    	}
    
    	#location /nextcloud {
    	#	include /config/nginx/proxy.conf;
    	#	proxy_pass https://192.168.2.90: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;
    	}
    }

     

  12. 44 minutes ago, Squid said:

    If the server randomly shutsdown when running VM's, the first thing to do is check for BIOS updates.

     

    Your diagnostics was after a reboot, and no VM was started during it, so not much to say there.  You can go to the settings for Fix Common Problems, toss it into troubleshooting mode, and then follow the instructions that appear on what to do after the next crash.

     

    your right, my VM was off.  Attached is a newer Diagnostics zip with the VM on.

     

    I was finally able to get into the Fix Common Problems plugin.  Its very hit or miss.  I will try your suggestion and see what it comes up with.

     

    Thanks!

    battista-unraid-diagnostics-20170712-1524.zip

  13. 1 minute ago, Frank1940 said:

    I am no expert on reading syslogs but one thing I see is that the Fix Common Problems plugin has flagged a number of your Dockers as needing updating.  I would suggest that you start there. 

     

    You seem to have four ssd's installed but you haven't installed the ssd Trim plugin.  I don't have any ssd's in my system but many folks are running that plugin (apparently) to keep ssd running smoothly...

     

    By the way, you are using those ssd's only as cache drives?  (The last I heard, LimeTech was recommending not using them in the protected array.)

     

     

    Thats the thing, I can no longer access my plugins via web interface and I can no longer us the Apps tab.

     

    I have 2 480GB SSD's for the cache pool then i have 1-240GB SSD that is passed through to my gaming machine for game installs.

×
×
  • Create New...