Failed to update from 11.6.16 to 11.7.1 (OD-2299)
Nikolai Filchenko opened 10 months ago
--> Wrapper Started as Console
Java Service Wrapper Standard Edition 64-bit 3.5.51
  Copyright (C) 1999-2022 Tanuki Software, Ltd. All Rights Reserved.
    http://wrapper.tanukisoftware.com
  Licensed to OneDev for Service Wrapping

Launching a JVM...
WrapperManager: Initializing...
INFO  - Launching application from '/app'...
INFO  - Starting application...
INFO  - Upgrading /opt/onedev...
INFO  - >>> INFO  - Launching application from '/opt/onedev'...
INFO  - >>> INFO  - Cleaning temp directory...
INFO  - >>> INFO  - Starting application...
INFO  - >>> INFO  - Waiting for server to stop...
INFO  - >>> INFO  - Stopping application...
INFO  - Backing up old program files as /opt/onedev/site/program-backup/2025-02-28_11-17-32...
INFO  - Backing up database as /opt/onedev/site/db-backup/2025-02-28_11-17-32.zip...
INFO  - >>> INFO  - Launching application from '/opt/onedev'...
INFO  - >>> INFO  - Cleaning temp directory...
INFO  - >>> INFO  - Starting application...
INFO  - >>> INFO  - Waiting for server to stop...
INFO  - >>> INFO  - Backing up database to /opt/onedev/site/db-backup/2025-02-28_11-17-32.zip...
INFO  - >>> INFO  - Exporting table 'BuildParam'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->15) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'BuildParams.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PackQueryPersonalization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'DashboardGroupShare'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'GpgKey'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'CommitQueryPersonalization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'ReviewedDiff'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->57) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'ReviewedDiffs.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'UserAuthorization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->50) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'UserAuthorizations.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueCommentReaction'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'UnitTestMetric'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->30) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'UnitTestMetrics.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueLink'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->3) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'IssueLinks.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Setting'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->25) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Settings.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueQueryPersonalization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueVote'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'JobCache'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->2) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'JobCaches.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'EmailAddress'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->9) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'EmailAddresss.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'BuildLabel'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'CodeCommentStatusChange'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->1) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'CodeCommentStatusChanges.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Alert'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'DashboardUserShare'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'GitLfsLock'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Membership'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->2) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Memberships.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'CodeCommentMention'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'AccessTokenAuthorization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'AccessToken'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->3) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'AccessTokens.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestChange'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->122) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PullRequestChanges.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'GroupAuthorization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Group'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->1) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Groups.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'UserInvitation'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PackBlobAuthorization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->595) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PackBlobAuthorizations.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueWatch'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->33) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'IssueWatchs.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestMention'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'BuildDependence'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->2) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'BuildDependences.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'CoverageMetric'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->27) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'CoverageMetrics.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueAuthorization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->11) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'IssueAuthorizations.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'ModelVersion'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->1) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'ModelVersions.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'BuildQueryPersonalization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PackLabel'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'LinkAuthorization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'LinkSpec'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->2) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'LinkSpecs.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueTouch'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->33) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'IssueTouchs.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestQueryPersonalization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueField'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->99) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'IssueFields.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestReview'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->17) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PullRequestReviews.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'ProblemMetric'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->50) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'ProblemMetrics.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestLabel'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->9) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PullRequestLabels.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestAssignment'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->25) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PullRequestAssignments.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueMention'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestReaction'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueReaction'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueStateHistory'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->37) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'IssueStateHistorys.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueWork'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestWatch'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->76) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PullRequestWatchs.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueComment'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->4) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'IssueComments.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'DashboardVisit'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Dashboard'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'CodeCommentQueryPersonalization'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueSchedule'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Iteration'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'CodeCommentReply'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->3) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'CodeCommentReplys.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'SshKey'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->5) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'SshKeys.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'AgentAttribute'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Stopwatch'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestCommentReaction'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestComment'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->2) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PullRequestComments.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequestUpdate'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->507) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PullRequestUpdates.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PackBlobReference'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->450) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PackBlobReferences.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PackBlob'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->589) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PackBlobs.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Pack'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->55) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Packs.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Build'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->418) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Builds.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Agent'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'AgentToken'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'AgentLastUsedDate'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'IssueChange'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->11) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'IssueChanges.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Issue'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->33) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Issues.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PendingSuggestionApply'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'PullRequest'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->56) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'PullRequests.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'CodeComment'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->9) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'CodeComments.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'User'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->10) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Users.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'ProjectLabel'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Project'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->24) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Projects.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'ProjectLastEventDate'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->24) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'ProjectLastEventDates.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'LabelSpec'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->1) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'LabelSpecs.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Exporting table 'Role'...
INFO  - >>> INFO  - Querying table ids...
INFO  - >>> INFO  - Loading table rows (1->11) from database...
INFO  - >>> INFO  - Converting table rows to XML...
INFO  - >>> INFO  - Writing resulting XML to file 'Roles.xml...
INFO  - >>> INFO  - 
INFO  - >>> INFO  - Building zip: /opt/onedev/site/db-backup/2025-02-28_11-17-32.zip
INFO  - >>> INFO  - Database is successfully backed up to /opt/onedev/site/db-backup/2025-02-28_11-17-32.zip
INFO  - >>> INFO  - Stopping application...
INFO  - Cleaning database with old program...
INFO  - >>> INFO  - Launching application from '/opt/onedev'...
INFO  - >>> INFO  - Cleaning temp directory...
INFO  - >>> INFO  - Starting application...
INFO  - >>> INFO  - Waiting for server to stop...
INFO  - >>> INFO  - Database is cleaned successfully
INFO  - >>> INFO  - Stopping application...
INFO  - Updating program files...
INFO  - Restoring database with new program...
INFO  - >>> INFO  - Launching application from '/opt/onedev'...
INFO  - >>> INFO  - Cleaning temp directory...
INFO  - >>> INFO  - Starting application...
INFO  - >>> INFO  - Restoring database from /opt/onedev/site/db-backup/2025-02-28_11-17-32.zip...
INFO  - >>> INFO  - Waiting for server to stop...
INFO  - >>> ERROR - Error booting application
INFO  - >>> java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
INFO  - >>>     at io.onedev.commons.bootstrap.Bootstrap.unchecked(Bootstrap.java:319)
INFO  - >>>     at io.onedev.commons.utils.ExceptionUtils.unchecked(ExceptionUtils.java:31)
INFO  - >>>     at io.onedev.server.data.migration.MigrationHelper.migrate(MigrationHelper.java:151)
INFO  - >>>     at io.onedev.server.data.DefaultDataManager.migrateData(DefaultDataManager.java:346)
INFO  - >>>     at io.onedev.server.commandhandler.RestoreDatabase.doRestore(RestoreDatabase.java:100)
INFO  - >>>     at io.onedev.server.commandhandler.RestoreDatabase.lambda$start$0(RestoreDatabase.java:74)
INFO  - >>>     at io.onedev.server.commandhandler.CommandHandler.doMaintenance(CommandHandler.java:32)
INFO  - >>>     at io.onedev.server.commandhandler.RestoreDatabase.start(RestoreDatabase.java:67)
INFO  - >>>     at io.onedev.commons.loader.DefaultPluginManager.start(DefaultPluginManager.java:44)
INFO  - >>>     at io.onedev.commons.loader.AppLoader.start(AppLoader.java:60)
INFO  - >>>     at io.onedev.commons.bootstrap.Bootstrap.main(Bootstrap.java:200)
INFO  - >>> Caused by: java.lang.reflect.InvocationTargetException: null
INFO  - >>>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO  - >>>     at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
INFO  - >>>     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
INFO  - >>>     at java.base/java.lang.reflect.Method.invoke(Method.java:566)
INFO  - >>>     at io.onedev.server.data.migration.MigrationHelper.migrate(MigrationHelper.java:149)
INFO  - >>>     ... 8 common frames omitted
INFO  - >>> Caused by: io.onedev.commons.utils.ExplicitException: Unable to find pack blob file for migration (blob file: /opt/onedev/site/projects/4/packages/2b/93/2b93477d04d6f6c807c18ee662b7ddbb5f6aee26e346f50cef438c2bec2272a8, target projects: 4)
INFO  - >>>     at io.onedev.server.data.migration.DataMigrator.migrate189(DataMigrator.java:7486)
INFO  - >>>     ... 13 common frames omitted
INFO  - >>> INFO  - Stopping application...
ERROR - Failed to upgrade /opt/onedev
INFO  - >>> INFO  - Launching application from '/opt/onedev'...
INFO  - >>> INFO  - Cleaning temp directory...
INFO  - >>> INFO  - Starting application...
INFO  - >>> INFO  - Waiting for server to stop...
INFO  - >>> INFO  - Stopping application...
INFO  - Restoring old program files...
INFO  - Old program files restored
INFO  - Restoring old database...
INFO  - >>> INFO  - Launching application from '/opt/onedev'...
INFO  - >>> INFO  - Cleaning temp directory...
INFO  - >>> INFO  - Starting application...
INFO  - >>> INFO  - Restoring database from /opt/onedev/site/db-backup/2025-02-28_11-17-32.zip...
INFO  - >>> INFO  - Waiting for server to stop...
INFO  - >>> INFO  - Creating tables...
INFO  - >>> INFO  - Importing data into database...
INFO  - >>> INFO  - Importing from data file 'ModelVersions.xml'...
INFO  - >>> INFO  - Importing from data file 'Roles.xml'...
INFO  - >>> INFO  - Importing from data file 'LabelSpecs.xml'...
INFO  - >>> INFO  - Importing from data file 'ProjectLastEventDates.xml'...
INFO  - >>> INFO  - Importing from data file 'Projects.xml'...
INFO  - >>> INFO  - Importing from data file 'Users.xml'...
INFO  - >>> INFO  - Importing from data file 'CodeComments.xml'...
INFO  - >>> INFO  - Importing from data file 'PullRequests.xml'...
INFO  - >>> INFO  - Importing from data file 'Issues.xml'...
INFO  - >>> INFO  - Importing from data file 'IssueChanges.xml'...
INFO  - >>> INFO  - Importing from data file 'Builds.xml'...
INFO  - >>> INFO  - Importing from data file 'Packs.xml'...
INFO  - >>> INFO  - Importing from data file 'PackBlobs.xml'...
INFO  - >>> INFO  - Importing from data file 'PackBlobReferences.xml'...
INFO  - >>> INFO  - Importing from data file 'PullRequestUpdates.xml'...
INFO  - >>> INFO  - Importing from data file 'PullRequestComments.xml'...
INFO  - >>> INFO  - Importing from data file 'SshKeys.xml'...
INFO  - >>> INFO  - Importing from data file 'CodeCommentReplys.xml'...
INFO  - >>> INFO  - Importing from data file 'IssueComments.xml'...
INFO  - >>> INFO  - Importing from data file 'PullRequestWatchs.xml'...
INFO  - >>> INFO  - Importing from data file 'IssueStateHistorys.xml'...
INFO  - >>> INFO  - Importing from data file 'PullRequestAssignments.xml'...
INFO  - >>> INFO  - Importing from data file 'PullRequestLabels.xml'...
INFO  - >>> INFO  - Importing from data file 'ProblemMetrics.xml'...
INFO  - >>> INFO  - Importing from data file 'PullRequestReviews.xml'...
INFO  - >>> INFO  - Importing from data file 'IssueFields.xml'...
INFO  - >>> INFO  - Importing from data file 'IssueTouchs.xml'...
INFO  - >>> INFO  - Importing from data file 'LinkSpecs.xml'...
INFO  - >>> INFO  - Importing from data file 'IssueAuthorizations.xml'...
INFO  - >>> INFO  - Importing from data file 'CoverageMetrics.xml'...
INFO  - >>> INFO  - Importing from data file 'BuildDependences.xml'...
INFO  - >>> INFO  - Importing from data file 'IssueWatchs.xml'...
INFO  - >>> INFO  - Importing from data file 'PackBlobAuthorizations.xml'...
INFO  - >>> INFO  - Importing from data file 'Groups.xml'...
INFO  - >>> INFO  - Importing from data file 'PullRequestChanges.xml'...
INFO  - >>> INFO  - Importing from data file 'AccessTokens.xml'...
INFO  - >>> INFO  - Importing from data file 'Memberships.xml'...
INFO  - >>> INFO  - Importing from data file 'CodeCommentStatusChanges.xml'...
INFO  - >>> INFO  - Importing from data file 'EmailAddresss.xml'...
INFO  - >>> INFO  - Importing from data file 'JobCaches.xml'...
INFO  - >>> INFO  - Importing from data file 'Settings.xml'...
INFO  - >>> INFO  - Importing from data file 'IssueLinks.xml'...
INFO  - >>> INFO  - Importing from data file 'UnitTestMetrics.xml'...
INFO  - >>> INFO  - Importing from data file 'UserAuthorizations.xml'...
INFO  - >>> INFO  - Importing from data file 'ReviewedDiffs.xml'...
INFO  - >>> INFO  - Importing from data file 'BuildParams.xml'...
INFO  - >>> INFO  - Applying foreign key constraints...
INFO  - >>> INFO  - Database is successfully restored from /opt/onedev/site/db-backup/2025-02-28_11-17-32.zip
INFO  - >>> INFO  - Stopping application...
INFO  - Old database restored
ERROR - !! Failed to upgrade /opt/onedev
INFO  - *** After solving the problem, please restart container with correct image ***
TERM trapped.  Shutting down.
INFO  - Stopping application...
<-- Wrapper Stopped

onedev is running in kubernetes.

Project 4 does not have any builds or packages visible in web interface. /opt/onedev/site/projects/4/ does not exist in container

  • Nikolai Filchenko commented 10 months ago

    Found two packblobs in database, tried fix with:

    onedev=> DELETE FROM o_packblobauthorization WHERE o_project_id=4;
    onedev=> DELETE FROM o_packblob WHERE o_project_id=4;
    

    Looks like it solved issue.

  • Nikolai Filchenko changed fields 10 months ago
    Name Previous Value Current Value
    Priority
    Normal
    Minor
  • OneDev changed state to 'Closed' 10 months ago
    Previous Value Current Value
    Open
    Closed
  • OneDev commented 10 months ago

    State changed as code fixing the issue is committed (b0a595e5)

  • OneDev changed state to 'Released' 10 months ago
    Previous Value Current Value
    Closed
    Released
  • OneDev commented 10 months ago

    State changed as build OD-5973 is successful

issue 1/1
Type
Bug
Priority
Minor
Assignee
Affected Versions
11.6.16
Labels
No labels
Issue Votes (0)
Watchers (2)
Reference
OD-2299
Please wait...
Connection lost or session expired, reload to recover
Page is in error, reload to recover