-
-
Notifications
You must be signed in to change notification settings - Fork 44
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
SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect integer value #320
Comments
Pretty strange.. 😕 Do you have access to the database? Can you check the data types of the
|
Seems to be correct
edit. just to confirm, can migration be run before face recognition using model 2 has been completely finished? Model 2 is working since about 2 months now (scheduled to be started each 30 minutes) and finished scanning of about 2/3 of all images, |
I'm honestly clueless.
Yes. Everything will migrate in the current state except the assigned clusters and names.
Ok .. Please, reset model 4 just and try again just as test.
|
Tried the reset, still the same. I've tried to put that one manually into the DB, and it worked like a charm:
but I'm not 100% sure if this is the exact command face recognition is trying to execute, maybe there's some typo or something else in there? Any idea if and how could I check the command face recognition is trying to execute? |
Yes.. Your query seems correct, but it is difficult to know what doctrine does. 😞 The most similar report I found is this, but I still do not relate it to our problem. |
@adi2k5 Try this patch..
|
@matiasdelellis Bingo, that was it. Migration is running smooth now :)
|
Wow.. Note that this command cannot be paused or restarted. You have to finish it completely. p.s: When migrating, you will not have all the benefits of model 4 (Will result as the model 1), but it will certainly be much better than model 2. |
I have no idea either, obviously my db instance may not know that 'false' mean bool value, otherwise I don't know what could be the problem. As for result, yes, I read already that it will be somehow limited, but still, if model 2 is running for bit over 2 months now and processed about 2/3 of my photos (well, I have plenty of them), then doing full rescan on model 4 would take... well, let's say that migration will be enough for now I think ;) Strangely, at the beginning it was showing estimated finish time as 14 days, now 4 days left 😄 |
The estimated time is calculated directly by Synfony's progress bar. It does this by averaging and as it progresses it is more accurate. 😉 Well.. If originally it took 2 months, and you migrate it in 4 days, I am quite satisfied .. 😄 |
I meant that it was showing 4 days remaining to finish full initial scan from original calculation of 14 days (even though the scan was running for 2 months already) 😉 my guess is that after migration will finish in some next 2-3 days, then the rest of initial scan will take next 1-2 months to finish with all photos 😄 |
Fix Invalid datetime format. Incorrect integer value. Issue #320
Fixed on PR #324 Thank for report it.. |
Not sure if this is facerecognition issue or something with db configuration, but when tryig to migrate to new model, I'm getting an sql error.
Expected behaviour
Migrate from model 2 to model 4
Actual behaviour
After I've started migration from model 2 to model 4 I got immediate sql error
Steps to reproduce
Server configuration
Operating system: Fedora
Pdlib version: 1.0.2-1
How is DLib installed: As in previous issue, using copr from matias
How is PDlib installed: Make sure it is working correctly with this tool
PHP version: 7.3.20
Web server: Lighttpd
Database: mariadb
Nextcloud version: 19.0.1
Logs
Background task log with debug.
php occ face:migrate -m 2 -u adi
Nextcloud log (data/nextcloud.log)
No errors in nextcloud logs
Browser log
Not applicable, command run from cli.
The text was updated successfully, but these errors were encountered: