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.

emhttp will not load

Featured Replies

First time posting here.  Thanks everyone in advance for the help, most issues I have been able to resolve with forums and IRC but this one stumps me.

 

System:

- SUPERMICRO|MBD-X9SCL-F-O Board w/ CPU INTEL|CORE I3 3225 3.3G

- Corsair CMPSU-650HX 650W RT

- 2-Kingston DDR3-1333 4GB ECC

- 4-HDD 2T|ST ST2000DM001 7.2K 64M

- unRAID 5.0 Stable (Pro)

 

Plugins:

- SF

- Plex

- SickBeard

- Couch Potato

- Sabnzbd

- MySQL

- Transmission

- iStat (recently added this because someone said my server was running out of RAM that's why emhttp crashed, this problem happened before this)

 

From time to time my emhttp will not load.  Sometimes it takes a day for this issue, other times a week.  Every time I check the system logs I see no errors of any sort. 

 

The odd thing is everything else works.  SMB, NFS, HTTP (lighttpd), all the plugins.  It's just emhttp that will not load for me.

 

A reboot fixes the issue, however I have to login through IPMI and hard reboot the server.  I'm not real happy with that as a solution.

 

On this log the emhttp is currently not working.  It was working on Sunday (10/20/2013) around 8pm.  Sometimes from then and now emhttp decided it was time for a nap.

 

Anyone have any ideas? 

 

 

GO File:

#!/bin/bash

# Start the Management Utility
/usr/local/sbin/emhttp -p 9090 &

# Set emhttp to -17 so unix will never kill it due to OOM
pgrep -f "/usr/local/sbin/emhttp" | while read PID; do echo -17 > /proc/$PID/oom_adj; done

#install plug-ins after all other commands run
/usr/local/sbin/installplg /boot/config/plugins/manualstart/couchpotato_v2_unplugged.plg
/usr/local/sbin/installplg /boot/config/plugins/manualstart/sabnzbd_unplugged.plg
/usr/local/sbin/installplg /boot/config/plugins/manualstart/sickbeard_unplugged.plg
/usr/local/sbin/installplg /boot/config/plugins/manualstart/transmission_unplugged.plg
/usr/local/sbin/installplg /boot/config/plugins/manualstart/istatd-0.5.8-noarch-1.1aj.plg


#start plug-ins since disks_mounted event already fired
/etc/rc.d/rc.couchpotato_v2 start
/etc/rc.d/rc.sabnzbd start
/etc/rc.d/rc.sickbeard start
/etc/rc.d/rc.transmission start
/etc/rc.d/rc.istatd start

 

I have attached the syslog.  I tried to add to forum but I hit max characters.

 

I'm on IRC also if anyone wants me to test anything.  I'll leave it to where the emhttp isn't working.

 

Thank you again for taking the time to read and assist!

 

-Daniel

syslog.zip

From your syslog it looks like you're using SimpleFeatures plugins. There will be issues using SF with the new unRAID webGUI. Use the default unRAID webGUI if you want to keep using SF plugins.

 

I believe this is the most current version you should use in your GO script:

pgrep -f "/usr/local/sbin/emhttp" | while read PID; do echo -1000 > /proc/$PID/oom_score_adj; done

 

That might be the best place to start.....

  • Author

ok thanks! I've made the GO file change.

 

So are you saying use all the SF plugins but don't use the SF Web gui.plg?

I think that's OK; just don't use SF apps with the enhanced webGUI from Lime Tech.

  • Author

main plugin i need is webserver from SF and it doesnt seem to work without the SF core webgui :(

I think that's OK; just don't use SF apps with the enhanced webGUI from Lime Tech.

 

is the enhanced gui from limetech you refer to UnMenu on port 8080?

 

i am having issues where after a reboot the webgui works just fine but at some point it becomes unresponsive.  i have UnMenu and SimpleFeatures installed running 5 final.

 

i can post a syslog in a new thread if needed

Remove SF and the version 5 enhanced. They are nothing but trouble. unMenu has no issues.

Remove SF and the version 5 enhanced. They are nothing but trouble. unMenu has no issues.

 

how do you remove version 5 enhanced gui?

 

https://github.com/limetech/webGui

 

is this what we are talking about?  i dont have this installed.  at least i didnt do it manually.

Attached is a view of the stock webGUI from Lime Tech as a point of reference. It listens on port 80.

 

 

default-webGUI.jpg.2d3413cb01b03a00be687f1f28e02118.jpg

Attached is a view of the stock webGUI from Lime Tech as a point of reference. It listens on port 80.

 

can you post a pic of the enhanced gui for reference?  i know what unmenu on 8080 looks like are we talking about something different?

ok thanks for that.  that is what my  UI on port 80 looks like.  Is that is what is installed by default with 5.0?  I did download the GUI from the link you provided and do it manually.  I have used UnRaid since version 4.x and 5.x since the beginning so only updates were new RCs once released and a andful of plugins (sab, sickbeard, crashplan, dropbox, cache_directories, simple features & unmenu)

 

since unmenu still works on 8080 i can use it to perform most tasks if needed.

I think the enhanced webGUI is integrated by default. I was using the "beta" version of it when I updated to 5.0 final, so I think it just came along from my previous configuration. But, since I haven't done a fresh install I can't say for sure.

cool thanks for all the info.

A clean install of 5.0 does NOT include the 'Enhanced UI' but it gives you the option to install it, via Settings.

 

I don't think the enhanced UI causes any issues by itself.

A clean install of 5.0 does NOT include the 'Enhanced UI' but it gives you the option to install it, via Settings.

 

I don't think the enhanced UI causes any issues by itself.

 

There have been numorous reports of problems with the Enhanced UI. Many of the same issues have been reported with SimpleFeatures, upon which it is based.

OP - did you get your issue resolved with the suggestions you got here. Asking because I have been battling with this same issue for quite some time now. I can start a different topic if that is what I need to do (not trying to hijack the thread)- just posted here because this is similar to what I have (sometimes it is the emhttp) but mostly it is the tower itself.

 

The tower just becomes unresponsive (crashes) even with a monitor connected it does not respond to any commands, cannot type anything, samba and nfs gone, emhttp is gone as well. Basically the fans are spinning on the system and that is it, I know the hardware is working but the OS is dead. Similar to a BSOD on windows I would say.

 

Here is what I have tried so far:

 

1) Reverted to stock - so basically reformatted the USB, copied the 5.0 stable files over, copied the config directory from my back up without the plugins, packages or the modified go file. Eveything is stock - no plugins at all. Not even the SF absed new GUI.

 

2) Ran a memtest on the system for over 7-8 hours, 6 tests - all passed no errors found.

 

3) Tried both with the updated GUI and the stock GUI - which is what is discussed here and been referred to as the problem and solution, but unfortunately I have the freezing up occuring even with the stock GUI.

 

I am totally lost at this point and have no idea what is causing this, I used to run rc13 without any issues but even that seems to be not working fine, it will run longer than the 5.0 stable but eventually it will freeze up as well ( so totally at a loss). I have moved all my plugins from unraid to my windows based system and that would be weher they are staying, but all my media is housed in this server and I have no way of accessing it.

 

Sometimes even when it is running the transfer speeds become excruciatingly slow and sometimes XBMC/Plex would buffer every 2 seconds (literally).

 

Any one know what is going on here?

  • Author

haha thanks for asking! My thread was taken over for a few others ;)

 

Your issue seems a little different than mine.  My system remains PERFECT, all my plugins still work and speed is amazing, however I just can't get to emhttp (browser times out).

 

I added what doorunrun recommended to the GO file.

 

'pgrep -f "/usr/local/sbin/emhttp" | while read PID; do echo -1000 > /proc/$PID/oom_score_adj; done'

 

Since adding that, I have not had the issue, with that being said my issue was random.  So far I am at 11 days up with no issues. 

 

I'll keep everyone updated. 

 

P.S. I always heard an issue that the emhttp would crash if too many computers tried to access it.  Might be a lie, but I did notice when I would have the page up on my iPhone, MBA, and my main comp at same time it never liked it.  I'm not sure how much to gather from that but just a thought.  I have made sure to only have the page opened on one device at a time.

 

As I said above, so far so good.

Archived

This topic is now archived and is closed to further replies.

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.