Outils pour utilisateurs

Outils du site


jira

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
jira [2020/02/27 14:10]
romuald
jira [2020/02/28 14:27] (Version actuelle)
romuald
Ligne 1: Ligne 1:
-=== Présentation de l'​application Jira ===+{{ :​logo_jira.png?​200|}}=== Présentation de l'​application Jira ===
 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. 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.
  
 === Préparation avant l'​installation === === Préparation avant l'​installation ===
- *Eteindre jira+  ​*Eteindre jira
  
-<​code>​systemctl stop jira.service+<​code ​bash>​systemctl stop jira.service
 systemctl status jira.service</​code>​ systemctl status jira.service</​code>​
  
---créaton repertoire pour stocker l'​ancienne conf+  *créaton repertoire pour stocker l'​ancienne conf
  
-<​code>​mkdir /​tmp/​bck_jira_conf</​code>​+<​code ​bash>mkdir /​tmp/​bck_jira_conf</​code>​
  
- *Copie fichiers +  ​*Copie fichiers 
-<​code>​cp -p /​opt/​jira/​bin/​jre/​lib/​security/​cacerts /​tmp/​bck_jira_conf/​+<​code ​bash>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/​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/​server.xml /​tmp/​bck_jira_conf/​
Ligne 20: Ligne 20:
 cp -p /​opt/​jira/​data/​jira-config.properties /​tmp/​bck_jira_conf/</​code>​ cp -p /​opt/​jira/​data/​jira-config.properties /​tmp/​bck_jira_conf/</​code>​
  
- *sauvegarde des templates email  +  ​*sauvegarde des templates email  
-<​code>​tar czvf email.tar.gz /​opt/​jira/​bin/​atlassian-jira/​WEB-INF/​classes/​templates/​email/</​code>​+<​code ​bash>tar czvf email.tar.gz /​opt/​jira/​bin/​atlassian-jira/​WEB-INF/​classes/​templates/​email/</​code>​
  
- *téléchargement du binaire de la version voulu +  ​*téléchargement du binaire de la version voulu
- +
- ​*donner droit d'​exécution sur l'​ensemble+
  
 +  *donner droit d'​exécution sur l'​ensemble
 + 
 <​code>​chmod a+x atlassian-jira-software-*.bin</​code>​ <​code>​chmod a+x atlassian-jira-software-*.bin</​code>​
  
- *lancer l'​installation ​+  ​*lancer l'​installation ​
  
 <​code>​./​atlassian-jira-software-8.4.2-x64.bin</​code>​ <​code>​./​atlassian-jira-software-8.4.2-x64.bin</​code>​
  
-Unpacking JRE ... +  *Après l'​installation récupérer les fichiers suivants :
-Starting Installer ...+
  
-This will install JIRA Software 8.4.2 on your computer. +<code bash>cp /​tmp/​bck_jira_conf/​cacerts /opt/jira/​bin/​jre/​lib/​security/​cacerts 
-OK [o, Enter], Cancel [c] +cp /​tmp/​bck_jira_conf/​jmxremote.* /​opt/​jira/​bin/​conf/</​code>​
-ostop jira.service +
-Click Next to continue, or Cancel to exit Setup.+
  
-Choose the appropriate installation or upgrade option. +  ​*adapter les fichiers suivants en prenant exemple des fichiers backupés dans /​tmp/​bck_jira_conf/​ 
-Please choose one of the following:​ +<​code>​
-Express Install (use default settings) [1], Custom Install (recommended for advanced users) [2], Upgrade an existing JIRA installation [3, Enter] +
-+
-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] +
-+
- +
-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] +
- +
-+
- +
-Your existing JIRA installation is about to be upgraded! Do you want to proceed? +
-Upgrade [u, Enter], Exit [e] +
-+
- +
- +
-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/​server.xml
 /​opt/​jira/​bin/​bin/​setenv.sh /​opt/​jira/​bin/​bin/​setenv.sh
 /​opt/​jira/​data/​dbconfig.xml /​opt/​jira/​data/​dbconfig.xml
 +</​code>​
  
--- start jira  +  *Démarrer ​l'​application Jira 
- +
-systemctl start jira.service +
- +
--- check jira  +
- +
-systemctl status jira.service -l +
- +
--- check log  +
- +
-cat /​opt/​jira/​bin/​logs/​catalina.out +
- +
  
-ANNEXE :+<​code>​systemctl start jira.service</​code>​
  
---telechargement tomcat-catalina-jmx-remote +  *Vérifier s'il elle n'est pas en défaut ​
-https://​mvnrepository.com/​artifact/​org.apache.tomcat/​tomcat-catalina-jmx-remote+
  
---probleme rencontré c'​etait ecrit+<​code>​systemctl status jira.service ​-l</​code>​
  
--- Tomcat is misconfigured , Exception = The server.xml file is missing parameters needed by Jira to handle requests that contain special characters.<​br/>​) +  *Vérifier les fichiers de log 
-ajouter ceci dans la section "​Connector address" ​+
  
-                   ​relaxedPathChars="​[]|"​ +<​code>​cat ​/​opt/​jira/​bin/​logs/catalina.out<​/code>
-                   ​relaxedQueryChars="​[]|{}^&#​x5c;&#​x60;&​quot;&​lt;&​gt;"​ +
-     +
--- 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+
jira.1582809009.txt.gz · Dernière modification: 2020/02/27 14:10 par romuald