Shamil opened 2 years ago
|
|||||
From which 4.x version are you performing the upgrade? Please note that OneDev only supports migration between official releases. |
|||||
@robin from 4.7.0 Even after reverting to 4.7.0, it fails. |
|||||
Please run below command to get a terminal for OneDev server:
Then run below command to post the output here:
|
|||||
|
|||||
Please do the following:
|
|||||
|
|||||
Version 4.7.0 has a bug upgrading to new versions. To fix this, please copy this file into If it starts fine, stop the server, and exit the terminal. From your local terminal, change to directory |
|||||
@robin - thanks, that worked :) it looks like I've lost some projects though? |
|||||
All projects should be migrated. Make sure you are login as admin to check if projects are there. |
|||||
I can confirm some projects have been lost and that the oldest activity listed in the projects was around 4 months ago, the last time I upgraded the server. I’ve noticed that some files appear to be more recent which is good news I’ve a copy of the repos anyway so I can push them up. |
|||||
The buggy 4.7.0 release prevents projects from writing to database, and it explains why modifications after that are not persistent. Also make sure to schedule auto daily-backup for database. |
|||||
Ah gotcha - thanks! |
|||||
OneDev referenced from other issue 2 years ago
|
|||||
Robin Shen changed state to 'Closed' 2 years ago
|
Type |
Question
|
Priority |
Major
|
Assignee |
I'm trying to upgrade OneDev for 4.x to 5.3, however, the container fails with the following:
This is running in Kubernetes, so I can easily change versions. So far, I tried intermediate steps and no dice.