nextcloud/suspicious_login

App tables has not been created

Closed this issue · 0 comments

vgdh commented

I have not been updating my instance of NC for 2 years. And now I've updated it to the latest version.
For some reason, suspicious login app stopped working.
I get errors in the log

InvalidArgumentException
Datasets must have the same number of columns, 48 expected, but 16 given.
Caught unknown error during IPv4 background training

In the database only two tables related to the app:

Table: suspicious_login
Table: suspicious_login_model

In the opened issue for this error @mwdle talks about dropping oc_login_address, oc_login_flow_v2, oc_login_ips_aggregated, oc_suspicious_login and oc_suspicious_login_model but I don't have these data tables in the database.
Because reinstalling the app is not available, how can I recreate the tables by hand or maybe there is some dev command for that purpose?