ich bin gerade beim Update von 3.2.1 nach 3.3.6. Als Datenbank nutze ich PostgreSQL 9.1.
Während der Ausführung des Upgrade-Scripts ( DBUpdate-to-3.3.postgresql.sql ) stoppt der Prozess mit folgenden Fehlermeldungen:
Da die Anleitung (upgrading.html) keine Fehler möchte, stoppt das Update also an dieser Stelle (bzw. direkt nach der ersten ERROR-Meldung)ALTER TABLE
ERROR: constraint "fk_standard_response_valid_id_id" of relation "standard_response" does not exist
ERROR: constraint "fk_standard_response_create_by_id" of relation "standard_response" does not exist
ERROR: constraint "fk_standard_response_change_by_id" of relation "standard_response" does not exist
ERROR: constraint "fk_queue_standard_response_standard_response_id_id" of relation "queue_standard_response" does not exist
ERROR: constraint "fk_queue_standard_response_queue_id_id" of relation "queue_standard_response" does not exist
ERROR: constraint "fk_queue_standard_response_create_by_id" of relation "queue_standard_response" does not exist
ERROR: constraint "fk_queue_standard_response_change_by_id" of relation "queue_standard_response" does not exist
ERROR: constraint "fk_standard_response_attachment_standard_response_id_id" of relation "standard_response_attachment" does not exist
ERROR: constraint "fk_standard_response_attachment_standard_attachment_id_id" of relation "standard_response_attachment" does not exist
ERROR: constraint "fk_standard_response_attachment_create_by_id" of relation "standard_response_attachment" does not exist
ERROR: constraint "fk_standard_response_attachment_change_by_id" of relation "standard_response_attachment" does not exist
ALTER TABLE
Wenn ich nach der Meldung# PostgreSQL 8.2+:
shell> cat scripts/DBUpdate-to-3.3.postgresql.sql | psql --set ON_ERROR_STOP=on --single-transaction otrs otrs
suche, bekomme ich zahlreiche Support-Anfragen von MySQL-Usern, die zum Einen nur ein INFO: vor der Meldung stehen haben, zum Andere das Script bei MySQL wohl auch nicht stoppen würde, wenn es ein ERROR: wäre...constraint "fk_standard_response_change_by_id" of relation "standard_response" does not exist
Meine Frage nun:
Kann ich das Update trotzdem laufen lassen ( eben ohne --set ON_ERROR_STOP=on)?
Mit meiner Testmaschine habe ich das erfolgreich gemacht - wobei ich nicht wirklich einschätzen kann, wie erfolgreich denn wirklich. Ich kann ja nach dem Update nicht alle Funktionen testen...
Für Hinweise dankbar
Schorsch