-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
[surfdeploy@docker2:|TEST|~]$ sudo docker exec -it webauthn /bin/bash /01-webauthn-db_init.sh
Create database if not exists
Database `webauthn` for connection named default already exists. Skipped.
Done!
Create or migrate schema
WARNING! You are about to execute a migration in database "webauthn" that could result in schema changes and data loss. Are you sure you wish to continue? (yes/no) [yes]:
> yes
[notice] Migrating up to DoctrineMigrations\Version20250213135649
[notice] Records to migrate: 154
[notice] Migating: 0
[error] Migration DoctrineMigrations\Version20250213135649 failed during Pre-Checks. Error: "unserialize(): Argument #1 ($data) must be of type string, null given"
{"message":"User Deprecated: Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:303 called by DependencyFactory.php:460, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)","context":{"exception":{"class":"ErrorException","message":"User Deprecated: Doctrine\\DBAL\\Connection::getEventManager is deprecated. (Connection.php:303 called by DependencyFactory.php:460, https://github.com/doctrine/dbal/issues/5784, package doctrine/dbal)","code":0,"file":"/var/www/html/vendor/doctrine/deprecations/src/Deprecation.php:208"}},"level":200,"level_name":"INFO","channel":"php","datetime":"2025-03-17T15:11:11+01:00","extra":{"art":"17126","application":"Webauthn","request_id":"80e077909e45d097dba77a80de45d6ae"}}
{"message":"User Deprecated: Context: trying to commit a transaction\nProblem: the transaction is already committed, relying on silencing is deprecated.\nSolution: override `AbstractMigration::isTransactional()` so that it returns false.\nAutomate that by setting `transactional` to false in the configuration.\nMore details at https://www.doctrine-project.org/projects/doctrine-migrations/en/stable/explanation/implicit-commits.html (TransactionHelper.php:20 called by DbalExecutor.php:193, https://github.com/doctrine/migrations/issues/1169, package doctrine/migrations)","context":{"exception":{"class":"ErrorException","message":"User Deprecated: Context: trying to commit a transaction\nProblem: the transaction is already committed, relying on silencing is deprecated.\nSolution: override `AbstractMigration::isTransactional()` so that it returns false.\nAutomate that by setting `transactional` to false in the configuration.\nMore details at https://www.doctrine-project.org/projects/doctrine-migrations/en/stable/explanation/implicit-commits.html (TransactionHelper.php:20 called by DbalExecutor.php:193, https://github.com/doctrine/migrations/issues/1169, package doctrine/migrations)","code":0,"file":"/var/www/html/vendor/doctrine/deprecations/src/Deprecation.php:208"}},"level":200,"level_name":"INFO","channel":"php","datetime":"2025-03-17T15:11:11+01:00","extra":{"art":"23939","application":"Webauthn","request_id":"80e077909e45d097dba77a80de45d6ae"}}
{"message":"User Deprecated: Nesting transactions without enabling savepoints is deprecated.\nCall Doctrine\\DBAL\\Connection::setNestTransactionsWithSavepoints(true) to enable savepoints. (Connection.php:1406 called by DbalExecutor.php:111, https://github.com/doctrine/dbal/pull/5383, package doctrine/dbal)","context":{"exception":{"class":"ErrorException","message":"User Deprecated: Nesting transactions without enabling savepoints is deprecated.\nCall Doctrine\\DBAL\\Connection::setNestTransactionsWithSavepoints(true) to enable savepoints. (Connection.php:1406 called by DbalExecutor.php:111, https://github.com/doctrine/dbal/pull/5383, package doctrine/dbal)","code":0,"file":"/var/www/html/vendor/doctrine/deprecations/src/Deprecation.php:208"}},"level":200,"level_name":"INFO","channel":"php","datetime":"2025-03-17T15:11:11+01:00","extra":{"art":"29122","application":"Webauthn","request_id":"80e077909e45d097dba77a80de45d6ae"}}
{"message":"Error thrown while running command \"doctrine:migrations:migrate\". Message: \"unserialize(): Argument #1 ($data) must be of type string, null given\"","context":{"exception":{"class":"TypeError","message":"unserialize(): Argument #1 ($data) must be of type string, null given","code":0,"file":"/var/www/html/src/Migrations/Version20250213135649.php:69"},"command":"doctrine:migrations:migrate","message":"unserialize(): Argument #1 ($data) must be of type string, null given"},"level":500,"level_name":"CRITICAL","channel":"console","datetime":"2025-03-17T15:11:11+01:00","extra":{"application":"Webauthn","request_id":"80e077909e45d097dba77a80de45d6ae"}}
{"message":"Command \"doctrine:migrations:migrate\" exited with code \"1\"","context":{"command":"doctrine:migrations:migrate","code":1},"level":100,"level_name":"DEBUG","channel":"console","datetime":"2025-03-17T15:11:11+01:00","extra":{"application":"Webauthn","request_id":"80e077909e45d097dba77a80de45d6ae"}}
{"message":"Uncaught Error: unserialize(): Argument #1 ($data) must be of type string, null given","context":{"exception":{"class":"TypeError","message":"unserialize(): Argument #1 ($data) must be of type string, null given","code":0,"file":"/var/www/html/src/Migrations/Version20250213135649.php:69"}},"level":500,"level_name":"CRITICAL","channel":"php","datetime":"2025-03-17T15:11:11+01:00","extra":{"application":"Webauthn","request_id":"80e077909e45d097dba77a80de45d6ae"}}
In Version20250213135649.php line 69:
unserialize(): Argument #1 ($data) must be of type string, null given
doctrine:migrations:migrate [--write-sql [WRITE-SQL]] [--dry-run] [--query-time] [--allow-no-migration] [--all-or-nothing [ALL-OR-NOTHING]] [--no-all-or-nothing] [--configuration CONFIGURATION] [--em EM] [--conn CONN] [--] [<version>]
Database migration failed
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog