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

SQL Warnings When Removing Plugin #421

Open
1 of 3 tasks
oschwartz10612 opened this issue Sep 27, 2022 · 2 comments
Open
1 of 3 tasks

SQL Warnings When Removing Plugin #421

oschwartz10612 opened this issue Sep 27, 2022 · 2 comments

Comments

@oschwartz10612
Copy link
Contributor

Types of Issue

  • Anomaly report (something appears to not work correctly)
  • Enhancement request (describe the enhancement being requested)
  • Other (please ensure the description clarifies why the issue doesn’t fall into either of the above categories)

Descriptive summary

When removing a plugin using the web portal, the following SQL errors continue to be thrown:

2022-09-27 19:45:03.133511	WARNING	/home/V2X-Hub/src/tmx/TmxCore/src/MessageProfiler.cpp, 249	Cannot add or update a child row: a foreign key constraint fails (`IVP`.`messageActivity`, CONSTRAINT `messageActivity_ibfk_2` FOREIGN KEY (`pluginId`) REFERENCES `plugin` (`id`) ON DELETE CASCADE ON UPDATE CASCADE)

The only way to resolve these errors is to restart v2x. This is in the Docker version.

V2XHUB version where this issue was discovered

7.0

Expected behavior

Plugin is removed an no errors arise.

Actual behavior

Steps to reproduce the actual behavior

  1. Install plugin
  2. Click the remove button in the web portal
  3. Watch logs
@jwillmartin
Copy link
Contributor

@oschwartz10612 Was this on amd or arm? I've tried recreating in amd and didn't get the same warning. I used v2xhub tag 7.0, and it pulled docker release 6.2.

@oschwartz10612
Copy link
Contributor Author

Hi Will,

This is definitely not something that happens regularly and I should have made that clear. I have seen this on both x86 and arm but only occasionally. If I see it again I will attempt to be more through in documenting what I can and report back here.

In the mean time let me know if I can help in any other way.

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

No branches or pull requests

2 participants