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] cannot run ./console after update to v5.0 #21788

Closed
4 tasks done
JanMalte opened this issue Jan 9, 2024 · 4 comments
Closed
4 tasks done

[Bug] cannot run ./console after update to v5.0 #21788

JanMalte opened this issue Jan 9, 2024 · 4 comments
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@JanMalte
Copy link

JanMalte commented Jan 9, 2024

What happened?

Upgraded from v4.16 to v5.0 using docker setup
Web GUI is working but the console script is exiting without error and exit code 255

Fatal error: Cannot override final method Piwik\Plugin\ConsoleCommand::execute() in /var/www/html/plugins/CoreConsole/Commands/GenerateAngularComponent.php on line 27

What should happen?

The console script should output the help message

How can this be reproduced?

docker compose exec app php ./console

Matomo version

5.0.1

PHP version

8.2.14

Server operating system

Docker running on Ubuntu

What browsers are you seeing the problem on?

Not applicable (e.g. an API call etc.)

Validations

@JanMalte JanMalte added Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Jan 9, 2024
@sgiehl
Copy link
Member

sgiehl commented Jan 9, 2024

@JanMalte It's hard to help without any further details on the exact error. I guess for some reason the error reporting is disabled on your box. Otherwise console would output the error that occurs, or it would be logged somewhere. I guess this might be due to the way your docker machine is set up.

Unfortunately we aren't able to handle setup specific trouble shooting here on GitHub, as we use this issue tracker only for feature requests and bug reports. Please try to find some help on our forums at https://forum.matomo.org
Once you were able to find the detailed error and it's clearly caused by Matomo itself, feel free to create a new report.

@sgiehl sgiehl closed this as not planned Won't fix, can't repro, duplicate, stale Jan 9, 2024
@sgiehl sgiehl added answered For when a question was asked and we referred to forum or answered it. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. To Triage An issue awaiting triage by a Matomo core team member labels Jan 9, 2024
@JanMalte
Copy link
Author

JanMalte commented Jan 9, 2024

@sgiehl I've updated the issue a few minutes ago and added the releveant error message.

As the error messages states something about plugins/CoreConsole/Commands/GenerateAngularComponent.php, I think this might by a matomo bug/issue.

@JanMalte
Copy link
Author

JanMalte commented Jan 9, 2024

Thanks for the hint.
I've found the issue in the forum, including a fix:
https://forum.matomo.org/t/update-matomo-4-16-0-5-0-0-error/54668

@sgiehl
Copy link
Member

sgiehl commented Jan 9, 2024

In that case, this is actually a duplicate of #21718

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants