Intégration et adaptation d'un service
Exploitation des services
Administration des systèmes
Supervision des réseaux
Gestion de l'obsolescence
Projets
Outils
Références
Intégration et adaptation d'un service
Exploitation des services
Administration des systèmes
Supervision des réseaux
Gestion de l'obsolescence
Projets
Outils
Références
Ceci est une ancienne révision du document !
Jira est un système de suivi de bugs, un système de gestion des incidents, et un système de gestion de projets développé par Atlassian.
*Eteindre jira
systemctl stop jira.service systemctl status jira.service
–créaton repertoire pour stocker l'ancienne conf
mkdir /tmp/bck_jira_conf
*Copie fichiers
cp -p /opt/jira/bin/jre/lib/security/cacerts /tmp/bck_jira_conf/ cp -p /opt/jira/bin/bin/setenv.sh /tmp/bck_jira_conf/ cp -p /opt/jira/bin/conf/server.xml /tmp/bck_jira_conf/ cp -p /opt/jira/bin/conf/jmxremote* /tmp/bck_jira_conf/ cp -p /opt/jira/data/dbconfig.xml /tmp/bck_jira_conf/ cp -p /opt/jira/data/jira-config.properties /tmp/bck_jira_conf/
*sauvegarde des templates email
tar czvf email.tar.gz /opt/jira/bin/atlassian-jira/WEB-INF/classes/templates/email/
*téléchargement du binaire de la version voulu
*donner droit d'exécution sur l'ensemble
chmod a+x atlassian-jira-software-*.bin
*lancer l'installation
./atlassian-jira-software-8.4.2-x64.bin
Unpacking JRE … Starting Installer …
This will install JIRA Software 8.4.2 on your computer. OK [o, Enter], Cancel [c] ostop jira.service Click Next to continue, or Cancel to exit Setup.
Choose the appropriate installation or upgrade option. Please choose one of the following: Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2], Upgrade an existing JIRA installation [3, Enter] 3 Existing installation directory: [/opt/jira/bin]
Back up JIRA home directory The upgrade process will automatically back up your JIRA installation directory. You can also choose to back up your existing JIRA home directory. Both directories are backed up as zip archive files in their respective parent directory locations.
We strongly recommend choosing this option in the unlikely event that you experience problems with the upgrade and may require these backups to restore your existing JIRA installation.
If you have many attachments in your JIRA home directory, the zip archive of this directory may consume a significant amount of disk space. Back up JIRA home directory? Yes [y], No [n, Enter] n
Checking for local modifications.
List of modifications made within JIRA directories.
The following provides a list of file modifications within the atlassian-jira directory.
Modified files:
bin/setenv.sh
conf/server.xml
jre/lib/security/cacerts
Removed files:
(none)
Added files:
atlassian-jira/WEB-INF/lib/jira-confluence-javamelody-1.76.0.jar
atlassian-jira/WEB-INF/lib/tomcat-catalina-jmx-remote.jar
conf/server.xml.ori
conf/jmxremote.password
conf/server.xml.old
conf/jmxremote.access
bin/setenv.sh.ori
lib/tomcat-catalina-jmx-remote.jar
[Enter]
Checking if your instance of JIRA Software is running
Upgrade checklist Complete these steps to have a smooth upgrade experience. If you need more details, see https://docs.atlassian.com/jira/jadm-docs-084/Preparing+for+the+upgrade.
1. Run a Jira health check Run a Jira health check to verify that you're ready to upgrade. Make sure that checks related to the license and database have passed, but you can also fix other detected problems.
2. Check app compatibility Make sure your apps are compatible with the Jira version you're upgrading to. Disable all incompatible apps, so they don't affect your upgrade.
3. Back up the database Back up the Jira database using your database's native backup tools.
Have you completed all these steps? Yes [y], No [n, Enter]
y
Your existing JIRA installation is about to be upgraded! Do you want to proceed? Upgrade [u, Enter], Exit [e] u
POST INSTALLATION :
recuper les fichiers suivants :
cp /tmp/bck_jira_conf/cacerts /opt/jira/bin/jre/lib/security/cacerts cp /tmp/bck_jira_conf/jmxremote.* /opt/jira/bin/conf/
adapter les fichiers suivants en prenant exemple des fichiers backupés dans /tmp/bck_jira_conf/:
/opt/jira/bin/server.xml /opt/jira/bin/bin/setenv.sh /opt/jira/data/dbconfig.xml
– start jira
systemctl start jira.service
– check jira
systemctl status jira.service -l
– check log
cat /opt/jira/bin/logs/catalina.out
ANNEXE :
–telechargement tomcat-catalina-jmx-remote https://mvnrepository.com/artifact/org.apache.tomcat/tomcat-catalina-jmx-remote
–probleme rencontré c'etait ecrit
– Tomcat is misconfigured , Exception = The server.xml file is missing parameters needed by Jira to handle requests that contain special characters.<br/>) ajouter ceci dans la section “Connector address”
relaxedPathChars="[]|"
relaxedQueryChars="[]|{}^\`"<>"
– SEVERE [Catalina-startStop-1] org.apache.catalina.startup.HostConfig.beforeStart Unable to create directory for deployment: [/opt/jira/bin/conf/Catalina/localhost] chmod 777 /opt/jira/bin/conf