jbauer opened 7 months ago
|
|||||
OneDev changed state to 'Closed' 7 months ago
|
|||||
State changed as code fixing the issue is committed (9135668a) |
|||||
Referenced from commit 7 months ago
|
|||||
I guess I have to copy back the contents of |
|||||
Also note |
|||||
Yes, please restore the program backup manually. Then you can start OneDev container (database may be empty now). Then exec into the container, and run "bin/restore-db.sh" to restore database. |
|||||
But I would use the 9.1.5 container for it, right? |
|||||
Yes, that is right. |
|||||
OneDev changed state to 'Released' 7 months ago
|
|||||
State changed as build #4106 is successful |
|||||
Is |
|||||
Yes it is. Reason is that others (e.g. OneDev agent, other services) also need the
|
|||||
@robin Executing the restore command in console of 9.1.5 container results in
Any idea? Does it validate against the database tables? I have not deleted the db as I thought it is empty anyways. |
|||||
The relevant XML of LinkSpecs.xml is
|
|||||
|
|||||
In my installation I have renamed |
|||||
That is odd. Nevertheless, you may run |
|||||
As an example taken from IssueFields.xml
That is basically translated from English |
|||||
@robin Do I still need to do anything? I have restored the backup without validation and now OneDev does not start and continuously logs |
|||||
Seems like there is another bug here. Please remove file |
|||||
@robin Yes that file exists. After deleting it OneDev has started. I also checked the issue links in OneDev UI and it seems totally correct. OneDev even suggests |
|||||
I tested locally and it works. Maybe there is some different charset? If you reproduce the issue with a sample backup, it will help me to address the issue. |
|||||
There are multiple issues here when OneDev fails to ugprade. I will investigate them hoping to make the upgrade experience smoother, even for a failed upgrade. |
|||||
Successfully upgrade from v9.1.2 to v9.1.10 but there a step which is slower than before. |
|||||
No changes affecting performance as far as I know. |
|||||
@robin I have a git clone of onedev/server. I updated it to 9.1.5 and now I am wondering how I could execute |
|||||
You may create a |
|||||
@robin Grrr just typed an answer and OneDev had reloaded because you updated it to 9.1.12 :) So the issue with To me it looks like you can not restore a DB backup if that backup contains any XML file with some issue query. It does not need to be a There might be other validators that require settings from the DB. |
|||||
@robin Oh and while testing around I noticed that the |
|||||
Thanks for the investigation.
These two are special tables and will never change. It wont't be cleaned also |
|||||
Data validation will be turned off completely for data restore. It does not provide much value as data file itself is exported from OneDev. And it causes much trouble instead. |
Type |
Bug
|
Priority |
Critical
|
Assignee | |
Affected Versions |
9.1.5, 9.1.9
|
Labels |
No labels
|