1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Undelete - Does it only work from webif?

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by Rob Singlehurst, Nov 8, 2012.

  1. I've installed the Undelete package. Does it only work if you are deleting files using the web interface? Or does it also work when deleting media files "on" the box the normal way with the remote? Just that I deleted something last night and it's not in the "Deleted Items" folder today.

    Cheers,
     
  2. Black Hole

    Black Hole Felinos Guru

    The "move to recycle bin" operates on WebIF and SUI (Standard User Interface). What delete delay have you set in the WebIF undelete settings?
     
  3. That's what I thought. I've not altered the original settings so it's set at 7 days. I'll try again tonight. It worked when I remoted in from work yesterday and deleted something using the Webif. To actually undelete would you move the file manually using the WebIf afterwards back to where it was?

    Cheers,
     
  4. af123

    af123 Administrator Staff Member

    Yes, or using the standard Humax on-screen interface (red button).
     
  5. Tried again this evening using the OPT+ button on the remote and it deleted the file completely i.e. didn't move it to the "Deleted Items" folder. Am I deleting the file incorrectly somehow? I'm on 1.02.20 firmware, 2.13 custom firmware. The package installed fine with no errors.
    Using the WebIf the file gets moved to the "Deleted Items" correctly.
    Any suggestions?

    Thanks,
     
  6. xyz321

    xyz321 Well-Known Member

    Have you rebooted since installing undelete?
     
  7. Black Hole

    Black Hole Felinos Guru

    Yes, you generally need to reboot after installing any of the packages before they start working.
     
  8. Yes, I've left the power down settings as standard so it has rebooted a few times. But could this also be causing undelete to fail - ie automatically switching off after 3 hours of inactivity?
     
  9. af123

    af123 Administrator Staff Member

    It sounds like undelete isn't installed properly for some reason.
    Try doing a force reinstall of the undelete package from the Web interface -> Diagnostics page (type undelete in the box and click on force reinstall), then shut down the box using the remote control (wait for the disk to turn off) and turn it back on.

    If that doesn't work then try running the debugtv diagnostic which enables the humaxtv.log file following the next reboot and some information from undelete should appear in that log which will help to pinpoint what is going wrong.
     
  10. That's sorted it! I got the following and the last line looked a bit suspect but I have deleted a file using the SUI and it has gone into "Deleted Items"
    Marvellous :)
    >>> opkg install --force-reinstall undelete
    Removing package undelete from root...
    No packages removed.
    Installing undelete (1.4-2) to root...
    Downloading http://hummypkg.org.uk/hdrfoxt2/base/undelete_1.4-2_mipsel.opk.
    Configuring undelete.
    Collected errors:
    * pkg_run_script: package "undelete" postrm script returned status 1.
     
  11. My Undelete still stops working after a seemingly random time :( I've done a force reinstall a couple of times now. Is anyone else having issues with this? I'm running the latest version 1-5.1. Found another post related to this and I've got OTA updates disabled with the "disable-ota" package - quite happy with the firmware I'm running at the moment - could not having this early morning boot be causing issues with undelete?
    Web interface version: 0.10.1-1
    Custom firmware version: 2.13
    Humax Version: 1.02.20

    This is my empty_dustbin.log
    >>> Contents of /mod/tmp/empty_dustbin.log 1.13 KiB
    Emptying dustbin at Tue Nov 27 07:40:01 GMT 2012
    Dustbin: /mnt/hd2/My Video/[Deleted Items]
    Processing dustbin... (7)
    Keeping deleted files for 7 days.
    Free disk space: 92.5829 GiB
    Keeping deleted files for 6 days.
    ./CITV returns at 06_00_20121120_1939.nts
    ./CITV returns at 06_00_20121120_1939.ts
    Free disk space: 92.5829 GiB
    Keeping deleted files for 5 days.
    ./CITV returns at 06_00_20121120_1939.hmt
    ./Grand Designs/Grand Designs_20121114_2059.ts
    ./Grand Designs/Grand Designs_20121114_2059.hmt
    ./Grand Designs/Grand Designs_20121114_2059.thm
    ./Grand Designs/Grand Designs_20121114_2059.nts
    Free disk space: 94.3709 GiB
    Due to lack of disk space deleted files have been kept for only 5 days
    Removing empty directories...
    ./Grand Designs
    Looking for orphaned HMT files.
    ======================================================================
    Emptying dustbin at Wed Nov 28 07:45:23 GMT 2012
    Dustbin: /mnt/hd2/My Video/[Deleted Items]
    Processing dustbin... (7)
    Keeping deleted files for 7 days.
    Free disk space: 123.249 GiB
    Removing empty directories...
    Looking for orphaned HMT files.
    ======================================================================

    Cheers,
     
  12. This is my humaxtv.log

    >>> Contents of /var/log/humaxtv.log 1.95 KiB
    -------------------------------------
    Initialising Dustbin v1.0
    Dustbin debug: 0
    Dustbin media root: /mnt/hd2/My Video/
    Dustbin path: /mnt/hd2/My Video/[Deleted Items]
    -------------------------------------
    DRV_DSC_Init_Begin
    killall: tinyftp: no process killed

    GALIO STARTING
    ./humaxtv --alt-config /usr/browser/config-ocontroller-si-rootfs.txt --config /var/lib/humaxtv/galio-config.txt
    User opts: None
    OCON | initialising controller
    Restore reminders from file failed
    Persist reminders to file failed

    IE: WPA Version 1
    Group Cipher :
    Pairwise Ciphers (2) :
    Authentication Suites (1) :

    IE: IEEE 802.11i/WPA2 Version 1
    Group Cipher :
    Pairwise Ciphers (2) :
    Authentication Suites (1) :
    udhcpc (v1.12.4) started
    udhcpc deconfig wlan0 0.0.0.0
    Sending discover...
    Sending select for 192.168.1.65...
    Lease of 192.168.1.65 obtained, lease time 86400
    deleting routers
    route: SIOCDELRT: No such process
    adding dns 192.168.1.254
    IP Address List: 192.168.1.65
    mxDLNA [DLNA DMS DmsRunThread] Start (PID:180TID:1067660496).......
    [mxDlnaFileScanner_create] +++++
    [mxDlnaFileScanner_addDirectory] SEARCH_LIST_PATH_EXACT_MATCHED
    [mxDlnaFileScanner_create] -----
    [mxDlnaFileScanner_addDirectory] SEARCH_LIST_PATH_EXACT_MATCHED
    [mxDlnaFileScanner_addDirectory] SEARCH_LIST_PATH_EXACT_MATCHED
    [mxDlnaFileScanner_addDirectory] SEARCH_LIST_PATH_EXACT_MATCHED
    [ifss_start] +++++
    DB InPut Success =/mnt/hd2/My Video/[Deleted Items]/Young Apprentice (I:0/F:0)
    [P_MEDIA_ProbeOpen] Error>> unknown stream format|
    [DI_MEDIA_Probe] Error - Fail in P_MEDIA_ProbeOpen
    DB InPut Success =/mnt/hd2/My Video/[Deleted Items]/Young Apprentice/Young Apprentice_20121115_1959.ts (I:0/F:1)
    MEM: used heap 4675064/4685816 flex 787064/25165824
    MEM: used heap 4675064/4685816 flex 787064/25165824
    MEM: used heap 4675064/4685816 flex 787064/25165824
     
  13. Seems to be working again now but below is today's empty_dustbin.log. I'm confused by the message :-

    Due to lack of disk space deleted files have been kept for only 6 days

    There was over 100GB free when it started? What is the "lack of disk space" referring to?

    Here's the rest of the log:-

    ======================================================================
    Emptying dustbin at Thu Nov 29 07:30:39 GMT 2012
    Dustbin: /mnt/hd2/My Video/[Deleted Items]
    Processing dustbin... (7)
    Keeping deleted files for 7 days.
    Free disk space: 116.333 GiB
    Keeping deleted files for 6 days.
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121118_2100.thm
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121119_2059.hmt
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121117_2120.thm
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121116_2059.hmt
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121119_2059.nts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121115_2029.ts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121117_2120.ts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121117_2120.hmt
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121118_2100.nts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121116_2059.thm
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121116_2059.ts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121119_2059.thm
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121119_2059.ts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121115_2029.thm
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121116_2059.nts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121118_2100.ts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121118_2100.hmt
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121117_2120.nts
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121115_2029.hmt
    ./I'm a Celebrity___ Get Me Out of Here!/I'm a Celebrity___ Get Me Out of Here!_20121115_2029.nts
    ./Peppa Pig/Peppa Pig_20121024_0814.nts
    ./Peppa Pig/Peppa Pig_20121024_0644.hmt
    ./Peppa Pig/Peppa Pig_20121024_0644.nts
    ./Peppa Pig/Peppa Pig_20121024_0814.ts
    ./Peppa Pig/Peppa Pig_20121024_0814.hmt
    ./Peppa Pig/Peppa Pig_20121024_0825.thm
    ./Peppa Pig/Peppa Pig_20121024_0825.nts
    ./Peppa Pig/Peppa Pig_20121024_0825.ts
    ./Peppa Pig/Peppa Pig_20121024_0814.thm
    ./Peppa Pig/Peppa Pig_20121024_0644.thm
    ./Peppa Pig/Peppa Pig_20121024_0644.ts
    ./Peppa Pig/Peppa Pig_20121024_0825.hmt
    Free disk space: 126.033 GiB
    Due to lack of disk space deleted files have been kept for only 6 days
    Removing empty directories...
    ./Peppa Pig
    Looking for orphaned HMT files.
    ======================================================================
     
  14. Ezra Pound

    Ezra Pound Well-Known Member

    100GB is the trigger point for a change from 7 Days to 6 Days, See Info HERE
     
  15. Thanks, that's great :)
     
  16. Undelete stopped working again over the past couple of days (in that files were immediately deleted not put into the "Deleted Items" folder) but the empty_dustbin.log still gets written to? I did a force re-install of it last night, didn't reboot afterwards, so the first boot was just now. Here's the log:-

    ======================================================================
    Emptying dustbin at Sat Dec 1 08:07:14 GMT 2012
    Dustbin: /mnt/hd2/My Video/[Deleted Items]
    Processing dustbin... (7)
    Keeping deleted files for 7 days.
    Free disk space: 124.014 GiB
    Removing empty directories...
    Looking for orphaned HMT files.
    ======================================================================
    Emptying dustbin at Sun Dec 2 07:37:45 GMT 2012
    Dustbin: /mnt/hd2/My Video/[Deleted Items]
    Processing dustbin... (7)
    Keeping deleted files for 7 days.
    Free disk space: 117.951 GiB
    Keeping deleted files for 6 days.
    Free disk space: 117.951 GiB
    Due to lack of disk space deleted files have been kept for only 6 days
    Removing empty directories...
    Looking for orphaned HMT files.
    ======================================================================
    Emptying dustbin at Mon Dec 3 06:49:29 GMT 2012
    Dustbin: /mnt/hd2/My Video/[Deleted Items]
    Processing dustbin... (7)
    Keeping deleted files for 7 days.
    Free disk space: 116.413 GiB
    Keeping deleted files for 6 days.
    ./Holby City/Holby City_20120925_1959.ts
    ./Holby City/Holby City_20120925_1959.hmt
    ./Holby City/Holby City_20121016_1959.hmt
    ./Holby City/Holby City_20120918_1959.nts
    ./Holby City/Holby City_20120925_1959.nts
    ./Holby City/Holby City_20120918_1959.hmt
    ./Holby City/Holby City_20121016_1959.ts
    ./Holby City/Holby City_20121030_1959.nts
    ./Holby City/Holby City_20121023_1959.ts
    ./Holby City/Holby City_20120918_1959.ts
    ./Holby City/Holby City_20121009_1959.nts
    ./Holby City/Holby City_20121009_1959.thm
    ./Holby City/Holby City_20120911_1959.thm
    ./Holby City/Holby City_20121030_1959.hmt
    ./Holby City/Holby City_20121016_1959.nts
    ./Holby City/Holby City_20121023_1959.nts
    ./Holby City/Holby City_20120925_1959.thm
    ./Holby City/Holby City_20120911_1959.nts
    ./Holby City/Holby City_20121023_1959.thm
    ./Holby City/Holby City_20121030_1959.thm
    ./Holby City/Holby City_20121002_1959.nts
    ./Holby City/Holby City_20121009_1959.ts
    ./Holby City/Holby City_20121023_1959.hmt
    ./Holby City/Holby City_20121009_1959.hmt
    ./Holby City/Holby City_20121002_1959.thm
    ./Holby City/Holby City_20121016_1959.thm
    ./Holby City/Holby City_20120911_1959.hmt
    ./Holby City/Holby City_20120911_1959.ts
    ./Holby City/Holby City_20121002_1959.hmt
    ./Holby City/Holby City_20120918_1959.thm
    ./Holby City/Holby City_20121030_1959.ts
    ./Holby City/Holby City_20121002_1959.ts
    Free disk space: 130.451 GiB
    Due to lack of disk space deleted files have been kept for only 6 days
    Removing empty directories...
    Looking for orphaned HMT files.
    ======================================================================
    Emptying dustbin at Tue Dec 4 07:54:38 GMT 2012
    Dustbin: /mnt/hd2/My Video/[Deleted Items]
    Processing dustbin... (7)
    Keeping deleted files for 7 days.
    Free disk space: 126.598 GiB
    Removing empty directories...
    Looking for orphaned HMT files.
    ======================================================================

    I'm wondering if it's getting confused as it's not running for a week without having to do a force_reinstall?
     
  17. af123

    af123 Administrator Staff Member

    The only reason you should need to force-reinstall is if the Humax has crashed at some point. As these extensions integrate closely with the Humax software, there is a safety net that disables them if the Humax software crashes shortly after boot - otherwise a bug in one of the extensions could result in your Humax just constantly rebooting.

    If you upgrade the multienv package to the latest version, then whenever your Humax crashes it will create an entry in a new log called crash.log that is visible through the diagnostics web page. That log will also tell you whether the plugins are being disabled as a result of the crashes.

    So I would upgrade multienv and see if anything appears in the crash.log that sheds any light on what's happening.
     
  18. Warris

    Warris New Member

    Same here Rob, recycle bin just stopped working, similar log to yours above. The box did crash a day or so ago so that may have been why it's stopped working.
     
  19. As af123 suggested I've upgraded multienv to the latest version but undelete has been working fine since (typical :) ) and I've had no crash.logs generated. The box has only ever crashed a couple of times since I've had it.
     
  20. Warris

    Warris New Member

    No crashes but undelete has stopped working again, so I have removed it.