Your message dated Sat, 5 Dec 2020 22:03:23 +0300
with message-id <[email protected]>
and subject line Re: Bug#975917: minidlna: files.db gets deleted and re-built 
on each startup
has caused the Debian Bug report #975917,
regarding minidlna: files.db gets deleted and re-built on each startup
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
975917: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975917
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: minidlna
Version: 1.2.1+dfsg-1+b1
Severity: important

Dear Maintainer,

Whenever minidlna starts up, it says:

"New media dir detected; rebuilding..."

Then it deletes the DB and starts rebuilding it, which takes about
one day because this is running on a low-power SBC and the DB is about
100MB in size when finished.

I don't understand this behavior as I didn't change anything about the
setup.

-- System Information:
Debian Release: 10.6
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: arm64 (aarch64)
Foreign Architectures: armhf

Kernel: Linux 5.8.17-rockchip64 (SMP w/4 CPU cores; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set 
to en_US.UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages minidlna depends on:
ii  adduser          3.118
ii  libavformat58    7:4.1.6-1~deb10u1
ii  libavutil56      7:4.1.6-1~deb10u1
ii  libc6            2.28-10
ii  libexif12        0.6.21-5.1+deb10u4
ii  libflac8         1.3.2-3
ii  libid3tag0       0.15.1b-14
ii  libjpeg62-turbo  1:1.5.2-2+b1
ii  libogg0          1.3.2-1+b1
ii  libsqlite3-0     3.27.2-3
ii  libvorbis0a      1.3.6-2
ii  lsb-base         10.2019051400

minidlna recommends no packages.

minidlna suggests no packages.

-- Configuration Files:
/etc/logrotate.d/minidlna changed:
/var/log.hdd/minidlna.log
{
        rotate 4
        weekly
        missingok
        notifempty
        delaycompress
        compress
        create 0644 minidlna minidlna
        postrotate
                service minidlna rotate > /dev/null
        endscript
}

/etc/minidlna.conf changed:
user=minidlna
media_dir=V,/nas/disk2/video
media_dir=A,/nas/disk2/audio
media_dir=/nas/disk1/Bilder
db_dir=/nas/disk2/minidlna
log_dir=/nas/disk2/minidlna
log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
root_container=B
port=8200
friendly_name=filmland
serial=681019810597110
model_name=MiniDLNA
inotify=yes
album_art_names=Cover.jpg/cover.jpg/AlbumArtSmall.jpg/albumartsmall.jpg
album_art_names=AlbumArt.jpg/albumart.jpg/Album.jpg/album.jpg
album_art_names=Folder.jpg/folder.jpg/Thumb.jpg/thumb.jpg
enable_tivo=no
notify_interval=895


-- no debconf information

--- End Message ---
--- Begin Message ---
On Thu, 26 Nov 2020 17:15:15 +0100
Robert Latest <[email protected]> wrote:

> Package: minidlna
> Version: 1.2.1+dfsg-1+b1
> Severity: important
> 
> Dear Maintainer,
> 
> Whenever minidlna starts up, it says:
> 
> "New media dir detected; rebuilding..."
> 
> Then it deletes the DB and starts rebuilding it, which takes about
> one day because this is running on a low-power SBC and the DB is about
> 100MB in size when finished.
> 
> I don't understand this behavior as I didn't change anything about the
> setup.

By default minidlna do non-destructive rescan on startup.
(DAEMON_OPTS="-r")
This can be overridden in /etc/default/minidlna
Just specify empty DAEMON_OPTS there.

-- 
Best regards,
 Alexander Gerasiov

 Contacts:
 e-mail: [email protected]  WWW: https://gerasiov.net  TG/Skype: gerasiov
 PGP fingerprint: 04B5 9D90 DF7C C2AB CD49  BAEA CA87 E9E8 2AAC 33F1

--- End Message ---

Reply via email to