SSH ok, shares ok, but no access to web GUI ?

    • OMV 0.5
    • Resolved

    This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

    • SSH ok, shares ok, but no access to web GUI ?

      Hi all,


      I've got a little problem ^^ I can't acces the web GUI of my OMV installation !
      There was no problem, and i didn't install anything (plugins or updates) !

      I can access through SSH, and i can access my network shares (SMB), but when i'm trying to connect via my browser to GUI, Chrome throw me a "ERR_CONNECTION_REFUSED" error.

      Can you help me ?
    • Re: SSH ok, shares ok, but no access to web GUI ?

      Which version of OpenMediaVault are you using?

      Whats the output of the following commands:

      Source Code

      1. netstat -tulpen | grep 80
      2. netstat -tulpen | grep 443


      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!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • Re: SSH ok, shares ok, but no access to web GUI ?

      Thanks for the answer, but i've solved the problem !

      The problem originated from the apache service which failed to start.

      I found this solution on a website : alejandroguerrero.es/apache2-not-found-on-openmediavault/

      I did the last part :

      Source Code

      1. #cd /etc/apache2/openmediavault-webgui.d/
      2. #mv git.conf git.conf.bak
      3. #service apache2 start


      I rebooted and no more problem.
    • Hello,

      Since I am encountering the same issue (web gui no longer loading), I am posting here as it seems somehow comparable to first post
      SSH working. Both SMB and NFS shares accessible.
      I checked and Apache2 is running.

      I ran the 2 netstat commands suggested above for each port 80 and 443 ; it seems alright to the noob I am:
      netstat -tulpen | grep 80
      tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 0 295714 9030/apache2
      tcp6 0 0 :::51413 :::* LISTEN 114 7380 1593/transmission-d
      udp 0 0 192.168.1.50:33265 0.0.0.0:* 112 7800 1950/Plex Media Ser
      udp 0 0 192.168.1.50:58025 0.0.0.0:* 112 7798 1950/Plex Media Ser
      root@FAMILYNAS:~# netstat -tulpen | grep 443
      tcp 0 0 0.0.0.0:443 0.0.0.0:* LISTEN 0 295717 9030/apache2

      I wonder what is the cause of this issue and how to fix it. Would you mind helping me figure this out please?
    • Vielen dank für dein antwort tekkbebe.. much appreciated
      I did try this and it doesn't make a difference... :(

      It's not coming from my browser (tried both Firefox and Chrome), nor from the machine I try to access the web GUI from (tried from another one).

      Should I try reinstaling anything or assess firewall rules? Any further input would be helpful.

      The post was edited 2 times, last by tr4d3w1nd3r ().

    • You couldn't look it up the new forum tekkbebe? Nice flooding the new forum with old forum links.

      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!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.
    • The firewall was activated when this problem started (as it was before, and still is).
      I did follow your guide when setting up the firewall. Which particular part are you thinking about else than port 443 (as I use SSL to access web GUI)?

      Just before this problem started I had enabled and set up Owncloud and remember reviewing firewall rules, but I don't remember making any change to it ; "iptables -L -n -v" command confirms port 443 is open (I use SSL)... although it obviously most probably did ;)
      0 0 ACCEPT tcp -- * * 0.0.0.0/0 192.168.1.50 tcp spt:443 dpt:443

      I can't find a safe way (i.e. ensuring SSH access isn't flushed) to deactivate iptables in CLI and I haven't seen what could be wrong in firewall rules... but I'm obviously no firewalling expert.
      Apart from adding rules for static NFS ports, my firewall rules are basically the same as in your guide.

      Could you guide me as to check anything Aspecific ? or a firewall troubleshooting method.

      Thank you very much for your kind help
    • Forgot it's Debian. Enter these one at a time. When you restart the rules will come back. This will flush all the rules so we can see if the webgui is blocked by the firewall:

      iptables -F
      iptables -X
      iptables -t nat -F
      iptables -t nat -X
      iptables -t mangle -F
      iptables -t mangle -X
      iptables -P INPUT ACCEPT
      iptables -P FORWARD ACCEPT
      iptables -P OUTPUT ACCEPT

      Just copy and paste them one at a time into Putty.

      The post was edited 1 time, last by tekkbebe ().

    • Did you try the incogknito mode of your browser, preferably chrom, yet?

      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!

      I host parts of the omv-extras.org Repository, the OpenMediaVault Live Demo and the pre-built PXE Images. If you want you can take part and help covering the costs by having a look at my profile page.