Nexus 2.7.2

De EjnTricks

La mise à jour s'effectue en déposant simplement la nouvelle version de l'application. Comme à chaque fois, le war est téléchargé puis décompresser dans le serveur d'application. Cela n'est pas nécessaire, mais c'est effectué plus par philosophie...

Hand-icon.png Votre avis

Current user rating: 48/100 (1 votes)

 You need to enable JavaScript to vote


System-Install-icon.png Download-icon.png Téléchargement et installation

#sudo service tomcat6 stop
#sudo rm -rf /var/lib/tomcat6/webapps/nexus*
#sudo wget -O /var/lib/tomcat6/webapps/nexus.war http://www.sonatype.org/downloads/nexus-2.7.2.war
#sudo unzip /var/lib/tomcat6/webapps/nexus.war -d /var/lib/tomcat6/webapps/nexus
#sudo chown -R tomcat6:tomcat6 /var/lib/tomcat6/webapps/nexus
#sudo rm -rf /var/lib/tomcat6/work/Catalina/localhost/nexus
#sudo rm /var/lib/tomcat6/webapps/nexus.war
#sudo service tomcat6 start


Configuration-icon.png Configuration

Lors du démarrage de l'application, le message suivant peut apparaître dans la log :

2014-03-20 23:19:17 INFO  [esh-1-thread-1 ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration 
- Applying Nexus Configuration due to changes in [Scheduled Tasks]...
2014-03-20 23:19:17 INFO  [esh-1-thread-2 ] - org.sonatype.nexus.proxy.attributes.upgrade.DefaultAttributeUpgrader
- Legacy attribute directory present, but is marked already as upgraded. Please delete, move
or rename the "/usr/share/tomcat6/sonatype-work/nexus/proxy/attributes" directory.
2014-03-20 23:19:17 INFO  [esh-1-thread-1 ] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration
- Applying Nexus Configuration due to changes in [Scheduled Tasks]...
2014-03-20 23:19:17 INFO  [esh-1-thread-1 ] - com.sonatype.nexus.plugins.healthcheck.service.impl.HealthCheckTaskManagerImpl
- Enabled health check for repository central

La suggestion de la trace est prise en compte en supprimant le répertoire /usr/share/tomcat6/sonatype-work/nexus/proxy/attributes. Pour plus de sécurité, il est possible de le déplacement uniquement. Lors du démarrage suivant, la trace indique les messages suivants :

2014-03-20 23:59:49 INFO  [pool-1-thread-1] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration
- Applying Nexus Configuration due to changes in [Scheduled Tasks] made by Task-User...
2014-03-20 23:59:49 INFO  [pool-1-thread-1] - com.sonatype.nexus.plugins.healthcheck.task.HealthCheckTask
- Scheduled task (Health Check: central) finished :: Health Check Management for Repository central (started 2014-03-20T23:59:45+01:00, runtime 0:00:03.749)
2014-03-20 23:59:49 INFO  [pool-1-thread-1] - org.sonatype.nexus.configuration.application.DefaultNexusConfiguration
- Applying Nexus Configuration due to changes in [Scheduled Tasks] made by Task-User...


Viewer icon.png Voir aussi

Release Notes: https://help.sonatype.com/repomanager2/release-notes/older-release-notes#OlderReleaseNotes-RepositoryManager2.7.2