Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I had Hudson running via:

cd /usr/lib/hudson
java -jar hudson.war

Unfortunately, I restarted that server and on accessing the Hudson Url, I found that all the configuration is missing.

However, I can see that all the configuration files were saved under ~/.hudson Has anyone run into this before? How can I restart Hudson and point it to the existing configuration?

Thanks

share|improve this question

1 Answer 1

Figured it out. Apparently there was already an instance of Hudson booting automatically with the default configuration. I killed the existing instance, restarted the new service using java -jar hudson.war and the configuration was restored. I also set the environment variable HUDSON_HOME to /home/user_name/.hudson, but I don't think that would've made a difference in this case.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.