Skip to content

solved jenkins

entire night was looking how to start jensins from external hard disk and now i have it.

On ubuntu when it detect it use external hard disk it go inmediatelly in masked mode, this make ubuntu can't run it:

Failed to start jenkins.service: Unit var-lib-jenkins.mount is masked.

I was looking in internet for solutions:

and this solve it:

Failed to start jenkins.service: Unit var-lib-jenkins.mount is masked.

SO deleting /lib/systemd/system/jenkins.service and /etc/systemd/system/jenkins.service.d

service jenkins start