Posts

Showing posts from October, 2020

Turris Omnia Minidlna

  Turris Omnia: Setting up LXC container with minidlna Turris Omnia comes with preinstalled minidlna service. However I have encountered an issue that the service did not do automatic reindex. Workarounds such as remove the db, and restart service were not acceptable. It is pretty simple to configure the minidlna service in LXC container where a functional version can be ran. Configure the LXC container OS I have done this via the turris luci UI. Alpine linux 3.1 was chosen, but most will do. Attach to the newly created container (I will use name minidlna) and do: # echo "minidlna" > /etc/hostname # apk add minidlna Prepare the directory with the media files. The disk is going to be mounted from the host, and provided to the conainer # mkdir /nas Increase number of the inodes # vim /etc/sysctl.conf by making sure this line is added fs.inotify.max_user_watches=32768 Configure the minidlna At minimum you want to configure where the media files are located. For exapmle: $ vim...