[JIRA] (JENKINS-57899) Jira site configuration lost after a restart

0 views
Skip to first unread message

dcendents@gmail.com (JIRA)

unread,
Jul 24, 2019, 2:28:05 PM7/24/19
to jenkinsc...@googlegroups.com
Daniel Beland updated an issue
 
Jenkins / Bug JENKINS-57899
Jira site configuration lost after a restart
Change By: Daniel Beland
Summary: Jira site configuration lost after a reboot restart
Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

dcendents@gmail.com (JIRA)

unread,
Jul 24, 2019, 2:31:03 PM7/24/19
to jenkinsc...@googlegroups.com
Daniel Beland commented on Bug JENKINS-57899
 
Re: Jira site configuration lost after a restart

yes, everything is persisted in a docker volume, this is the only plugin configuration I have problems with.

Now that I've updated the plugin (by mistake) to 3.0.8, I saw my Jira configuration was duplicated, I tried to delete the extra one but it won't go away (I can see the config file on disk still has 2 entries).

 

ch.fetzer@gmx.net (JIRA)

unread,
Jul 25, 2019, 9:11:02 AM7/25/19
to jenkinsc...@googlegroups.com

I can confirm missing updates of the config file.

What my problems looked like:

I had to change the configuration of the Jira server (moved to a new host). My first experience of the fault was, in some magic way the setting changed back to the old one. I tried to manually correct the setting in the config file, which was the place were I found the old settings. Since that, the settings entirely disappeared (but still lived in the config file).

I can still not confirm the time points when the settings changed back: I intentionally restarted jenjkins several times due to jenkins - and/or plugin updates and I can't remember a correlation between those restarts and broken Jira settings.

Unfortunately this is a production system. Therefore I reverted the plugin back to 3.0.6 and can't play around with it to find out more relations.

rob@mythpack.net (JIRA)

unread,
Jul 26, 2019, 11:29:02 AM7/26/19
to jenkinsc...@googlegroups.com

I'm also having this issue, but I'm new to this plugin and don't have any previous xml config changes.  Can someone provide a sample?  I've tried the following, but it doesn't persist to the system config after restarting Jenkins.

<?xml version='1.1' encoding='UTF-8'?>
<hudson.plugins.jira.JiraGlobalConfiguration plugin="ji...@3.0.7">
  <sites class="hudson.util.PersistedList" credentialsId="Jenkins.JOB" url="https://jira.mydomain:8444/" />
</hudson.plugins.jira.JiraGlobalConfiguration>

ch.fetzer@gmx.net (JIRA)

unread,
Jul 26, 2019, 11:48:04 AM7/26/19
to jenkinsc...@googlegroups.com

For me:

<?xml version='1.1' encoding='UTF-8'?>
<hudson.plugins.jira.JiraGlobalConfiguration plugin="ji...@3.0.7">
  <sites class="hudson.util.PersistedList"
>   
    <hudson.plugins.jira.JiraSite>
      <url>http://myJira:8080/</url>
      <alternativeUrl>myJira:8080/</alternativeUrl>
      <useHTTPAuth>false</useHTTPAuth>
      <credentialsId>BuildUser</credentialsId>
      <supportsWikiStyleComment>false</supportsWikiStyleComment>
      <recordScmChanges>true</recordScmChanges>
      <disableChangelogAnnotations>false</disableChangelogAnnotations>
      <userPattern>(JOB+-[1-9][0-9]*)([^.]|\.[^0-9]|\.$|$)</userPattern>
      <updateJiraIssueForAllStatus>false</updateJiraIssueForAllStatus>
      <timeout>10</timeout>
      <readTimeout>30</readTimeout>
      <threadExecutorNumber>10</threadExecutorNumber>
      <appendChangeTimestamp>true</appendChangeTimestamp>
      <ioThreadCount>2</ioThreadCount>
    </hudson.plugins.jira.JiraSite>
  </sites>
</hudson.plugins.jira.JiraGlobalConfiguration>

But as noted: the workaround did not work for me.

rob@mythpack.net (JIRA)

unread,
Jul 26, 2019, 2:59:02 PM7/26/19
to jenkinsc...@googlegroups.com

Thank you!  It loaded fine for me after fixing the alternativeUrl value.  I didn't even customize it yet.

aytuncbeken.ab@gmail.com (JIRA)

unread,
Aug 5, 2019, 4:26:02 AM8/5/19
to jenkinsc...@googlegroups.com

Having the same problem. Configuration of the plugin do not persist after restarts.

aytuncbeken.ab@gmail.com (JIRA)

unread,
Aug 5, 2019, 4:53:02 AM8/5/19
to jenkinsc...@googlegroups.com
Aytunc BEKEN edited a comment on Bug JENKINS-57899
Having the same problem. Configuration of the plugin do not persist after restarts only stays in memory .
Jenkins Version: 2.176.2
Plugin Version: 3.0.8

Another symptom is, plugin do not create any config file or do put update config.xml when it's first installation. So every change made on plugin configuration is just in memory.

olamy@apache.org (JIRA)

unread,
Aug 20, 2019, 5:20:07 PM8/20/19
to jenkinsc...@googlegroups.com

olamy@apache.org (JIRA)

unread,
Aug 20, 2019, 5:21:05 PM8/20/19
to jenkinsc...@googlegroups.com

josephp90@gmail.com (JIRA)

unread,
Aug 20, 2019, 7:48:01 PM8/20/19
to jenkinsc...@googlegroups.com

olamy@apache.org (JIRA)

unread,
Aug 20, 2019, 8:10:20 PM8/20/19
to jenkinsc...@googlegroups.com
Olivier Lamy updated an issue
 
Change By: Olivier Lamy
Labels: jira-plugin-3.0.9

olamy@apache.org (JIRA)

unread,
Aug 21, 2019, 2:08:07 AM8/21/19
to jenkinsc...@googlegroups.com
Olivier Lamy resolved as Fixed
Change By: Olivier Lamy
Status: In Progress Resolved
Resolution: Fixed

olamy@apache.org (JIRA)

unread,
Aug 21, 2019, 2:08:07 AM8/21/19
to jenkinsc...@googlegroups.com
Olivier Lamy started work on Bug JENKINS-57899
 
Change By: Olivier Lamy
Status: Open In Progress
Reply all
Reply to author
Forward
0 new messages