{"id":252,"date":"2011-03-17T23:04:00","date_gmt":"2011-03-17T22:04:00","guid":{"rendered":"http:\/\/bergatrollet.se\/blog\/?p=252"},"modified":"2011-03-19T12:15:28","modified_gmt":"2011-03-19T11:15:28","slug":"more-gallery-2-gallery-3","status":"publish","type":"post","link":"https:\/\/bergatrollet.se\/blog\/2011\/03\/more-gallery-2-gallery-3\/","title":{"rendered":"More Gallery 2 -> gallery 3"},"content":{"rendered":"<p>Installing Gallery 3 is no problem. Migrating Gallery 2 data to Gallery 3  is also not a problem (if you manage to enter the reference properlyas described in a previous post). The tricky part is to update 2-&gt;3 in the same path. This is how they suggest you do it:<\/p>\n<p><a title=\"Upgrag summaryding\/Importin\" href=\"http:\/\/codex.gallery2.org\/Gallery3:Modules:g2_import\" target=\"_blank\"><strong>Upgrading\/importing summary<\/strong><\/a><\/p>\n<ol>\n<li>Backup your g2 (data folder and database)<\/li>\n<li>Put g3 on your server, e.g. to a parallel folder to your g2.<\/li>\n<li>Install g3<\/li>\n<li>Enable the comments module and the g2 import module in g3<\/li>\n<li>Configure g3&#8217;s g2 import module and run the import process.<\/li>\n<li>Rename your g2 folder to something else (e.g. from &#8220;gallery&#8221; to &#8220;gallery_old&#8221;)<\/li>\n<li>Rename your g3 folder to what the g2 folder used to be (e.g. &#8220;gallery3&#8221; to &#8220;gallery&#8221;)<\/li>\n<li>Add the mod_rewrite rules from g3&#8217;s g2_import module page to your .htaccess file to ensure that the g2 urls continue to work<\/li>\n<li>Delete your g2 folder (&#8220;gallery_old&#8221;), it&#8217;s no longer needed. you can delete your g2 database as well. (but keep your backups)<\/li>\n<\/ol>\n<p>If the<a title=\"Bergatrollets bilder\" href=\"http:\/\/www.bergatrollet.se\/pics\"> pictures on this site<\/a> worked, then you know the above is corret \ud83d\ude42<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Installing Gallery 3 is no problem. Migrating Gallery 2 data to Gallery 3 is also not a problem (if you manage to enter the reference properlyas described in a previous post). The tricky part is to update 2-&gt;3 in the &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/bergatrollet.se\/blog\/2011\/03\/more-gallery-2-gallery-3\/\"> <span class=\"screen-reader-text\">More Gallery 2 -> gallery 3<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_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,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[68,52],"tags":[],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-gallery","category-software"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pkM6p-44","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":4,"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":256,"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/posts\/252\/revisions\/256"}],"wp:attachment":[{"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/bergatrollet.se\/blog\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}