Closed phmassa closed 2 years ago
log
2022-08-03 11:22:01,870: DEBUG - ++ migrating 20190510141130 2022-08-03 11:22:01,870: DEBUG - 2022-08-03 11:22:01,974: DEBUG - -> ALTER TABLE `oauth2_access_tokens` DROP FOREIGN KEY FK_368A4209A76ED395 2022-08-03 11:22:01,976: DEBUG - Migration 20190510141130 failed during Execution. Error An exception occurred while executing 'ALTER TABLE `oauth2_access_tokens` DROP FOREIGN KEY FK_368A4209A76ED395': 2022-08-03 11:22:01,976: DEBUG - 2022-08-03 11:22:01,977: DEBUG - SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP FOREIGN KEY `FK_368A4209A76ED395`; check that it exists 2022-08-03 11:22:01,999: WARNING - 11:22:01 ERROR [console] Error thrown while running command "--no-interaction --env=prod doctrine:migrations:migrate". Message: "An exception occurred while executing 'ALTER TABLE `oauth2_access_tokens` DROP FOREIGN KEY FK_368A4209A76ED395': 2022-08-03 11:22:02,002: DEBUG - 2022-08-03 11:22:02,003: WARNING - SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP FOREIGN KEY `FK_368A4209A76ED395`; check that it exists" ["exception" => Doctrine\DBAL\Exception\DriverException { …},"command" => "--no-interaction --env=prod doctrine:migrations:migrate","message" => """ An exception occurred while executing 'ALTER TABLE `oauth2_access_tokens` DROP FOREIGN KEY FK_368A4209A76ED395':\n \n SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP FOREIGN KEY `FK_368A4209A76ED395`; check that it exists """] 2022-08-03 11:22:02,004: DEBUG - 2022-08-03 11:22:02,004: WARNING - In AbstractMySQLDriver.php line 128: 2022-08-03 11:22:02,005: DEBUG - 2022-08-03 11:22:02,006: WARNING - An exception occurred while executing 'ALTER TABLE `oauth2_access_tokens` D 2022-08-03 11:22:02,006: WARNING - ROP FOREIGN KEY FK_368A4209A76ED395': 2022-08-03 11:22:02,007: DEBUG - 2022-08-03 11:22:02,008: WARNING - SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP FOREIGN 2022-08-03 11:22:02,008: WARNING - KEY `FK_368A4209A76ED395`; check that it exists 2022-08-03 11:22:02,009: DEBUG - 2022-08-03 11:22:02,009: DEBUG - 2022-08-03 11:22:02,010: WARNING - In Exception.php line 18: 2022-08-03 11:22:02,011: DEBUG - 2022-08-03 11:22:02,011: WARNING - SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP FOREIGN 2022-08-03 11:22:02,012: WARNING - KEY `FK_368A4209A76ED395`; check that it exists 2022-08-03 11:22:02,013: DEBUG - 2022-08-03 11:22:02,013: DEBUG - 2022-08-03 11:22:02,013: WARNING - In PDOConnection.php line 141: 2022-08-03 11:22:02,014: DEBUG - 2022-08-03 11:22:02,014: WARNING - SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP FOREIGN 2022-08-03 11:22:02,015: WARNING - KEY `FK_368A4209A76ED395`; check that it exists 2022-08-03 11:22:02,017: DEBUG - 2022-08-03 11:22:02,017: DEBUG - 2022-08-03 11:22:02,018: WARNING - doctrine:migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--configuration [CONFIGURATION]] [--db-configuration [DB-CONFIGURATION]] [--db DB] [--em EM] [--shard SHARD] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> [<version>] 2022-08-03 11:22:02,019: DEBUG - 2022-08-03 11:22:02,020: DEBUG - + ynh_exit_properly 2022-08-03 11:22:02,525: DEBUG - + ynh_clean_setup 2022-08-03 11:22:02,526: DEBUG - + ynh_restore_upgradebackup 2022-08-03 11:22:02,526: DEBUG - + ynh_print_err '--message=Upgrade failed.' 2022-08-03 11:22:02,548: DEBUG - + ynh_print_log '[Error] Upgrade failed.' 2022-08-03 11:22:02,549: DEBUG - + echo -e '[Error] Upgrade failed.' 2022-08-03 11:22:02,549: WARNING - [Error] Upgrade failed.
You encountered a know bug #129 because your Wallabag was installed before December 2017, here is the workaround : https://github.com/wallabag/wallabag/issues/5233#issuecomment-1041863310
log