Skip to content

[help wanted]: #59

@2tof

Description

@2tof

Contact Details

No response

What is your question?

I've tried to add an asset or a login-passport , I got this⬇️. But when I added the 1st asset, it did successfully.
I stopped the other mysql. The only running mysql is oneterm-mysql container.

服务错误: (pymysql.err.IntegrityError) (1452, 'Cannot add or update a child row: a foreign key constraint fails (acl.acl_role_permissions, CONSTRAINT acl_role_permissions_ibfk_1 FOREIGN KEY (rid) REFERENCES acl_roles (id))') [SQL: INSERT INTO acl_role_permissions (deleted_at, deleted, created_at, updated_at, rid, resource_id, group_id, perm_id, app_id) VALUES (%(deleted_at)s, %(deleted)s, %(created_at)s, %(updated_at)s, %(rid)s, %(resource_id)s, %(group_id)s, %(perm_id)s, %(app_id)s)] [parameters: {'deleted_at': None, 'deleted': 0, 'created_at': datetime.datetime(2025, 2, 20, 4, 46, 8, 891969), 'updated_at': None, 'rid': 0, 'resource_id': 36, 'group_id': None, 'perm_id': 8, 'app_id': 4}] (Background on this error at: https://sqlalche.me/e/14/gkpj)

Version

newest

Metadata

Metadata

Assignees

Labels

help wantedExtra attention is needed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions