Jenkins Upgrade Error

Hey folks,

I recently tried upgrading from 2.289 to 2.303. I tried both the war file approach and the apt-get update jenkins approach since I am using turnkey. Both wound up with the same error, and I can’t get past it. I have tried making the file in question and the directory in question writeable.

Below is the error.
java.lang.IllegalArgumentException: File parameter 'file is not writable: ‘/var/lib/jenkins/jenkins.install.InstallUtil.lastExecVersion’

If anyone could please help me out, I’d really appreciate it.

Regards,
Bruber

The permissions on the file are likely incorrect. It should be almost always be owned by the user jenkins and be read/write allowed for the owner.

Thank you for that unbelievably fast reply! All fixed and running. I think you set a record…

1 Like