Giter Site home page Giter Site logo

Comments (3)

pageauc avatar pageauc commented on June 2, 2024

Not sure how to resolve this issue. It appears that @eadir is a directory and not a filename. Not sure how the pi-timolo filename is getting substituted by a directory reference.
Can you provide more information..

  • Type of file system on NAS
  • Pi mount command in fstab or a manual script
  • List of permissions on NAS as seen from the rpi. eg ls -l /mnt/capture/recent/timelapse

Does this work if indexing is turned off for the NAS recent folder.
Thanks

from pi-timolo.

dbach avatar dbach commented on June 2, 2024

The @eadir directory is created by the indexing process in every directory (this seems to be a bug in the Synology NAS software). The saveRecent function lists all files in the recent directory and if there are too many, tries to remove them one by one. I think the best solution is for saveRecent to only try to remove the files that match its prefix -- that will also prevent potential issues with other operations that might store sync metadata in the recent directory.

I killed the indexer and removed the problem directories so I don't have the detailed directory list for you at this time.

from pi-timolo.

pageauc avatar pageauc commented on June 2, 2024

I have implemented your solution. This is something I never thought of but now makes sense since it is possible other directories and /or files are in the recent folder.

from pi-timolo.

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.