Skip to content
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

BUG: doctrine/migrations has no more ConsoleLogger #3404

Open
1 task done
Jan3k3y opened this issue Oct 21, 2024 · 6 comments
Open
1 task done

BUG: doctrine/migrations has no more ConsoleLogger #3404

Jan3k3y opened this issue Oct 21, 2024 · 6 comments
Assignees
Labels

Comments

@Jan3k3y
Copy link

Jan3k3y commented Oct 21, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

./flow doctrine:migrate

Class "Doctrine\Migrations\Tools\Console\ConsoleLogger" not found

Type: Error
File: Data/Temporary/Development/SubContextBeach/SubContextInstance/Cache/Code/Fl
ow_Object_Classes/Neos_Flow_Persistence_Doctrine_Service.php
Line: 238
beach@6bc8157fb20c:/application$ ./flow doctrine:migrate
Migrating up to Neos\Flow\Persistence\Doctrine\Migrations\Version20240906102606

Expected Behavior

./flow doctrine:migrate

Migrating up to ...

Steps To Reproduce

Updating neos/flow the doctrine/migrations package is updated to 3.9.x-dev.
After './flow doctrine:migrate' there is an error (see current behavior) that ConsoleLogger was not found.

In there the ConsoleLogger was deleted and the Logger from Symfony is used instead.

See here: doctrine/migrations@2700819#diff-2cc9c3db4c79b32974d69ac0f6ff0438356f4ce1c39b918b5e0cea02b21dfdd5

Environment

- Flow: 9.0.x-dev
- PHP: 8.2.24

Anything else?

No response

@Jan3k3y Jan3k3y added the Bug label Oct 21, 2024
@kitsunet
Copy link
Member

Are you sure about the PHP version? Because we officially support only PHP 8.3.x for Flow/Neos 9.0 ? That could already be the root of the issue otherwise.

@mhsdesign mhsdesign self-assigned this Oct 22, 2024
@Jan3k3y
Copy link
Author

Jan3k3y commented Oct 22, 2024

Pretty sure 🤔

image

@kitsunet
Copy link
Member

I'd say then our constraints are bad, but we definitely expect 8.3 at least

@kitsunet
Copy link
Member

I am sorry, too much going on, we are discussing PHP 8.3 as requirement but that is not the case right now.

Which version of the doctrine packages got installed?

@Jan3k3y
Copy link
Author

Jan3k3y commented Oct 24, 2024

Maybe we both have been doing enough Neos stuff the last days…

I just checked the repo and found the change on the 4.0.x branch
Currently i have a working codebase with neos/flow:9.0.x-dev requiring doctrine/migrations:^3.3

So I don't know what happened with my system
But it's working again and I updated to php 8.3 after your last message

@Jan3k3y
Copy link
Author

Jan3k3y commented Oct 24, 2024

No!! Still a problem with doctrine/migrations:3.9.x-dev
https://github.com/doctrine/migrations/tree/3.9.x/src/Tools/Console

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants