nginx plexconnet

  • Hi,


    i'm just trying to get nginx running with plexconnect.


    At the moment i get all the time the following error, from nginx.
    2015/02/14 12:38:48 [emerg] 13082#0: bind() to 0.0.0.0:80 failed (98: Address already in use)


    I just added this config from https://forums.plex.tv/index.p…plexconnect-behind-nginx/



    Did anybody got Plexconnect working with nginx and openmediavault.


    BR Robert

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

  • Hi subzero79,


    i don't want to select the appletvs by the ip address.
    At my old server an ubuntu system i was running apache.
    Apache was handling owncloud, phpmyadmin and some other stuff.
    There i was able to do it.


    So there also must be a solution to handle plexconnect and other things.


    Is it possible to setup the omv interface the way that the webgui must be open with /omv?


    BR Robert

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

    Einmal editiert, zuletzt von no_Legend ()

    • Offizieller Beitrag

    There must be a way. But you're gonna end most likely with a broken Web interface, if you don't know what you're doing.
    There is no support in modifying this default behavior.
    You can move the default 80 port away for the Web interface. In the general section.
    How do you redirect trailers domain to omv? With dnsmasq at router?
    I am still trying to figure out why use an http engine? Is this now required for the atv3?I still have the atv2

  • Hi Subzero79,


    the problem with the atv3 is that there is no possibility to jailbreak.
    The workaround is to user the trailer app.
    For the dns i'm running a raspberry pi which is redirect all traffic for trailer.apple.com to the openmediavault system


    Is there a way to use apache for the web interface?


    BR Robert

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

  • It is the way.
    I don't want to edit every time the forwarding if i change the ip address of the the appletvs or i got a new one.


    Got it running.
    Here is my solution.


    1. Change the Port of the Webinterface from OVM to a port you want


    2. Add Config to nginx
    2.1 path /etc/nginx/sites-availible
    2.2 nano plexconnect
    2.3 copy the code into
    (but replace the ip to the server where plex is running on
    Also change the path to the certificates and port.
    The port have to fit to the plexconnect config.


    2.4 enable plexconnect
    change to patch /etc/nginx
    run nginx_ensite plexconnect


    2.5 restart nginx
    service nginx restart


    3. Setting up Plexconnect
    Set Path to your DNS server PMS Server,Certificates and the ports where plexconnect should run on.
    Here my Config.



    3.1 restart plexconnect
    i use this script to i can use service plexconnect restart
    nano /etc/init.d/plexconnect


    3.2 make script executable
    sudo chmod +x /etc/init.d/plexconnect


    3.3 add plexconnect to auto start
    sudo update-rc.d plexconnect defaults


    3.4 start plexconnect
    services plexconnect start

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

    • Offizieller Beitrag

    good work!


    forwarding if i change the ip address of the the appletvs or i got a new one.


    Ok. But you know that you can force in your router to give the appletv to have always the same IP, and also the router will reserve that IP so no one else can use it. Most of my devices at my home don't change their IP address (OMV, Openelec, ATV, samsungTV), because of this. Keeps them in order where they belong.

  • i know.
    i'm working with an static dhcp on my raspberry pi.
    But i don't like the solution.
    I'm changing form time to time the lease areas of the devices to get a free range for a device typ.
    So in the most time you are right, a typical user can use the forwarding method.

    OMV 5.x always up to date.
    Modded dell t20 into 19" rack case with Pearl LCD Display (Status Display!)

    xeon e3-1225v3 / 32GB RAM / 1x500GB WD Blue SSD (OS) / 1x250 SSD (not used) / 1x1 TB Toshiba HHD (MultiDisk) / 4x 4TB WD40EFRX (Raid5)

  • I am trying to follow your above fix to get plexconnect set up. I get a warning as shown:


    Code
    root@Maxwell:/etc/init.d# sudo chmod +x /etc/init.d/plexconnect
    root@Maxwell:/etc/init.d# sudo update-rc.d plexconnect defaults
    update-rc.d: using dependency based boot sequencing
    update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match plexconnect Default-Start values (3 4 5)


    should I have cause for concern?


    jt

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!