I'm wondering if anyone has any experience of migrating the between back-end databases.
I'm attempting to migrate away from our ageing Oracle 9i database to mySQL 5.5.x. I've followed the instructions on the atlassian website (https://confluence.atlassian.com/display/CONF43/Migrate+to+Another+Database) and used method #2 (as my attachments folder is ~1.4GB).
The migration works (at least it doesn't throw errors during the process), but when i log in and look at the installed plugins all i see is what i suspect is a default set of plugins belonging to a new installation, all my manually installed plugins (like SQL Plugin, Page Information Tools, etc, etc ) are missing. As a result pages using these plugins show "unknown macro" in place of expected functionality.
If I revert back to the previous Oracle database configuration (confluence.cfg.xml) and restart, all the missing plugins return and are functional.
I can only assume the plugins/associated configurations are stored in full/part in the database. I'm beginning to wonder weather I'm missing a step during my database migration and/or whether plugins need to be dealt with in another manner
FYI. I have the confluence db (in MySQL 5.5) created as outlined below (it did occur to me whether DB character-set / language is influence this).
CREATE DATABASE confluencedb CHARACTER SET utf8 COLLATE utf8_bin;
Any pointers / advice would be most welcome.
Gavin.
The documentation also states that you need to "make note" of your installed plugins. I guess the manual installation approach is the accepted approach.
Not sure if this would work but, copy the whole data directory for confluence not just the attachements folder. Make sure you edit your confluence.cfg.xml file to point to your new database or rename the file to configure the database in the install gui.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey Jason, thanks for the feedback. Unfortunately copying the who data directrory still doens't help (my test was to use the a a mysql confluence.cfg.xml in the orginal data directory (where jar files reside). It seems to me there must be something stored in the database (perhaps plugin registration?). I'll test further - but for now it seems like manually installing the plugins is way forward.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
UPDATE: I've manually installed all the plug-ins from the market. This approach feels a little clumsy so still interested if there's a more optimal / preferred method.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.