Hi all, I got my site upgraded and I just wanted to finish this thread. I was using MySQL for the database and wanted to use the PooledJNDIDatabasePersistanceManager. I could not get the bootstrap to work with my 3.0.2 export files (I know there was a problem with the config import, and I suspect users, usergroups and userroles as well). As expected, the upgrade script within Magnolia also failed (documentation said 3.0.5+).
So this is the path that ended up working for me to migrate to 3.5.2: 1. Export existing author/public websites, configuration etc. as described here: http://www.magnolia.info/wiki/Wiki.jsp?page=UpgradingMagnolia 2. Export the dialogs, paragraphs and templates configuration 3. Make a copy of the "templates" and "docroot" folders 4. Reconfigure tomcat and the latest "empty" Magnolia jar to use PooledJNDIDatabasePersistanceManager: http://www.magnolia.info/wiki/Wiki.jsp?page=SettingUpMySQLRepositoryWithMagnolia3.1 5. Backup, drop and re-create the author database instance 6. Replace the author instance with the new jar 7. Run the installer script by logging into the new author instance by following the wizard. 8. copy the "templates" and "docroot" folders back into the author webapp 9. As "superuser", import the dialogs, paragraphs and templates from step 2. 10. Import the "website" file from step 1. 11. Verify the site works 12. Re-create user roles, groups and accounts (import failed for me and locked me out of the app). 13. Stop Tomcat. 14. Replace the public instance with a copy the author webapp. 15. Update the configuration to point to the "public" database: http://www.magnolia.info/wiki/Wiki.jsp?page=SettingUpMySQLRepositoryWithMagnolia3.1 16. Update WEB-INF/config/default/magnolia.properties to reflect that this is a public instance. 17. Start Tomcat. 18. Run the installer script by logging into the new public instance by following the wizard. 19. Log into the author instance. 20. Activate the dialogs, paragraphs, and templates. 21. Activate each page of the website. 22. Activate appropriate user groups, roles and users. Hope that helps someone else, Nathan ----- "Nathan Anderson" <[email protected]> wrote: > Hi Rubin, > > Thanks for the info. I'm glad to hear I have only one upgrade to work > on ;) The taglib change you mentioned, was that something specific to > your project or do you have details on what was needed? > > Thanks > Nathan > > P.S. the "website" export finally finished and now I'm an hour into > "config" :/ > > > ----- "Ruben Reusser" <[email protected]> wrote: > > we just did an upgrade of a site from 3.0.1 to 3.5.x. We had to > change > > > > our taglib a little bit but other than that it was just an almost > > straigt export/import of the site and the template node. > > > > Ruben > > > > Nathan Anderson wrote: > > > Hi folks, > > > > > > I have a site that has been running on 3.0.2 with MySQL for > > persistence for quite some time, and I finally have some time to > > upgrade. I was wondering if I need to upgrade to 3.0.5 before > going > > to 3.5.x or would an export from 3.0.2 work in 3.5.x? > > > > > > Also I found announcements and wiki pages talking about the > improved > > upgrade procedure for 3.0.5 to 3.5.x, but I can't find any > > instructions. Is there a step-by-step upgrade guide somewhere? > > > > > > Thanks > > > Nathan > > > > > > > > > > > > ---------------------------------------------------------------- > > > for list details see > > > > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > > > ---------------------------------------------------------------- > > > > > > > > > ---------------------------------------------------------------- > > for list details see > > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > > ---------------------------------------------------------------- > > > ---------------------------------------------------------------- > for list details see > http://documentation.magnolia.info/docs/en/editor/stayupdated.html > ---------------------------------------------------------------- ---------------------------------------------------------------- for list details see http://documentation.magnolia.info/docs/en/editor/stayupdated.html ----------------------------------------------------------------
