Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • p 6 posts 54 karma points
    Mar 26, 2015 @ 10:55
    p
    0

    Empty Recycle Bin problem

    Umbraco v6.1.6 (Assembly version: 1.0.5021.24867)

     

    Problem: Deleted pages are still there after clicking "Empty recycle bin" and after receiving a "The recycle bin is now empty" message.

    Steps to reproduce:

    1. Right click recycle bin node

    2. Click "Empty recycle bin"

    3. You receive the "The recycle bin is now empty" message

    4. Open and reload "Recycle Bin"-nodes

    5. The deleted pages still show up

     

    More info worth knowing:

    - The deletion of I think it was 10 000 + files took several hours!!

    Are there any known work-around for this issue? 

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 26, 2015 @ 12:44
    Jan Skovgaard
    0

    Hi P

    Yeah unfortunately there is an issue with this sometimes :-/

    But think you can use this script http://blog.dampee.be/post/2011/09/19/Delete-all-items-from-recycle-bin.aspx - Make sure to read the update in the bottom since it appears some tweaking for v6 is needed.

    /Jan

  • p 6 posts 54 karma points
    Mar 26, 2015 @ 13:43
    p
    0

    Thanks Jan, will check it out and come back with an update.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 26, 2015 @ 13:48
    Jan Skovgaard
    0

    Hi P

    Sounds good - But remember to make a backup before using this query :)

    Looking forward to hearing from you.

    Fingers crossed.

    /Jan

  • p 6 posts 54 karma points
    Mar 26, 2015 @ 14:39
    p
    0

    Jan, have to tried the script yourself?

     

    I'm not really sure what they mean in the last section? run the script a few times? before or after the other scripts? this sounds a little random...

     

    EDIT 2014-08-06

    in umbraco v6 you need to run this script a few times (because it's out of order) and include this:

        delete umbracodomains
        --select umbracodomains.* 
        from umbracoDomains inner join umbracoNode on umbracodomains.domainrootstructureid = umbraconode.id
        where umbraconode.path like '%-20%' and umbraconode.id!=-20

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Mar 26, 2015 @ 15:23
    Jan Skovgaard
    0

    Hi P

    No, I have not tried it myself, that's why I recommended doing a backup before using the script - But I know who the author is and usually he knows what he's talking about :)

    Another option could be this perhaps http://www.spyriadis.net/2012/06/umbraco-fix-empty-recycle-bin-using-sql-if-backend-fails/ (Have not tried this myself either)

    /Jan

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies