Closed robertgarrigos closed 5 years ago
Yes, #14 seems to be related. The issue came up after a "Start over" and a "Clean up" on the Releases page of the Localization server configuration.
After the two actions it wasn't longer possible to repackage projects on the "Packaging tools" page. Instead I got the following error:
An AJAX HTTP error occurred. HTTP Result Code: 500 Debugging information follows. Path: /batch?id=58&op=do StatusText: Service unavailable (with message) ResponseText: PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'public://l10n_packager/1.10.1/backdropcms/backdropcms-1.10.1.de.' for key 'uri': INSERT INTO {file_managed} (filename, uri, filemime, filesize, status, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5); Array ( [:db_insert_placeholder_0] => backdropcms-1.10.1.de.po [:db_insert_placeholder_1] => public://l10n_packager/1.10.1/backdropcms/backdropcms-1.10.1.de.po [:db_insert_placeholder_2] => text/plain [:db_insert_placeholder_3] => 719349 [:db_insert_placeholder_4] => 1 [:db_insert_placeholder_5] => 1535454485 ) in drupal_write_record() (line 7387 of /home/localize/repo/www/includes/common.inc).
I've read the SQL error means that while the values of a table column must be unique, there is the attempt to insert a duplicate row. So maybe something went wrong with temporarily keeping project information?
I've however made a database backup before the "Start over" and "Clean up" action, so I'm looking forward to the database restore which should fix the errors for the moment.
@robertgarrigos The database restore (see #14) has been successful, and as expected, the errors on https://localize.backdropcms.org/translate are gone.
I'm having multiple errors accessing the url /translate:
Is this related to #14 ?