DBStructure update
!Friendica Support Sorry if this has been addressed already and I missed it in my search. I may have been a version or two behind before getting the latest in the past few days, however, I'm getting an error and set into maintenance mode.
bin/console dbstructure update produces the following:
I am able to turn off maintenance mode and seem to use without errors.
Anyone have ideas or suggestions?
bin/console dbstructure update produces the following:
[Error] SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`social`.`item`, CONSTRAINT `item_ibfk_4` FOREIGN KEY (`psid`) REFERENCES `permissionset` (`id`))
I am able to turn off maintenance mode and seem to use without errors.
Anyone have ideas or suggestions?
Friendica Support reshared this.
Adam Magness
Fingers crossed...
Adam Magness
Then, for fun, tried to run dbscructure update, which gave:
[Error] SQLSTATE[HY000]: General error: 1356 View 'social.participation-view' references invalid table(s) or column(s) or function(s) or definer/invoker of view lack rights to use them
Adam Magness
Adam Magness
Adam Magness
Adam Magness
Adam Magness
bin/console dbstructure drop
command gives no table names. I then ran dbstructure update, and received this error:[Error] SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (`social`.`post-thread-user`, CONSTRAINT `post-thread-user_ibfk_7` FOREIGN KEY (`psid`) REFERENCES `permissionset` (`id`))
Adam Magness
Adam Magness