Closed (cannot reproduce)
Project:
Drupal core
Version:
7.x-dev
Component:
database update system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
11 Jul 2011 at 04:38 UTC
Updated:
7 Jun 2013 at 03:54 UTC
Comments
Comment #1
catchThat index did not exist in Drupal 6 dblog module. Is it possible you added the index yourself at some point?
Comment #2
marcingy commentedComment #3
wa2nlinux commentedNo I did'nt add anything ..
I Use postgresql 8.3
Comment #4
ausimpson commentedExperienced similar error during three attempts to update 6.22 to 7.4 despite rigorous adhesion to documentation instructions:
DatabaseSchemaObjectExistsException: Tablerole_permission already exists in DatabaseSchema->createTable() (line 629 of /home/plwaorg/public_html/includes/database/schema.inc).
Am considering starting a 7.4 site and reloading 4.5GB of data!
Has anyone any better ideas before I surrender?
Comment #5
marcingy commentedComment #6
marcingy commentedAnd postponed again we need more info about your environment etc.
Comment #7
gallen commentedConverting from 6.25 to 7.12 (postgresql 8.3)
Procedure creates index but terminates on subsequent "invalid input syntax for type bytea". Subsequent runs of update.php tries to recreate index with above error.
To get around this problem, I needed to run from command prompt:
ALTER TABLE watchdog ALTER variables TYPE bytea USING convert_to(variables,'UTF8')::bytea;
drop index watchdog_uid_idx;
Comment #8
xjmRegarding #7, that's a completely different issue than the other issues mentioned here, and sounds to me to be a database-specific issue. I'd suggest looking at these issues and seeing if one sounds like the issue you encountered:
http://drupal.org/project/issues/search/drupal?text=bytea&version%5B%5D=...
Comment #9
neRok commentedIm going over some postponed core bugs.
There have been 3 different errors posted, and no steps to reproduce any, so I think we can close this one.
IMO, comment #1 also makes a good suggestion to the cause of the original issue.