Closed kc9jud closed 1 year ago
My immediate question is how to get my database into a coherent state...
Of course, this is related to #621, since I tried to do things "by hand"...
It appears that doing something like the process in https://github.com/nextcloud/spreed/issues/772#issuecomment-384211357 managed to get me back into a workable state. In particular, I think I needed to remove the entries from the oc_migrations
table.
Yes, that's the correct procedure :)
Which version of recognize are you using?
3.3.4
Enabled Modes
Object recognition, Face recognition
TensorFlow mode
Normal mode
Which Nextcloud version do you have installed?
25.0.2
Which Operating system do you have installed?
Ubuntu 20.04.5
Which Docker container are you using to run Nextcloud? (if applicable)
v25.0.2
How much RAM does your server have?
64GiB
What processor Architecture does your CPU have?
x86_64
Describe the Bug
While trying to debug another issue, I tried completely uninstalling Recognize, deleting all of its
oc_recognize_*
tables, and reinstalling. Now, when I runocc recognize:classify
, I get errors likeIt seems like the database schema was not recreated correctly on reinstall.
Expected Behavior
When re-installing/re-enabling, Recognize should probably check the integrity of the database schema.
To Reproduce
1) Install Recognize. 2) Disable and uninstall Recognize. 3) Manually delete tables using
psql
:4) Reinstall Recognize from app store.
Debug log