-
Bug
-
Resolution: Unresolved
-
Minor
-
None
What is the incorrect behaviour?
Jenkins can't start - and it does not provide anything meaningful in the logs
What is the expected behaviour?
Jenkins should be able to start and if not something meaningful should appear in the logs
Step by step to reproduce
1. Download Jenkins OSS 2.89.3
2. Run the .war with `java -DJENKINS_HOME=<MY_JENKINS_HOME> -jar jenkins.war --webroot=<MY_PATH>` - you can check the permissions of the folder here
3. Jenkins starts correctly
4. Kill the Jenkins process and remove the content of <MY_PATH> `rm -rf <MY_PATH>/*` - Notice that I am not removing the folder, but just the content!
5. Try to start Jenkins again and you will see it does not start `java -DJENKINS_HOME=<MY_JENKINS_HOME> -jar jenkins.war --webroot=<MY_PATH>`
The last thing in the logs is:
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Business Impact
In case you clean up the content of <MY_PATH> , then Jenkins does not start.
Workaround
Delete <MY_PATH> , not the content `rm -rf <MY_PATH>`
Regression
Yes, it is. In 2.60 this is working.
If so, what versions did this previously work in?
No idea.