-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DB Error: llave duplicada viola restricción de unicidad "controlled_vocab_entries_pkey" #13
Comments
Hi @juanCure! Could you check if there is more than one controlled_vocab_entry_id = 100 in the source OJS? One hypothesis is that this duplication exists at the origin, in which case it would be necessary to remove it beforehand and export the content again. |
Hi @diegoabadan thanks for your response, I have 783 rows in the controlled_vocab_entries table of the source instance:
while in the controlled_vocab_entries table of the destination instance I have:
I thought to change the definition of the primary key on this table, to consider the other 2 columns in this table; however I wasn't sure about it. By the other hand, if I remove the rows in the source instance, I suppose I have to remove the rows which reference to the rows in the controlled_vocab_entries table? Using a query to find which tables have the controlled_vocab_entry_id column I have found these tables:
Do you know if I can remove the rows in these 3 tables, without affecting the functionality of the OJS? |
Hi Goog afternoon I have installed the plugin in 2 instances OJS 2.4.8.2, I have executed the plugin on the source instance using the command:
/usr/bin/php56 tools/importExport.php FullJournalImportExportPlugin export boletin_instituto.tar.gz boletin
The previous command returned me the boletin_instituto.tar.gz file.
When I executed the command to import the resulting tar.gz file using the command
/usr/bin/php56 tools/importExport.php FullJournalImportExportPlugin import boletin_instituto.tar.gz
I got the following error messages:
Is there a way to resolve that error message?
Environment:
PHP 5.6.40
PostgreSQL 9.2.24
Both source and destination OJS versions: 2.4.8.2
Thanks Best Regards
The text was updated successfully, but these errors were encountered: