Jump to content

kortina

Members
  • Posts

    34
  • Joined

  • Last visited

Posts posted by kortina

  1. I am having some trouble with my array...

     

    I have a few older 8TB drives...

     

    It looks like one has failed, however when I change it over to another disk the interface wont let me choose the spare drive!?

    I can reboot, and the drive is then able to be selected... Parity attempts to rebuild, but the GUI says 'Unmountable: Wrong or no file system'

     

    Any ideas what I might be doing wrong?

     

    Thanks in advance

    unraid.jpg

  2. looking for a bit of scripting help...

     

    I am trying to fetch a TV Guide (xml file) that is around 40Mb. The server is unreliable.

     

    using this:

    curl -L --limit-rate 200K "http://provider.url/epg?username=un&password=pw" --speed-time 15 --speed-limit 1000 -o /mnt/user/appdata/tvheadend/data/cronIPTV_EPG.xml


    I have run this multiple times my so I know the syntax is OK. but about 3 in 5 fail!!!

     

    output:

    curl: (28) Operation too slow. Less than 1000 bytes/sec transferred the last 15 seconds

     

    How do I wrap this command in a loop so that it will try 10 times if it falls over with the "operation too slow" error?

     

     

     

     

     

  3. 20 hours ago, saarg said:

    You set it up wrong. The name is, just a name. The key is RUN_OPTS and value is --http_root=/pvr

     

    Thanks for the pointer.

     

    To complete the story, this config is working November 2018 -  Unraid 6.5.3, TVHeadEnd 4.3-1517~g7fc6cba4d, NGINX

    Config Type: Variable

    Name: RUN_OPTS

    Key: RUN_OPTS

    Value: --http_root /pvr

    **note that there is NO equals sign in the value

     

    NGINX:

     

        location /pvr {
            proxy_pass http://192.168.0.88:9981;
            proxy_set_header Host $host;
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
        }

     

    (Assuming that your unraid - tvheadend docker has the ip of 192.168.0.88)

    tvh_opt_working.JPG

  4. Hi guys,

     

    I am having trouble setting up a NGINX reverse proxy for TVHeadEnd.

     

    I followed some instructions back on P33.

     

    It seems that when I create the variables with unraid, it is not producing the correct command line:

    I have attached some images that highlight the issue.

     

    I have read on this page that there needs to be an equals sign between the http_root and value for the root.

    https://github.com/tvheadend/tvheadend/blob/master/docs/markdown/faqs.md#q-access-tvheadend-through-http-proxy

     

    --name='tvheadend' --net='bridge' -e TZ="Australia/Sydney" -e HOST_OS="unRAID" -e 'PGID'='100' -e 'PUID'='99' -e '--http_root '='/pvr' -p '9981:9981/tcp'

     

    Any ideas what I am doing wrong?

     

    tvh_opt-eq.JPG

    thv_runopts.JPG

×
×
  • Create New...