Coder Social home page Coder Social logo

Comments (4)

alexislefebvre avatar alexislefebvre commented on June 15, 2024 2

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.

lastzero avatar lastzero commented on June 15, 2024

@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.

cvinhaes avatar cvinhaes commented on June 15, 2024

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.

lastzero avatar lastzero commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.