mini DLNA Server Error Issue Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
Adam-F
Posts: 7
Joined: Tue Jun 22, 2021 4:47 pm

mini DLNA Server Error Issue

Post by Adam-F »

Hi Everyone

I keep getting this error with the mini DLNA Server.

Does my video folder have a content size limit? As the server goes offline with so many videos in the video folder.

If I delete a couple of videos them restart the service the server comes back online.

How do I fix it?

Thanks :)
Attachments
E3x-d1GWEAgGtr4.jpg
E3x-d1GWEAgGtr4.jpg (30.6 KiB) Viewed 185 times
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: mini DLNA Server Error Issue

Post by Joulinar »

Hi,

do you have any output on journalctl -u minidlna.

As well pls avoid doing screen prints. If possible, copy the output from your SSH terminal.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Adam-F
Posts: 7
Joined: Tue Jun 22, 2021 4:47 pm

Re: mini DLNA Server Error Issue

Post by Adam-F »

journalctl -u minidlna Output

Code: Select all

root@DietPi:~# journalctl -u minidlna
-- Logs begin at Thu 2019-02-14 10:11:58 GMT, end at Thu 2021-06-24 12:18:08 BST. --
Jun 20 19:56:45 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 20 19:56:46 DietPi minidlnad[554]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 20 19:56:46 DietPi minidlnad[554]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 20 19:56:46 DietPi minidlnad[554]: minidlna.c:1101: warn: HTTP listening on port 8200
Jun 20 19:56:46 DietPi minidlnad[554]: playlist.c:135: warn: Parsing playlists...
Jun 20 19:56:46 DietPi minidlnad[554]: playlist.c:269: warn: Finished parsing playlists.
Jun 20 19:56:47 DietPi minidlnad[554]: monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [6] and I do not have permission to increase this limit.  Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
Jun 20 23:54:11 DietPi minidlnad[554]: minidlna.c:155: warn: received signal 15, good-bye
Jun 20 23:54:11 DietPi systemd[1]: Stopping MiniDLNA (DietPi)...
Jun 20 23:54:11 DietPi systemd[1]: minidlna.service: Succeeded.
Jun 20 23:54:11 DietPi systemd[1]: Stopped MiniDLNA (DietPi).
Jun 20 23:54:11 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 20 23:54:11 DietPi minidlnad[4267]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 20 23:54:11 DietPi minidlnad[4267]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 20 23:54:11 DietPi minidlnad[4267]: pragma default_cache_size = 8192;
Jun 20 23:54:11 DietPi minidlnad[4267]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 20 23:54:11 DietPi minidlnad[4267]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 20 23:54:11 DietPi minidlnad[4267]: pragma default_cache_size = 8192;
Jun 20 23:54:11 DietPi minidlnad[4267]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 20 23:54:11 DietPi minidlnad[4267]: CREATE TABLE OBJECTS (ID INTEGER PRIMARY KEY AUTOINCREMENT, OBJECT_ID TEXT UNIQUE NOT NULL, PARENT_ID TEXT NOT NULL, REF_ID TEXT DEFAULT NULL, CLASS TEXT NOT NULL, DETAIL_ID INTEGER DEFAULT NULL, NAME TEXT DEFAULT NULL);
Jun 20 23:54:11 DietPi minidlnad[4267]: scanner.c:618: error: Error creating SQLite3 database!
Jun 20 23:54:11 DietPi minidlnad[4267]: minidlna.c:371: fatal: ERROR: Failed to create sqlite database!  Exiting...
Jun 20 23:54:11 DietPi systemd[1]: minidlna.service: Main process exited, code=exited, status=255/EXCEPTION
Jun 20 23:54:11 DietPi systemd[1]: minidlna.service: Failed with result 'exit-code'.
Jun 20 23:54:40 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 20 23:54:40 DietPi minidlnad[4277]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 20 23:54:40 DietPi minidlnad[4277]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 20 23:54:40 DietPi minidlnad[4277]: pragma default_cache_size = 8192;
Jun 20 23:54:40 DietPi minidlnad[4277]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 20 23:54:40 DietPi minidlnad[4277]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 20 23:54:40 DietPi minidlnad[4277]: pragma default_cache_size = 8192;
Jun 20 23:54:40 DietPi minidlnad[4277]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 20 23:54:40 DietPi minidlnad[4277]: CREATE TABLE OBJECTS (ID INTEGER PRIMARY KEY AUTOINCREMENT, OBJECT_ID TEXT UNIQUE NOT NULL, PARENT_ID TEXT NOT NULL, REF_ID TEXT DEFAULT NULL, CLASS TEXT NOT NULL, DETAIL_ID INTEGER DEFAULT NULL, NAME TEXT DEFAULT NULL);
Jun 20 23:54:40 DietPi minidlnad[4277]: scanner.c:618: error: Error creating SQLite3 database!
Jun 20 23:54:40 DietPi minidlnad[4277]: minidlna.c:371: fatal: ERROR: Failed to create sqlite database!  Exiting...
Jun 20 23:54:40 DietPi systemd[1]: minidlna.service: Main process exited, code=exited, status=255/EXCEPTION
Jun 20 23:54:40 DietPi systemd[1]: minidlna.service: Failed with result 'exit-code'.
Jun 21 00:22:20 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 21 00:22:20 DietPi minidlnad[4548]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 21 00:22:20 DietPi minidlnad[4548]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 21 00:22:20 DietPi minidlnad[4548]: pragma default_cache_size = 8192;
Jun 21 00:22:20 DietPi minidlnad[4548]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 21 00:22:20 DietPi minidlnad[4548]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 21 00:22:20 DietPi minidlnad[4548]: pragma default_cache_size = 8192;
Jun 21 00:22:20 DietPi minidlnad[4548]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 21 00:22:20 DietPi minidlnad[4548]: CREATE TABLE OBJECTS (ID INTEGER PRIMARY KEY AUTOINCREMENT, OBJECT_ID TEXT UNIQUE NOT NULL, PARENT_ID TEXT NOT NULL, REF_ID TEXT DEFAULT NULL, CLASS TEXT NOT NULL, DETAIL_ID INTEGER DEFAULT NULL, NAME TEXT DEFAULT NULL);
Jun 21 00:22:20 DietPi minidlnad[4548]: scanner.c:618: error: Error creating SQLite3 database!
Jun 21 00:22:20 DietPi minidlnad[4548]: minidlna.c:371: fatal: ERROR: Failed to create sqlite database!  Exiting...
Jun 21 00:22:20 DietPi systemd[1]: minidlna.service: Main process exited, code=exited, status=255/EXCEPTION
Jun 21 00:22:20 DietPi systemd[1]: minidlna.service: Failed with result 'exit-code'.
Jun 21 00:24:12 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 21 00:24:12 DietPi minidlnad[4597]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 21 00:24:12 DietPi minidlnad[4597]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 21 00:24:12 DietPi minidlnad[4597]: pragma default_cache_size = 8192;
Jun 21 00:24:12 DietPi minidlnad[4597]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 21 00:24:12 DietPi minidlnad[4597]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 21 00:24:12 DietPi minidlnad[4597]: pragma default_cache_size = 8192;
Jun 21 00:24:12 DietPi minidlnad[4597]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
Jun 21 00:24:12 DietPi minidlnad[4597]: CREATE TABLE OBJECTS (ID INTEGER PRIMARY KEY AUTOINCREMENT, OBJECT_ID TEXT UNIQUE NOT NULL, PARENT_ID TEXT NOT NULL, REF_ID TEXT DEFAULT NULL, CLASS TEXT NOT NULL, DETAIL_ID INTEGER DEFAULT NULL, NAME TEXT DEFAULT NULL);
Jun 21 00:24:12 DietPi minidlnad[4597]: scanner.c:618: error: Error creating SQLite3 database!
Jun 21 00:24:12 DietPi minidlnad[4597]: minidlna.c:371: fatal: ERROR: Failed to create sqlite database!  Exiting...
Jun 21 00:24:12 DietPi systemd[1]: minidlna.service: Main process exited, code=exited, status=255/EXCEPTION
Jun 21 00:24:12 DietPi systemd[1]: minidlna.service: Failed with result 'exit-code'.
Jun 21 00:25:10 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 21 00:25:11 DietPi minidlnad[4652]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 21 00:25:11 DietPi minidlnad[4652]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 21 00:25:11 DietPi minidlnad[4652]: minidlna.c:1101: warn: HTTP listening on port 8200
Jun 21 00:25:12 DietPi minidlnad[4652]: playlist.c:135: warn: Parsing playlists...
Jun 21 00:25:12 DietPi minidlnad[4652]: playlist.c:269: warn: Finished parsing playlists.
Jun 21 00:25:13 DietPi minidlnad[4652]: monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [12] and I do not have permission to increase this limit.  Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
Jun 21 14:02:32 DietPi minidlnad[4652]: minidlna.c:155: warn: received signal 15, good-bye
Jun 21 14:02:32 DietPi systemd[1]: Stopping MiniDLNA (DietPi)...
Jun 21 14:02:32 DietPi systemd[1]: minidlna.service: Succeeded.
Jun 21 14:02:32 DietPi systemd[1]: Stopped MiniDLNA (DietPi).
Jun 21 14:18:15 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 21 14:18:17 DietPi minidlnad[13499]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 21 14:18:17 DietPi minidlnad[13499]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 21 14:18:17 DietPi minidlnad[13499]: minidlna.c:1101: warn: HTTP listening on port 8200
Jun 21 14:18:19 DietPi minidlnad[13499]: playlist.c:135: warn: Parsing playlists...
Jun 21 14:18:19 DietPi minidlnad[13499]: playlist.c:269: warn: Finished parsing playlists.
Jun 21 14:18:20 DietPi minidlnad[13499]: monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [12] and I do not have permission to increase this limit.  Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
Jun 21 18:13:47 DietPi minidlnad[13499]: minidlna.c:155: warn: received signal 15, good-bye
Jun 21 18:13:47 DietPi systemd[1]: Stopping MiniDLNA (DietPi)...
Jun 21 18:13:48 DietPi systemd[1]: minidlna.service: Succeeded.
Jun 21 18:13:48 DietPi systemd[1]: Stopped MiniDLNA (DietPi).
Jun 21 18:13:48 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 21 18:13:48 DietPi minidlnad[15721]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 21 18:13:48 DietPi minidlnad[15721]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 21 18:13:48 DietPi minidlnad[15721]: minidlna.c:1101: warn: HTTP listening on port 8200
Jun 21 18:13:50 DietPi minidlnad[15721]: playlist.c:135: warn: Parsing playlists...
Jun 21 18:13:50 DietPi minidlnad[15721]: playlist.c:269: warn: Finished parsing playlists.
Jun 21 18:13:50 DietPi minidlnad[15721]: monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [12] and I do not have permission to increase this limit.  Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
Jun 21 20:48:30 DietPi minidlnad[15721]: minidlna.c:155: warn: received signal 15, good-bye
Jun 21 20:48:30 DietPi systemd[1]: Stopping MiniDLNA (DietPi)...
Jun 21 20:48:30 DietPi systemd[1]: minidlna.service: Succeeded.
Jun 21 20:48:30 DietPi systemd[1]: Stopped MiniDLNA (DietPi).
Jun 21 20:48:30 DietPi systemd[1]: Started MiniDLNA (DietPi).
Jun 21 20:48:30 DietPi minidlnad[17143]: minidlna.c:1060: warn: Starting MiniDLNA version 1.2.1.
Jun 21 20:48:30 DietPi minidlnad[17143]: minidlna.c:355: warn: Creating new database at /mnt/dietpi_userdata/.MiniDLNA_Cache/files.db
Jun 21 20:48:30 DietPi minidlnad[17143]: minidlna.c:1101: warn: HTTP listening on port 8200
Jun 21 20:48:32 DietPi minidlnad[17143]: playlist.c:135: warn: Parsing playlists...
Jun 21 20:48:32 DietPi minidlnad[17143]: playlist.c:269: warn: Finished parsing playlists.
Jun 21 20:48:32 DietPi minidlnad[17143]: monitor.c:218: warn: WARNING: Inotify max_user_watches [8192] is low or close to the number of used watches [12] and I do not have permission to increase this limit.  Please do so manually by writing a higher value into /proc/sys/fs/inotify/max_user_watches.
Jun 21 22:44:36 DietPi minidlnad[17143]: upnphttp.c:2020: warn: Specified range was invalid!
Jun 22 07:55:29 DietPi minidlnad[17143]: upnpsoap.c:2193: warn: SoapMethod: Unknown: AddPortMapping
Jun 22 07:55:29 DietPi minidlnad[17143]: upnpsoap.c:123: warn: Returning UPnPError 401: Invalid Action
Jun 22 07:55:48 DietPi minidlnad[17143]: upnpsoap.c:2193: warn: SoapMethod: Unknown: GetGenericPortMappingEntry
Jun 22 07:55:48 DietPi minidlnad[17143]: upnpsoap.c:123: warn: Returning UPnPError 401: Invalid Action
Jun 22 07:55:48 DietPi minidlnad[17143]: upnpsoap.c:2193: warn: SoapMethod: Unknown: DeletePortMapping
Jun 22 07:55:48 DietPi minidlnad[17143]: upnpsoap.c:123: warn: Returning UPnPError 401: Invalid Action
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: mini DLNA Server Error Issue

Post by Joulinar »

Well it seems you have a full disk

Code: Select all

Jun 20 23:54:40 DietPi minidlnad[4277]: sql.c:41: error: SQL ERROR 13 [database or disk is full]
this would explain why deleting stuff will get your server back online.

Once you stuck again, you could verify disk space usage using df -h
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Adam-F
Posts: 7
Joined: Tue Jun 22, 2021 4:47 pm

Re: mini DLNA Server Error Issue

Post by Adam-F »

Can I not move the Pictures, Movies & Music directories to the 2TB hard drive, I have connected to the Pi?

Thanks
Attachments
Screenshot 2021-06-27 141649.png
Screenshot 2021-06-27 141649.png (13.13 KiB) Viewed 154 times
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: mini DLNA Server Error Issue

Post by Joulinar »

you could transfer the entire diretory /mnt/dietpi_userdata/ to the external HDD using dietpi-drive_manager
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Adam-F
Posts: 7
Joined: Tue Jun 22, 2021 4:47 pm

Re: mini DLNA Server Error Issue

Post by Adam-F »

I will give transfering the directory over a go.

Thanks
Adam-F
Posts: 7
Joined: Tue Jun 22, 2021 4:47 pm

Re: mini DLNA Server Error Issue

Post by Adam-F »

It Worked. Thanks @Joulinar
User avatar
Joulinar
Posts: 5090
Joined: Sat Nov 16, 2019 12:49 am

Re: mini DLNA Server Error Issue

Post by Joulinar »

thx for feedback
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply