{"id":842,"date":"2009-09-10T06:47:42","date_gmt":"2009-09-10T11:47:42","guid":{"rendered":"http:\/\/bitpost.com\/news\/?p=842"},"modified":"2011-04-06T19:16:34","modified_gmt":"2011-04-07T00:16:34","slug":"bumping-server-to-new-version-of-roundcube-0-3","status":"publish","type":"post","link":"https:\/\/bitpost.com\/news\/2009\/bumping-server-to-new-version-of-roundcube-0-3\/","title":{"rendered":"Bumping server to new version of roundcube (0.3)"},"content":{"rendered":"<p>I now have a shiny new RoundCube 0.3 install, thanks gentoo!  And I bumped up the server with an [emerge -Davu world] as well.  A glorious new day.  :><\/p>\n<p>The gory details follow.  <!--more--><\/p>\n<p>I had to do this before roundcube, mediawiki, etc. would emerge.  Also emerged a PHP extension used by roundcube&#8230;<\/p>\n<pre><code>emerge -av webapp-config\r\nemerge -Davu pecl-fileinfo<\/code><\/pre>\n<p>Then follow this&#8230;<\/p>\n<pre><code>!empty config\r\n!empty logs\r\n!empty \/var\/www\/localhost\/cgi-bin\r\n!empty \/var\/www\/localhost\/error\r\n!empty \/var\/www\/localhost\/icons\r\n--- \/var\/www\/localhost\/htdocs\/roundcube\r\n* Remove whatever is listed above by hand<\/code><\/pre>\n<p>Then this (note that step 1 has already been done by portage)&#8230;<\/p>\n<pre><code>=================================================================\r\nPOST-UPGRADE INSTRUCTIONS\r\n=================================================================\r\n\r\nUPGRADING instructions\r\n======================\r\n\r\nFirst you should remove all subfolders from \/program\/localization\/\r\nbecause most language codes have changed in 0.2-alpha. This way you\r\ncan make sure that no old localization files remain on your disk.\r\n\r\nThen follow these instructions if upgrading from a previous version\r\nof RoundCube Webmail.\r\n\r\n1. Replace index.php and all files in\r\n   - .\/bin\/\r\n   - .\/SQL\/\r\n   - .\/program\/\r\n   - .\/installer\/\r\n   - .\/skins\/default\/\r\n   - .\/plugins\/\r\n2. Run .\/bin\/update.sh from the commandline OR\r\n   open http:\/\/url-to-roundcube\/installer\/ in a browser. To enable\r\n   the latter one, you have to temporary set 'enable_installer' to true\r\n   in your local config\/main.inc.php file.\r\n3. Let the update script\/installer check your configuration and\r\n   update your config files as suggested by the updater.\r\n4. If suggested by the update script, run all commands in\r\n   .\/SQL\/[yourdbtype].update.sql that are superscribed with the\r\n   currently installed version number.\r\n5. Make sure 'enable_installer' is set to false again.\r\n6. Check .htaccess settings (some php settings could become required)\r\n<\/code><\/pre>\n<p>During the web installation, the database connection failed.  Turns out that the update SILENTLY TRASHES YOUR CONFIG FILES.  I hope you use version control for yours, like I do.  I pulled the important bits back in, including the database connection info (via PEAR DSN) and the default host (IMPORTANT STUFF!).<\/p>\n<pre>cvs diff config\/main.inc.php\r\ncvs diff config\/db.inc.php<code>\r\n<\/code><\/pre>\n<p>Also, I tried to add (optional) fileinfo functionality by emerging [pecl-fileinfo] (see above), but the installer says it&#8217;s not available &#8211; it may take a PHP reinstall (not doing it now).<br \/>\nReset [enable_installer] to false and kill the installer directory&#8230;<\/p>\n<pre><code>mv installer ~\/backup\/<\/code><\/pre>\n<p>Finish with this&#8230;<\/p>\n<pre><code>\r\n * Unused versions of roundcube detected.\r\n * To clean, run the following command:\r\n * emerge -Cav =roundcube-0.2.1<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I now have a shiny new RoundCube 0.3 install, thanks gentoo! And I bumped up the server with an [emerge -Davu world] as well. A glorious new day. :> The gory details follow.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","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":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"enabled":false},"version":2}},"categories":[15,10],"tags":[79],"class_list":["post-842","post","type-post","status-publish","format-standard","hentry","category-gentoo-server","category-tricks-tips-tools","tag-roundcube"],"aioseo_notices":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9M11L-dA","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/comments?post=842"}],"version-history":[{"count":11,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/842\/revisions"}],"predecessor-version":[{"id":1141,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/posts\/842\/revisions\/1141"}],"wp:attachment":[{"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/media?parent=842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/categories?post=842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bitpost.com\/news\/wp-json\/wp\/v2\/tags?post=842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}