Comments (4)
You can format the error log by adding ``` before and after the text.
And/or hide the long logs by using a section: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections
from photoprism.
@cvinhaes see https://mariadb.com/kb/en/using-and-maintaining-the-binary-log/ for how to limit the binary log size
Reading your issue description, it is not entirely clear if you use the default MariaDB image and configuration we provide with our Docker Compose example file(s) or if you run a custom MariaDB server?
from photoprism.
Thank you for your reply. I run my own setup of MariaBD, the compose file is provided herein.
Now, my point is that the exact same configuration for the DB was not generating such amount of logs when using the Nov-28th version of photoprism. The binary log should not be the problem because it's been in used with this same DB configuration for quite some time and the default 30 days rotation was more than enough to contain it until upgrading Photoprism few days ago.
From the logs, it seems to me that some faces-related operation is in loop or is generating way more transactions than the previous version of Photoprism. The only change to the environment was the upgrade of Photoprism from Nov-28th to Apr-20th , which was done by redeploying the container with the new image. BTW, I have upgraded Photoprism many other times by following this exact same process with no issues until now.
Would you say that there is a way to understand what Photoprism is doing with faces and if there's a backlog to be processed?
Compose file for the database...
db:
image: mariadb
restart: "unless-stopped"
command: --transaction-isolation=READ-COMMITTED --log-bin=mysqld-bin --binlog-format=ROW --innodb-buffer-pool-size=512M --log_error=/var/lib/mysql/log/mysql_error.log
--general_log_file=/var/lib/mysql/log/mysql.log --general_log=0
volumes:
- ./maria-db/data:/var/lib/mysql:rw
- /srv/dev-disk-by-uuid-dd78971a-d609-4028-8a64-b971e31b2d29/_Backups/mariadb:/maria_backup:rw
- ./maria-db/scripts:/maria_backup/scripts:rw
environment:
- TZ=America/Sao_Paulo
- MYSQL_ROOT_PASSWORD=*************
- MYSQL_PASSWORD=***********
- MYSQL_DATABASE=photoprism
- MYSQL_USER=photoprism
- MYSQL_HOST=db:3306
networks:
- backend
from photoprism.
I'm not aware of any faces related changes in our latest release. It could simply be that some data changed, like you assigned different names for the same face. Might be a typo? We already have an issue for improving the face recognition in general, see our public roadmap.
from photoprism.
Related Issues (20)
- Docker image transcode: map /usr dir HOT 5
- UX: Show zoom icon rather than stack icon when in selection mode HOT 2
- Sharing: One-off sharing HOT 2
- Import: Better handling of truncated WebDAV uploads.
- Index: Schedule automatic library rescans HOT 1
- Organize your image files
- UX: Remove archive action from the menu in Library > Hidden HOT 4
- Location batch editing: error 401 on updating HOT 1
- Potoprism unexpectedly collapsed HOT 1
- UX: Disk Usage / Storage Free Space Widget
- Keywords: Support apostrophes in keywords HOT 2
- Config: Add backup options to the Advanced Settings UI
- Search: Clicking on a timestamp should find pictures taken on the same day
- Uploads: Do not display negative ETA in Web upload dialog
- Index: Check if YAML sidecar files contain a valid photo UID when restoring metadata
- Config: Disable all backups with `PHOTOPRISM_DISABLE_BACKUPS`
- Config: Disable any use of libvips with `PHOTOPRISM_DISABLE_VIPS`
- Download: Do not compress pictures added to zip archives
- Config: Disable the use of libvips on 32-bit operating systems HOT 1
- Search: Find pictures added, updated and/or edited at or after a certain time HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photoprism.