Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

is there a way to restart the webgui?

Featured Replies

  • Community Expert

Parity disk is still on the same port, you could have done what I suggested, swapping the disk cables with another one.

  • 1 year later...
  • Replies 64
  • Views 58.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • 0x00000111
    0x00000111

    I was having the same problem wit hthe GUI locking up after an NFS server went down that my unraid box connected to.  Fixed it with:   /etc/rc.d/rc.nginx restart /etc/rc.d/rc.nginx reload /et

  • more specifically it looks like the issue is from this line in /etc/rc.d/rc.nginx:   IP4=$(grep 'IPADDR:0' /var/local/emhttp/network.ini | cut -d'"' -f2)   it returns the two IP addres

  • Indeed the original command can produce one or more results depending on the number of IPv4 addresses defined. We need only the first one, which is assigned to interface eth0. Your solution

Posted Images

I was having the same problem wit hthe GUI locking up after an NFS server went down that my unraid box connected to.  Fixed it with:

 

/etc/rc.d/rc.nginx restart
/etc/rc.d/rc.nginx reload
/etc/rc.d/rc.php-fpm restart
/etc/rc.d/rc.php-fpm reload

 

Edited by 0x00000111

Also have to manually remove the NFS mount:

 

umount -l -f /mnt/disks/NFS_Share

 

One last thing, I had to manually stop the docker which was using that NFS mount:

 

docker stop DockerName

 

Of all the times that unraid has hung on me over the years, whether it was the GUI that froze or the dockers that froze or a file transfer that hung or the command prompt that froze, when things like 'reboot' and 'init 0' and 'poweroff' and stopping everything by hand didn't work, the only thing that I have ever been able to do do fix a hung server is to temporarily put the ON/OFF device on the front of the server in the OFF position.

 

And then cancel the subsequent parity check.

 

 

  • 1 year later...

I have run into an issue where the nginx configuration is malformed ... maybe due to having dual IPs?

 

from /etc/nginx/conf.d/servers.conf:

#
# Redirect http requests to https
# ex: http://tower.local -> https://hash.unraid.net
#
server {
    listen 80 default_server;
    listen [::]:80 default_server;
    return 302 https://10-0-1-100
10-0-1-101.[ID].myunraid.net$request_uri;
}

...

#
# Port settings for https using CA-signed cert
# ex: https://lan-ip.hash.myunraid.net
# ex: https://wan-ip.hash.myunraid.net
# ex: https://hash.unraid.net
# ex: https://www.hash.unraid.net
#
server {
    listen 443 ssl http2;
    listen [::]:443 ssl http2;
    server_name 10-0-1-100
10-0-1-101.[ID].myunraid.net [external-IP].[ID].myunraid.net;
    # Ok to use concatenated pem files; nginx will do the right thing.
    ssl_certificate         /boot/config/ssl/certs/certificate_bundle.pem;
    ssl_certificate_key     /boot/config/ssl/certs/certificate_bundle.pem;
    ssl_trusted_certificate /boot/config/ssl/certs/certificate_bundle.pem;
    #
    # Enable OCSP stapling
    #
    ssl_stapling on;
    ssl_stapling_verify on;
    #
    location ~ /wsproxy/443/ { return 403; }
    include /etc/nginx/conf.d/locations.conf;
}

 

note how there are line breaks on the server name and the return directives ... my server has two NICs with IPs: 10.0.1.100 and 10.0.1.101 (10Gbe & 1Gbe) it seems this is tripping up the generated nginx configuration ... 

 

editing the nginx file manually doesnt' seem to work, as when I try to start nginx after, it overwrites it.

more specifically it looks like the issue is from this line in /etc/rc.d/rc.nginx:

 

IP4=$(grep 'IPADDR:0' /var/local/emhttp/network.ini | cut -d'"' -f2)

 

it returns the two IP addresses... 

 

could be solved with:

 

IP4=$(grep -m 1 'IPADDR:0' /var/local/emhttp/network.ini | cut -d'"' -f2)

 

54 minutes ago, Ahmad said:

more specifically it looks like the issue is from this line in /etc/rc.d/rc.nginx:

 

IP4=$(grep 'IPADDR:0' /var/local/emhttp/network.ini | cut -d'"' -f2)

 

it returns the two IP addresses... 

 

could be solved with:

 

IP4=$(grep -m 1 'IPADDR:0' /var/local/emhttp/network.ini | cut -d'"' -f2)

 

 

Indeed the original command can produce one or more results depending on the number of IPv4 addresses defined.

We need only the first one, which is assigned to interface eth0.

Your solution is correct, will make an update.

 

  • 1 month later...

I have the exact same problem @Ahmad

Thank you for your solution.

 

Unraid 6.10 RC4

Edited by MiniKahn

  • 9 months later...

@bonienl

Good day, when starting unraid in "Unraid OS GUI Mode" the system performs as expected and I get a GUI directly from my graphics card. Subsequently if I start a vm using that card, then the vm takes over and works as expected.

 

Once I shutdown the vm the card output doesn't revert to "Unraid OS GUI Mode". 

 

Is there a command or any other way to recover "Unraid OS GUI Mode" without a server restart?

Thank you.

Good day, when starting unraid in "Unraid OS GUI Mode" the system performs as expected and I get a GUI directly from my graphics card. Subsequently if I start a vm using that card, then the vm takes over and works as expected.

 

Once I shutdown the vm the card output doesn't revert to "Unraid OS GUI Mode". 

 

Is there a command or any other way to recover "Unraid OS GUI Mode" without a server restart?

Thank you.

  • 7 months later...
On 10/8/2020 at 2:41 AM, 0x00000111 said:

I was having the same problem wit hthe GUI locking up after an NFS server went down that my unraid box connected to.  Fixed it with:

 

/etc/rc.d/rc.nginx restart
/etc/rc.d/rc.nginx reload
/etc/rc.d/rc.php-fpm restart
/etc/rc.d/rc.php-fpm reload

 

This worked for me despite what other people were saying about it not working on versions after 6.4.

 

I'm on 6.11.5 and the gui would give me nginx 502/500 errors. This fixes it without having to reboot

  • 5 weeks later...

I know this is an old thread, but nothing here worked for me.

 

What worked for me on unraid 6.12.3:

 

Check nginx processes (should return process list):

netstat -tulpn | grep nginx

 

netstat should return something like (show nginx running on 80 and 443):

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp      512      0 192.168.22.18:80        0.0.0.0:*               LISTEN      8803/nginx: master
tcp        0      0 127.0.0.1:443           0.0.0.0:*               LISTEN      8803/nginx: master
tcp        0      0 127.0.0.1:80            0.0.0.0:*               LISTEN      8803/nginx: master

 

kill nginx proxesses (actually is kill process on 80 and 443):

sudo fuser -k 80/tcp
sudo fuser -k 443/tcp

 

 Check nginx processes again (should be blank):

netstat -tulpn | grep nginx

 

start nginx processes:

/etc/rc.d/rc.nginx start

 

Maybe this helps someone.

Edited by KptnKMan

  • 11 months later...
On 10/8/2020 at 8:41 AM, 0x00000111 said:

I was having the same problem wit hthe GUI locking up after an NFS server went down that my unraid box connected to.  Fixed it with:

 

/etc/rc.d/rc.nginx restart
/etc/rc.d/rc.nginx reload
/etc/rc.d/rc.php-fpm restart
/etc/rc.d/rc.php-fpm reload

 

I was searching for ages before i found this. Thank you!!!
My GUI was showing blank sections, terminal not working. This happens sporadically after weeks of uptime and only fix was a reboot.

Now i an just ssh into the box and run these commands.

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...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.