Wiki » Historique » Version 234
  Patrice Nadeau, 2018-08-17 13:18 
  
| 1 | 214 | Patrice Nadeau | # Redmine | 
|---|---|---|---|
| 2 | 6 | Patrice Nadeau | |
| 3 | 31 | Patrice Nadeau | Logiciel de gestion de projets, sources, bugs et timeline. | 
| 4 | Contient un module de Wiki, de fichiers. | ||
| 5 | Supporte aussi les systèmes de version de fichier (Git, SVN entre autre). | ||
| 6 | Disponible à http://www.redmine.org/projects/redmine/wiki/Download | ||
| 7 | |||
| 8 | De base, ne fonctionne pas avec Apache | ||
| 9 | 1 | Patrice Nadeau | |
| 10 | Sa principale difficulté d’installation est sa dépendance à Ruby. | ||
| 11 | Voir aussi : | ||
| 12 | 219 | Patrice Nadeau | |
| 13 | 1 | Patrice Nadeau | * http://bitnami.com/stack/redmine | 
| 14 | * http://www.turnkeylinux.org/redmine | ||
| 15 | |||
| 16 | 121 | Patrice Nadeau | {{lastupdated_at}} {{lastupdated_by}} | 
| 17 | |||
| 18 | 94 | Patrice Nadeau | --- | 
| 19 | 31 | Patrice Nadeau | |
| 20 | 94 | Patrice Nadeau | {{toc}} | 
| 21 | |||
| 22 | 214 | Patrice Nadeau | ## Installation | 
| 23 | 94 | Patrice Nadeau | |
| 24 | 32 | Patrice Nadeau | Ce guide documente une installation GNU/Linux avec les version suivantes : | 
| 25 | 225 | Patrice Nadeau | * openSUSE Leap 15 | 
| 26 | 231 | Patrice Nadeau | * Redmine 3.4.6 | 
| 27 | 32 | Patrice Nadeau | |
| 28 | 214 | Patrice Nadeau | ### Prérequis | 
| 29 | 1 | Patrice Nadeau | |
| 30 | Un serveur *LAMP(Linux, Apache, MySQL, PHP)* [[guides_opensuse:|openSUSE]] *fonctionnel*. | ||
| 31 | 56 | Patrice Nadeau | |
| 32 | 44 | Patrice Nadeau | Les logiciels supplémentaires suivants : | 
| 33 | 207 | Patrice Nadeau | |
| 34 | 225 | Patrice Nadeau | zypper install libmysqlclient-devel ruby-2.5 ruby2.5-devel ImageMagick ImageMagick-devel libxml2-devel libxslt-devel libmariadb-devl git gcc make gcc-c++ | 
| 35 | 32 | Patrice Nadeau | |
| 36 | 214 | Patrice Nadeau | ### MySQL | 
| 37 | 94 | Patrice Nadeau | |
| 38 | 32 | Patrice Nadeau | Création de la base de donnés. | 
| 39 | Substituer les items suivants à votre choix : | ||
| 40 | 214 | Patrice Nadeau | |
| 41 | 32 | Patrice Nadeau | * redmine : Usager pour la base de donnés. | 
| 42 | 224 | Patrice Nadeau | * password : Mot de passe de la base de données. | 
| 43 | 32 | Patrice Nadeau | * db : Nom de la base de donnés. | 
| 44 | |||
| 45 | 1 | Patrice Nadeau | Lancer MySQL : | 
| 46 | 32 | Patrice Nadeau | |
| 47 | 219 | Patrice Nadeau | mysql -u root -p | 
| 48 | |||
| 49 | 1 | Patrice Nadeau | Commandes MySQL : | 
| 50 | |||
| 51 | 219 | Patrice Nadeau | create database db character set utf8; | 
| 52 | create user 'redmine'@'localhost' identified by 'password'; | ||
| 53 | grant all privileges on db.* to 'redmine'@'localhost'; | ||
| 54 | commit; | ||
| 55 | quit; | ||
| 56 | |||
| 57 | |||
| 58 | 32 | Patrice Nadeau | ### Redmine | 
| 59 | 214 | Patrice Nadeau | |
| 60 | 225 | Patrice Nadeau | L’installation sera faite dans **\srv\redmine** (exemple avec la version 3.4) | 
| 61 | 189 | Patrice Nadeau | |
| 62 | 219 | Patrice Nadeau | cd /srv/ | 
| 63 | svn co http://svn.redmine.org/redmine/branches/3.1-stable redmine | ||
| 64 | cd redmine | ||
| 65 | cp config/database.yml.example config/database.yml | ||
| 66 | cp config/configuration.yml.example config/configuration.yml | ||
| 67 | mkdir public/plugin_assets | ||
| 68 | |||
| 69 | |||
| 70 | 33 | Patrice Nadeau | Si un usager MySQL autre que _root_ ou mot de passe diffèrent est utilisé : | 
| 71 | 219 | Patrice Nadeau | Éditer le fichier **config/database.yml**, section *Production* et modifier les lignes : | 
| 72 | 1 | Patrice Nadeau | |
| 73 | 219 | Patrice Nadeau | * **username** | 
| 74 | * **password** | ||
| 75 | 33 | Patrice Nadeau | |
| 76 | 219 | Patrice Nadeau | Éditer le fichier **config/configuration.yml** et modifier la configuration SMTP. | 
| 77 | |||
| 78 | 214 | Patrice Nadeau | ### Ruby | 
| 79 | 33 | Patrice Nadeau | |
| 80 | 34 | Patrice Nadeau | Installation des gems de Ruby | 
| 81 | 1 | Patrice Nadeau | |
| 82 | 234 | Patrice Nadeau | ~~~ bash | 
| 83 | cd redmine | ||
| 84 | gem install bundler | ||
| 85 | bundle.ruby2.5 install --without development test | ||
| 86 | ~~~ | ||
| 87 | |||
| 88 | 219 | Patrice Nadeau | |
| 89 | 1 | Patrice Nadeau | ### Initialisation | 
| 90 | 214 | Patrice Nadeau | |
| 91 | 1 | Patrice Nadeau | Création de la cryptographie, de la structure et des donnés de base : | 
| 92 | |||
| 93 | 233 | Patrice Nadeau | ```bash | 
| 94 | cd /srv/redmine | ||
| 95 | rake generate_secret_token | ||
| 96 | RAILS_ENV=production rake db:migrate | ||
| 97 | RAILS_ENV=production rake redmine:load_default_data | ||
| 98 | ``` | ||
| 99 | 219 | Patrice Nadeau | |
| 100 | 231 | Patrice Nadeau | ### Test | 
| 101 | 1 | Patrice Nadeau | |
| 102 | 231 | Patrice Nadeau | Le serveur inclus _webrick_ n'est pas conçu pour être utilisé en production. | 
| 103 | 1 | Patrice Nadeau | |
| 104 | 231 | Patrice Nadeau | Ouvrir dans le pare-feu le port TCP 3000 (ou simplement desactiver temporairement le parefeu) : | 
| 105 | 214 | Patrice Nadeau | |
| 106 | 232 | Patrice Nadeau | ```bash | 
| 107 | yast firewall services add tcpport=3000 zone=EXT | ||
| 108 | ``` | ||
| 109 | 45 | Patrice Nadeau | |
| 110 | 231 | Patrice Nadeau | Se rendre au `server.tld:3000` | 
| 111 | 45 | Patrice Nadeau | |
| 112 | 231 | Patrice Nadeau | ### Apache | 
| 113 | 45 | Patrice Nadeau | |
| 114 | 54 | Patrice Nadeau | Information provenant de : | 
| 115 | 219 | Patrice Nadeau | |
| 116 | 54 | Patrice Nadeau | * web : | 
| 117 | 219 | Patrice Nadeau | * http://martin-denizet.com/install-redmine-2-5-x-with-git-and-subversion-on-debian-with-apache2-rvm-and-passenger/ | 
| 118 | * http://www.redmine.org/projects/redmine/wiki/HowTo_configure_Apache_to_run_Redmine | ||
| 119 | * http://www.redmine.org/boards/2/topics/43924 | ||
| 120 | 214 | Patrice Nadeau | * livre : "Mastering Redmine":http://shop.oreilly.com/product/9781849519144.do | 
| 121 | 1 | Patrice Nadeau | |
| 122 | 166 | Patrice Nadeau | ### Modules Apache | 
| 123 | |||
| 124 | 46 | Patrice Nadeau | > Apache 2.4 | 
| 125 | 45 | Patrice Nadeau | |
| 126 | Ajout | ||
| 127 | 1 | Patrice Nadeau | |
| 128 | 226 | Patrice Nadeau | zypper install libcurl-devel apache2-devel apache2-mod_perl perl-Apache-DBI subversion-server | 
| 129 | 219 | Patrice Nadeau | |
| 130 | 45 | Patrice Nadeau | Activation des modules Apache | 
| 131 | |||
| 132 | 219 | Patrice Nadeau | a2enmod ssl | 
| 133 | a2enmod perl | ||
| 134 | a2enmod dav | ||
| 135 | a2enmod dav_svn | ||
| 136 | 1 | Patrice Nadeau | a2enmod dav_fs | 
| 137 | 219 | Patrice Nadeau | a2enmod rewrite | 
| 138 | a2enmod headers | ||
| 139 | |||
| 140 | 224 | Patrice Nadeau | Module _Passenger_ | 
| 141 | 45 | Patrice Nadeau | |
| 142 | 219 | Patrice Nadeau | cd /srv/redmine | 
| 143 | gem install passenger | ||
| 144 | passenger-install-apache2-module.ruby2.1 | ||
| 145 | 1 | Patrice Nadeau | |
| 146 | 90 | Patrice Nadeau | Changer les droits sur le fichiers de log | 
| 147 | |||
| 148 | 219 | Patrice Nadeau | chmod 0666 log/production.log | 
| 149 | |||
| 150 | 90 | Patrice Nadeau | Créer le dossier des fichiers temporaire | 
| 151 | 219 | Patrice Nadeau | |
| 152 | > Par défaut les fichiers sont dans _/tmp_ mais se font enlever par le « clean-up » journalier et doivent être refait avec un reload d'Apache | ||
| 153 | |||
| 154 | mkdir tmp/passenger | ||
| 155 | 93 | Patrice Nadeau | |
| 156 | 214 | Patrice Nadeau | ### Activation de la configuration | 
| 157 | 46 | Patrice Nadeau | |
| 158 | 216 | Patrice Nadeau | Créer le fichier **/etc/apache2/conf.d/passenger.conf** et ajouter la configuration inscrite par l'installation. | 
| 159 | 61 | Patrice Nadeau | |
| 160 | 215 | Patrice Nadeau | Ajouter dans **/etc/apache2/vhosts.d/vhost.conf** | 
| 161 | 45 | Patrice Nadeau | |
| 162 | 215 | Patrice Nadeau | <VirtualHost *:80> | 
| 163 | # La ligne suivante est nécessaire seulement si plusieurs site web son présents sur le même serveur. | ||
| 164 | ServerName redmine.yourdomain.com | ||
| 165 | DocumentRoot /srv/redmine/public | ||
| 166 | 1 | Patrice Nadeau | |
| 167 | 215 | Patrice Nadeau | RailsEnv production | 
| 168 | PassengerAppRoot /srv/redmine | ||
| 169 | PassengerTempDir /srv/redmine/tmp/passenger | ||
| 170 | 1 | Patrice Nadeau | |
| 171 | 215 | Patrice Nadeau | <Directory "/srv/redmine/public"> | 
| 172 | Options Indexes ExecCGI FollowSymLinks | ||
| 173 | AllowOverride None | ||
| 174 | Order deny,allow | ||
| 175 | Require all granted | ||
| 176 | </Directory> | ||
| 177 | </VirtualHost> | ||
| 178 | |||
| 179 | |||
| 180 | 65 | Patrice Nadeau | Relancer Apache : | 
| 181 | 215 | Patrice Nadeau | |
| 182 | systemctl reload apache2 | ||
| 183 | 45 | Patrice Nadeau | |
| 184 | 214 | Patrice Nadeau | ## Post-installation | 
| 185 | 1 | Patrice Nadeau | |
| 186 | 68 | Patrice Nadeau | A partir d’un navigateur web, se brancher à : | 
| 187 | 1 | Patrice Nadeau | |
| 188 | 220 | Patrice Nadeau | * Webrick : http://server:3000 | 
| 189 | 71 | Patrice Nadeau | * Apache : http://server | 
| 190 | 1 | Patrice Nadeau | |
| 191 | 69 | Patrice Nadeau | Utiliser l’usager *admin* avec le mot de passe *admin*. | 
| 192 | 1 | Patrice Nadeau | Vérifier la configuration dans *Administration*, *Information*. | 
| 193 | |||
| 194 | 224 | Patrice Nadeau | Si un avertissement apparaît pour l’écriture des répertoires, changer les droits : | 
| 195 | 1 | Patrice Nadeau | > Semble être nécessaire que pour Apache | 
| 196 | 82 | Patrice Nadeau | |
| 197 | 220 | Patrice Nadeau | cd /srv/redmine | 
| 198 | chmod -R 0777 public/plugin_assets | ||
| 199 | chmod -R 0777 files | ||
| 200 | chown -R wwwrun:www tmp | ||
| 201 | # Pour la macro "thumbnails" du wiki, le plugin "redmine_people" nécessite au moins 0775 | ||
| 202 | chmod -R 0777 tmp/thumbnails | ||
| 203 | |||
| 204 | 1 | Patrice Nadeau | ## Personnalisation | 
| 205 | |||
| 206 | ### Ajout d’un logo | ||
| 207 | 29 | Patrice Nadeau | |
| 208 | 187 | Patrice Nadeau | > Cette étape sera à refaire lors d'une mise à jour. | 
| 209 | 1 | Patrice Nadeau | |
| 210 | 187 | Patrice Nadeau | Les informations viennent de : http://www.redmine.org/projects/redmine/wiki/Howto_add_a_logo_to_your_Redmine_banner | 
| 211 | 36 | Patrice Nadeau | |
| 212 | 224 | Patrice Nadeau | * Copier le logo dans **/srv/redmine/public/images/logo.png** | 
| 213 | 1 | Patrice Nadeau | |
| 214 | 224 | Patrice Nadeau | * Modifier le fichier **/srv/redmine/app/views/layouts/base.html.erb** | 
| 215 | 220 | Patrice Nadeau | |
| 216 | * Si on ne veux plus afficher le titre, mettre en commentaire : | ||
| 217 | 1 | Patrice Nadeau | |
| 218 | 220 | Patrice Nadeau | <!--<h1><%= page_header_title %></h1>--> | 
| 219 | 186 | Patrice Nadeau | |
| 220 | * Ajouter en dessous la ligne | ||
| 221 | 220 | Patrice Nadeau | |
| 222 | <img src="<%= Redmine::Utils.relative_url_root %>/images/logo.png" style="top-margin: 15px; left-margin: 15px;"/> | ||
| 223 | |||
| 224 | 224 | Patrice Nadeau | * Relancer Redmine | 
| 225 | 1 | Patrice Nadeau | |
| 226 | ### Plugins | ||
| 227 | 214 | Patrice Nadeau | |
| 228 | 1 | Patrice Nadeau | Modules supplémentaires pour ajouter des fonctionnalités à Redmine. | 
| 229 | |||
| 230 | > Source de problème lors de mise à jour si incompatibilité. | ||
| 231 | 172 | Patrice Nadeau | |
| 232 | 1 | Patrice Nadeau | #### Redmine Rouge | 
| 233 | 209 | Patrice Nadeau | |
| 234 | 1 | Patrice Nadeau | Permet le support de langage supplémentaire pour l'affichage de la syntaxe d'un code source. | 
| 235 | |||
| 236 | [Langage supporté](http://rouge.jayferd.us/demo) | ||
| 237 | |||
| 238 | 13 | Patrice Nadeau | https://github.com/ngyuki/redmine_rouge | 
| 239 | 1 | Patrice Nadeau | |
| 240 | 224 | Patrice Nadeau | * Installation | 
| 241 | |||
| 242 | cd /srv/redmine/plugins | ||
| 243 | 1 | Patrice Nadeau | |
| 244 | 217 | Patrice Nadeau | Enlever l'ancienne version (si présente) | 
| 245 | 1 | Patrice Nadeau | |
| 246 | 224 | Patrice Nadeau | rm -r redmine_rouge | 
| 247 | 1 | Patrice Nadeau | |
| 248 | Télécharger la nouvelle avec git | ||
| 249 | |||
| 250 | 224 | Patrice Nadeau | git clone https://github.com/ngyuki/redmine_rouge.git | 
| 251 | cd .. | ||
| 252 | bundle.ruby2.1 install | ||
| 253 | 218 | Patrice Nadeau | |
| 254 | 224 | Patrice Nadeau | * Relancer redmine | 
| 255 | 218 | Patrice Nadeau | |
| 256 | #### Code Highlight | ||
| 257 | 1 | Patrice Nadeau | |
| 258 | 74 | Patrice Nadeau | http://www.redmine.org/plugins/codehightlight_button | 
| 259 | 5 | Patrice Nadeau | |
| 260 | 1 | Patrice Nadeau | Bouton permettant de sélectionner du code et d'activer la syntaxe selon un langage. | 
| 261 | 9 | Patrice Nadeau | |
| 262 | 224 | Patrice Nadeau | * Installation | 
| 263 | 9 | Patrice Nadeau | |
| 264 | 224 | Patrice Nadeau | cd /srv/redmine/plugins | 
| 265 | git clone https://github.com/mediatainment/redmine_codebutton.git | ||
| 266 | cd .. | ||
| 267 | rake redmine:plugins | ||
| 268 | rake redmine:plugins:migrate RAILS_ENV=production | ||
| 269 | 1 | Patrice Nadeau | |
| 270 | 224 | Patrice Nadeau | * Relancer Redmine | 
| 271 | 218 | Patrice Nadeau | |
| 272 | 224 | Patrice Nadeau | rcredmine restart | 
| 273 | 10 | Patrice Nadeau | |
| 274 | 224 | Patrice Nadeau | * Ajout des langages supplémentaires supportées par le « plug-in » _Redmine Rouge_. | 
| 275 | 220 | Patrice Nadeau | |
| 276 | 224 | Patrice Nadeau | > Voir [ici](https://github.com/mediatainment/redmine_codebutton/issues/2) | 
| 277 | |||
| 278 | * Éditer le fichier **/srv/redmine/plugins/redmine_codebutton/assets/javascripts/wiki-codehighlight.js** | ||
| 279 | |||
| 280 | 220 | Patrice Nadeau | * Ajouter les langages voulus dans la variable *codeRayLanguages* | 
| 281 | 95 | Patrice Nadeau | |
| 282 | 224 | Patrice Nadeau | * Relancer Apache | 
| 283 | 1 | Patrice Nadeau | |
| 284 | 224 | Patrice Nadeau | systemctl reload apache2.service | 
| 285 | 95 | Patrice Nadeau | |
| 286 | 98 | Patrice Nadeau | #### Wiki Extensions | 
| 287 | 97 | Patrice Nadeau | |
| 288 | 214 | Patrice Nadeau | Voir #52 | 
| 289 | 113 | Patrice Nadeau | |
| 290 | 1 | Patrice Nadeau | Ajoute des macros au Wiki de Redmine | 
| 291 | 224 | Patrice Nadeau | |
| 292 | 1 | Patrice Nadeau | > La dernière version est disponible à https://bitbucket.org/haru_iida/redmine_wiki_extensions/downloads | 
| 293 | 115 | Patrice Nadeau | |
| 294 | 114 | Patrice Nadeau | Parmi les macros ajoutées: | 
| 295 | 118 | Patrice Nadeau | |
| 296 | 220 | Patrice Nadeau | * Emoticons : Un bouton apparait pour ajouter des « smilley » qui seront afficher en graphique | 
| 297 | 118 | Patrice Nadeau | * !{{lastupdated_by}} : affiche le nom de la dernière personne à avoir modifier la page | 
| 298 | 1 | Patrice Nadeau | * !{{lastupdated_at}} : affiche la date de la dernière modification de la page | 
| 299 | 118 | Patrice Nadeau | * Liste complète à http://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en | 
| 300 | 1 | Patrice Nadeau | |
| 301 | 177 | Patrice Nadeau | > Des « smilley » non voulus peuvent apparaîtrent dans les wiki déjà en place. L'utilisation de *<notextile><notextile> </notextile></notextile>* seras alors nécessaire. | 
| 302 | 133 | Patrice Nadeau | |
| 303 | 130 | Patrice Nadeau | Étapes : | 
| 304 | 224 | Patrice Nadeau | |
| 305 | 220 | Patrice Nadeau | * Installation sur le serveur : | 
| 306 | 114 | Patrice Nadeau | |
| 307 | 224 | Patrice Nadeau | cd /srv/redmine/ | 
| 308 | wget https://bitbucket.org/haru_iida/redmine_wiki_extensions/downloads/redmine_wiki_extensions-0.8.0.zip | ||
| 309 | unzip redmine_wiki_extensions-0.8.0.zip -d plugins/ | ||
| 310 | rake redmine:plugins:migrate RAILS_ENV=production | ||
| 311 | systemctl reload apache2.service | ||
| 312 | rm -r redmine_wiki_extensions-0.8.0.zip | ||
| 313 | 220 | Patrice Nadeau | |
| 314 | * Activer le module dans le ou les projets voulus | ||
| 315 | |||
| 316 | 224 | Patrice Nadeau | * Retrait d'un plug-in | 
| 317 | 220 | Patrice Nadeau | |
| 318 | 223 | Patrice Nadeau | cd /srv/redmine | 
| 319 | rake redmine:plugins:migrate NAME=plugin_name VERSION=0 RAILS_ENV=production | ||
| 320 | rm -r plugins/plugin_name | ||
| 321 | rake db:migrate_plugins RAILS_ENV=production | ||
| 322 | 220 | Patrice Nadeau | |
| 323 | 214 | Patrice Nadeau | ## Mise à jour | 
| 324 | 1 | Patrice Nadeau | |
| 325 | 228 | Patrice Nadeau | > Version 3.4.2 -> 3.4.6 | 
| 326 | 101 | Patrice Nadeau | |
| 327 | 139 | Patrice Nadeau | S’assurer d'avoir les dernières versions des plugins ET qu'il sont compatibles avec la version de Redmine à installer. | 
| 328 | 1 | Patrice Nadeau | |
| 329 | 101 | Patrice Nadeau | Disponible à http://www.redmine.org/projects/redmine/wiki/Download | 
| 330 | 1 | Patrice Nadeau | |
| 331 | 101 | Patrice Nadeau | Mise à jour de Redmine à partir d'une version stable | 
| 332 | > http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade | ||
| 333 | 1 | Patrice Nadeau | |
| 334 | 220 | Patrice Nadeau | * Arrêter Redmine | 
| 335 | * Renommer le répertoire actuel | ||
| 336 | 1 | Patrice Nadeau | |
| 337 | 221 | Patrice Nadeau | cd /srv/ | 
| 338 | mv redmine redmine.old | ||
| 339 | 220 | Patrice Nadeau | |
| 340 | * Télécharger la nouvelle version | ||
| 341 | |||
| 342 | 229 | Patrice Nadeau | wget http://www.redmine.org/releases/redmine-3.4.6.tar.gz | 
| 343 | 220 | Patrice Nadeau | |
| 344 | * Décompresser le fichier | ||
| 345 | |||
| 346 | 229 | Patrice Nadeau | tar xvf redmine-3.4.6.tar.gz | 
| 347 | mv redmine-3.4.6 redmine | ||
| 348 | 220 | Patrice Nadeau | |
| 349 | * Copier les anciens fichiers de configurations | ||
| 350 | |||
| 351 | 221 | Patrice Nadeau | cp redmine.old/config/configuration.yml redmine/config | 
| 352 | cp redmine.old/config/database.yml redmine/config | ||
| 353 | cp -r redmine.old/files redmine | ||
| 354 | 220 | Patrice Nadeau | |
| 355 | * Refaire la sécurité | ||
| 356 | |||
| 357 | 221 | Patrice Nadeau | chown -R root:root redmine | 
| 358 | # Les commandes suivantes sont nécessaire seulement si Apache est utilisé | ||
| 359 | # Le même owner que config.ru doit être utiliser pour plusieurs dossier | ||
| 360 | chown wwwrun:www redmine/config.ru | ||
| 361 | mkdir redmine/tmp/passenger | ||
| 362 | chown -R wwwrun:www redmine/tmp | ||
| 363 | chmod 0777 redmine/public/plugin_assets | ||
| 364 | chmod -R 0777 redmine/files | ||
| 365 | 220 | Patrice Nadeau | |
| 366 | * Ne copier que les « plugins » qui ne sont pas fournis par la nouvelle version de Redmine | ||
| 367 | |||
| 368 | 221 | Patrice Nadeau | cp -r redmine.old/plugins/* redmine/plugins | 
| 369 | 220 | Patrice Nadeau | |
| 370 | * Installer les « gems » | ||
| 371 | |||
| 372 | 221 | Patrice Nadeau | cd redmine | 
| 373 | 229 | Patrice Nadeau | bundle.ruby2.5 install --without development test | 
| 374 | 220 | Patrice Nadeau | |
| 375 | * Mise à jour (base de donnés, « plugins ») et ménage : | ||
| 376 | |||
| 377 | 229 | Patrice Nadeau | bundle.ruby2.5 exec rake generate_secret_token | 
| 378 | bundle.ruby2.5 exec rake db:migrate RAILS_ENV=production | ||
| 379 | bundle.ruby2.5 exec rake redmine:plugins:migrate RAILS_ENV=production | ||
| 380 | bundle.ruby2.5 exec rake tmp:cache:clear tmp:sessions:clear | ||
| 381 | 220 | Patrice Nadeau | |
| 382 | * Remettre le logo (facultatif) | ||
| 383 | |||
| 384 | 221 | Patrice Nadeau | cd .. | 
| 385 | cp redmine.old/public/images/logo.png redmine/public/images/ | ||
| 386 | cp redmine.old/app/views/layouts/base.html.erb redmine/app/views/layouts/ | ||
| 387 | 220 | Patrice Nadeau | |
| 388 | * Réinstaller le module « Passenger » (voir plus haut) | ||
| 389 | * Relancer Redmine | ||
| 390 | * Vérifier | ||
| 391 | * Administration | ||
| 392 | * Informations | ||
| 393 | * Plugins | ||
| 394 | * Projects | ||
| 395 | * Users | ||
| 396 | * Roles & permissions | ||
| 397 | * Essayer d'attacher un fichier à un projet | ||
| 398 | * Essayer d’accéder au calendrier d'un projet | ||
| 399 | |||
| 400 | 214 | Patrice Nadeau | ## Copie de sécurité | 
| 401 | 40 | Patrice Nadeau | |
| 402 | 163 | Patrice Nadeau | [[Copie de sécurité]] | 
| 403 | |||
| 404 | 5 | Patrice Nadeau | |
| 405 | 39 | Patrice Nadeau | |
| 406 | 214 | Patrice Nadeau | ## Dépannage | 
| 407 | 1 | Patrice Nadeau | |
| 408 | 214 | Patrice Nadeau | ### Mot de passe perdu | 
| 409 | 1 | Patrice Nadeau | |
| 410 | Le mot de passe admin par défaut est en _hash Sha1_ : *da3174755c5e82a436b6c7ff87c873ee50d6654b* et est *admin.* | ||
| 411 | |||
| 412 | 214 | Patrice Nadeau | ### Le service tombe « DEAD » à chaque fois (webrick) | 
| 413 | 1 | Patrice Nadeau | |
| 414 | 220 | Patrice Nadeau | Effacer le fichier **/srv/redmine/tmp/pids/server.pid**. | 
