{"id":871,"date":"2010-07-19T14:46:35","date_gmt":"2010-07-19T14:46:35","guid":{"rendered":"https:\/\/www.wapshere.com\/missmiis\/?p=871"},"modified":"2010-07-20T13:54:26","modified_gmt":"2010-07-20T13:54:26","slug":"recovering-from-a-failure-of-the-installation-of-fim-update-1","status":"publish","type":"post","link":"https:\/\/www.wapshere.com\/missmiis\/recovering-from-a-failure-of-the-installation-of-fim-update-1","title":{"rendered":"Recovering from a failure of the installation of FIM Update 1"},"content":{"rendered":"<p>I just had Update 1 fail after it had already updated the database structure. The install &#8220;rolls back&#8221;, but it doesn&#8217;t roll back those DB changes, so leaves you with a down server. Here&#8217;s what I had to do to recover.<!--more--><\/p>\n<p>The message was something along the lines of &#8220;account not found&#8221;, mentioning the service account which runs the FIM Service. The account is a domain account and is certainly there. I&#8217;m afraid I didn&#8217;t write down the exact wording.<\/p>\n<p>I did have a backup of the database but I wanted to\u00c2\u00a0try a reinstall first. Annoyingly the updates had dissappeared from my Windows Update list. I could see them in the update history with a status of &#8220;Failed&#8221;, but there was no way to retry the installation.<\/p>\n<p>I had searched for a downloadable version of Update 1 before and not found it. What I have now discovered is you can download these updates direct from the <a href=\"http:\/\/catalog.update.microsoft.com\/v7\/site\/Home.aspx\">Microsoft Update Catalog<\/a>. Just search on &#8220;Forefront Identity&#8221; and there they all are.<\/p>\n<p>So first\u00c2\u00a0I reinstalled the Sync Service from the original RTM files. I had to manually remove the service account from the SQL Security\/Logins list. There was a warning about the database version being higher than the software I was installing, but at least the install completed.<\/p>\n<p>I was then able to successfully install the update that I had downloaded from the Update Catalog. This time it went through perfectly with no silly messages about accounts not found.<\/p>\n<p>I also reinstalled the Portal And Service Update (without reinstalling the RTM code). It all seems to be ok now!<\/p>\n<h3>Addendum &#8211; reinstall of the Portal<\/h3>\n<p>The following day the Portal had stopped working. In the event log was the message &#8220;The Portal cannot connect to the middle tier using the web service interface.&#8221; There seem to be a number of different causes for this error, and nothing I tried was making any difference. Eventually I decided to reinstall using the existing database.<\/p>\n<p>Reinstalling just the update made no difference. I tried a repair from the RTM setup &#8211; also no change. I then completely uninstalled the Service and Portal and attempted to reinstall from the RTM setup. The install would get right to then end then say that it had &#8220;ended prematurely due to an eror&#8221;, but didn&#8217;t tell me what the error was.<\/p>\n<p>I figured it was probably because the database had been modified by the update, but I was trying to install an earlier version of the software. Not nearly so friendly as the Sync Service installation which just gave me a polite warning. At the moment this particular\u00c2\u00a0system is in the early dev stage and I haven&#8217;t been given enough diskspace for more than a single backup of each DB &#8211; and of course the backup ran overnight and overwrote my pre-update version. However, after having waited two days for the initial data load, I was very keen to keep the current database.<\/p>\n<p>What worked in the end was this: I backed up and dropped the FIMService database. I then installed RTM with a fresh DB, and tested the Portal worked. I then installed the update and tested the Portal. Finally I dropped the new DB, restored the old one, and restarted the FIM sevice. Amazingly it has worked and I now have a functioning Portal with all my data!<\/p>\n<p>I wonder if it will still be working tomorrow&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I just had Update 1 fail after it had already updated the database structure. The install &#8220;rolls back&#8221;, but it doesn&#8217;t roll back those DB changes, so leaves you with a down server. Here&#8217;s what I had to do to recover.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"footnotes":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":[]},"categories":[42],"tags":[],"class_list":["post-871","post","type-post","status-publish","format-standard","hentry","category-fim-2010"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pkp1o-e3","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/comments?post=871"}],"version-history":[{"count":5,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/871\/revisions"}],"predecessor-version":[{"id":875,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/posts\/871\/revisions\/875"}],"wp:attachment":[{"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/media?parent=871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/categories?post=871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wapshere.com\/missmiis\/wp-json\/wp\/v2\/tags?post=871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}