• The forum software that supports hummy.tv has been upgraded to XenForo 2.3!

    Please bear with us as we continue to tweak things, and feel free to post any questions, issues or suggestions in the upgrade thread.

Unable to access web interface after CF install

There is file here /mod/etc/lighttpd/extra.conf that can be used to add additional listening ports etc., but as it's name suggests it is for adding extra stuff, the default file only contains commented out lines i.e. :-

Code:
humax# cat extra.conf

######################################################################
# Override any aspects of the web server configuration here. This file
# will not be overwritten on upgrades.

######################################################################
# Example - listen on additional port (81)

#$SERVER["socket"] == ":81" {}

######################################################################
# Example - listen on additional SSL port (4443)

#$SERVER["socket"] == ":4443" { include "ssl-params.conf" }

humax#

The ligtttpd thread is here :-
http://hummy.tv/forum/threads/lighttpd-web-server-to-replace-mongoose.4947/
 
Hi ezra - thanks for the link.

I read it through and figured on trying out mongoose in place of lighttpd - kill lighttpd process and started mongoose as a service - outcome - same problem can return index.html using wget from the humax box but cannot contact the humax remotely - which I think really disproves a server config problem

So I am thinking that this really is a network stack problem just to double check can you post a known good iptable so that I can compare?
 
Pursue this by all means, it will be informative to find out what the problem is, but were it anyone else I would be advising a complete strip out and re-install.
 
Decision made - I am going with SETRMA - install OFW 2_1.02.32 and then CFW 2._1.02.32_mod_3.00

will let you know the outcome!
 
progress...

Connection to online repository at http://hpkg.tv successful!

Updating package list...

Downloading http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Inflating http://hpkg.tv/hdrfoxt2/base/Packages.gz.
Updated list of available packages in /mod/var/opkg/base.
Installing webif (1.0.16-4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif_1.0.16-4_mipsel.opk.
Installing webif-channelicons (1.1.12-2) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif-channelicons_1.1.12-2_mipsel.opk.
Installing lighttpd (1.4.35-2) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/lighttpd_1.4.35-2_mipsel.opk.
Installing swapper (1.0.1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/swapper_1.0.1_mipsel.opk.
Installing jim (0.75-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/jim_0.75-1_mipsel.opk.
Installing jim-oo (0.75) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/jim-oo_0.75_mipsel.opk.
Installing jim-sqlite3 (0.75) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/jim-sqlite3_0.75_mipsel.opk.
Installing sqlite3 (3.7.6-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/sqlite3_3.7.6-1_mipsel.opk.
Installing ncurses (5.9) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/ncurses_5.9_mipsel.opk.
Installing libreadline (6.2-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/libreadline_6.2-1_mipsel.opk.
Installing jim-cgi (0.7) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/jim-cgi_0.7_mipsel.opk.
Installing jim-binary (0.75) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/jim-binary_0.75_mipsel.opk.
Installing service-control (1.2) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/service-control_1.2_mipsel.opk.
Installing busybox (1.20.2-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/busybox_1.20.2-1_mipsel.opk.
Installing lsof (4.87) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/lsof_4.87_mipsel.opk.
Installing epg (1.0.13) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/epg_1.0.13_mipsel.opk.
Installing hmt (1.1.23) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/hmt_1.1.23_mipsel.opk.
Installing ssmtp (2.64) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/ssmtp_2.64_mipsel.opk.
Installing anacron (2.3-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/anacron_2.3-1_mipsel.opk.
Installing cron-daemon (1.18.3-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/cron-daemon_1.18.3-1_mipsel.opk.
Installing trm (1.1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/trm_1.1_mipsel.opk.
Installing openssl-command (1.0.0.d) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/openssl-command_1.0.0.d_mipsel.opk.
Installing nicesplice (1.6) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/nicesplice_1.6_mipsel.opk.
Installing id3v2 (0.1.11-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/id3v2_0.1.11-1_mipsel.opk.
Installing file (5.0.4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/file_5.0.4_mipsel.opk.
Installing rsvsync (1.0.3) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/rsvsync_1.0.3_mipsel.opk.
Installing webif-charts (1.3) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif-charts_1.3_mipsel.opk.
Installing stripts (1.2.5-3) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/stripts_1.2.5-3_mipsel.opk.
Installing smartmontools (5.41) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/smartmontools_5.41_mipsel.opk.
Installing tmenu (1.10) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/tmenu_1.10_mipsel.opk.
Installing ffmpeg (0.10) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/ffmpeg_0.10_mipsel.opk.
Installing bzip2 (1.0.4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/bzip2_1.0.4_mipsel.opk.
Installing lamemp3 (3.98.4) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/lamemp3_3.98.4_mipsel.opk.
Installing multienv (1.7-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/multienv_1.7-1_mipsel.opk.
Installing mongoose (3.0.11) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/mongoose_3.0.11_mipsel.opk.
Setting up swapspace version 1, size = 134213632 bytes
UUID=11bd2e08-2b5f-466d-9997-6da4b9d029c6
SMART: (PASSED)
realloc: 0
spinretry: 0
pending: 0
offline: 0
Configuring ncurses.
Configuring libreadline.
Configuring sqlite3.
Configuring mongoose.
Configuring swapper.
Configuring tmenu.
Configuring busybox.
Configuring lsof.
Configuring multienv.
Configuring ssmtp.
Configuring openssl-command.
Configuring bzip2.
Configuring webif-channelicons.
Configuring lighttpd.
Configuring jim.
Configuring jim-oo.
Configuring jim-sqlite3.
Configuring jim-cgi.
Configuring jim-binary.
Configuring service-control.
Configuring epg.
Configuring hmt.
Configuring cron-daemon.
Configuring anacron.
Configuring trm.
Configuring nicesplice.
Configuring id3v2.
Configuring file.
Configuring rsvsync.
Configuring webif-charts.
Configuring stripts.
Configuring smartmontools.
Configuring lamemp3.
Configuring ffmpeg.
Configuring webif.
Collected errors:
* extract_archive: Cannot create symlink from var/mongoose to '../webif': File exists.

-----------------------------------------------------------------------
Congratulations, you have successfully installed the full web interface
and supporting packages. Please restart your Humax device using the
remote control to put it into standby, wait for it to fully shut down
and then start it up again.
-----------------------------------------------------------------------​

Not sure if I need to be worried about the Mongoose symlink error or not?

But this is progress it always stopped at 'offline 0' before!
 
unbelievably this has worked which must be the 10th time i have done the reinstall!

The differnece being this time round that did a SET RMA then OFW followed by CFW.

The SET RMA must clear some 'embedded' settings that where not removed during the OFW reinstall

thanks all for your patience and help on this!
 
Glad it's fixed, setrma executes this :- touch /var/lib/humaxtv_backup/.rma which is picked up at boot up, but I'm not sure what is then carried out when the .rma file is found
 
unbelievably this has worked which must be the 10th time i have done the reinstall!
There is "stuff" left over on HDD and in non-volatile memory when you just load another firmware. RMA clears it out (as long as you then load a standard firmware afterwards, which is a requirement of the process).

There is also a custom system flush "firmware update" (it doesn't really update any firmware, just gets loaded the same way) for clearing the database when that gets in a mess.
 
I have found another problem which is worth mentioning.

It appears that my wifi router is also causing problems - when I got the system working earlier today I decided to go hardwired rather than wifi connected - which works...

I have since gone back to wifi and I am having all the same issue as before - timeout from the web portal/ cant connect - very bizarre - but works fine hard wired ?!?!?

Has anyone seen this behavior before?
 
* extract_archive: Cannot create symlink from var/mongoose to '../webif': File exists.
Not sure if I need to be worried about the Mongoose symlink error or not?
No you don't need to worry about it. It's because the Mongoose package is trying to do something that Lighttpd has already done.

(I'm not sure why Mongoose hasn't been removed really, but it still seems to be a dependency of Webif. I've deleted it on my test box by hacking the control files then uninstalling it.)
 
I wonder if I've encountered the same problem as Fred z - though with more extreme symptoms. I've included the details in case they are useful in pinning down the causative factors. If anyone wants any tests run before I potentially destroy the evidence, I'd be happy to oblige - though will probably need some hand-holding.

My upgrade from 1.03.12 CF2.22 to CF 3.0 appeared to proceed normally. However, upon restart all my recordings had apparently disappeared. (Not the disaster it might seem since they were all backed-up). Inspection with FTP showed no files or folders on the hard drive at all, but it did show the contents of the USB-attached drives appeared normal - even though the Humax media list showed no video files on any of them. Like Fred Z, the attempt to access the web interface just hung waiting for a response. I tried all the obvious, and recommended, things - fresh downloads, installing on another machine, removing attached devices etc - all to no avail. Reinstalling 1.03.12 without CF worked fine, but every time I installed CF 3.0 on top, I got the same problems. Since I couldn't get any response to telnet, I couldn't do much in the way of diagnostics - at least not with my limited expertise. Following Black Hole's pointer regarding left-overs, I tried the System Flush 'upgrade' - with no success.

Finally, I downgraded to 1.02.32 with CF 2.21 - and was at last successful. The recordings could now be accessed, copied etc. The web interface worked. I was about to perform the RMA on the diagnostics page when I noticed the preceding, and less drastic, option to "Remove all custom firmware packages and settings" so I tried that. This appeared successful, in that I could now re-install 1.03.12 and CF 3.0 - and could at last see my recordings. All apparently appeared normal until I tried to access the web interface page - again everything just hung.

I tried Ezra Pound's, Raydon's and prpr's suggestions - with less success than Fred Z:

humax# opkg info lighttpd
Collected errors:
* make_directory: Cannot create directory `/mod/': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* rm_r: Failed to open dir : No such file or directory.


humax# opkg info swapper
Collected errors:
* make_directory: Cannot create directory `/mod/': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* rm_r: Failed to open dir : No such file or directory.


humax# service
/bin/sh: service: not found


humax# diag fix-webif
Running: fix-webif
No packages removed.
Collected errors:
* make_directory: Cannot create directory `/mod/': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* rm_r: Failed to open dir : No such file or directory.
mkdir: can't create directory '/mod/webif': No such file or directory
/bin/sh: cd: line 7: can't cd to /mod/var
ln: mongoose: Read-only file system
Collected errors:
* make_directory: Cannot create directory `/mod/': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* rm_r: Failed to open dir : No such file or directory.
Unknown package 'webif'.
Collected errors:
* make_directory: Cannot create directory `/mod/': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* make_directory: Cannot create directory `/mod': File exists.
* opkg_install_cmd: Cannot install package webif.
* opkg_finalize_intercepts: Failed to open dir : No such file or directory.
* rm_r: Failed to open dir : No such file or directory.
* rm_r: Failed to open dir : No such file or directory.


humax# netstat -tln
/bin/sh: netstat: not found

By now, two things should be obvious: 1) the system is distinctly 'tired and emotional'; 2) the user is a dumbo.

So the next step is to go back to 1.02.32 with CF 2.21, and - with luck - perform the RMA. But any suggestions before I try this, while I still have access to the current mess?

If you've read this far, thanks - and apologies for all the gory detail.
 
The very first thing you should have gone for whenever there appears to be something wrong with the file system was a fix-disk. Any subsequent writing to disk has indeterminate consequences, and can only compound the problem. If I am reading your post correctly, you currently have CF3.00 installed, which will provide you the most up to date version of fix-disk, so access the Telnet menu and boot to maintenance mode, then run disk repair, now.
 
Back
Top