2.277.1, always upgrading

110 views
Skip to first unread message

Alan Sparks

unread,
Mar 18, 2021, 2:07:04 PM3/18/21
to jenkins...@googlegroups.com

Something I do not recall seeing before… I have LTS Jenkins installed on my Ubuntu 18.04 AWS instance. 

 

Every time I stop/start Jenkins, the logs say:

 

2021-03-18 17:58:32.679+0000 [id=27]    INFO    hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.263.4. This Jenkins is version 2.277.1.

2021-03-18 17:58:33.724+0000 [id=27]    INFO    hudson.PluginManager#loadDetachedPlugins: Upgraded Jenkins from version 2.263.4 to version 2.277.1. Loaded detached plugins (and dependencies): []

 

And, every time, the UI shows “Jenkins 2.277.1”.   Why is this happening?  Where does it store the info about previous version,  to where is wants to upgrade over and over?

 

Thanks in advance.

-Alan

alan.l...@gmail.com

unread,
Mar 18, 2021, 2:28:48 PM3/18/21
to Jenkins Users
So I did find the file "/var/lib/jenkins/jenkins.install.InstallUtil.lastExecVersion:

$ ls -l jenkins.install.InstallUtil.lastExecVersion
-rw-r--r-- 1 jenkins jenkins 7 Feb 10 19:00 jenkins.install.InstallUtil.lastExecVersion

jenkins.install.InstallUtil.lastExecVersion:2.263.4

Note: there does not appear to be a newline after the "4".

I guess this explains the version issue, but why isn't that file updated?  Permissions look OK

Steve Bouché

unread,
Apr 11, 2021, 8:31:19 AM4/11/21
to Jenkins Users
I'm following LTS as well and have been seeing this issue.  It started happening on my upgrade from v2.263.4 to 2.277.1, and happened again on my upgrade from v2.277.1 to 2.277.2.
My setup is using the jenkins/jenkins Docker image.

2021-04-09 04:55:10.282+0000 [id=27] INFO hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.263.4. This Jenkins is version 2.277.2.

2021-04-01 06:17:43.714+0000 [id=26] INFO hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.263.4. This Jenkins is version 2.277.1.

2021-02-10 21:59:54.968+0000 [id=27] INFO hudson.PluginManager#loadDetachedPlugins: Upgrading Jenkins. The last running version was 2.263.2. This Jenkins is version 2.263.4.

$ stat jenkins.install.InstallUtil.lastExecVersion
  File: jenkins.install.InstallUtil.lastExecVersion
  Size: 7               Blocks: 8          IO Block: 1048576 regular file
Device: b3h/179d        Inode: 17206725611182888295  Links: 1
Access: (0644/-rw-r--r--)  Uid: ( 1000/ jenkins)   Gid: ( 1000/ jenkins)
Access: 2021-02-24 18:30:06.696000000 +0000
Modify: 2021-02-24 18:30:06.696000000 +0000
Change: 2021-02-24 18:30:06.696000000 +0000
 Birth: -
$ cat -Env jenkins.install.InstallUtil.lastExecVersion
     1  2.263.4

It doesn't seem to be affecting anything.  Happy to provide more information to anyone interested.

Thanks!
Steve

Mark Waite

unread,
Apr 11, 2021, 8:34:42 AM4/11/21
to Jenkins Users
Thanks!  Daniel Beck logged https://issues.jenkins.io/browse/JENKINS-65329 to track the changes needed to fix that issue.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d150c431-47f8-4268-914c-d8dad1f0f886n%40googlegroups.com.

alan.l...@gmail.com

unread,
Apr 20, 2021, 5:20:33 PM4/20/21
to Jenkins Users
I commented on that ticket, issue is still open and apparent with 2.277.3.
Reply all
Reply to author
Forward
0 new messages