Typically, re-installing a missing package also restores its previous settings (which were sitting around waiting to be accessed).I can crib those from another machine and download tomorrow, along with the settings.
Trydiag fix-webif
. If that doesn't work then try...
Code:sed -i -e '/^Package: webif$/,/^$/d' /mod/var/opkg/status opkg install webif
Please select option: diag
Enter the diagnostic name (or press return to cancel): fix-webif
Are you sure you wish to run diagnostic 'fix-webif'? [Y/N] y
Running: fix-webif
No packages removed.
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.4.8-9) to root...
Collected errors:
* opkg_download_pkg: Package webif is not available from any configured src.
* opkg_install_pkg: Failed to download webif. Perhaps you need to run 'opkg update'?
* opkg_install_cmd: Cannot install package webif.
HDR3# sed -i -e '/^Package: webif$/,/^$/d' /mod/var/opkg/status
HDR3# opkg install webif
Installing webif (1.4.8-8) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/webif_1.4.8-8_mipsel.opk.
Installing rsvsync (1.1.13) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/rsvsync_1.1.13_mipsel.opk.
Installing tmenu (1.22) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/tmenu_1.22_mipsel.opk.
Installing multienv (1.7-1) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/multienv_1.7-1_mipsel.opk.
Installing nugget (1.0) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/nugget_1.0_mipsel.opk.
Installing tweak (1.0) to root...
Downloading http://hpkg.tv/hdrfoxt2/base/tweak_1.0_mipsel.opk.
warning: commands will be executed using /bin/sh
job 3 at Fri Jun 26 23:08:00 2020
Can't open /var/run/atd.pid to signal atd. No atd running?
Configuring rsvsync.
Configuring tmenu.
Configuring multienv.
Configuring tweak.
Configuring nugget.
Configuring webif.
SMART: (PASSED)
startstop: 8199 realloc: 0 hours: 17093 spinretry: 0 pending: 0 offline: 0
Queue database is up-to-date.
HDR3#
HDR3# ps | grep at
HDR3#
/mod/bin/busybox/ps | grep at
The atd needs to be running for scheduled tasks to run but the output of the command above depends on which version of ps you have installed. A better command to try is:
If that produces no output then we need to investigate why it is not running.Code:/mod/bin/busybox/ps | grep at
HDR3# /mod/bin/busybox/ps | grep at
2 root 0 SW [migration/0]
4 root 0 SW [migration/1]
19 root 0 SW< [ata/0]
20 root 0 SW< [ata/1]
21 root 0 SW< [ata_aux]
1281 root 820 S N /mod/sbin/atd
1496 root 3272 S N /mod/bin/epg -f /mnt/hd1/dvbepg/epg.dat sqlitedumpd /mnt/hd1/epg.db
1618 root 872 S N /mod/sbin/rpc.statd
7063 root 1344 S N grep at
HDR3#
HDR2# mod/bin/busybox/ps | grep at
2 root 0 SW [migration/0]
4 root 0 SW [migration/1]
19 root 0 SW< [ata/0]
20 root 0 SW< [ata/1]
21 root 0 SW< [ata_aux]
1339 root 820 S N /mod/sbin/atd
1489 root 3428 S N /mod/bin/epg -f /mnt/hd1/dvbepg/epg.dat sqlitedumpd /mnt/hd1/epg.db
7747 root 1344 S N grep at
HDR2#
Thanks, I'll try that on Saturday.For this one, run thessl/fix
diagnostic (you can do that from the menu)
It's done on post count. Daft ain't it?Why does it describe me as 'New Member', when I have been a member for some years?
I wrote something that iterates through all packages checking that all the files belonging to each package are there. That's about all it could do.Of the other installed packages, I have no way of telling if they are correctly installed and operational.
My machine crashes fairly frequently and, touch wood, never has had a problem restarting but it you have a disk corruption or other problem that forces a reinstall of the webif then potentially you could.The auto-update has reinstalled webif 1.4.8-9 overnight. Is there a risk of getting caught in another logical loop after a crash?
I wrote something that iterates through all packages checking that all the files belonging to each package are there. That's about all it could do.
fix-flash-packages, as its name suggests, only repairs things which have at least one component in flash. It is not a universal fixer for all packages.Why these are different to other packages I don't know, but the fix-flash-packages diagnostic wasn't able to repair them.