No description
-
Name Previous Value Current Value Priority
Normal
Critical
-
OneDev
changed state to 'Closed' 4 years ago
Previous Value Current Value Open
Closed
-
OneDev
changed state to 'Released' 4 years ago
Previous Value Current Value Closed
Released
-
The same issue at upgrading 5.3.3 to 5.4.0. I use PostgreSQL.
- server.log
2021-11-23 22:14:44,475 INFO [WrapperSimpleAppMain] i.onedev.commons.bootstrap.Bootstrap Launching application from '/srv/onedev/onedev-5.4.0'... 2021-11-23 22:14:44,476 INFO [WrapperSimpleAppMain] i.onedev.commons.bootstrap.Bootstrap Cleaning temp directory... 2021-11-23 22:14:44,652 INFO [WrapperSimpleAppMain] io.onedev.commons.loader.AppLoader Initializing dependency injection container... 2021-11-23 22:14:45,714 INFO [WrapperSimpleAppMain] io.onedev.commons.loader.AppLoader Starting plugin manager... 2021-11-23 22:14:47,855 ERROR [WrapperSimpleAppMain] i.o.s.p.DefaultPersistManager Data version mismatch (app data version: 70, db data version: 69) -
@mzch Thanks for your feedback. Please let me know:
- How 5.3.3 is started? If via docker, please let me know detailed docker command line you are using
- What command you are using to perform the upgrade
-
- Yes, 5.3.3 ran successfully. I don't use docker.
- I did as below:
bin/upgrade.sh .bin/server.sh start
-
Finally I created backup file using
bin/backup-db.sh ../backupfile, dropped database and re-created it, and restore data from backupfile. Now I run5.4.0successfully. -
@mzch the command used to upgrade seems incorrect. The procedure should be:
- Extract onedev-5.4.0.zip to a folder say "/path/to/onedev-5.4.0"
- Open terminal and run command:
$ /path/to/onedev-5.4.0/bin/upgrade.sh /path/to/onedev-5.3.3- After running above command, "/path/to/onedev-5.3.3" will be upgraded to 5.4 (to avoid confusion, it is suggested to name onedev directory without version info)
-
Oh, thanks. I was wrong about upgrade process. I'd like you to update
Upgrade Guideto have a more clear understanding... -
Thanks for the suggestion. Will do that.
| Type |
Bug
|
| Priority |
Critical
|
| Assignee | |
| Affected Versions |
Not Found
|
Issue Votes (0)