Projet

Général

Profil

Redmine » Historique » Version 2

Mehdi Abaakouk, 12/05/2014 16:27

1 1 Laurent GUERBY
{{>toc}}
2 1 Laurent GUERBY
3 1 Laurent GUERBY
h1. Redmine
4 1 Laurent GUERBY
5 1 Laurent GUERBY
h2. Liens
6 1 Laurent GUERBY
7 1 Laurent GUERBY
* https://wiki.ldn-fai.net/wiki/Redmine#Par_mail ouvrir un ticket redmine par mail
8 2 Mehdi Abaakouk
9 2 Mehdi Abaakouk
10 2 Mehdi Abaakouk
h2. Investigation Erreur 500
11 2 Mehdi Abaakouk
12 2 Mehdi Abaakouk
Erreur dans /srv/http/redmine/log/production.log:
13 2 Mehdi Abaakouk
14 2 Mehdi Abaakouk
<pre>
15 2 Mehdi Abaakouk
Completed 500 Internal Server Error in 23.2ms
16 2 Mehdi Abaakouk
17 2 Mehdi Abaakouk
ActiveRecord::RecordNotUnique (PG::UniqueViolation: ERROR:  duplicate key value violates unique constraint "wiki_content_versions_pkey"
18 2 Mehdi Abaakouk
DETAIL:  Key (id)=(164) already exists.
19 2 Mehdi Abaakouk
: INSERT INTO "wiki_content_versions" ("author_id", "comments", "compression", "data", "page_id", "updated_on", "version", "wiki_content_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id"):
20 2 Mehdi Abaakouk
</pre>
21 2 Mehdi Abaakouk
22 2 Mehdi Abaakouk
<pre>
23 2 Mehdi Abaakouk
# su - postgres
24 2 Mehdi Abaakouk
# psql redmine
25 2 Mehdi Abaakouk
# select nextval('wiki_content_versions_id_seq'::regclass)
26 2 Mehdi Abaakouk
# select nextval('wiki_content_versions_id_seq'::regclass)
27 2 Mehdi Abaakouk
# select nextval('wiki_content_versions_id_seq'::regclass)
28 2 Mehdi Abaakouk
# select nextval('wiki_content_versions_id_seq'::regclass)
29 2 Mehdi Abaakouk
</pre>