{"id":981,"date":"2013-03-24T17:31:33","date_gmt":"2013-03-24T22:31:33","guid":{"rendered":"http:\/\/yourLinuxGuy.com\/?p=981"},"modified":"2013-03-24T17:35:00","modified_gmt":"2013-03-24T22:35:00","slug":"ifolder-3-8-on-opensuse-12-1-or-11-4-part-2","status":"publish","type":"post","link":"https:\/\/yourLinuxGuy.com\/?p=981","title":{"rendered":"iFolder 3.8 on Opensuse 12.1 (or 11.4), Part 2"},"content":{"rendered":"<p>First things first.\u00a0 I want to thank all the folks that have poured a ton into making iFolder work for me.\u00a0 To all the unknown and un-named, thank you.\u00a0 Now, of course there are a few of you for which I have names, and I most definitely thank you too (in no particular order): Daniel and the NoFolder crew, Ravi Kumar, Stan, Mike, Peter, Shanti, and Chris&#8230; and everyone else who commented on <a title=\"http:\/\/yourlinuxguy.com\/?p=916\" href=\"http:\/\/yourlinuxguy.com\/?p=916\" target=\"_blank\">the previous iFolder posts<\/a>.<\/p>\n<p>Now to bring you up-to-speed &#8212; Thanks to Chris&#8217; latest posts in the comment section of &#8220;<a title=\"http:\/\/yourlinuxguy.com\/?p=916\" href=\"http:\/\/yourlinuxguy.com\/?p=916\" target=\"_blank\">iFolder 3.8 on Opensuse 12.1 (or 11.4), Part 1<\/a>&#8220;, I&#8217;ve been able to repair my running iFolder server built to the specs and steps as I wrote in the post (you can read all the comments there to find out why it didn&#8217;t work right).\u00a0 My iFolder system was already fully running in support of the local client on the PCs for the last year or more, but now I have working webaccess too!\u00a0 Woo-hoo!\u00a0 And I wanted to take Chris&#8217; comments and turn it into a step-by-step repair guide, so nobody has to destroy a running system (if you already have one).<\/p>\n<p>So to repeat\/summarize\/clarify, this is to take a previously-built iFolder system (again, as built in <a title=\"http:\/\/yourlinuxguy.com\/?p=916\" href=\"http:\/\/yourlinuxguy.com\/?p=916\" target=\"_blank\">Part 1<\/a>), on a 64-bit Opensuse server, and update it to get a working file upload\/download functionality.\u00a0 Basically, we need to do surgery to get the new\/current <code>mono<\/code> out, and replace it with the old <code>mono<\/code>, without killing the patient.\u00a0 \ud83d\ude09\u00a0 As always, no promises;\u00a0 as your result may be different.\u00a0 And for pete&#8217;s sake get a backup or snapshot before doing these steps!\u00a0 Now, on to the nitty-gritty&#8230;<\/p>\n<p>Stop apache:<\/p>\n<pre>rcapache2 stop<\/pre>\n<p>To find out what <code>mono<\/code> items I had installed:<\/p>\n<pre>zypper se -i mono-*<\/pre>\n<p>I think <code>zypper<\/code> can be dangerous to do the removal, unless you are extremely careful; as it is inclined to remove other stuff too, if you&#8217;re not watching closely.\u00a0 In fact, just to prove it, here&#8217;s what it wants to do if you start to remove a few of the RPMs (note the unnecessary removals of the iFolder RPMs):<\/p>\n<p><code>The following packages are going to be REMOVED:<\/code><br \/>\n<code>apache2-mod_mono <strong>ifolder3-enterprise<\/strong> <strong>log4net<\/strong> mono-core mono-data mono-data-sqlite mono-extras mono-mvc mono-wcf mono-web mono-winforms<\/code><br \/>\n<code><strong>novell-ifolder-enterprise-plugins<\/strong> xsp<\/code><\/p>\n<p>So, I prefer to use the good ol&#8217; <code>rpm<\/code> for this removal, and tell it that it needs to ignore the dependencies on a few things:<\/p>\n<pre>rpm -e --nodeps apache2-mod_mono mono-core mono-data mono-data-sqlite mono-extras mono-mvc mono-wcf mono-web mono-winforms xsp<\/pre>\n<p>Now on to installing the lower-version mono files.\u00a0 These few can be installed in this order, separately:<\/p>\n<pre>rpm -Uvh http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/x86_64\/mono-core-2.6.7-4.1.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/x86_64\/mono-data-2.6.7-4.1.x86_64.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/x86_64\/mono-data-sqlite-2.6.7-4.1.x86_64.rpm<\/pre>\n<p>These should be installed together to cover all the dependencies (note that they are all on one command):<\/p>\n<pre>rpm -Uvh http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/x86_64\/mono-wcf-2.6.7-4.1.x86_64.rpm http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/x86_64\/mono-winforms-2.6.7-4.1.x86_64.rpm http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/x86_64\/mono-extras-2.6.7-4.1.x86_64.rpm http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/x86_64\/mono-web-2.6.7-4.1.x86_64.rpm<\/pre>\n<p>Then back to separate installs (just for clarity in the blog format, really; they could all be done at once):<\/p>\n<pre>rpm -Uvh http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/noarch\/xsp-2.6.5-38.1.noarch.rpm\r\nrpm -Uvh http:\/\/download.opensuse.org\/repositories\/home:\/shantikulkarni:\/ifolder\/openSUSE_12.1\/x86_64\/apache2-mod_mono-2.6.3-4.1.x86_64.rpm<\/pre>\n<p>(NOTE:\u00a0 I&#8217;ve saved all these RPMs myself for future reference, in case these disappear someday too&#8230;\u00a0 If it happens, let me know&#8230;)<\/p>\n<p>The re-start apache:<\/p>\n<pre>rcapache2 start<\/pre>\n<p>And that should be it! If all went well, all your data and users and such are exactly as you left them.\u00a0 At least it was for me.\u00a0 Obviously, you&#8217;d have to get different RPMs for 32-bit, and I haven&#8217;t yet tested this on Opensuse 12.2, but there&#8217;s always another day&#8230;<\/p>\n<p>Next I&#8217;ll create a fresh new guide to replace the &#8220;Part 1&#8221; post, but I don&#8217;t want to take that down due to historical significance.\u00a0 So expect a &#8220;Part 3&#8221; coming soon&#8230;\u00a0 And thanks again&#8230;<\/p>\n<p>\ud83d\ude0e<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>First things first.\u00a0 I want to thank all the folks that have poured a ton into making iFolder work for me.\u00a0 To all the unknown and un-named, thank you.\u00a0 Now, of course there are a few of you for which&#8230;<br \/><a class=\"read-more-button\" href=\"https:\/\/yourLinuxGuy.com\/?p=981\">Read more<\/a><\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[35,11,106,111,114],"tags":[120,118,119,150,116,121,122,117,123],"class_list":["post-981","post","type-post","status-publish","format-standard","hentry","category-ifolder3","category-intermediate","category-opensuse11-4","category-opensuse12-1","category-opensuse12-2","tag-11-4","tag-12-1","tag-12-2","tag-ifolder","tag-ifolder-3-8","tag-log4net","tag-mono","tag-opensuse","tag-xsp"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pnjn1-fP","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/981","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=981"}],"version-history":[{"count":10,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/981\/revisions"}],"predecessor-version":[{"id":992,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=\/wp\/v2\/posts\/981\/revisions\/992"}],"wp:attachment":[{"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=981"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=981"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yourLinuxGuy.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=981"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}