Wiki » Historique » Version 223
Patrice Nadeau, 2018-03-24 16:31
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 | 180 | Patrice Nadeau | * openSUSE 13.2 |
26 | 193 | Patrice Nadeau | * Redmine 3.1.1 |
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 | 219 | Patrice Nadeau | zypper install libmysqlclient-devel ruby-2.1 ruby21-devel rubygem-bundler rubygem-mysql2 rubygem-pg ImageMagick ImageMagick-devel libxml2-devel libxslt-devel git gcc make |
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 | * password : Mot de passe de la base de donnees. |
||
43 | * 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 | 219 | Patrice Nadeau | L’installation sera faite dans **\srv\redmine** (exemple avec la version 3.1) |
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 | 219 | Patrice Nadeau | cd redmine |
83 | gem install bundler |
||
84 | gem install activerecord-mysql2-adapter |
||
85 | bundle install --without development test |
||
86 | |||
87 | |||
88 | 1 | Patrice Nadeau | ### Initialisation |
89 | 214 | Patrice Nadeau | |
90 | 1 | Patrice Nadeau | Création de la cryptographie, de la structure et des donnés de base : |
91 | |||
92 | 219 | Patrice Nadeau | cd /srv/redmine |
93 | rake generate_secret_token |
||
94 | RAILS_ENV=production rake db:migrate |
||
95 | RAILS_ENV=production rake redmine:load_default_data |
||
96 | |||
97 | 34 | Patrice Nadeau | ### Serveur web |
98 | 1 | Patrice Nadeau | |
99 | Redmine peux être utiliser avec le serveur inclus _webrick_ (port 3000) ou _Apache_ (port 80). |
||
100 | |||
101 | #### Webrick |
||
102 | |||
103 | 60 | Patrice Nadeau | Ouvrir dans le pare-feu le port TCP 3000 : |
104 | 1 | Patrice Nadeau | |
105 | 219 | Patrice Nadeau | yast firewall services add tcpport=3000 zone=EXT |
106 | |||
107 | |||
108 | 69 | Patrice Nadeau | Lancer le serveur web |
109 | 34 | Patrice Nadeau | |
110 | 219 | Patrice Nadeau | cd /srv/redmine |
111 | ruby bin/rails server webrick -e production |
||
112 | |||
113 | |||
114 | 214 | Patrice Nadeau | ##### Transformation en daemon |
115 | 94 | Patrice Nadeau | |
116 | 35 | Patrice Nadeau | Le script original vient de http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_on_openSUSE |
117 | 219 | Patrice Nadeau | Copier le script dans le fichier **/etc/init.d/redmine** |
118 | 1 | Patrice Nadeau | |
119 | 35 | Patrice Nadeau | Le modifier de la manière suivante : |
120 | 214 | Patrice Nadeau | |
121 | 35 | Patrice Nadeau | * REDMINE_BIN=/srv/redmine/current/script/rails |
122 | 1 | Patrice Nadeau | * REDMINE_USER=user |
123 | 35 | Patrice Nadeau | * Corriger le «typo» à la ligne 73 : $REDMI-NE_BIN -> $REDMINE_BIN |
124 | * Dans la section stop, après la ligne killproc, ajouter *rm $PIDFILE* |
||
125 | |||
126 | Rendre le fichier exécutable, l’ajouter aux services SUSE et l’exécuter au démarrage : |
||
127 | |||
128 | 219 | Patrice Nadeau | chmod 0755 /etc/init.d/redmine |
129 | cp -s /etc/init.d/redmine /usr/bin/rcredmine |
||
130 | chkconfig -a redmine |
||
131 | |||
132 | 214 | Patrice Nadeau | #### Apache |
133 | 1 | Patrice Nadeau | |
134 | 45 | Patrice Nadeau | Transformation pour utilisation avec Apache. |
135 | 219 | Patrice Nadeau | |
136 | 45 | Patrice Nadeau | * N'utilise pas _webrick_ |
137 | * Accessible par le port 80 au lieu de 3000 |
||
138 | |||
139 | 54 | Patrice Nadeau | Information provenant de : |
140 | 219 | Patrice Nadeau | |
141 | 54 | Patrice Nadeau | * web : |
142 | 219 | Patrice Nadeau | * http://martin-denizet.com/install-redmine-2-5-x-with-git-and-subversion-on-debian-with-apache2-rvm-and-passenger/ |
143 | * http://www.redmine.org/projects/redmine/wiki/HowTo_configure_Apache_to_run_Redmine |
||
144 | * http://www.redmine.org/boards/2/topics/43924 |
||
145 | 214 | Patrice Nadeau | * livre : "Mastering Redmine":http://shop.oreilly.com/product/9781849519144.do |
146 | 1 | Patrice Nadeau | |
147 | 166 | Patrice Nadeau | ### Modules Apache |
148 | |||
149 | 46 | Patrice Nadeau | > Apache 2.4 |
150 | 45 | Patrice Nadeau | |
151 | Ajout |
||
152 | 1 | Patrice Nadeau | |
153 | 219 | Patrice Nadeau | zypper install libcurl-devel apache2-devel apache2-mod_perl perl-Apache-DBI subversion-server |
154 | |||
155 | |||
156 | 45 | Patrice Nadeau | Activation des modules Apache |
157 | |||
158 | 219 | Patrice Nadeau | a2enmod ssl |
159 | a2enmod perl |
||
160 | a2enmod dav |
||
161 | a2enmod dav_svn |
||
162 | a2enmod dav_fs |
||
163 | a2enmod rewrite |
||
164 | a2enmod headers |
||
165 | |||
166 | |||
167 | 46 | Patrice Nadeau | ### Module _Passenger_ |
168 | 45 | Patrice Nadeau | |
169 | 219 | Patrice Nadeau | cd /srv/redmine |
170 | gem install passenger |
||
171 | passenger-install-apache2-module.ruby2.1 |
||
172 | 1 | Patrice Nadeau | |
173 | 90 | Patrice Nadeau | Changer les droits sur le fichiers de log |
174 | |||
175 | 219 | Patrice Nadeau | chmod 0666 log/production.log |
176 | |||
177 | 90 | Patrice Nadeau | Créer le dossier des fichiers temporaire |
178 | 219 | Patrice Nadeau | |
179 | 103 | Patrice Nadeau | > 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 |
180 | 219 | Patrice Nadeau | |
181 | mkdir tmp/passenger |
||
182 | |||
183 | 93 | Patrice Nadeau | |
184 | 214 | Patrice Nadeau | ### Activation de la configuration |
185 | 46 | Patrice Nadeau | |
186 | 216 | Patrice Nadeau | Créer le fichier **/etc/apache2/conf.d/passenger.conf** et ajouter la configuration inscrite par l'installation. |
187 | 61 | Patrice Nadeau | |
188 | 215 | Patrice Nadeau | Ajouter dans **/etc/apache2/vhosts.d/vhost.conf** |
189 | 45 | Patrice Nadeau | |
190 | 215 | Patrice Nadeau | <VirtualHost *:80> |
191 | # La ligne suivante est nécessaire seulement si plusieurs site web son présents sur le même serveur. |
||
192 | ServerName redmine.yourdomain.com |
||
193 | DocumentRoot /srv/redmine/public |
||
194 | 1 | Patrice Nadeau | |
195 | 215 | Patrice Nadeau | RailsEnv production |
196 | PassengerAppRoot /srv/redmine |
||
197 | PassengerTempDir /srv/redmine/tmp/passenger |
||
198 | 1 | Patrice Nadeau | |
199 | 215 | Patrice Nadeau | <Directory "/srv/redmine/public"> |
200 | Options Indexes ExecCGI FollowSymLinks |
||
201 | AllowOverride None |
||
202 | Order deny,allow |
||
203 | Require all granted |
||
204 | </Directory> |
||
205 | </VirtualHost> |
||
206 | |||
207 | |||
208 | 65 | Patrice Nadeau | Relancer Apache : |
209 | 215 | Patrice Nadeau | |
210 | systemctl reload apache2 |
||
211 | 45 | Patrice Nadeau | |
212 | 214 | Patrice Nadeau | ## Post-installation |
213 | 1 | Patrice Nadeau | |
214 | 68 | Patrice Nadeau | A partir d’un navigateur web, se brancher à : |
215 | 220 | Patrice Nadeau | |
216 | 71 | Patrice Nadeau | * Webrick : http://server:3000 |
217 | 1 | Patrice Nadeau | * Apache : http://server |
218 | |||
219 | 69 | Patrice Nadeau | Utiliser l’usager *admin* avec le mot de passe *admin*. |
220 | 1 | Patrice Nadeau | Vérifier la configuration dans *Administration*, *Information*. |
221 | |||
222 | 80 | Patrice Nadeau | Si un avertissement apparait pour l’écriture des répertoires, changer les droits : |
223 | 1 | Patrice Nadeau | > Semble être nécessaire que pour Apache |
224 | 82 | Patrice Nadeau | |
225 | 220 | Patrice Nadeau | cd /srv/redmine |
226 | chmod -R 0777 public/plugin_assets |
||
227 | chmod -R 0777 files |
||
228 | chown -R wwwrun:www tmp |
||
229 | # Pour la macro "thumbnails" du wiki, le plugin "redmine_people" nécessite au moins 0775 |
||
230 | chmod -R 0777 tmp/thumbnails |
||
231 | |||
232 | 1 | Patrice Nadeau | ## Personnalisation |
233 | |||
234 | 29 | Patrice Nadeau | ### Ajout d’un logo |
235 | 214 | Patrice Nadeau | |
236 | 187 | Patrice Nadeau | > Cette étape sera à refaire lors d'une mise à jour. |
237 | 1 | Patrice Nadeau | |
238 | 187 | Patrice Nadeau | Les informations viennent de : http://www.redmine.org/projects/redmine/wiki/Howto_add_a_logo_to_your_Redmine_banner |
239 | 36 | Patrice Nadeau | |
240 | 220 | Patrice Nadeau | Copier le logo dans **/srv/redmine/public/images/logo.png** |
241 | 1 | Patrice Nadeau | |
242 | 220 | Patrice Nadeau | Modifier le fichier **/srv/redmine/app/views/layouts/base.html.erb** |
243 | |||
244 | 1 | Patrice Nadeau | * Si on ne veux plus afficher le titre, mettre en commentaire : |
245 | 220 | Patrice Nadeau | |
246 | <!--<h1><%= page_header_title %></h1>--> |
||
247 | |||
248 | 186 | Patrice Nadeau | * Ajouter en dessous la ligne |
249 | |||
250 | 220 | Patrice Nadeau | <img src="<%= Redmine::Utils.relative_url_root %>/images/logo.png" style="top-margin: 15px; left-margin: 15px;"/> |
251 | |||
252 | |||
253 | 186 | Patrice Nadeau | Relancer Redmine |
254 | 1 | Patrice Nadeau | |
255 | ### Plugins |
||
256 | 214 | Patrice Nadeau | |
257 | 172 | Patrice Nadeau | Modules supplémentaires pour ajouter des fonctionnalités à Redmine. |
258 | 173 | Patrice Nadeau | |
259 | > Source de problème lors de mise à jour si incompatibilité. |
||
260 | 209 | Patrice Nadeau | |
261 | 1 | Patrice Nadeau | #### Redmine Rouge |
262 | 214 | Patrice Nadeau | |
263 | 4 | Patrice Nadeau | Permet le support de langage supplémentaire pour l'affichage de la syntaxe d'un code source. |
264 | 1 | Patrice Nadeau | |
265 | 13 | Patrice Nadeau | [Langage supporté](http://rouge.jayferd.us/demo) |
266 | 217 | Patrice Nadeau | |
267 | 1 | Patrice Nadeau | https://github.com/ngyuki/redmine_rouge |
268 | |||
269 | <code class="bash"> |
||
270 | 217 | Patrice Nadeau | cd /srv/redmine/plugins |
271 | |||
272 | 220 | Patrice Nadeau | Enlever l'ancienne version (si présente) |
273 | 210 | Patrice Nadeau | |
274 | 220 | Patrice Nadeau | rm -r redmine_rouge |
275 | |||
276 | 218 | Patrice Nadeau | Télécharger la nouvelle avec git |
277 | |||
278 | git clone https://github.com/ngyuki/redmine_rouge.git |
||
279 | cd .. |
||
280 | bundle.ruby2.1 install |
||
281 | |||
282 | 1 | Patrice Nadeau | Relancer redmine |
283 | 74 | Patrice Nadeau | |
284 | 5 | Patrice Nadeau | #### Code Highlight |
285 | 1 | Patrice Nadeau | |
286 | 9 | Patrice Nadeau | http://www.redmine.org/plugins/codehightlight_button |
287 | 10 | Patrice Nadeau | |
288 | 9 | Patrice Nadeau | Bouton permettant de sélectionner du code et d'activer la syntaxe selon un langage. |
289 | |||
290 | 1 | Patrice Nadeau | Installation |
291 | 218 | Patrice Nadeau | |
292 | cd /srv/redmine/plugins |
||
293 | git clone https://github.com/mediatainment/redmine_codebutton.git |
||
294 | cd .. |
||
295 | rake redmine:plugins |
||
296 | rake redmine:plugins:migrate RAILS_ENV=production |
||
297 | 10 | Patrice Nadeau | |
298 | 1 | Patrice Nadeau | # Relancer Redmine |
299 | 220 | Patrice Nadeau | |
300 | rcredmine restart |
||
301 | 95 | Patrice Nadeau | |
302 | Ajout des langages supplémentaires supportées par le « plug-in » _Redmine Rouge_. Voir "ici":https://github.com/mediatainment/redmine_codebutton/issues/2 |
||
303 | 1 | Patrice Nadeau | Éditer le fichier */srv/redmine/plugins/redmine_codebutton/assets/javascripts/wiki-codehighlight.js* |
304 | 220 | Patrice Nadeau | |
305 | 95 | Patrice Nadeau | * Ajouter les langages voulus dans la variable *codeRayLanguages* |
306 | |||
307 | Relancer Apache |
||
308 | |||
309 | 220 | Patrice Nadeau | systemctl reload apache2.service |
310 | |||
311 | 214 | Patrice Nadeau | #### Like Button |
312 | 97 | Patrice Nadeau | |
313 | 1 | Patrice Nadeau | Bouton pour Facebook, Google+ et Twitter |
314 | 97 | Patrice Nadeau | |
315 | 98 | Patrice Nadeau | http://www.redmine.org/plugins/like |
316 | |||
317 | 1 | Patrice Nadeau | Installation |
318 | 98 | Patrice Nadeau | |
319 | 222 | Patrice Nadeau | cd /srv/redmine/plugins |
320 | 98 | Patrice Nadeau | svn svn co http://svn.s-andy.com/like-button like |
321 | 220 | Patrice Nadeau | |
322 | 98 | Patrice Nadeau | Relancer Redmine |
323 | 97 | Patrice Nadeau | |
324 | 214 | Patrice Nadeau | #### Wiki Extensions |
325 | 113 | Patrice Nadeau | |
326 | 1 | Patrice Nadeau | Voir #52 |
327 | 122 | Patrice Nadeau | |
328 | 1 | Patrice Nadeau | Ajoute des macros au Wiki de Redmine |
329 | 115 | Patrice Nadeau | > La dernière version est disponible à https://bitbucket.org/haru_iida/redmine_wiki_extensions/downloads |
330 | 114 | Patrice Nadeau | |
331 | 118 | Patrice Nadeau | Parmi les macros ajoutées: |
332 | 220 | Patrice Nadeau | |
333 | 118 | Patrice Nadeau | * Emoticons : Un bouton apparait pour ajouter des « smilley » qui seront afficher en graphique |
334 | 1 | Patrice Nadeau | * !{{lastupdated_by}} : affiche le nom de la dernière personne à avoir modifier la page |
335 | 118 | Patrice Nadeau | * !{{lastupdated_at}} : affiche la date de la dernière modification de la page |
336 | 1 | Patrice Nadeau | * Liste complète à http://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en |
337 | 177 | Patrice Nadeau | |
338 | 133 | 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. |
339 | 130 | Patrice Nadeau | |
340 | Étapes : |
||
341 | 220 | Patrice Nadeau | * Installation sur le serveur : |
342 | 114 | Patrice Nadeau | |
343 | 220 | Patrice Nadeau | cd /srv/redmine/ |
344 | wget https://bitbucket.org/haru_iida/redmine_wiki_extensions/downloads/redmine_wiki_extensions-0.8.0.zip |
||
345 | unzip redmine_wiki_extensions-0.8.0.zip -d plugins/ |
||
346 | rake redmine:plugins:migrate RAILS_ENV=production |
||
347 | systemctl reload apache2.service |
||
348 | rm -r redmine_wiki_extensions-0.8.0.zip |
||
349 | |||
350 | * Activer le module dans le ou les projets voulus |
||
351 | |||
352 | 223 | Patrice Nadeau | * Retrait d'un plug-in |
353 | 220 | Patrice Nadeau | |
354 | 223 | Patrice Nadeau | cd /srv/redmine |
355 | rake redmine:plugins:migrate NAME=plugin_name VERSION=0 RAILS_ENV=production |
||
356 | rm -r plugins/plugin_name |
||
357 | rake db:migrate_plugins RAILS_ENV=production |
||
358 | 220 | Patrice Nadeau | |
359 | 214 | Patrice Nadeau | ## Mise à jour |
360 | 1 | Patrice Nadeau | |
361 | 205 | Patrice Nadeau | > Version 3.3.3 -> 3.4.2 |
362 | 101 | Patrice Nadeau | |
363 | 139 | Patrice Nadeau | S’assurer d'avoir les dernières versions des plugins ET qu'il sont compatibles avec la version de Redmine à installer. |
364 | 1 | Patrice Nadeau | |
365 | 101 | Patrice Nadeau | Disponible à http://www.redmine.org/projects/redmine/wiki/Download |
366 | 1 | Patrice Nadeau | |
367 | 101 | Patrice Nadeau | Mise à jour de Redmine à partir d'une version stable |
368 | > http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade |
||
369 | 1 | Patrice Nadeau | |
370 | 220 | Patrice Nadeau | * Arrêter Redmine |
371 | * Renommer le répertoire actuel |
||
372 | 1 | Patrice Nadeau | |
373 | 221 | Patrice Nadeau | cd /srv/ |
374 | mv redmine redmine.old |
||
375 | 220 | Patrice Nadeau | |
376 | * Télécharger la nouvelle version |
||
377 | |||
378 | 221 | Patrice Nadeau | wget http://www.redmine.org/releases/redmine-3.4.2.tar.gz |
379 | 220 | Patrice Nadeau | |
380 | * Décompresser le fichier |
||
381 | |||
382 | 221 | Patrice Nadeau | tar xvf redmine-3.4.2.tar.gz |
383 | mv redmine-3.4.2 redmine |
||
384 | 220 | Patrice Nadeau | |
385 | * Copier les anciens fichiers de configurations |
||
386 | |||
387 | 221 | Patrice Nadeau | cp redmine.old/config/configuration.yml redmine/config |
388 | cp redmine.old/config/database.yml redmine/config |
||
389 | cp -r redmine.old/files redmine |
||
390 | 220 | Patrice Nadeau | |
391 | * Refaire la sécurité |
||
392 | |||
393 | 221 | Patrice Nadeau | chown -R root:root redmine |
394 | # Les commandes suivantes sont nécessaire seulement si Apache est utilisé |
||
395 | # Le même owner que config.ru doit être utiliser pour plusieurs dossier |
||
396 | chown wwwrun:www redmine/config.ru |
||
397 | mkdir redmine/tmp/passenger |
||
398 | chown -R wwwrun:www redmine/tmp |
||
399 | chmod 0777 redmine/public/plugin_assets |
||
400 | chmod -R 0777 redmine/files |
||
401 | 220 | Patrice Nadeau | |
402 | * Ne copier que les « plugins » qui ne sont pas fournis par la nouvelle version de Redmine |
||
403 | |||
404 | 221 | Patrice Nadeau | cp -r redmine.old/plugins/* redmine/plugins |
405 | 220 | Patrice Nadeau | |
406 | * Installer les « gems » |
||
407 | |||
408 | 221 | Patrice Nadeau | cd redmine |
409 | bundle.ruby2.1 install --without development test |
||
410 | 220 | Patrice Nadeau | |
411 | * Mise à jour (base de donnés, « plugins ») et ménage : |
||
412 | |||
413 | 221 | Patrice Nadeau | bundle.ruby2.1 exec rake generate_secret_token |
414 | bundle.ruby2.1 exec rake db:migrate RAILS_ENV=production |
||
415 | bundle.ruby2.1 exec rake redmine:plugins:migrate RAILS_ENV=production |
||
416 | bundle.ruby2.1 exec rake tmp:cache:clear tmp:sessions:clear |
||
417 | 220 | Patrice Nadeau | |
418 | * Remettre le logo (facultatif) |
||
419 | |||
420 | 221 | Patrice Nadeau | cd .. |
421 | cp redmine.old/public/images/logo.png redmine/public/images/ |
||
422 | cp redmine.old/app/views/layouts/base.html.erb redmine/app/views/layouts/ |
||
423 | 220 | Patrice Nadeau | |
424 | * Réinstaller le module « Passenger » (voir plus haut) |
||
425 | * Relancer Redmine |
||
426 | * Vérifier |
||
427 | * Administration |
||
428 | * Informations |
||
429 | * Plugins |
||
430 | * Projects |
||
431 | * Users |
||
432 | * Roles & permissions |
||
433 | * Essayer d'attacher un fichier à un projet |
||
434 | * Essayer d’accéder au calendrier d'un projet |
||
435 | |||
436 | 214 | Patrice Nadeau | ## Copie de sécurité |
437 | 40 | Patrice Nadeau | |
438 | 163 | Patrice Nadeau | [[Copie de sécurité]] |
439 | |||
440 | 5 | Patrice Nadeau | |
441 | 39 | Patrice Nadeau | |
442 | 214 | Patrice Nadeau | ## Dépannage |
443 | 1 | Patrice Nadeau | |
444 | 214 | Patrice Nadeau | ### Mot de passe perdu |
445 | 1 | Patrice Nadeau | |
446 | Le mot de passe admin par défaut est en _hash Sha1_ : *da3174755c5e82a436b6c7ff87c873ee50d6654b* et est *admin.* |
||
447 | |||
448 | 214 | Patrice Nadeau | ### Le service tombe « DEAD » à chaque fois (webrick) |
449 | 1 | Patrice Nadeau | |
450 | 220 | Patrice Nadeau | Effacer le fichier **/srv/redmine/tmp/pids/server.pid**. |