|
Yes, there the problem still exists. Also, it seems to me the command line options and database urls are mixed up in the section on importing the data. I will give more details on the exceptions. In my original post, I tried to migrate a 1.1-beta-4 instance to 1.2.3 and I experienced problems while exporting the data. Below, I give you the detailed information. Again, when specifying both options together, the export command succeeds. === Version 1.1-beta-4 (users only) === user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.1-beta-4-app.jar -usersJdbcUrl jdbc:derby:/test/continuum-1.1-beta-4/data/users/database -mode EXPORT -directory back1.1-beta-4 0 [main] INFO org.apache.maven.continuum.management.DataManagementCli - Processing Redback database... === Version 1.2.3.1 (users only) === user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.2.3.1-app.jar -usersJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users -mode EXPORT -directory users 6071 [main] WARN JPOX.JDO - Illegal state of AutoStart, disabling it. To enable it, resolve earlier errors. === Version 1.2.3.1 (both options) === user@host:/tmp$ java -Xmx512m -jar data-management-cli-1.2.3.1-app.jar -usersJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/users -buildsJdbcUrl jdbc:derby:/test/apache-continuum-1.2.3/data/databases/continuum -mode EXPORT -directory bar 29519 [main] WARN JPOX.JDO - Illegal state of AutoStart, disabling it. To enable it, resolve earlier errors. So you can export the builds database separately, but you cannot export the users database unless you also export the builds database? That's strange. I haven't needed to export users in a while, so wasn't testing that part. Thanks for helping me get this straight. Here's the latest version in svn with the export command combined, and the urls in the import commands fixed: (In an hour or so the formatted version at http://continuum.apache.org/docs/1.2.4-SNAPSHOT/installation/upgrade.html Please let me know if it's correct now.
At least, that's my experience. The export is working fine now. |
||||||||||||||||||||||||||||||||||||||||||||||
Please take a look at the latest docs and see if there is still a problem:
http://continuum.apache.org/docs/1.2.3.1/installation/upgrade.html
I left it with two separate commands, but used different directories for builds vs. users.