Unfortunately I didn't install it the first time, so I don't know how it
has been installed exactly. What I can see is that:
- Docker is surely not used
- it's on a CentOS Linux 7 virtual machine which has never been
restarted since the first upgrade
- it has been installed in the home of a user without creating a
directory to contain the installation itself
- /home/jenkins/war contains the following files (strange way to name
them, considering that I'm using the version 2.60.1, and the backup of a
version should probably be the previously installed one):
-
- 70611723 Jun 23 21:37 jenkins-2.46.2.war
- 70340821 May 25 23:55 jenkins-2.46.2.war.bak
- 70611723 Jun 23 21:37 jenkins-2.46.2.war.tmp
- 6 Jun 23 22:01 jenkins.pid
- 18 May 11 16:05 jenkins.war -> jenkins-2.46.2.war
- it's launched using the service
-
[Unit]
Description=jenkins service
After=network.target network-online.target
Wants=network-online.target
[Service]
Type=forking
ExecStart=/home/jenkins/bin/jenkins.sh start
ExecStop=/home/jenkins/bin/jenkins.sh stop
PIDFile=/home/jenkins/war/jenkins.pid
User=jenkins
[Install]
WantedBy=multi-user.target
-
where jenkins.sh is a script very similar to
https://build.opensuse.org/package/view_file/devel:tools:building/jenkins/jenkins.init?expand=1
and the resulting command is "/home/jenkins/java/bin/java
-Djava.awt.headless=true -DJENKINS_HOME=/home/jenkins/jenkins-home -jar
/home/jenkins/war/jenkins.war --webroot=/home/jenkins/jenkins-home
--httpPort=8080 --debug=5 --handlerCountMax=100 --handlerCountMaxIdle=20
--logfile=/home/jenkins/log/jenkins.log"
Please let me know if you need any further information.
Thanks,
Giacomo
On Saturday, July 22, 2017 at 7:31:54 PM UTC+2, Mark Waite wrote:
>
>
>
> On Sat, Jul 22, 2017 at 11:25 AM Giacomo Boccardo <[email protected]
> <javascript:>> wrote:
>
>> Hi,
>>
>> I'm using Jenkins 2.60.1 and after every automatic upgrade I did for
>> the latest three LTS the installation loses everything (configurations,
>> jobs, plugins, etc.): it's exactly like a fresh installation. I didn't see
>> anything in the logs related to the actions happened before, during or
>> after the installation.
>> Have you ever experienced such a behavior?
>>
>>
> I've never seen a behavior like that. Are you using a docker image for
> your base, and possibly forgetting to use a volume to retain the data?
>
> Mark Waite
>
>
>> Thanks in advance,
>> Giacomo
>>
>> --
>> 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] <javascript:>.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jenkinsci-users/f5cc73d1-6de9-4399-b08f-5a8714fba45f%40googlegroups.com
>>
>> <https://groups.google.com/d/msgid/jenkinsci-users/f5cc73d1-6de9-4399-b08f-5a8714fba45f%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
--
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/7283e876-fcf6-441b-af12-7fac52cb86d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.