Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#27606 - [minidlna] New files won't get added to library until rescan

Attached to Project: Community Packages
Opened by WhoTouchaMySpageth! (tuxfusion) - Saturday, 17 December 2011, 13:01 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 03 May 2012, 10:08 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
New files won't get added to library when put into watched folders

Additional info:
* package version(s)
minidlna 1.0.22-4
* config and/or log files etc.


Steps to reproduce:
install, setup folder , put files into it, run scan, start server, add more files to folder -> won't show up in library untill you run manual scan. There is reports about inotify upstream , http://sourceforge.net/tracker/?group_id=243163&atid=1121516 , but they got ironed out according to maintainers and bug reporter, so I don't know if it's an Arch problem.
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 03 May 2012, 10:08 GMT
Reason for closing:  No response
Comment by WhoTouchaMySpageth! (tuxfusion) - Thursday, 29 December 2011, 20:57 GMT
Changing the daemon script in line 13 from :

[ -z "$PID" ] && su -s /bin/sh -l -c /usr/sbin/minidlna - $MINIDLNA_USER

to

[ -z "$PID" ] && /usr/sbin/minidlna

fixed it from me. Am I the only one having that issue ?
Comment by Sergej Pupykin (sergej) - Thursday, 29 December 2011, 21:46 GMT
Running minidlna as root is not good idea. I still did not test this issue, may be you have file permission issues?
Comment by WhoTouchaMySpageth! (tuxfusion) - Thursday, 29 December 2011, 23:50 GMT
Good idea, minidlna stores it library in /var/cache/minidlna/ which on my machine was owned by root, because I ran it as root.
However removing the folder and running the deamon starting minidlna with the original rc script , fails to create the minidlna folder, meaning no db gets created :

sudo rc.d restart minidlna
:: Stopping minidlna FAIL
:: Starting minidlna BUSY
[2011/12/30 00:02:39] minidlna.c:534: fatal: Database path not accessible! [/var/cache/minidlna] FAIL

However my access rights for that folders are correct :

/var
drwxr-xr-x 13 root root 4096 21. Dez 20:10 var

/var/cache
drwxr-xr-x 15 root root 4096 30. Dez 00:05 cache

I manually created /var/cache/minidlna and changed ownership to "nobody" which let minildna create its database and also file updates to watched folder can be tracked ...
Comment by Sergej Pupykin (sergej) - Tuesday, 21 February 2012, 07:14 GMT
please try minidlna-1.0.24-2

Loading...