Foxsat upgrade woes

prpr

Well-Known Member
I tried upgrading a FoxSat HDR and it failed with this:
Code:
Package Management Results
close

opkg upgrade channel-editor
Upgrading channel-editor on root from 0.53 to 0.53-2...
Downloading http://hummypkg.org.uk/foxsat/base/channel-editor_0.53-2_mips.opk.
Upgrading webif on root from 2.71 to 2.88...
Downloading http://hummypkg.org.uk/foxsat/base/webif_2.88_mips.opk.
Not deleting modified conffile /opt/etc/webif.db.
Existing conffile /opt/etc/webif.db is different from the conffile in the new package. The new conffile will be placed at /opt/etc/webif.db-opkg.
Upgrading jim-tcl on root from 0.7.1 to 0.7.1-1...
Downloading http://hummypkg.org.uk/foxsat/base/jim-tcl_0.7.1-1_mips.opk.
Upgrading service-manager on root from 1.1-1 to 2.2...
Downloading http://hummypkg.org.uk/foxsat/base/service-manager_2.2_mips.opk.
Upgrading epg on root from 1.5 to 1.7...
Downloading http://hummypkg.org.uk/foxsat/base/epg_1.7_mips.opk.
Not deleting modified conffile /opt/epg/DefAuthInit.sql.
Not deleting modified conffile /opt/epg/epg.db.
Not deleting modified conffile /opt/epg/channels.db.
Existing conffile /opt/epg/channels.db is different from the conffile in the new package. The new conffile will be placed at /opt/epg/channels.db-opkg.
Existing conffile /opt/epg/epg.db is different from the conffile in the new package. The new conffile will be placed at /opt/epg/epg.db-opkg.
Existing conffile /opt/epg/DefAuthInit.sql is different from the conffile in the new package. The new conffile will be placed at /opt/epg/DefAuthInit.sql-opkg.
Installing webif-docs (1.14) to root...
Downloading http://hummypkg.org.uk/foxsat/base/webif-docs_1.14_mips.opk.
Installing channel-icons (1.35) to root...
Downloading http://hummypkg.org.uk/foxsat/base/channel-icons_1.35_mips.opk.
mv: can't rename '/opt/var/mongoose/plugin': Directory not empty
mv: can't rename '/opt/var/mongoose/html/img/channels': Directory not empty
sh: getcwd: No such file or directory
Segmentation fault
Configuring jim-tcl.
Configuring service-manager.
Configuring epg.
Configuring webif-docs.
Configuring channel-icons.
Configuring webif.
Configuring channel-editor.
Now the Service management and Package management pages (and some others) on the WebIf just give a 404 error.
The Telnet package isn't installed.
Can any Foxsat experts tell me how I recover from this please?
 
Can any Foxsat experts tell me how I recover from this please?
CFW should be v4.1.3. If not then update. Install telnet via USB stick ( package is included in rar along with hdf). From CLI delete the file /opt/etc/.DO_NOT_DELETE_THIS_FILE then reboot.
This will remove everything from HDD so you will be presented with basic webif after reboot. Reinstall full webif via browser. It may be prudent to run fix-disk via CLI before reinstall of webif.
 
I think it was on 4.0.8. Would that be the cause of the package breakage? It seemed to be channel-icons that caused it as far as I could tell.
Now all updated and fixed. Thanks for the steer. I'd probably have been ages trying to read stuff to work this out.

BTW, does the CLI access intentionally not do tab completion? It's a real nuisance!
 
I think it was on 4.0.8. Would that be the cause of the package breakage? It seemed to be channel-icons that caused it as far as I could tell.
No, it looks more like it was a problem in the execution of one of the post install scripts that keeps the web server happy, depending on whether you are running an old CFW with Mongoose, or the latest with lighttpd. Directory structure for webif changed in CFW v.4.1.3 from /opt/mongoose to /opt/webif. (note the failed mv commands). Also, maintenance mode was not added until v4.0.9 (October 2012) so you could not have done a fix-disk if deemed necessary. So, all in all it was much simpler to do a CFW update and clean re-install rather than trying to patch up a failed update on a long outdated system.
BTW, does the CLI access intentionally not do tab completion? It's a real nuisance!
Tab completion option was not included in the Busybox ash shell compiled by Humax. They probably assumed it would not be needed since no one would ever be accessing the command line.:rolleyes:
 
Back
Top