-
-
Notifications
You must be signed in to change notification settings - Fork 45
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
"Doctrine\DBAL\DBALException" Error #127
Comments
So, let me see if I understand - in your VM you have Ubuntu on which there is Nextcloud installation and which has FaceRecognition app? I think this has nothing to do with FaceRecognition, seems as you cannot connect you your database at all? Does Nextcloud works at all in that Ubuntu VM? I think you would get same error if you execute Basically, you want FaceRecognition app on same machine and same Nextcloud installation as your main one. That means you either:
Regarding your original issue, let me install CentOS in VM and try to compile it there and see if we can help with fix root cause. |
I don't want to interfere with CentOS (At least today 😄) Maybe I can deal with CentOS tomorrow. Thank you for your help. I erased the virtual machine I was talking about (Ubuntu 18.10) and I installed fresh Ubuntu on a new LXC but this time with this:
I tried;
Do you have any idea about this? |
Did you take a look at goodspb/pdlib#12? Seems like Slavik already hit this issue. Basically, you need libx11-dev before installing DLib. So, install that one, and remove BTW, since you are doing this in VM, I hope you have enough memory? Better to tell you now than you find out later:) Check Requirements and limitations |
Result
Module Path:
I added in PHP.ini files:
I guess not. I can not do this. If you have another idea, I'll keep going, otherwise it's enough for me :) _Yes. I'm not having any trouble with memory, I've created memory 32 GB for Ubuntu_ |
I'm going back to the snapshot image. I will try again with a clean installation. |
I think you are almost there:) I think you also need to add pdlib.so in /etc/php/cli/php.ini (same what you already did, but in "cli", as you are using php from command line). This is why you get that pdlib is not installed |
I've included it in the I made a few face scanning in a few photos and face detected but
I'm still getting the this text. What is the reason of this? Console:
|
So, whole idea with I know it is hard, right?:) Hopefully, all this fiddling with compling dlib/pdlib will be gone and replaced with simple `sudo apt-get install`. And it will be installed from app store in future... It will *still* not be as easy as some other apps (as you need to use command line to set up cron to run face recognition...) |
I noticed that the photo was not square on the face. Maybe in advanced versions you might be thinking about it :) Also I did a test, First step: Second Step: Could this be a bug? Console:
|
Hi @emresaracoglu As @stalker314314 commented, It is designed for continuous execution (every 15 minutes?). It can be confusing when you execute it by hand, but in practice it works well. In short, within the steps, first the grouping is done (Step 5), and then search for new faces (Steps 6, 7 and 8). Therefore, this requires that when you add new photos, in an execution they are analyzed (Find faces, which is the most difficult task), and in the second execution they are grouped. |
@matiasdelellis Application doing a good job with CRON. Scanned all faces and clustered!👍 Now I have to think about the big question mark for me. How will the current cloud (CentOS) be moved to the new cloud (Ubuntu)? Not many members are registered (9 Members). The capacity used is 210 GB~ but the files available are small size files (Docs, PDF, etc.) because of the boredom. Update //
I hope my plan works properly. |
@emresaracoglu I am not expert on Nextcloud (not sure about @matiasdelellis :)) I cannot give you any advise around this, this is huge operation. One hint though: after you move DB and all files, don't forget to run @matiasdelellis This is now 3rd or 4th time that people are complaining about not having clusters after script is done. I had it enough now:) I think it would vastly improve first-time experience if we improve that part. I was thinking to add same task ( |
Hi @emresaracoglu , You can try to export it in MySQL and inport it with progress but I'm not sure how it will turn out .. If you have 9 users, I understand that you must necessarily migrate the database, so that they keep the shared files, etc. You can not start from scratch .. 😞 |
@stalker314314 I guess I was one of the first to discuss this .. 😅 This order of operation is justified when executed as a scheduled task. We could consider that it is a scheduled task, when executed limited by timeout? |
@stalker314314 I will use this command if the database fail to restore. I realized that the cluster is not working stably. Also, the application recognizes the same person's face as a different face. This is of course natural. Therefore, I think we should be able to manually merge the faces (app ask to user: "Are these the same person? they will be merged togetger." if when the same name for face is written by user). I believe this feature will be great if you are the think for the future versions. |
The stability of the groups is assured with a greater amount of images... But we try to improve it ..
Unhappily, we must accept some margin of error.. 😞
This is still in discussion... but for this version we will try to trust that automatic clustering.. and with the feedback of more users we will improve.. |
Yes, we mentioned that in functional spec, in user operation here, as joining clusters. Not in this version (Google Photos do not have that too:D)
Yes, you are! And you were right. With this amount of evidence + your input, and I changed my mind:) I don't want to be stubborn old man:) |
Hi, |
I have a CentOS 7 operating system installed on my current server, and it works very well but I've created a second virtual machine for your application and installed Ubuntu 18.10 - Nextcloud software.
Beacause I getting this error: CentOS I got this error [view] if not I'm quite satisfied with CentOS 👍
I wrote the command to create a face set on the Ubuntu:
occ face:background_job -u [username]
Click for Console
The text was updated successfully, but these errors were encountered: