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
On Thursday, March 18, 2021 at 11:28:48 AM UTC-7 [email protected] wrote:
> 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
> On Thursday, March 18, 2021 at 12:07:04 PM UTC-6 [email protected]
> wrote:
>
>> 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
>>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/d150c431-47f8-4268-914c-d8dad1f0f886n%40googlegroups.com.