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
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 :)
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?
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
Thanks Jan, will check it out and come back with an update.
Hi P
Sounds good - But remember to make a backup before using this query :)
Looking forward to hearing from you.
Fingers crossed.
/Jan
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
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
is working on a reply...