Comments (12)
To me this looks like a broken link. You may also try to get rid of the message with hidden-files="no"
for the directory.
from gerbera.
- I've added
hidden-files="no"
to the directory entries - found no related broken links with
$ find ~/. -xtype l
The error message is still there. What else can I do?
from gerbera.
Where does the error message show up. Syslog or gerbera.log.
Can you run gerbera with --debug command line option.
from gerbera.
In the syslog. When running it with --debug option the related output is as follows:
2024-02-26 18:58:29.040 trace: [autoscan_inotify.cc:179] threadProc(): inotify event: 210 mask=0x8 name=.mpdascache
2024-02-26 18:58:29.040 error: [autoscan_inotify.cc:203] threadProc(): Failed to read /home/user/.mpdascache: No such file or directory
2024-02-26 18:58:29.040 trace: [autoscan_inotify.cc:210] threadProc(): autoscan not found in watches? (210, watchAs:true, adir:true, /home/user/.mpdascache)
from gerbera.
Can you give a bit more of the log context, so that I can anticipate the logical flow (call history) that leads to the error.
from gerbera.
It'll take some time to redact personal info out. Could be it that the database contains an outdated list of files to watch and it could be enough to rebuild it from scratch?
from gerbera.
It is highly recommended to rebuild it from scratch, because there are many new features that come with import. Be aware that 2.0 has some issues with importing playlists (already fixed in HEAD).
from gerbera.
I've deleted the database and temporarily left an empty directory in the home dir as a single library location. The issue still persists, here is the full log:
gerbera-output.log
EDIT: I've switched to the gerbera-git
from AUR, the error is still there.
from gerbera.
I've setup a watch for the ~/.mpdascache
file like that:
inotifywait -m -e create,delete --include '\.mpdascache' /home/user |
while read path action file; do
echo "The file '$file' $action in '$path' at $(date)"
done
and it is indeed being created and deleted multiple times per second indefinitely while the mpdas.service is running as can also be seen here https://github.com/hrkfdn/mpdas/blob/c81c480a6081af104c70c3574fb71319ff1521b7/cache.cpp#L5 IIUIC. While there is probably a better way to do it, is it possible to make gerbera ignore these events which happen outside of specified library locations?
from gerbera.
Now I understand the problem: we monitor all parent dirs of autoscan entries to see when they go any (e.g. unmount). This monitoring has to handle the parent dirs differently.
from gerbera.
Finally, I've found some time to test this in current head. We detect the file which is already gone when we try to analyse it further in your case.
We can suppress the message if we're outside an autoscan dir.
from gerbera.
Sounds good to me.
from gerbera.
Related Issues (20)
- Apt update fails because jfrog subscription de-activated HOT 1
- Issue: "JFrog's Free-Tier subscription has been deactivated." HOT 14
- ToDo: Renew Docker OSS Subscription HOT 4
- firewall advice needed in documentation HOT 1
- Common.js Box Setup for Dates Uses Config Parameter Video/allYears HOT 1
- SIGSEGV while AutoScan HOT 2
- debian gerbera build -> undefined symbol HOT 6
- Gerbera 2.0 autoscan in config.xml does not work HOT 2
- Debian 12: ./build-deb.sh fails to complet due to unbound variable
- Box Layout settings without effect with "builtin" virtual-layout HOT 5
- No video content is showing under database > Video > [all subfolders] HOT 4
- Album artist tags ignored HOT 2
- [Bug] Unexpected crash when adding recursive autoscanning to folder. HOT 6
- Renew Jetbrains OSS licences
- How to get old structured layout back on Gerbera 2.0? HOT 6
- gpg: no valid OpenPGP data found HOT 1
- Prepare build scripts for libmatroska 2.0
- After adding files Gerbera crashes with: "libupnp ThreadPoolAdd too many jobs: 100" error message HOT 12
- Artist field sometimes not populated in Browse request HOT 6
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 gerbera.