How can I get item’s workflow details/workflow history where workflow association has been deleted?

We have lots of list items where workflow instance is not showing on workflow details page. After researching i found that in sharepoint 2013, completed/suspended/terminated workflow instances will be automatically removed by auto clean up timer job and workflow manager after 30 days.

Due to this we can’t able to get log history/error details of that items. So my question is, Can we get item’s workflow details/history where workflow association has been deleted?

Any help will be appreciated. Thanks

Restore Deleted Site Collection

I’m trying to restore a site collection that has somehow been marked ‘Deleted’. I’ve been unable to restore it, as we’re unable to reference it with any of the following options:

  • Restore-SPDeletedSite <GUID>
  • Get-SPDeletedSite <GUID>, just running Get-SPDeletedSite returns null
  • Checking for it in the Central Admin recycle bin (unsure if this would work)
  • Dismounting and re-mounting the content database
  • Creating a new Site Collection with a subsite, and remounting the old content database

The last option ended up creating a new site collection in our old content database that’s just an empty site collection. Our other sites are still accessible (eg .../sites/Archive), but the root site collection and its subsites are inaccessible.

We know it’s been deleted in some fashion because after going to the SQL server and running a query on the Site Collection in question. The query was:

SELECT [Id],[Deleted]  FROM [Content_Intranet_DB].[dbo].[AllSites]  WHERE ID='DD1CC06F-8BCC-4A0E-B8D1-96A25047BFB4' 

Which returned the following results.

enter image description here

Is there any way to make the root site collection re-accessible/undeleted except for the above attempts?

We don’t have a backup of this, as it’s a UAT/testing environment but there was some people doing development work on it before it disappeared. It looks like all of the content is still present (the database is the same size as before, the site looks like it’s just a toggled deleted flag, etc).

SharePoint 2010 Alert Me Not Sending Alerts when Item Deleted

I have an alert setup on a list:

  1. Send e-mail
  2. Only send me alerts when: All changes
  3. Send me an alert when: Anything changes
  4. Send notification immediately

I received an alert when the item was added but not when the user deleted it.

Does this have to do with the user who deleted the item (which was the user who created the item)?

Why would I not receive notification that the item was deleted?

user_roles getting deleted from wp_options table in wordpress

I would like some advice on how to troubleshoot a problem on WordPress/Apache/PHP/MySQL

I am looking at the following: select * from wp_options opt where option_name like ‘%wp_user_roles%’ order by option_name

Yesterday, for some reason, all the user roles except the ones for a specific plugin was deleted. (all-in-one-event-calendar). (including the administrator role, which meant that I couldn’t get into wp-admin.) I found the problem, and restored the entry from a backup of that table entry, which got things working again. However, a day later, the roles were deleted again.

What are the steps I should take to troubleshoot this? Have done the following:

  1. I checked all the Apache access logs and error logs at around the time it happened (both times). I can almost pinpoint the time it occurs because the deletion of the roles causes my site to give a white screen and no response. Once it happens, my access logs shows that all responses to WordPress pages have a size of 0MB. Therefore, the time that the Apache responses become size 0, should be the approximate time that the deletion occured.

    I can’t see any suspicious activity around the time the deletions happened.
    I’ve geolocated the ip addresses, and checked them against stopforumspam and projecthoneypot databases to see if there were any bad ips around that time. Also, the access logs just show some GETS to normal pages and files. I don’t see any bad POSTS or malformed urls. This is an imperfect solution, since manually looking over logs is difficult.

  2. I’ve also checked the php errors, but haven’t found any issues.

  3. I’ve turned on MySQL binary logs. Hopefully, next time something updates the wp_options table, I will see the exact query that did it.

  4. I’ve updated WordPress core, and all plugins.

  5. I’ve audited the code for the plugin whose access rights haven’t been deleted.

  6. I’ve disabled that plugin just in case.

  7. I’ve updated my antivirus on that machine, and did a fulls scan (no results).

  8. I used WordFence security scanner scan all my files for infection (no results).

  9. I’ve used Wordfence to block ALL countries outside of the U.S. (we don’t do business outside).

From the access logs, I see no evidence that anyone made any attempts to log in, which is good. Wordfence shows that the only login attempts for my Admin accounts are from my local ip (and no excessive failed attempts).

Are there any other steps that I should take to find the root cause of the roles being deleted? If I just have to keep restoring the roles, it’s a nuisance. But I am worried that this is some sort of attack.

Mystery printer cannot be deleted

I was having problems with CUPS constantly adding a printer which couldn’t be used to the printer list. I googled around and acting on info found I altered /etc/cups/cups-browsed.conf. The line I changed was from

BrowseRemoteProtocols dnssd cups

to

BrowseRemoteProtocols none

This only made it impossible to find my printer and so I reverted back to the original.

Since reverting back to the original /etc/cups/cups-browsed.conf CUPS has stopped adding printers (great) but the a printer called “print” appears in the list of available printer when I want to print something, like this: enter image description here

The comment in English reads “Task rejected”. I cannot delete this printer and it does not appear in the printer configuration list:enter image description here

How can I delete theis printer?

Ubuntu broken, deleted system file libboost_system.so1.58.0

I have 16.04. Writing from my phone. I was trying to manually remove Boost and doing something like rm boost and accidentally removed some system files.

Currently have two open terminals, can’t open anything more.

But the error I get if I try to open stuff like Firefox or terminal from the terminal is:

error while loading shared libraries: libboost_system.so.1.58.0: cannot open shared object file: No such file or directory.

If I try to sudo apt-get the file it says it already exists.

I have also tried doing lsof | grep “filename” but get only PID USR and instead of the file id i get DEL, so I guess this is not an option (I’ve read this in another post about recovering files).

Is there anything I can do besides reinstalling ubuntu?

I deleted the etc/X11 folder and now the UI doesn’t work when I log with nvidia drivers installed

I was trying to change some configs of my GPU (Nvidia MX150) and I did something that made the screen freezes after login screen, so I deleted the folder with one of the files that I edited (xorg.conf), I thought if I delete this folder it was going to be rebuild somehow, but it doesn’t happen. Now I’m only able to use the UI when I purge nvidia drivers. How can I recover this folder?

I know that I did something really stupid, but I appreciate any tips you can give me.

i have 2 wifi mac adresses in my pc. i deleted by accident one of the nm-applets in the gnome bar. cannot find a way to get one of them back

My Pc Desktop, (packardbell) has two wifi adapter mac adresses. So i had 2 network (the two arrows up down) applets in my Xubuntu 18.04LTS Bar above the desktop. I stupidly deleted one them with right click remove. Now i can only use one of the two, the other one is nowhere to be found. I mean I DO have internet via Ethernet cable. But i can only access ONE of the TWO wifi Mac adress wifies i have on my pc. can anyone tell me how to get this nm-applet back to the bar above.? i have searched in the xubuntu settings, but there is nothing there to get it back. also i searched in the startup/boot configs nothing.. ?? simply running nm-applet in a terminal does also not bring it back. manage connections does also not show my extra wifi adress.