On Wednesday, 26 October 2016 22:32:23 UTC+5:30, John Mellor wrote:
>
> Kaushal ran:
>
> Ø #cp -r jenkinsnbackup /opt/jenkins
>
>
>
> I assume from the prompt that you ran this as the wrong user, and the
> permissions and ownership are all now messed up. Correct?
>
>
>
>
>
>
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *Eric Pyle
> *Sent:* October-26-16 12:36
> *To:* [email protected] <javascript:>
> *Subject:* Re: Jenkins upgrade from 1.608 to 2.9-1.1 version on CentOS
> release 6.8 (Final).
>
>
>
> I'm assuming your new Jenkins version is installed in the same location as
> the old one. Have you looked at the Jenkins logs to see if there are some
> errors reported which may be preventing your jobs from loading?
>
> Eric
>
>
>
> On 10/26/2016 12:11 PM, Kaushal Shriyan wrote:
>
> Hi,
>
>
>
> I have installed jenkins-2.9-1.1.noarch on CentOS release 6.8 (Final). I
> have imported the jenkins folder from the old server which is
> running jenkins-1.608-1.1.noarch.
>
> I have restarted the jenkins 2.9-1.1 version, But i do not see the
> workspace,jobs,users and nodes which i populated it from the old server
> using the backup.
>
>
>
> #cp -r jenkinsnbackup /opt/jenkins
>
>
>
> Am i missing any step? Any help will be highly appreciable. Please do let
> me know if you need any details about jenkins (jenkins-2.9-1.1.noarch)
> configuration.
>
>
>
> Regards,
>
>
>
> Kaushal
>
> --
> 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/0a315223-843f-4aea-9d27-2b1c7044f4e1%40googlegroups.com
>
> <https://groups.google.com/d/msgid/jenkinsci-users/0a315223-843f-4aea-9d27-2b1c7044f4e1%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
>
> *Eric Pyle *
>
> Release Engineer
>
> Lebanon
>
> +1 603-277-3060 (T)
>
> +1 603-359-8670 (M)
>
> [email protected] <javascript:>
>
> http://www.cd-adapco.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 [email protected] <javascript:>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/f7fd885a-8396-b210-f01b-5f0a6a98f8e8%40cd-adapco.com
>
> <https://groups.google.com/d/msgid/jenkinsci-users/f7fd885a-8396-b210-f01b-5f0a6a98f8e8%40cd-adapco.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>
Hi Eric and John,
I am sharing the complete details which are as below :-
[root@jenkins]# /etc/init.d/jenkins restart
Shutting down Jenkins [ OK ]
Starting Jenkins [ OK ]
[root@jenkins]# cat jenkins.log
Running from: /usr/lib/jenkins/jenkins.war
Oct 27, 2016 1:44:07 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Logging initialized @302ms
Oct 27, 2016 1:44:07 PM winstone.Logger logInternal
INFO: Beginning extraction from war file
Oct 27, 2016 1:44:07 PM org.eclipse.jetty.util.log.JavaUtilLog warn
WARNING: Empty contextPath
Oct 27, 2016 1:44:07 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-9.2.z-SNAPSHOT
Oct 27, 2016 1:44:08 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for /, did not find
org.eclipse.jetty.jsp.JettyJspServlet
Jenkins home directory: /opt/jenkins found at:
SystemProperties.getProperty("JENKINS_HOME")
Oct 27, 2016 1:44:08 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started
w.@75d0d70a{/,file:/var/cache/jenkins/war/,AVAILABLE}{/var/cache/jenkins/war}
Oct 27, 2016 1:44:08 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started ServerConnector@6499cd43{HTTP/1.1}{0.0.0.0:8123}
Oct 27, 2016 1:44:08 PM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started @1198ms
Oct 27, 2016 1:44:08 PM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
Oct 27, 2016 1:44:09 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
Oct 27, 2016 1:44:09 PM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
Oct 27, 2016 1:44:11 PM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
Oct 27, 2016 1:44:11 PM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
Oct 27, 2016 1:44:12 PM
hudson.ExtensionFinder$GuiceFinder$FaultTolerantScope$1 error
INFO: Failed to instantiate optional component
hudson.plugins.build_timeout.operations.AbortAndRestartOperation$DescriptorImpl;
skipping
Oct 27, 2016 1:44:12 PM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
Oct 27, 2016 1:44:12 PM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
Oct 27, 2016 1:44:12 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Started Download metadata
Oct 27, 2016 1:44:12 PM hudson.model.AsyncPeriodicWork$1 run
INFO: Finished Download metadata. 2 ms
Oct 27, 2016 1:44:12 PM
org.springframework.context.support.AbstractApplicationContext
prepareRefresh
INFO: Refreshing
org.springframework.web.context.support.StaticWebApplicationContext@2b58d961:
display name [Root WebApplicationContext]; startup date [Thu Oct 27
13:44:12 IST 2016]; root of context hierarchy
Oct 27, 2016 1:44:12 PM
org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
INFO: Bean factory for application context
[org.springframework.web.context.support.StaticWebApplicationContext@2b58d961]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@3c474b6
Oct 27, 2016 1:44:12 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@3c474b6:
defining beans [authenticationManager]; root of factory hierarchy
Oct 27, 2016 1:44:13 PM
org.springframework.context.support.AbstractApplicationContext
prepareRefresh
INFO: Refreshing
org.springframework.web.context.support.StaticWebApplicationContext@6d55ae56:
display name [Root WebApplicationContext]; startup date [Thu Oct 27
13:44:13 IST 2016]; root of context hierarchy
Oct 27, 2016 1:44:13 PM
org.springframework.context.support.AbstractApplicationContext
obtainFreshBeanFactory
INFO: Bean factory for application context
[org.springframework.web.context.support.StaticWebApplicationContext@6d55ae56]:
org.springframework.beans.factory.support.DefaultListableBeanFactory@79a39a98
Oct 27, 2016 1:44:13 PM
org.springframework.beans.factory.support.DefaultListableBeanFactory
preInstantiateSingletons
INFO: Pre-instantiating singletons in
org.springframework.beans.factory.support.DefaultListableBeanFactory@79a39a98:
defining beans [filter,legacy]; root of factory hierarchy
Oct 27, 2016 1:44:13 PM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 41426
Oct 27, 2016 1:44:13 PM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
Oct 27, 2016 1:44:13 PM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
[root@jenkins]# ps aux | grep jenkins
jenkins 27930 74.8 2.2 14167428 733344 ? Ssl 13:44 0:12
/usr/bin/java -Dcom.sun.akuma.Daemon=daemonized -Djava.awt.headless=true
-DJENKINS_HOME=/opt/jenkins -jar /usr/lib/jenkins/jenkins.war
--logfile=/var/log/jenkins/jenkins.log --webroot=/var/cache/jenkins/war
--daemon --httpPort=8123 --debug=10 --handlerCountMax=100
--handlerCountMaxIdle=20
--accessLoggerClassName=winstone.accesslog.SimpleAccessLogger
--simpleAccessLogger.format=combined
--simpleAccessLogger.file=/var/log/jenkins/access_log
root 28055 0.0 0.0 103312 896 pts/0 S+ 13:44 0:00 grep
jenkins
[root@jenkins]# java -version
java version "1.7.0_80"
Java(TM) SE Runtime Environment (build 1.7.0_80-b15)
Java HotSpot(TM) 64-Bit Server VM (build 24.80-b11, mixed mode)
[root@jenkins]# rpm -qa | grep jenkins
jenkins-2.9-1.1.noarch
[root@jenkins]# ls -ltrh /opt/jenkins
total 624K
-rw-r--r-- 1 jenkins jenkins 64 Oct 26 18:25 secret.key
-rw-r--r-- 1 jenkins jenkins 0 Oct 26 18:25 secret.key.not-so-secret
drwxr-xr-x 2 jenkins jenkins 4.0K Oct 26 18:25 jobs
drwxr-xr-x 2 jenkins jenkins 4.0K Oct 26 18:25 nodes
-rw------- 1 jenkins jenkins 1.7K Oct 26 18:25 identity.key.enc
drwxr-xr-x 2 jenkins jenkins 4.0K Oct 26 18:25 userContent
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 18:25 logs
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 18:25 users
-rw-r--r-- 1 jenkins jenkins 1.6K Oct 26 18:25 config.xml
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 21:24 rulebackup
drwxr-xr-x 14 jenkins jenkins 4.0K Oct 26 21:24 workspace
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 21:24 proxybackup
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 21:24 npsbackup
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 21:24 csatbackup
-rw-r--r-- 1 jenkins jenkins 515K Oct 26 21:24 slave.jar
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 21:24 prodbackup
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 21:24 dskNotifbackup
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 21:24 prodbackup_crm
drwxr-xr-x 3 jenkins jenkins 4.0K Oct 26 21:24 appreviewbackup
drwxr-xr-x 2 jenkins jenkins 4.0K Oct 26 21:30 updates
-rw-r--r-- 1 jenkins jenkins 370 Oct 26 21:30
hudson.plugins.git.GitTool.xml
drwxr-xr-x 2 jenkins jenkins 4.0K Oct 26 21:30 workflow-libs
drwxr-xr-x 62 jenkins jenkins 4.0K Oct 26 21:31 plugins
-rw-r--r-- 1 jenkins jenkins 3 Oct 26 21:32
jenkins.install.UpgradeWizard.state
drwx------ 4 jenkins jenkins 4.0K Oct 26 21:33 secrets
-rw-r--r-- 1 jenkins jenkins 129 Oct 27 13:44 queue.xml.bak
-rw-r--r-- 1 jenkins jenkins 159 Oct 27 13:44
hudson.model.UpdateCenter.xml
-rw-r--r-- 1 jenkins jenkins 907 Oct 27 13:44 nodeMonitors.xml
-rw-r--r-- 1 jenkins jenkins 3 Oct 27 13:44
jenkins.install.InstallUtil.lastExecVersion
[root@jenkins]#
Please do let me know if you need any further details
Regards,
Kaushal
--
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/9a22a0d7-7721-4f1b-9379-8ea450cc3ed3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.