How to f***up sharepoint in seconds ! (warning)

Necuno

Court Jester
Joined
Sep 27, 2005
Messages
58,566
Reaction score
3,437
How to f***up sharepoint in seconds ! (warning)

Just to share my experience. I needed to uninstall and remove a feature that was missing as a sever-side dependency. After trying numerous things I've decided to do a force remove through STSADM. While going through the sites I accentually had the command execute as STSADM -o UNINSTALL.

That ****ed up sharepoint instantly. I've tried for about 2 hours to resurrect the poor beast, but in the end I had to uninstall sharepoint and reinstall it. At least I could point it to the existing content database (existing farm) and was able to get everything back as it was with minimal effort.

be warned it totally kills your sharepoint in seconds :eek::mad:
 
Nasty. Had to hurt. But I sure you meant Uninstallfeature and not uninstall. must've been 2007 and not 2010?
 
Uninstalling a feature does not retract it. You should have been able to re-deploy with minimal fuss from central admin.
 
Yeah I think something is missing from this story especially as reinstalling could allow the Content DB to be accessed

Anyway,the BEST tool i've found for cleaning up Sharepoint is here
Code:
Project Description
Find faulty FeatureDefinitions and cleanly uninstall them.
Find Feature remainders in Sites, SiteCollections, WebApps and in the Farm, from e.g. forcefully uninstalled Features from farm without deactivating them before, causing errors.
Also, de-/activate Features Farm wide.
 
Uninstalling a feature does not retract it. You should have been able to re-deploy with minimal fuss from central admin.
Yeah I think something is missing from this story especially as reinstalling could allow the Content DB to be accessed

Anyway,the BEST tool i've found for cleaning up Sharepoint is here
Code:
Project Description
Find faulty FeatureDefinitions and cleanly uninstall them.
Find Feature remainders in Sites, SiteCollections, WebApps and in the Farm, from e.g. forcefully uninstalled Features from farm without deactivating them before, causing errors.
Also, de-/activate Features Farm wide.

Thanks I'll give that spin :)

Nothing missing from the story as I've said the initial error was "...missing server-side dependency" (in farm) with a guid to a feature which I looked up and through numerous methods tried to remove/fix, but in the end I accidentally executed stsadm -o uninstall. Obviously I tried the front-end methods first and yes I do know how retraction works. Trust me I've tried and died them all...
 
Thanks I'll give that spin :)

Nothing missing from the story as I've said the initial error was "...missing server-side dependency" (in farm) with a guid to a feature which I looked up and through numerous methods tried to remove/fix, but in the end I accidentally executed stsadm -o uninstall. Obviously I tried the front-end methods first and yes I do know how retraction works. Trust me I've tried and died them all...

I've had a similar issue with templates that were saved with features that were removed but didnt clean up any of the content,same error. Used the Featureadmin to clean up the messes

Basically you give Featureadmin the Address to your Sharepoint collection,run a scan which checks for any missing dependancies,then remove the references from anything it finds. For the parts it can't clean up it will list a GUID you can query from the SQL DB to find which pages reference this and remove it ( even deleted pages can lock up feature removal )
 
I've had a similar issue with templates that were saved with features that were removed but didnt clean up any of the content,same error. Used the Featureadmin to clean up the messes

Basically you give Featureadmin the Address to your Sharepoint collection,run a scan which checks for any missing dependancies,then remove the references from anything it finds. For the parts it can't clean up it will list a GUID you can query from the SQL DB to find which pages reference this and remove it ( even deleted pages can lock up feature removal )

tx for this. going to give it try on my dev machine. with my tinkering it is looking a bit hairy :P
 
Top
Sign up to the MyBroadband newsletter
X