Fatal error while upgrading DB OJS to OJS 3.4.0-5

Hello, I’m trying to migrate an existing OJS install running on a previous server with PHP 7.4
to the latest 3.4.x release onto a new PHP 8.2 server.

Steps I took leading up to the issue
copied data and DB to the new server, deployed the new code, ran the CLI upgrade tool :

php tools/upgrade.php check
Code version:
Database version:
Latest version:
Database version is older than code version
Run “tools/upgrade.php upgrade” to update

then, running :

php -d memory_limit=4096M tools/upgrade.php upgrade

The upgrade begins to run, then halts on this Fatal error :

[code: Installer Installer::migrateUserAndAuthorNames]
PHP Fatal error: Uncaught PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘696-fr_CA-givenName’ for key ‘author_settings_pkey’ in /var/www/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php:545
Stack trace:
#8 [internal function]: APP\install\Upgrade->migrateUserAndAuthorNames()

What application are you using?
OJS 3.4.0-5

Additional information
Server running PHP 8.2 and MariaDB 10.5