Help please, webif 500 internal error

mihaid

Well-Known Member
I had been getting messages to update rs at the top of the page.

Logged in webif today, updated rs, got the success message then webif stopped, all I get is an error message as above.

I have reset the box did the rocker switch but can't get the webif Back
 
Can you login via telnet?
If you can try the following commands:
Code:
cat   /var/log/webif-error.log
cat   /var/log/webif.log
opkg update
opkg upgrade
 
Yeah, the last two lines did it. A lot of updated stuff which I didn't recognise. Phew, it's working again. Thanks
 
I had the exact same problem (after upgrading webif via the webif), and following the steps above appears to have fixed it.

However, on reinstalling webif I get error messages.

Code:
  [ Humax HDR-Fox T2 (humax3) 1.03.12/3.10 ]

   maint - Restart into maintenance mode.
    safe - Enable safe mode on next boot.
     rma - Enable return-to-manufacturer (RMA) mode.
   reset - Reset custom firmware environment.
 upgrade - Upgrade all installed packages.
  passwd - Remove web interface password.
  fixweb - Re-install web interface.
    stat - Show current activity.
       x - Exit and close connection.
  reboot - Reboot the Humax.
    diag - Run a diagnostic.
     cli - System command line (advanced users).

Please select option: fixweb
Removing package webif from root...
Not deleting modified conffile /mod/webif/html/favicon.ico.
Installing webif (1.4.1-4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif_1.4.1-4_mipsel.opk.
Configuring webif.
/mod/webif/lib/system.class:4: Error: error loading extension "/mod/lib/jim/xconv.so": File not found
Can't load package xconv
at file "/mod/webif/lib/bin/diskattrs", line 3
in procedure 'require' called at file "/mod/webif/lib/setup", line 13
at file "/mod/webif/lib/setup", line 8
at file "/mod/webif/lib/system.class", line 4
/mod/webif/lib/system.class:4: Error: error loading extension "/mod/lib/jim/xconv.so": File not found
Can't load package xconv
at file "/mod/webif/lib/auto/upgrade", line 3
in procedure 'require' called at file "/mod/webif/lib/setup", line 13
at file "/mod/webif/lib/setup", line 8
at file "/mod/webif/lib/system.class", line 4
Collected errors:
 * file_md5sum_alloc: Failed to open file /mod/webif/html/favicon.ico: No such file or directory.

Should I be worried? Everything superficially seems to work. I'll probably upgrade to CFW 3.12 shortly anyway.
 
Updating or reinstalling the firmware won't affect these problems with the software.
Good point.

BTW, if I reinstall webif via the command line the same thing happens, unsurprisingly:
Code:
humax3# opkg --force-reinstall install webif
Removing package webif from root...
Not deleting modified conffile /mod/webif/html/favicon.ico.
Installing webif (1.4.1-4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif_1.4.1-4_mipsel.opk.
Configuring webif.
SMART: (PASSED)
startstop: 8098 realloc: 0 hours: 3995 spinretry: 0 pending: 0 offline: 0
Queue database is up-to-date.
Collected errors:
 * file_md5sum_alloc: Failed to open file /mod/webif/html/favicon.ico: No such file or directory.
humax3# ls -l /mod/webif/html/favicon.ico
lrwxrwxrwx    1 root     root            19 Mar 25 09:17 /mod/webif/html/favicon.ico -> img/fav/favicon.ico

Even deleting the errant link doesn't make it go away:

Code:
humax3# rm  /mod/webif/html/favicon.ico
humax3# opkg --force-reinstall install webif
Removing package webif from root...
Not deleting modified conffile /mod/webif/html/favicon.ico.
Installing webif (1.4.1-4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif_1.4.1-4_mipsel.opk.
Configuring webif.
SMART: (PASSED)
startstop: 8098 realloc: 0 hours: 3995 spinretry: 0 pending: 0 offline: 0
Queue database is up-to-date.
Collected errors:
 * file_md5sum_alloc: Failed to open file /mod/webif/html/favicon.ico: No such file or directory.
humax3# ls -l   /mod/webif/html/favicon.ico
lrwxrwxrwx    1 root     root            19 Mar 25 09:23 /mod/webif/html/favicon.ico -> img/fav/favicon.ico
humax3# ls -l   /mod/webif/html/img/fav/favicon.ico
-rw-------    1 root     root         10307 Jun 24  2013 /mod/webif/html/img/fav/favicon.ico

Anyway, not to bother. It all works.
 
The favicon.ico messages always occur and are unimportant but annoying.

The problem that prpr was referring to and which has now been resolved are the messages related to xconv.
 
Ah - ok. Good. All in order now then. Thanks.

BTW what may have cleared the xconv issue (for me) seemed to be:
Code:
opkg --force-reinstall install jim webif

Thanks in any case.
 
Back
Top