2.277.1, always upgrading

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

2.277.1, always upgrading

Alan Sparks-2

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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/DM6PR18MB33068DD7E21C2AA412F350CCC5699%40DM6PR18MB3306.namprd18.prod.outlook.com.
Reply | Threaded
Open this post in threaded view
|

Re: 2.277.1, always upgrading

Alan Sparks
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 [hidden email] 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/fb2ef7f9-1e28-42a6-a044-a98d0f27edd0n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: 2.277.1, always upgrading

Steve Bouché
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 [hidden email] 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 alan.l...@... 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d150c431-47f8-4268-914c-d8dad1f0f886n%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: 2.277.1, always upgrading

Mark Waite-2
Thanks!  Daniel Beck logged https://issues.jenkins.io/browse/JENKINS-65329 to track the changes needed to fix that issue.

On Sun, Apr 11, 2021 at 6:31 AM Steve Bouché <[hidden email]> wrote:
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 [hidden email] 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 [hidden email] 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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/d150c431-47f8-4268-914c-d8dad1f0f886n%40googlegroups.com.

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAO49JtHTG61P9LHaNvVH_GkMaPcLUEmxTRxwfn3GzAjNsHeKtQ%40mail.gmail.com.