-
Are you able to reproduce this issue reliably? If yes, please share the steps.
-
Sure! I have reproduced this issue 3 times in 3 different computers. What do you prefer ? A detaild document or a video?
-
A detailed doc or just post steps here. Please test with a brand new OneDev installation and attach example git repo here.
-
Hello Robin.
Here you can find the dedailed procedure I use to reproduce the problem: Onedev Died.pdf
And Here the complete Server.log: server.log
I have reproduced the error with the latest version: 13.0.7 downloaded 5 minutes ago.
David.
-
Thanks for the detailed doc. I followed the instructions to test on Windows 10/11 and Windows server and everything works fine. I guess something different at your side either for the created user or the folder permission. Here is what I have done on a newly launched EC2 Windows 2025 base instance (use the default EBS storage):
- Connect to instance as default Administrator account, install JDK 11, and extract onedev as C:\onedev
- Create a user "onedev" and add it to "Administrators" group.
- Follow all other steps as in your doc
-
Your answer contains the solution!
In each of the 3 computer used for the installation I had java pre-installed and I haven't check for the installed version (JDK 25).
The problem is in the JDK version! Removed JDK 25 and installed JDK 11, and all perfectly run now! So, I apologize for wasting your time and thanks for the rapid support!
You are doing a great work!
-
Previous Value Current Value Service Bootstrap problem on Windows
Unable to delete obsolete project directories on Windows with Java 25
-
Got this reproduced in Windows with Java 25. Will be fixed in next patch release. Thanks!
-
State changed as code fixing the issue is committed (25e3991b)
-
OneDev
changed state to 'Closed' 3 months ago
Previous Value Current Value Open
Closed
-
State changed as build OD-6714 is successful
-
OneDev
changed state to 'Released' 3 months ago
Previous Value Current Value Closed
Released
| Type |
Bug
|
| Priority |
Normal
|
| Assignee | |
| Affected Versions |
13.0.6
|
| Labels |
No labels
|
Deleting an entire Project from OneDev, the project is marked for the file system deletetion on the next reboot.
When I reboot the service after this event, the Service Hang and stop the bootstrap process reporting an error deleting each one of the files in the project folder, trying to manually delete the file the error is solved but occurs on the next file in the folder. The only way to prevent the error and restore the normal boot is to delete the entire project foder.
I have found the error in OneDev Version 13.0.6 on Windows 11 and Windows Server in various configurations, and I'm sure that it's not a problem of access rights on files or folders!
This is an example of the errore extracted from the log: