[Support] DVBLink, Kerio Connect, Apache-php, TVHProxy, Webgrabplus


Recommended Posts

4 hours ago, alturismo said:

i assume some sort of security,

You assume correctly. Any containers assigned different IP's from the host will be firewalled from the host. If you want a container to be able to access other containers using non-host IP addresses, you must assign ALL of them unique IP's (as you found out)

Link to comment
13 hours ago, alturismo said:

 

yes, i guess u have a common setup as i do, plex, tvh and proxy all on unraid, if u assign a ip to tvhproxy it cant be accessed by the other dockers, i assume some sort of security,

u need all dockers assign an ip ... tvh, plex and tvhproxy, then it works.

 

the webgui of the proxy (192.x.x.x:5004) will always end up in 404, doesnt matter.

 

Thank you alturismo, I had given up with it but it's good to know there is a solution. 

Link to comment
9 hours ago, jonathanm said:

You assume correctly. Any containers assigned different IP's from the host will be firewalled from the host. If you want a container to be able to access other containers using non-host IP addresses, you must assign ALL of them unique IP's (as you found out)

 

Is there any reason for this? I would try and get this working but I'm not sure I can mess with my configuration that much, most of the dockers I have interact with another in one way or another and giving them all separate static ip addresses and changing all my firewall and port forwarding rules to match may be to much of a hassle. 

Link to comment
3 hours ago, jonathanm said:

Security. Either isolate all containers, or just allow them all to play in the same pen.

 

Thanks, I was hoping you might elaborate a bit on how keeping them separated helps with security but that's probably a discussion for another thread. 

Link to comment
  • 3 weeks later...

there was somewhere also a way to reverse proxy ... cant find the manual actually anymore,

dunno if thats possible  with this docker in any way cause i think u have to add this in the config.

 

For those running a apache or similar reverse proxy anyway already ...

 

that way u may could also bypass the port 80 conflict.

Link to comment
  • 2 weeks later...
On 1.9.2017 at 0:32 AM, pepper said:

Can someone give me a quick step by step how to configure?  I must be missing something simple but the tvhproxy won't start, I get 

socket.error: [Errno 97] Address family not supported by protocol

 

as there aint much to config, may post your config ...

 

here is a sample working config while all dockers would need a br0 setup with own ip´s in the same range ... in my case 192.168.1.x

 

image.thumb.png.f6a7643f637757dc8a3685adedb5cd36.png

 

i actually use a different setup now with ubuntu VM and this docker here cause i dont like to assign sep. ip´s for each dockers, still looking how to bypass this maybe with an reverse proxy, nvm.

Edited by alturismo
typo
Link to comment
  • 2 weeks later...

I've got Plex & TVHeadend installed (the latter needs reconfiguring after I cleared it out to start again, but it does work), and I'm looking to get TVHProxy up and running.  Giving all different IPs isn't ideal, but it's not the end of the world.

 

Do I have to add the two Container Ports manually, and I may be being stupid, but I don't have the option of a br0 network type.  Any idea?

Link to comment
  • 3 weeks later...

Hi,

 

Can anyone see anything wrong with this setup please as I cannot get tvhproxy to start?

 

Traceback (most recent call last):
File "/opt/tvhproxy/tvhProxy.py", line 81, in <module>
http.serve_forever()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 360, in serve_forever
self.start()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 304, in start
self.init_socket()
File "/usr/lib/python2.7/site-packages/gevent/pywsgi.py", line 1451, in init_socket
StreamServer.init_socket(self)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 127, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 138, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=cls.reuse_addr, family=family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 224, in _tcp_listener
sock = socket(family=family)
File "/usr/lib/python2.7/site-packages/gevent/_socket2.py", line 107, in __init__
self._sock = _realsocket(family, type, proto)
socket.error: [Errno 97] Address family not supported by protocol

 

 

 

tvhproxy.JPG

Link to comment
  • 2 weeks later...
  • 2 weeks later...

I've setup TVHproxy and all seems correct as it picks up my tuner, epg etc.  But when I try to watch a live show I get 'Playback Error Unable to tune channel'  I tried doing a recording as well, but when I go to Recording Schedule to check it says ' Transcoder error' net to the recording.

 

Do I need to setup a particular profile or change any settings in TVH other than creating a user for Plex to use like I have?

 

Thanks

Link to comment

Update: sorted.  my new plex profile wasn't using pass as the streaming profile.

 

@chvb help please!  tvhproxy looks like it's connecting to TVH ok as it's picking up my channels, so I think the proxy-plex bit isn't working for me.  I've taken screenshots so hopefully you can tell me what I'm doing wrong.

 

imageproxy.php?img=&key=00b562fcac28e727

 

 

 

 

FireShot Capture 43 - Highlander_UpdateContainer_ - http___172.30.12.2_Docker_UpdateContainer.png

FireShot Capture 44 - Plex - http___172.30.12.90_.png

FireShot Capture 45 - Plex - http___172.30.12.90_.png

FireShot Capture 46 - Plex - http___172.30.12.90_.png

FireShot Capture 47 - Plex - http___172.30.12.90_.png

FireShot Capture 49 - Plex - http___172.30.12.90_.png

Edited by DZMM
Link to comment

hi, after got my settings running for my episodes infos with webgrab+ i have some issues with auto updating,.

 

from the log ... between the hourly cron ...

 

may an idea what is wrong ? webgrab exe ... localtime ?

 

Nov 4 00:17:01 729ca78b8daa CRON[86]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 01:17:01 729ca78b8daa CRON[89]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 02:02:01 729ca78b8daa CRON[92]: (nobody) CMD (mono /webgrab/bin/WebGrab+Plus.exe "/config" 2>&1 | /usr/bin/logger -t WebGrab++)
Nov 4 02:02:01 729ca78b8daa WebGrab++:
Nov 4 02:02:01 729ca78b8daa WebGrab++: Unhandled Exception:
Nov 4 02:02:01 729ca78b8daa WebGrab++: System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
Nov 4 02:02:01 729ca78b8daa WebGrab++: File name: '/etc/localtime'
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x14cdc1f5d2c0 + 0x005ed> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x14cdc1f5cf30 + 0x0004b> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.File.OpenRead (System.String path) <0x14cdc1f5aa50 + 0x00034> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x14cdc1ebbfe0 + 0x00032> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.CreateLocal () <0x14cdc1eba850 + 0x00176> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.get_Local () <0x14cdc1eba7c0 + 0x00025> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x14cdc1ebbce0 + 0x00017> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.DateTime.get_Now () <0x14cdc1d64260 + 0x00046> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at WGconsole.Program..cctor () <0x40ae4d50 + 0x00096> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: --- End of inner exception stack trace ---
Nov 4 02:02:01 729ca78b8daa WebGrab++: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
Nov 4 02:02:01 729ca78b8daa WebGrab++: File name: '/etc/localtime'
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x14cdc1f5d2c0 + 0x005ed> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x14cdc1f5cf30 + 0x0004b> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.File.OpenRead (System.String path) <0x14cdc1f5aa50 + 0x00034> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x14cdc1ebbfe0 + 0x00032> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.CreateLocal () <0x14cdc1eba850 + 0x00176> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.get_Local () <0x14cdc1eba7c0 + 0x00025> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x14cdc1ebbce0 + 0x00017> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.DateTime.get_Now () <0x14cdc1d64260 + 0x00046> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at WGconsole.Program..cctor () <0x40ae4d50 + 0x00096> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: --- End of inner exception stack trace ---
Nov 4 02:17:01 729ca78b8daa CRON[98]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 03:17:01 729ca78b8daa CRON[101]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 04:17:01 729ca78b8daa CRON[104]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

Link to comment
  • 5 weeks later...

Can someone help me  i'm getting this message ont startup

 

 

Traceback (most recent call last):
File "/opt/tvhproxy/tvhProxy.py", line 89, in <module>
http.serve_forever()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 360, in serve_forever
self.start()
File "/usr/lib/python2.7/site-packages/gevent/baseserver.py", line 304, in start
self.init_socket()
File "/usr/lib/python2.7/site-packages/gevent/pywsgi.py", line 1451, in init_socket
StreamServer.init_socket(self)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 127, in init_socket
self.socket = self.get_listener(self.address, self.backlog, self.family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 138, in get_listener
return _tcp_listener(address, backlog=backlog, reuse_addr=cls.reuse_addr, family=family)
File "/usr/lib/python2.7/site-packages/gevent/server.py", line 224, in _tcp_listener
sock = socket(family=family)
File "/usr/lib/python2.7/site-packages/gevent/_socket2.py", line 107, in __init__
self._sock = _realsocket(family, type, proto)
socket.error: [Errno 97] Address family not supported by protocol

Link to comment
On 4.11.2017 at 6:42 AM, alturismo said:

hi, after got my settings running for my episodes infos with webgrab+ i have some issues with auto updating,.

 

from the log ... between the hourly cron ...

 

may an idea what is wrong ? webgrab exe ... localtime ?

 

Nov 4 00:17:01 729ca78b8daa CRON[86]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 01:17:01 729ca78b8daa CRON[89]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 02:02:01 729ca78b8daa CRON[92]: (nobody) CMD (mono /webgrab/bin/WebGrab+Plus.exe "/config" 2>&1 | /usr/bin/logger -t WebGrab++)
Nov 4 02:02:01 729ca78b8daa WebGrab++:
Nov 4 02:02:01 729ca78b8daa WebGrab++: Unhandled Exception:
Nov 4 02:02:01 729ca78b8daa WebGrab++: System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
Nov 4 02:02:01 729ca78b8daa WebGrab++: File name: '/etc/localtime'
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x14cdc1f5d2c0 + 0x005ed> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x14cdc1f5cf30 + 0x0004b> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.File.OpenRead (System.String path) <0x14cdc1f5aa50 + 0x00034> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x14cdc1ebbfe0 + 0x00032> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.CreateLocal () <0x14cdc1eba850 + 0x00176> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.get_Local () <0x14cdc1eba7c0 + 0x00025> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x14cdc1ebbce0 + 0x00017> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.DateTime.get_Now () <0x14cdc1d64260 + 0x00046> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at WGconsole.Program..cctor () <0x40ae4d50 + 0x00096> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: --- End of inner exception stack trace ---
Nov 4 02:02:01 729ca78b8daa WebGrab++: [ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'WGconsole.Program' threw an exception. ---> System.IO.FileNotFoundException: Could not find file "/etc/localtime"
Nov 4 02:02:01 729ca78b8daa WebGrab++: File name: '/etc/localtime'
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) <0x14cdc1f5d2c0 + 0x005ed> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) <0x14cdc1f5cf30 + 0x0004b> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.IO.File.OpenRead (System.String path) <0x14cdc1f5aa50 + 0x00034> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.FindSystemTimeZoneByFileName (System.String id, System.String filepath) <0x14cdc1ebbfe0 + 0x00032> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.CreateLocal () <0x14cdc1eba850 + 0x00176> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.get_Local () <0x14cdc1eba7c0 + 0x00025> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.TimeZoneInfo.GetDateTimeNowUtcOffsetFromUtc (DateTime time, System.Boolean& isAmbiguousLocalDst) <0x14cdc1ebbce0 + 0x00017> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at System.DateTime.get_Now () <0x14cdc1d64260 + 0x00046> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: at WGconsole.Program..cctor () <0x40ae4d50 + 0x00096> in <filename unknown>:0
Nov 4 02:02:01 729ca78b8daa WebGrab++: --- End of inner exception stack trace ---
Nov 4 02:17:01 729ca78b8daa CRON[98]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 03:17:01 729ca78b8daa CRON[101]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Nov 4 04:17:01 729ca78b8daa CRON[104]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)

 

Hi, i solved this issue for now by manually copy /zoneinfo/... to the docker, now the cron job is working as expected.

may something for the next update.

 

root@817a8fc990ae:/etc# file localtime
localtime: symbolic link to /usr/share/zoneinfo/Etc/UTC
root@817a8fc990ae:/etc#

 

the /zoneinfo was empty ....

 

just as note if someone else has issues

Link to comment
  • 2 weeks later...

I've just tried tvhproxy again and it's working perfectly for me now - I think switching to a pfsense VM allowed me to fix any networking issues.

 

Brilliant - just in time for the xmas holidays and it also solves my problem of not being able to watch my tv tuners remotely.

Link to comment

I need help with getting a persistent set-up. I installed Apache PHP to run some php programs that read web pages and archive some data. My problem is every time unraid gets shut down I lose all the php files and archived data. I install the standard docker, all the files are in www on the SSD. I have back-up but after restoring them the php programs can't write to the folder infact even new php scripts cant save files.

Link to comment
  • 3 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.