Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.89 KB | None | 0 0
  1. [root@cu182 migration]# /opt/collabnet/teamforge/runtime/scripts/migrate.py
  2. migration-err
  3. Migrating from version 6.0.1.0 to version 6.0.1.2
  4. 2010-08-19 07:16:19,647 INFO Changing working dir to /opt/collabnet/teamforge/dist
  5. 2010-08-19 07:16:19,647 INFO Start -- migration
  6. 2010-08-19 07:16:19,648 INFO Start -- Global sanity check scripts
  7. 2010-08-19 07:16:19,648 INFO No scripts found
  8. 2010-08-19 07:16:19,649 INFO End -- Global sanity check scripts
  9. 2010-08-19 07:16:19,649 INFO Start -- migration (version 6.0.1.2)
  10. migration-err
  11. 2010-08-19 07:16:19,888 INFO Starting migration at 2010-08-19 07:16:19 PDT
  12.  
  13. 2010-08-19 07:16:19,888 INFO Start -- version sanity scripts
  14. 2010-08-19 07:16:19,889 INFO No scripts found
  15. 2010-08-19 07:16:19,889 INFO End -- version sanity scripts
  16. 2010-08-19 07:16:19,890 INFO Start -- version migration scripts
  17. 2010-08-19 07:16:19,890 INFO Run script /opt/collabnet/teamforge/dist/hook-scripts/migration/ctf601_ctf601patch2/migration/50-migratorator-run.py
  18. Executing: /usr/java/jdk1.5.0_12/bin/java -Dsaas -cp migratorator.jar:sf_version.jar:saturn_common.jar:saturn.jar:xercesImpl.jar:xml-apis.jar:xmlParserAPI.jar:log4j-1.2.8.jar:pg74.216.jdbc3.jar:ojdbc14.jar com.vasoftware.sf.migratorator.MigrationManager jdbc:postgresql://cu182.cubit.sp.collab.net:5432/cu182_sp cu182_sp cu182_sp /opt/collabnet/teamforge/var/filestorage ctf601_ctf601patch2
  19. Migration script found: jar:file:/opt/collabnet/teamforge-installer/6.0.1.2/migration/migratorator_6.0.1.2/migratorator.jar!/com/vasoftware/sf/migratorator/ctf601_ctf601patch2/migration.xml
  20. log4j:WARN No appenders could be found for logger (com.vasoftware.sf.common.util.XmlErrorHandler).
  21. log4j:WARN Please initialize the log4j system properly.
  22. Running database schema migration: 6.0.1.0->6.0.1.2
  23. [2010-08-19 07:16:21.104] Executing migration script: com.vasoftware.sf.migratorator.general.UpdateSchemaVersionTable.
  24. [2010-08-19 07:16:21.434] Executing migration script: com.vasoftware.sf.migratorator.ctf601_ctf601patch2.DiscussionForumAddSummaryColumns.
  25. [2010-08-19 07:16:21.606] Executing migration script: com.vasoftware.sf.migratorator.ctf601_ctf601patch2.UpdateRootProjectIdOnProjectMemberShip.
  26. [2010-08-19 07:16:21.649] Number of root project id to be updated in projectmembership table:0
  27. [2010-08-19 07:16:21.663] Executing migration script: com.vasoftware.sf.migratorator.ctf601_ctf601patch2.InsertRootProjectIdOnProjectMemberShip.
  28. java.lang.RuntimeException: com.vasoftware.sf.migratorator.MigrationException: Unable to verify users without root project id in projectmembership table
  29. at com.vasoftware.sf.migratorator.MigrationManager.executeMigrationScript(MigrationManager.java:209)
  30. at com.vasoftware.sf.migratorator.MigrationManager.executeMigration(MigrationManager.java:150)
  31. at com.vasoftware.sf.migratorator.MigrationManager.main(MigrationManager.java:68)
  32. Caused by: com.vasoftware.sf.migratorator.MigrationException: Unable to verify users without root project id in projectmembership table
  33. at com.vasoftware.sf.migratorator.ctf601_ctf601patch2.InsertRootProjectIdOnProjectMemberShip.preExecute(InsertRootProjectIdOnProjectMemberShip.java:52)
  34. at com.vasoftware.sf.migratorator.MigrationManager.executeMigrationScript(MigrationManager.java:196)
  35. ... 2 more
  36. Caused by: org.postgresql.util.PSQLException: Result set not positioned properly, perhaps you need to call next().
  37. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.checkResultSet(AbstractJdbc1ResultSet.java:823)
  38. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1ResultSet.java:200)
  39. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1ResultSet.java:480)
  40. at com.vasoftware.sf.migratorator.ctf601_ctf601patch2.InsertRootProjectIdOnProjectMemberShip.preExecute(InsertRootProjectIdOnProjectMemberShip.java:40)
  41. ... 3 more
  42. Exception in thread "main" java.lang.RuntimeException: com.vasoftware.sf.migratorator.MigrationException: Unable to verify users without root project id in projectmembership table
  43. at com.vasoftware.sf.migratorator.MigrationManager.executeMigrationScript(MigrationManager.java:209)
  44. at com.vasoftware.sf.migratorator.MigrationManager.executeMigration(MigrationManager.java:150)
  45. at com.vasoftware.sf.migratorator.MigrationManager.main(MigrationManager.java:68)
  46. Caused by: com.vasoftware.sf.migratorator.MigrationException: Unable to verify users without root project id in projectmembership table
  47. at com.vasoftware.sf.migratorator.ctf601_ctf601patch2.InsertRootProjectIdOnProjectMemberShip.preExecute(InsertRootProjectIdOnProjectMemberShip.java:52)
  48. at com.vasoftware.sf.migratorator.MigrationManager.executeMigrationScript(MigrationManager.java:196)
  49. ... 2 more
  50. Caused by: org.postgresql.util.PSQLException: Result set not positioned properly, perhaps you need to call next().
  51. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.checkResultSet(AbstractJdbc1ResultSet.java:823)
  52. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1ResultSet.java:200)
  53. at org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1ResultSet.java:480)
  54. at com.vasoftware.sf.migratorator.ctf601_ctf601patch2.InsertRootProjectIdOnProjectMemberShip.preExecute(InsertRootProjectIdOnProjectMemberShip.java:40)
  55. ... 3 more
  56. 2010-08-19 07:16:21,700 CRITICAL /opt/collabnet/teamforge-installer/6.0.1.2/migration/migratorator_6.0.1.2/migrate.sh --database-type=postgresql --hostname=cu182.cubit.sp.collab.net --port=5432 --database-name=cu182_sp --username=cu182_sp --password=cu182_sp --filestorage=/opt/collabnet/teamforge/var/filestorage --saas ctf601_ctf601patch2 failed with exit code 1, 256 from os.system()
  57. 2010-08-19 07:16:21,701 ERROR Migratorator failed!
  58. Traceback (most recent call last):
  59. File "<string>", line 40, in migrate
  60. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 136, in runSystem
  61. app.util.runSystem(cmd, logger)
  62. File "/opt/collabnet/teamforge/dist/lib/multiplatform/python/app/util.py", line 97, in runSystem
  63. raise Exception('%s failed' % cmd)
  64. Exception: /opt/collabnet/teamforge-installer/6.0.1.2/migration/migratorator_6.0.1.2/migrate.sh --database-type=postgresql --hostname=cu182.cubit.sp.collab.net --port=5432 --database-name=cu182_sp --username=cu182_sp --password=cu182_sp --filestorage=/opt/collabnet/teamforge/var/filestorage --saas ctf601_ctf601patch2 failed
  65. 2010-08-19 07:16:21,728 INFO Command failed:/opt/collabnet/teamforge-installer/6.0.1.2/migration/migratorator_6.0.1.2/migrate.sh --database-type=postgresql --hostname=cu182.cubit.sp.collab.net --port=5432 --database-name=cu182_sp --username=cu182_sp --password=cu182_sp --filestorage=/opt/collabnet/teamforge/var/filestorage --saas ctf601_ctf601patch2
  66. ERROR Exception in version 6.0.1.2
  67. Traceback (most recent call last):
  68. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/VersionsActivity.py", line 164, in runVersionActivity
  69. activityObj.run()
  70. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/activity.py", line 131, in run
  71. self.migrate()
  72. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/activity.py", line 103, in migrate
  73. historyObj)
  74. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 182, in runOrderedScripts
  75. raise MigrationException, ''.join(getStackTraceAndException())
  76. MigrationException: Traceback (most recent call last):
  77. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 179, in runOrderedScripts
  78. historyObj, logger)
  79. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 214, in runMigrationScript
  80. raise MigrationException, ''.join(getStackTraceAndException())
  81. MigrationException: Traceback (most recent call last):
  82. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 208, in runMigrationScript
  83. runScriptFile(scriptFile, logger, scriptInfo)
  84. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 139, in runScriptFile
  85. return app.util.runScriptFile(scriptFile, logger, scriptInfo)
  86. File "/opt/collabnet/teamforge/dist/lib/multiplatform/python/app/util.py", line 331, in runScriptFile
  87. methodName, pythonLogger, version)
  88. File "/opt/collabnet/teamforge/dist/lib/multiplatform/python/app/util.py", line 186, in execPythonCode
  89. exec """
  90. File "<string>", line 6, in ?
  91. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/migration.py", line 69, in run
  92. self.migrate()
  93. File "<string>", line 46, in migrate
  94. MigrationException: Migratorator failed
  95.  
  96.  
  97. ERROR Exception in version 6.0.1.2
  98. Traceback (most recent call last):
  99. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/VersionsActivity.py", line 164, in runVersionActivity
  100. activityObj.run()
  101. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/activity.py", line 131, in run
  102. self.migrate()
  103. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/activity.py", line 103, in migrate
  104. historyObj)
  105. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 182, in runOrderedScripts
  106. raise MigrationException, ''.join(getStackTraceAndException())
  107. MigrationException: Traceback (most recent call last):
  108. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 179, in runOrderedScripts
  109. historyObj, logger)
  110. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 214, in runMigrationScript
  111. raise MigrationException, ''.join(getStackTraceAndException())
  112. MigrationException: Traceback (most recent call last):
  113. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 208, in runMigrationScript
  114. runScriptFile(scriptFile, logger, scriptInfo)
  115. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/util.py", line 139, in runScriptFile
  116. return app.util.runScriptFile(scriptFile, logger, scriptInfo)
  117. File "/opt/collabnet/teamforge/dist/lib/multiplatform/python/app/util.py", line 331, in runScriptFile
  118. methodName, pythonLogger, version)
  119. File "/opt/collabnet/teamforge/dist/lib/multiplatform/python/app/util.py", line 186, in execPythonCode
  120. exec """
  121. File "<string>", line 6, in ?
  122. File "/opt/collabnet/teamforge/dist/multiplatform/scast-upgrade/core/migration.py", line 69, in run
  123. self.migrate()
  124. File "<string>", line 46, in migrate
  125. MigrationException: Migratorator failed
  126.  
  127.  
  128. 2010-08-19 07:16:21,744 CRITICAL Migration failed: Exiting
  129. Traceback (most recent call last):
  130. File "/opt/collabnet/teamforge/runtime/scripts/migrate.py", line 203, in ?
  131. main()
  132. File "/opt/collabnet/teamforge/runtime/scripts/migrate.py", line 176, in main
  133. raise e
  134. core.exceptions.MigrationException: Migration Activity Failed
  135. [root@cu182 migration]#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement