Webif loading stalls

HarveyB

Active Member
I have just tried to get into Webif from browser.
The initial banner/header appears with the status “loading” but the rest of the window content (menu options…) does not appear.

The banner shows the disk pie chart and stats plus the USB eject button but nothing else.

Same problem on different browsers and devices (Apple and Windows PC)

In all other aspects the box seems to be working.

Help!!!


Sent from my iPad using Tapatalk
 
The problem is probably with one of the databases. You'll need to Telnet to the device and get a command prompt, then:
Code:
humax# cat /tmp/webif-error.log
and see if it gives any clues.
The cure is probably then either of these: rm /mod/etc/webif.db or rm /mod/etc/queue.db
 
Cat returns nothing. Here is telnet dialogue.
Code:
Humax HDR-Fox T2 (humax1tb) 1.03.12/3.13 

To return to the menu, type: exit 

humax1tb# cat /tmp/webif-error.log 
humax1tb# cd tmp 
humax1tb# ls 
atd.pid if-up modinit.log virtual-disk.log 
boot.log ifstate nmbd webif-error.log 
dnsmasq.pid inadyn.log nmbd.pid webif.log 
epgd.log lighttpd.pid rag.log xinit.log 
hosts log.nmbd smbd.pid 
humaxtv.log log.smbd utmp 
humax1tb#

Am I correct in assuming that this means error log is empty?
EDIT: ls -l command shows it as empty.

Should I issue any of the rm commands that you suggested?


Sent from my iPad using Tapatalk
 
Last edited:
Should I issue any of the rm commands that you suggested?
You can rename them if unsure e.g. mv oldname newname then putting them back is possible, but you aren't going to do any real damage by deleting them.
I would probably run a fixdisk from maintenance mode, then possibly a fixweb when that's all clear and if it's still not working.
It might be interesting to see the SMART stats. first: smartctl -a /dev/sda
 
You can rename them if unsure e.g. mv oldname newname then putting them back is possible, but you aren't going to do any real damage by deleting them.
I would probably run a fixdisk from maintenance mode, then possibly a fixweb when that's all clear and if it's still not working.
It might be interesting to see the SMART stats. first: smartctl -a /dev/sda
Smart stats command seems to have a problem:
Code:
humax1tb# smartctl -a /dev/sda
smartctl 6.4 2015-06-04 r4109 [7405b0-smp-linux-2.6.18-7.1] (local build)
Copyright (C) 2002-15, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sda: Unknown USB bridge [0x0525:0xa4a5 (0x302)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary
 
Have renamed those files and it now goes into Webif but with pink box warning:

!! WARNING !!

There are potential hardware problems with the internal hard disk on this device.

Disk overall health assessment is: Unknown

Go to disk diagnostics

Obviously I now need to run fixdisk.

Here are Smart stats, which look fine to me!!!
smart.JPG
 
I have rebooted the box and the Disk warning has not returned.
Given the Smart stats, di you think it may have been because I didn't reboot the box after renaming those files.

Unless you think otherwise. I wont run FixDisk for now.

EDIT:
Just before I had this problem, HumaxRS was complaining about conflicting schedules.
On investigation, on the Humax itself, there were two identical schedules recordings set up (ITV - The Tower). Didn’t think this was possible. Probably requested via box and vis HumaxRS!!
I deleted one of the duplicates (on the box itself).
It was then that I tried Webif and hit the problem
 
Last edited:
I have rebooted the box and the Disk warning has not returned.
The warning is automatic if there is no previous record to compare against. It seems to me you have some kind of corruption.

I wont run FixDisk for now.
It's never a bad idea to run fixdisk. If there's nothing much to fix it won't take long, and if it does take a long time it would have been a risk to keep recording to the HDD anyway.
 
Smart stats command seems to have a problem
You've probably got a USB (or software equivalent) plugged in then, but unless you tell us...
Try /dev/sdb instead.
There are potential hardware problems with the internal hard disk on this device.

Disk overall health assessment is: Unknown

Go to disk diagnostics

Obviously I now need to run fixdisk.
That's just a bit of programming stupidity in the WebIf because it hasn't got any initial data. As you've found out, it goes away after the first reboot.
As BH says, I would also run it anyway.
 
Just ran fixdisk. Completed with no problems (return code 0).

Re: USB connection.
I checked yesterday, whilst problem existed (the one working function in Webif at the time).
It only showed “VirtualUSB (Drive1 - Ext2…)” if I remember correctly.
This also shows up now.
So I assume that is normal.


Sent from my iPad using Tapatalk
 
Back
Top