Yes, that's a known "issue." If you delete the parent folder all children are deleted.
Sent: Monday, April 5, 2021 1:36 PM
To: dotCMS User Group
Subject: Re: [dotcms] Re: Deleted content
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
Hi Mark,
Thanks for this tip - I didn't think of searching the way suggested. However, they mystery was solved: the missing content had "Site or Folder" field associated with particular folder. Apparently deleting the folder does a cascading delete of any contentlet referenced in the "Site or Folder" field. Does this make sense?
On Monday, April 5, 2021 at 9:38:19 AM UTC-5 Mark Pitely wrote:
A little late, but if that query is what you are using, ir has about 10 things which could be wrong:
+contentType:Department +(conhost:48190c8c-42c4-46af-8d1a-0cd5db894797 conhost:SYSTEM_HOST) +catchall:surveyor* title:'surveyor'^15 title_dotraw:*surveyor*^5 +languageId:1 +deleted:false
If the host got changed, if the language got changed, etc, and this content would ghost from the search - and not be deleted at all!
Much more likely it got misplaced than deleted!
Try a manually built search and remove ALL those parameters but +contentType:Department (you don't need host, language, etc.) and see if it shows up in the list. That second half of your query as printed (may have been garbled) would likely never result in a proper query. (I mean this: +catchall:surveyor* title:'surveyor'^15 title_dotraw:*surveyor*^5 )
I mean:
#foreach ($content in $dotcontent.pull("+contentType:Department",0,'')
$content.title
#editContentlet($content.inode)
<hr>
#end
Lastly, in the maintenance tab, you could try the 'Fix Asset Inconsistencies' tool in case this is a db error, but read the caveats.
I wouldn't do it for something you can recreate.
Mark Pitely
Marywood University
On Thu, Apr 1, 2021 at 1:49 PM 'Nathan Keiter' via dotCMS User Group <
dot...@googlegroups.com> wrote:
On cloud you would need a support ticket for them to check then.
Nathan I. Keiter | Lead Network Applications Programmer | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone:
717.337.6993<tel:(717)%20337-6993>
https://www.gettysburg.edu<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu&c=E,1,iXYMWaaDUkn03G9kDVmrIiRcVFTqNfwaumQYhxardfuoWcXn1SFvAH6LV6lP2QzGa7JhtIZ_u47LmKYp5ju-S1KhZarG7I5npKRiByh33w,,&typo=1><
https://www.gettysburg.edu/<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu%2f&c=E,1,sXpfncA4GdbyNrCR-uHtIhu8kkvkonUJKJZGD2D4wnvIu_cR9McZNDuXGs-wBe7BSGa1eRlmtF6Q6lg0VBrwUJ_XCDYghU0uXqhhRDR1ARQgqOc,&typo=1>>
________________________________
From:
dot...@googlegroups.com <
dot...@googlegroups.com> on behalf of Mark Orciuch <
mark_o...@ngsltd.com>
Sent: Thursday, April 1, 2021 1:48 PM
To: dotCMS User Group
Subject: Re: [dotcms] Re: Deleted content
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
No, I am running in the cloud.
On Thursday, April 1, 2021 at 12:45:00 PM UTC-5
nke...@gettysburg.edu wrote:
I believe Lucene/ElasticSearch "+deleted" parameter correlates to "Archived" in dotCMS.
Do you have access to the hard disk of the install? If it was really deleted there should be a backup file stored there.
Nathan I. Keiter | Lead Network Applications Programmer | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone:
717.337.6993<tel:(717)%20337-6993><tel:(717)%20337-6993>
https://www.gettysburg.edu<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu&c=E,1,Rk1pH_qcgr9CvfC5Bj3_MWqcLgLEFygpqQHRZP8Yz9pl9LSNFwrmrIXcnXNTbBBluI-K-cHGDTKaGEJSfr2b62agni95HbksCOrAcUED_Qdw_Wsi65ju&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu&c=E,1,hAth3FAQ5-NQmGD9U8QEbCWQr8fMRscfjUcXvcDF2Pd3QV2anO2A1gJ6kfZh3e6q83xRwF1yOIRmJt_qBLcYkbteD_xygSaYLmvclHGhJ8VXEfx7dobKwKQrDQ,,&typo=1><
https://www.gettysburg.edu/<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu%2f&c=E,1,rY7z-9cRqHu0I8kLbGMyy4pVXEwZg31l4irrY0gtS6NbkFrdogU_I0GCm7ja9xjBajvDZKgMfiWkJH1gH8z3hxV7eqh57U5aNAMYl8uev-aRoNRMxmyM&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu%2f&c=E,1,ifIUIJU1NiM7x7vlDjjZZNJZaRwJWL2gEDhjzaVuQOaAkQocOJkkbo0ROZFd3k8Zsoj4e_8PGx8BjU75z52t6OjMqVNbEL5yyIM_kl2_0mJql-M,&typo=1>>
________________________________
From:
dot...@googlegroups.com <
dot...@googlegroups.com> on behalf of Mark Orciuch <
mark_o...@ngsltd.com>
Sent: Thursday, April 1, 2021 1:33 PM
To: dotCMS User Group
Subject: Re: [dotcms] Re: Deleted content
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
Hi Jonathan,
Thanks for the suggestion. I did re-index with the same result. I also use the Query tool with "Reindex Content" checked. I noticed that the query captured from the Search tool, has "+deleted:false" directive:
+contentType:Department +(conhost:48190c8c-42c4-46af-8d1a-0cd5db894797 conhost:SYSTEM_HOST) +catchall:surveyor* title:'surveyor'^15 title_dotraw:*surveyor*^5 +languageId:1 +deleted:false
I tried it with "+deleted:true" and nothing came up either.
On Thursday, April 1, 2021 at 12:13:40 PM UTC-5
nke...@gettysburg.edu wrote:
Mark,
You could just be experiencing an index issue. Try re-indexing the content type.
Often times a contentlet can exist in the database, but if it's not in the index (and subsequently cache) it will appear as though the content doesn't exist.
I know this first hand because we've had recent issues with the reindex thread stopping. Only a dotCMS restart can get the reindex thread going again.
Nathan I. Keiter | Lead Network Applications Programmer | I.D.E.A Council Member
Gettysburg College | Information Technology | DataSystems
Campus Box 2453 | 300 North Washington Street | Gettysburg, PA 17325
Phone:
717.337.6993<tel:(717)%20337-6993><tel:(717)%20337-6993><tel:(717)%20337-6993>
https://www.gettysburg.edu<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu&c=E,1,d83LarujRaOip_1a_NrLhb8v3MPj2HKiWdetcSTq1Ot1appmo7l9qcbtBZPpb39vEUY5PnJQ6LuY7ZQzfeimc_ICNeVBV9mfyYJ8UJsAQDkj3RE,&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu&c=E,1,BkxkhTf7P5dw8FMtyyHxWpgBf3U7LZqL2Z93zQW9zaABc802YuervWeeHcrhSYZ1IOkBrHXF8HLl9VijoL3Av5E9k4aiI762vFXPHC-ub9yQCGVSb11zKw1nv7A,&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu&c=E,1,B5xaigQx_0TEjOFxZj3mZT_g9bvxc6TnuZbpDreVZ7Vn4s-_U2USbyUx0fsZVQRMja1FffeV4UMgJ8ZkYbGsdCHgFDl4huqI-YUGdmP6TEXa-O0,&typo=1><
https://www.gettysburg.edu/<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu%2f&c=E,1,ph8szbQ8d_8EZ0Ef2t-RIwa0D7SBHL3KGfkVYyzTy4qFo5QmHvYTsIePs7HHSUrOh-Cqeg3Rix8J7dspGDHF1QWWJDVpR4RCiO_lQFRfBccsILU,&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu%2f&c=E,1,DPN1DOSFRvYCIxMsLiSRDMiz7T9QLSHuMmCxr6c1m8VsgHfmDR_MyKkQbsBdY8U4m9KBkbiWUNt7iwgSZEP07XMEffUnQV4hyKjmBxiaTw,,&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fwww.gettysburg.edu%2f&c=E,1,76u8gmCCMVSppXC83LUoEKcDNfODPnQAD3wm6IOn9jKv909WA6k8ai-sfnRLK5Pj47njfoMN7azmSSlAXTX0ul4FWeWAkSSBReCP3LCOCrFhjnyabA,,&typo=1>>
________________________________
From:
dot...@googlegroups.com <
dot...@googlegroups.com> on behalf of Mark Orciuch <
mark_o...@ngsltd.com>
Sent: Thursday, April 1, 2021 1:08 PM
To: dotCMS User Group
Subject: [dotcms] Re: Deleted content
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
________________________________
Hi Jonathan,
I don't think that API was involved. I currently have one user with ability to delete this particular piece of content. The user claims that they did not delete any content. This piece of content can be easily recreated but it would be helpful to know if any type of logging can be turned on to keep track of deletions.
On Thursday, April 1, 2021 at 11:40:56 AM UTC-5
jonathan...@dotcms.com wrote:
Even the fact that content is orchestrated by workflow, at the end the content can be also manipulated by api; so a force destroy or similar, can be possible.
However it is weird to just get content totally gone, no logs or so that give us any guess?
Best regards,
J
On Thursday, April 1, 2021 at 9:47:46 AM UTC-6 Mark Orciuch wrote:
Hello,
I have a content item missing. Not archived, just completely gone. This custom content is connected to default System Workflow so it would have to be unpublished, archived and deleted - not something that would happen by accident.
I am wondering if there is a way to tell who and when deleted a piece of content. Is there a way to delete content by not following the workflow? Many thanks in advance.
--
http://dotcms.com<
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,4m9wjyfyYtJFuqoYXZEznTytZNdM9ijZp2ttjDRV3smrrPTFktPeAvVUVGUsgmxYQYlTridnYqAgBGr2LWA4OwRuOH_l7e-areDO1tMfEm8-8MCvLQFWBc5S406r&typo=1><
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,NM5TKp4KSWhL5Fg5evhnIl1ZHGJwOogWA8p9XMh2Fe3KDkepjfr-KfZayaYxms_rdmPsGaWJigZ96yzLcl57i5ydKJD_49eGFI-DesHp&typo=1><
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,Zk2iOVFNDHnMhbZfH1GvgT2u6sbKkQIJUxCklW_UpVDxgpSqyBYSbLPJqZMhOhxmhSb0qh9rl_IhAEdrIQXltOZjvKrOCz899oIDEaFp7BrxiWjQpI52yQ,,&typo=1><
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,zO6PX5cj0A2yMW0FUfMbYzS96pHH9-PTZrmkCCP9MfsXlUya_bZFwimcend3PhJxCUbpzrTd-wmboPCzCGJME06P2XkZES-F6F8uAQBfub3vu9oQv0vfDck-0AyM&typo=1> - Open Source Java Content Management
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/037ca61b-9ac1-4d76-ab13-326e524c8fe1n%40googlegroups.com<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f037ca61b-9ac1-4d76-ab13-326e524c8fe1n%2540googlegroups.com&c=E,1,vleUCSwIUicf2mE1dBHoeCeXhVGsDGTqNb4n80WciUCZ5JYo-kPJqGldDUcgzo4sN-Gt3xgdnadsVnhdzFpIMRUXC8FTmOYqYn-opeUW88E,&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f037ca61b-9ac1-4d76-ab13-326e524c8fe1n%2540googlegroups.com&c=E,1,8HRtm3kq9gpLFHN5wZlLua1vieU6-i7keSv-ORYCUUprqXn6uUySZISAYu42XWVA2Jl-fMec68z1eE6mZ5oqGYpLqY8iuhf-7P718AzzSLE,&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f037ca61b-9ac1-4d76-ab13-326e524c8fe1n%2540googlegroups.com&c=E,1,48mpErnsYpQJ0EqYlsnk-jRoiiFRxCfjHuYTD29r8UyKzOx4Nor68yKcpTGuWyAa6v9DbmQdSi8Nbig79jlDknzHHzr8_FEWWmOoF_sikFHw9vDFe5-wk3HWHbP4&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f037ca61b-9ac1-4d76-ab13-326e524c8fe1n%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,2dB6yQiDyYl5M19nLkAqd-L6b6bn7u72OXx-wNjNS6BFgELvGlcpXcn4tv6yQh-v47iDlNbpBQNkMJOSlwmaCIWTeEx3nMCR92bKWzz_9uIDu0G7Ay6ntBW5N4k,&typo=1>.
--
http://dotcms.com<
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,kjMfeQbhVRu3L1Ddh6mNS4xZUSVKGtdHT0QPDJaq7B5chcdOS9MH9hoUg55jHgoFrSZ5DO-0UNrU7BI5PwET2pENBZ5Ib96NQzEfXS2Ak7B2_52v6MwZWw,,&typo=1><
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,gHxHCZxbhpSVrsTQUpxDQSksfkmTOUPQvFAyWcDLCG7FHYSIF0IhZ10VLhvOljrkjuKsjRlkILIX8O5XW0IivwzU6qwEj4TXrP-sFVA09uVPfzN7zg8u_Q,,&typo=1><
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,8BThJ-um_Rc7claoAX48v8pr6nCZ09p2UnaoTEvqYrUv21OTeoZ8EZJzwAe2IugajcoLlMSFoyQ8ULNaZHyxiyFGgwg6cqZpCdP2-n9aLzgXQBBPA-9j076dl-s,&typo=1> - Open Source Java Content Management
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/d8d663f1-d80d-485a-a50e-1066368ce802n%40googlegroups.com<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fd8d663f1-d80d-485a-a50e-1066368ce802n%2540googlegroups.com&c=E,1,zynGwl-c7IwrLaiJJV2W_pdAB--Hpb3fsRPMoyvXfsyr-s3A2xZn38QpruNhulQTQ2BkCh4Zg9Jhrrru5ClJSMB1Iv4nJl1ozuNwEGxWo33XaexiSY6ftw,,&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fd8d663f1-d80d-485a-a50e-1066368ce802n%2540googlegroups.com&c=E,1,DbBubgMdJXboroE2WTh01ohuNmN5Udsirfnkzx2y122OxnzawGuGPvnPiPZV9_wibybb4LwJbeMs5ilL0Q9nHWdZxnNobgupVdGnACwwoqmn7Ud7gDHr&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fd8d663f1-d80d-485a-a50e-1066368ce802n%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,TuAnmUaY1yAKCt7PiNuwdSkSqF4s6cBWXiMXI6B31eS56wy_XzFZvZkGt2gwJVAY4r40OYudfOKCfCzwiiwFxsL5b6Ugb6uCT5-9qxk3EGV8dnW5IRKbRwYOcA,,&typo=1>.
--
http://dotcms.com<
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,vI6xvV0ICun_Cd6brgKH6L3ZlrLVgSs9cr_HDl_Wp-fJqZyMVWEVHQad0hjYo9uvoa8sDdHDrZvLdQkU0ffu1CAxoTOP9La0x3R0Mzui1QUQ46ybjXaX&typo=1><
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,0XB06MDfGHSpyVbk5Kr0Co5l31HFgC1R1dov8BPtFy-rzr3x1n0h_az30Gh5u5eHxhOswG3znEAutsc_ba4jdAvtWYJdEbdQs-d3h0YGIeL6Ro4ABd2h&typo=1> - Open Source Java Content Management
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/363ad1f6-c641-4860-90a5-5f139248e87an%40googlegroups.com<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f363ad1f6-c641-4860-90a5-5f139248e87an%2540googlegroups.com&c=E,1,HVUDo_rbtKjgBorbjY-B4A-eJzbg-BAhRRrcUuxu1EuVTHsROOhwvI88_c3hEdX92AJmYYPf8bJfxQ6XsQcRbrndDyTJm-TMn-Awgu1-sxe0cL2p8u8,&typo=1><
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f363ad1f6-c641-4860-90a5-5f139248e87an%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,5madehR9q7bwpgJtwJzyEwoZQrlJyQsGwGLgAD99nkZU6gV1cwIkyrIkRL_NlcVHcFUn42HxoEVyoHDdbmdhcu8iSJE6byrt07p1EHbxyAmRXHWeqA,,&typo=1>.
--
http://dotcms.com<
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,NPwvTBwGKmaK6i-eS8sr8F9ilpuNvlK7fK3N3zxcKCpd9MLySP4G8XPo0JwSwebdJFP-SBfdS_D0KmcGpR4HxxHFgrdmdbiVK6uVX3nZtRqTB5c,&typo=1> - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
dotcms+un...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/1617299394896.11989%40gettysburg.edu<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2f1617299394896.11989%2540gettysburg.edu&c=E,1,jFkIDItgWgoPa1dtYHqtjCJssXOVFnVZiURXmF_AhEwkiMnjTZpvk7lALO8ewy7nSNbBZq3l26yKAH7L9P6MSVduwLq_dZJFkeFWFwz9rg,,&typo=1>.
--
http://dotcms.com<
https://linkprotect.cudasvc.com/url?a=http%3a%2f%2fdotcms.com&c=E,1,ODOFWgSFXfd4erKxqRZ7-jBE3Gsuh9BoOlyod_AwNIOdWG8gOHv8JJk6S-3bwYhUYruIB8Drc0Cv8M17h5B-b62qSEypfV_sPn_Zi1N2FA-GGJEUcw,,&typo=1> - Open Source Java Content Management
To view this discussion on the web visit
https://groups.google.com/d/msgid/dotcms/d68ecd46-d509-45cb-8186-9bc91c9b3fb1n%40googlegroups.com<
https://linkprotect.cudasvc.com/url?a=https%3a%2f%2fgroups.google.com%2fd%2fmsgid%2fdotcms%2fd68ecd46-d509-45cb-8186-9bc91c9b3fb1n%2540googlegroups.com%3futm_medium%3demail%26utm_source%3dfooter&c=E,1,HFIp51s-QLC2AamS3k8mokh8rebz4fsuSRR5zyOFRreer-g-1NavPaLQW1dYhhUp5ojHZgYIQdo7MZN0qeDHppvUDu7-lZlqL6wQrYSzy9q5tw,,&typo=1>.