sabnzbd does not show when webgui port omv is changed

  • Hi,


    I've changed the omv port to port 85, because my upc router wont let me route port 80.
    Now the sabnzbd plugin, webgui does not show up. When changing it back to port 80, it appears.


    Then I looked in sabnzbd and saw the webgui port is 8080.


    So I did a little port forward trick in the router, on outside port 85 wil redirect to OMV on port 80, so far this works only not the sabnzbd page, it stays blank.


    Do I have to change the port 8080 of sabnzbd, or is it something else?


    Edit: forgot to say, but sabnzbd is in all ways not accesible both from inside and outside. From inside, when clicked on the sabnzd service.

    ---------------------------------------------
    My HP T610 thin client NAS
    ---------------------------------------------
    ---------------------------------------------
    My Thin Client single drive NAS build
    ---------------------------------------------
    -----------------------------------------------------
    I'm from the Netherlands, excuse me for bad english
    -----------------------------------------------------------------

    Einmal editiert, zuletzt von DaWauZ ()

  • If sab is running on 8080 why do you forward the port to 80? Doesn't make sense.


    Greetings
    David

    "Well... lately this forum has become support for everything except omv" [...] "And is like someone is banning Google from their browsers"


    Only two things are infinite, the universe and human stupidity, and I'm not sure about the former.

    Upload Logfile via WebGUI/CLI
    #openmediavault on freenode IRC | German & English | GMT+1
    Absolutely no Support via PM!

  • no I i did not touch sabnzbd anyway, only OMV port for the webgui.
    im sorry but explaining in english is not my best practice...

    ---------------------------------------------
    My HP T610 thin client NAS
    ---------------------------------------------
    ---------------------------------------------
    My Thin Client single drive NAS build
    ---------------------------------------------
    -----------------------------------------------------
    I'm from the Netherlands, excuse me for bad english
    -----------------------------------------------------------------

  • no I i did not touch sabnzbd anyway, only OMV port for the webgui.
    im sorry but explaining in english is not my best practice...


    The web UI of sabnzbd is on port 8080 so of course you have to forward that port if you want to access from outside. This has nothing to do with OMV's UI on port 80.
    I guess what you meant was that you click on the web UI button on sabnzb's plugin page in OMV and just get a blank page, right?


    Regards

    OMV 2.x - Kralizec // Hardware: HP Microserver N54L, 4GB RAM, 2x3TB WD Red - RAID 1, Sandisk SSD 60GB for system

  • I am not sure (need to test) but it could be that using a port other then 80 would stop the links from working.


    Code
    var link = "http://" + window.location.hostname + ":" + response.port;


    I don't know for sure if window.location.hostname uses just the ip or ip and port. It could be that it omits 80 (default web port) but includes 85 thus the link becomes

    Code
    http://192.168.x.x:85:8080


    Nope, ignore above. Just check on my system and it works when OMV is set to use port 85.


    What plugin version of Sabnzbd are you using? I am on openmediavault-sabnzbd 1.0.2


    If you open up the tab or frame that does not work, right click and choose inspect element, somewhere it should display the link (ip address and port) used. Have a look at it and see if it looks correct.


    Code
    <iframe src="http://192.168.123.31:8080" sandbox="allow-same-origin allow-forms allow-scripts" width="100%" height="100%">&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</iframe>


    That is what I see in my opened iframe window.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

    Einmal editiert, zuletzt von jhmiller ()

  • The web UI of sabnzbd is on port 8080 so of course you have to forward that port if you want to access from outside. This has nothing to do with OMV's UI on port 80.
    I guess what you meant was that you click on the web UI button on sabnzb's plugin page in OMV and just get a blank page, right?


    Regards

    thats right.



    Actually when im contacting OMV by another port than 80 (als inside my network) then sabnzbd is a blank page.


    I see this now, when inspecting element. That double port is not right of course.
    What to do now huh....because the :85 port is not configured in OMV or sabnzbd, I only using it to forward from outside.


    <iframe src="http://80.57.86.182:85:8080" name="webclient" longsec="SABnzbd Web Client" width="100%" height="100%">&lt;br/&gt;&lt;/form&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</iframe>

    ---------------------------------------------
    My HP T610 thin client NAS
    ---------------------------------------------
    ---------------------------------------------
    My Thin Client single drive NAS build
    ---------------------------------------------
    -----------------------------------------------------
    I'm from the Netherlands, excuse me for bad english
    -----------------------------------------------------------------

  • Ok, too bad with the "wrong" URL.That's something jhmiller needs to address in the plugin. Whereas: he wrote it's working on his installation...!?
    But you would still need to have port 8080 forwarded in your router to have this fully working from outside.

    OMV 2.x - Kralizec // Hardware: HP Microserver N54L, 4GB RAM, 2x3TB WD Red - RAID 1, Sandisk SSD 60GB for system

  • What plugin version of Sabnzbd are you using? I am on openmediavault-sabnzbd 1.0.2


    You could try running

    Code
    cat /var/www/openmediavault/js/omv/module/admin/service/sabnzbd/WebInterface.js

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • OK I will give it a try when i'm home, just connect with SSH and run the rule?


    edit: im watching here extplorer the webinterface.js and already see this, what scares me


    var link = window.location.origin + ":8080";


    I do think this takes the url of the adressbar and put 8080 after it....but I shall try when I'm home soon.

    ---------------------------------------------
    My HP T610 thin client NAS
    ---------------------------------------------
    ---------------------------------------------
    My Thin Client single drive NAS build
    ---------------------------------------------
    -----------------------------------------------------
    I'm from the Netherlands, excuse me for bad english
    -----------------------------------------------------------------

    Einmal editiert, zuletzt von DaWauZ ()

    • Offizieller Beitrag

    Why is that scary?

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!


  • var link = window.location.origin + ":8080";


    That looks like the code from an earlier version. Make sure you have both "Enable download managers repository" and "Enable download managers testing repository" in the Secondary tab under OMV-Extras.org. Once you have done that check for updates under the update menu.

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • I have 0.7.18
    I put on the miller repository, and restarted sab but no update or something.
    In the settings on sab it says to check once a week


    I've now forwarded port 8080 also, I'm now have to use 2 browser windows but OK this works

    ---------------------------------------------
    My HP T610 thin client NAS
    ---------------------------------------------
    ---------------------------------------------
    My Thin Client single drive NAS build
    ---------------------------------------------
    -----------------------------------------------------
    I'm from the Netherlands, excuse me for bad english
    -----------------------------------------------------------------

  • Why is that scary?


    Because when you move the OMV webui to a different port you will have "double ports in the URL" I guess


    see above: <iframe src="http://80.57.86.182:85:8080" name="webclient" longsec="SABnzbd Web Client" width="100%" height="100%">&lt;br/&gt;&lt;/form&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</iframe>


    It's not really scary but it won't work ;)

    OMV 2.x - Kralizec // Hardware: HP Microserver N54L, 4GB RAM, 2x3TB WD Red - RAID 1, Sandisk SSD 60GB for system

  • yes its not scary in that way, but lets say with a smiley :cursing:
    All in one webgui was the most beautiful. Ah well its good by now, if theres an update I will check it.

    ---------------------------------------------
    My HP T610 thin client NAS
    ---------------------------------------------
    ---------------------------------------------
    My Thin Client single drive NAS build
    ---------------------------------------------
    -----------------------------------------------------
    I'm from the Netherlands, excuse me for bad english
    -----------------------------------------------------------------

    • Offizieller Beitrag

    I think all of the plugins use 'window.location.hostname' now (a quick look at github tells me that). So, I don't think it will be a problem :)

    omv 7.0.4-2 sandworm | 64 bit | 6.5 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.10 | compose 7.1.2 | k8s 7.0-6 | cputemp 7.0 | mergerfs 7.0.3


    omv-extras.org plugins source code and issue tracker - github


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Hi jhmiller,


    I'm on Version 1.02 and the output of the iframe looks like this


    Zitat

    <iframe src="http://192.168.2.119:8080" sandbox="allow-same-origin allow-forms allow-scripts" height="100%" width="100%"></div></span></div></div></iframe>


    but the web interface is blank to...


  • From the testing I have done on my end the frame should show when the iframe has the correct ip and port

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • What browser do you use?

    [align=center]banner@1x.jpg
    What I am watching/watched on my Popcorn Hour media player
    omv 2.1.1 stoneburner | 64 bit | omvextrasorg 1.29
    MySQL (Percona[size=8]) | Newznab | Sonarr | CP | HP | NZBget | YAMJ | CUPS

  • I have tried with Firefox and Chrome from a Mac.


    Another thing is probably strange (perhaps it is normal). In the settings I entered a password to open the Webinterface. But when I connect to 192.168.2.119:8080 there is no request to enter a password before opening the page, it enters immediately. Even with Iron where I definitivly never entered the password for the Webgui, so saved password can't be the reason in my opinion.


    Is this normal?


    Greetings
    halfdan

Jetzt mitmachen!

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