-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
MariaDB: Make sure that a supported version is used #2381
Comments
Please follow our issue template for reporting potential bugs :) |
Will do next time. |
This also applies to the development of this software and answering questions. Uploading photos to albums works without problems on our public demo and private instances. |
Might also be caused by a failed migration - could you run the following command
to see if there have been errors |
Here we go: time="2022-05-30T13:27:57Z" level=info msg="closed database connection" |
So it's an official bug? The tag was set at least |
Possibly, @lastzero will have a look as soon as possible |
Did you check this command in MariaDB? It stopped the trouble to me.
|
Please verify if you are using a supported mariadb version >= 10.5.12 and its service config includes the following environment variables as shown in our docker-compose.yml examples on dl.photoprism.app:
If you do not use auto upgrade, our Troubleshooting Guide includes a section about MariaDB that explains how to upgrade it manually. |
iam using my own mysql docker database. |
MySQL Errors¶ So not longer MYSQL Support and i have to switch to MariaDB? |
We switched from MYSQL to MariaDB and imported our sql database. |
The folders are created in the database, but they are not visible in Photoprism. In Photoprism there are no errors in the log. Also an indexing brings here no success. There are no more problems with the images. |
see photoprism/photoprism#2381 Signed-off-by: Michael Mayer <michael@photoprism.app>
see photoprism/photoprism#2381 Signed-off-by: Michael Mayer <michael@photoprism.app>
time="2022-06-01T06:32:10Z" level=info msg="closed database connection"
-> Now it is working. Thank you very much!!! |
You're welcome! 👉 https://photoprism.app/membership |
Signed-off-by: Michael Mayer <michael@photoprism.app>
After this happened again several times, we decided to display an error message with a link to the documentation:
|
Nobody complained so far, so I'll move ahead and close this as done! |
Hello,
since the last update (docker image) we've got problems while uploading pictures to folders (albums).
Here is our log:
2022-05-30 12:45:18 ERRO file: Error 1292: Incorrect datetime value: '0000-00-00' for column 'photo_taken_at' at row 1 while saving
The text was updated successfully, but these errors were encountered: