I am running on bare metal, and originally wget'd the zip file and extracted it in the home folder.
6.2.3 works perfectly fine there.
However, when I try and run the upgrade script, changing the paths to where onedev is installed (i.e. [home]/onedev-6.2.3), I get this:
ERROR - Unable to find directory: /home/[user]/onedev-6.3.9/bin/onedev-6.2.3
<-- Wrapper Stopped
Robin Shen commented 2 years ago
Just tested here and it works fine. Make sure do the following from terminal:
Change to directory /home/[user]/onedev-6.3.9/bin
Run command ./upgrade.sh /path/to/onedev-6.2.3
After upgrading /path/to/onedev-6.2.3 will be running 6.3.9 (I suggest to rename /path/to/onedev-6.2.3 as /path/to/onedev to avoid confusion)
Quin commented 2 years ago
That seems to have done the trick! I guess I got my numbers mixed up.
I tried to change it from onedev-6.2.3 to onedev, but when I go to start the service, I get:
Feb 23 08:16:17 onedev systemd[1]: Starting OneDev...
Feb 23 08:16:17 onedev systemd[3484]: onedev.service: Failed to execute command: No such file or directory
Feb 23 08:16:17 onedev systemd[3484]: onedev.service: Failed at step EXEC spawning /home/[user]/onedev-6.2.3/bin/server.sh: No such file or directory
Feb 23 08:16:17 onedev systemd[1]: onedev.service: Control process exited, code=exited, status=203/EXEC
Feb 23 08:16:17 onedev systemd[1]: onedev.service: Failed with result 'exit-code'.
Feb 23 08:16:17 onedev systemd[1]: Failed to start OneDev.
Hi I cannot upgrade from 6.2.3 to 6.3.9.
I am running on bare metal, and originally wget'd the zip file and extracted it in the home folder. 6.2.3 works perfectly fine there.
However, when I try and run the upgrade script, changing the paths to where onedev is installed (i.e. [home]/onedev-6.2.3), I get this: