EPrints Technical Mailing List Archive
Message: #08449
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] EPrints v3.1.2 migration to the latest version
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] EPrints v3.1.2 migration to the latest version
- From: Guntis Zelvis <guntis.zelvis@gmail.com>
- Date: Sat, 16 Jan 2021 20:01:23 +0200
CAUTION: This e-mail originated outside the University of Southampton. Hello! I am trying to migrate EPrints v3.1.2 to the latest version. As I understand it is impossible to migrate straight to v3.4.2, so first I try to install v3.3.16 and upgrade repository to this version, but there is few errors in output of 'epadmin upgrade REPOID' Added dataset upload_progress DBD::mysql::db do failed: Can't create table 'REPOID.#sql-10710_38' (errno: 150) at /usr/share/eprints/bin/../perl_lib/EPrints/Database.pm line 3052, <STDIN> line 1. SQL ERROR (do): ALTER TABLE `subject_name_sortvalue` ADD CONSTRAINT `subject_name_sortvalue_fk` FOREIGN KEY(`subjectid`) REFERENCES `subject`(`subjectid`) ON DELETE CASCADE SQL ERROR (do): Can't create table 'REPOID.#sql-10710_38' (errno: 150) (#1005) Later there is: Upgrading dataset file Upgrading `file` by insertion DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key constraint fails at /usr/share/eprints/bin/../perl_lib/EPrints/Database.pm line 3052, <STDIN> line 1. SQL ERROR (do): DROP TABLE IF EXISTS `old_file` SQL ERROR (do): Cannot delete or update a parent row: a foreign key constraint fails (#1217) Upgrading dataset upload_progress Upgrading `upload_progress` by insertion DBD::mysql::db do failed: Cannot delete or update a parent row: a foreign key constraint fails at /usr/share/eprints/bin/../perl_lib/EPrints/Database.pm line 3052, <STDIN> line 1. SQL ERROR (do): DROP TABLE IF EXISTS `old_upload_progress` SQL ERROR (do): Cannot delete or update a parent row: a foreign key constraint fails (#1217) Upgrading rindex and grep tables for subject DBD::mysql::st execute failed: Table 'REPOID.subject__rindex' doesn't exist at /usr/share/eprints/perl_lib/EPrints/Database/mysql.pm line 423, <STDIN> line 1. DBD::mysql::st fetch failed: fetch() without execute() at /usr/share/eprints/perl_lib/EPrints/Database/mysql.pm line 426, <STDIN> line 1. DBD::mysql::st execute failed: Table 'REPOID.subject__rindex' doesn't exist at /usr/share/eprints/bin/epadmin line 2769, <STDIN> line 1. DBD::mysql::st fetch failed: fetch() without execute() at /usr/share/eprints/bin/epadmin line 2770, <STDIN> line 1. DBD::mysql::db do failed: Table 'REPOID.subject__rindex' doesn't exist at /usr/share/eprints/bin/../perl_lib/EPrints/Database.pm line 3052, <STDIN> line 1. SQL ERROR (do): ALTER IGNORE TABLE subject__rindex MODIFY field VARCHAR(64) CHARACTER SET UTF8, MODIFY word VARCHAR(128) CHARACTER SET UTF8, DEFAULT CHARACTER SET UTF8, ADD PRIMARY KEY(field,word,`subjectid`) SQL ERROR (do): Table 'REPOID.subject__rindex' doesn't exist (#1146) And everything stops here: Upgrading dataset metafield ------------------------------------------------------------------ ---------------- EPrints System Error ---------------------------- ------------------------------------------------------------------ An unexpected error occurred while attempting to convert tables to UTF-8. ------------------------------------------------------------------ EPrints System Error inducing stack dump at /usr/share/eprints/bin/../perl_lib/EPrints.pm line 147, <STDIN> line 1. EPrints::abort() called at /usr/share/eprints/bin/epadmin line 2753 main::upgrade_mysql_charset('EPrints::Repository=HASH(0xb9fc80)', 'EPrints::Database::mysql=HASH(0x384b458)') called at /usr/share/eprints/bin/epadmin line 3008 main::upgrade_3_1_2_to_3_2_0('EPrints::Repository=HASH(0xb9fc80)', 'EPrints::Database::mysql=HASH(0x384b458)') called at /usr/share/eprints/bin/epadmin line 2887 main::upgrade('REPOID') called at /usr/share/eprints/bin/epadmin line 320 How to fix these errors and complete repository upgrade?
- Follow-Ups:
- [EP-tech] EPrints v3.1.2 migration to the latest version
- From: Guntis Zelvis <guntis.zelvis@gmail.com>
- [EP-tech] EPrints v3.1.2 migration to the latest version
- References:
- [EP-tech] EPrints v3.1.2 migration to the latest version
- From: Guntis Zelvis <guntis.zelvis@gmail.com>
- [EP-tech] EPrints v3.1.2 migration to the latest version
- Prev by Date: [EP-tech] solved: controlling security settings
- Next by Date: Re: [EP-tech] EPrints v3.1.2 migration to the latest version
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):