Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[Bacula\-users\]\s+Jobs\s+fail\s+with\s+\"duplicate\s+key\s+value\s+violates\s+unique\s+constraint\"\s+after\s+upgrade\s+to\s+7\.0\.5\s*$/: 7 ]

Total 7 documents matching your query.

1. [Bacula-users] Jobs fail with "duplicate key value violates unique constraint" after upgrade to 7.0.5 (score: 1)
Author: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
Date: Sun, 05 Jul 2015 12:43:48 +0200
Hi list, I recently upgraded my Bacula director and storage to 7.0.5 from 5.2.x and now some jobs fail with the following error: Fatal error: sql_create.c:851 Fill Filename table Query failed: INSERT
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2015-07/msg00021.html (13,401 bytes)

2. Re: [Bacula-users] Jobs fail with "duplicate key value violates unique constraint" after upgrade to 7.0.5 (score: 1)
Author: Kern Sibbald <kern AT sibbald DOT com>
Date: Sun, 05 Jul 2015 14:00:29 +0200
Hello, It appears to me that for some reason you have duplicate filename entries in the Filename table. Perhaps you have a filename of NULL and a filename of "", which perhaps PostgreSQL treats as eq
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2015-07/msg00024.html (15,847 bytes)

3. Re: [Bacula-users] Jobs fail with "duplicate key value violates unique constraint" after upgrade to 7.0.5 (score: 1)
Author: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
Date: Sun, 05 Jul 2015 15:37:22 +0200
Hi Kern, I tried querying for the values that were indicated as duplicates by the error messages. I either got only one entry back or none at all. I also tried looking for duplicates in general with
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2015-07/msg00025.html (17,166 bytes)

4. Re: [Bacula-users] Jobs fail with "duplicate key value violates unique constraint" after upgrade to 7.0.5 (score: 1)
Author: Kern Sibbald <kern AT sibbald DOT com>
Date: Sun, 05 Jul 2015 18:16:07 +0200
When you did that PostgreSQL upgrade, did you export the database in .sql format before the upgrade then reload it back after the upgrade? If not, that is probably where things went wrong. With MySQL
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2015-07/msg00027.html (18,127 bytes)

5. Re: [Bacula-users] Jobs fail with "duplicate key value violates unique constraint" after upgrade to 7.0.5 (score: 1)
Author: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
Date: Sun, 05 Jul 2015 18:50:48 +0200
Am 05.07.2015 um 18:16 schrieb Kern Sibbald: I dumped it in Postgres' "custom" format on the old host, with "pg_dump -Fc", and then loaded it with pg_restore on the new host. But I just realized that
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2015-07/msg00028.html (18,984 bytes)

6. Re: [Bacula-users] Jobs fail with "duplicate key value violates unique constraint" after upgrade to 7.0.5 (score: 1)
Author: Kern Sibbald <kern AT sibbald DOT com>
Date: Sun, 05 Jul 2015 22:15:33 +0200
I don't know, because I am not an expert on PostgreSQL. In any case, now that it is created and you have used it, it might be hard to go back. I am sorry, but at this point, I am out of ideas. Good l
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2015-07/msg00030.html (13,815 bytes)

7. Re: [Bacula-users] Jobs fail with "duplicate key value violates unique constraint" after upgrade to 7.0.5 (score: 1)
Author: Christian Manal <moenoel AT informatik.uni-bremen DOT de>
Date: Mon, 06 Jul 2015 10:10:53 +0200
Thanks your input anyway, Kern. I appreciate it. I just dumped my current db and restored it into a new database with the correct settings. Now I can find duplicates. In fact, there are 12 million du
/usr/local/webapp/mharc-adsm.org/html/Bacula-users/2015-07/msg00033.html (14,336 bytes)


This search system is powered by Namazu