Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

LMS 7.7.2. - permission problems with database during scan - on Thecus NAS N5500

$
0
0
hi folks,

as I dont seem to get any further, could you please try to give me a hint in the right direction:

I am running LMS on my N5500 Nas (Thecus) and it works really great apart from issues during media scanning, which leads to having the LMS restarted - which is quite annoyning as you can imagine. I use LMS only for music, and whenever a new album is added on the NAS a scan is initiated and when I try to navigate through my music folders, it is not possible due to scanning and the scanning cannot be stopped from the web interface, and I can be sure that I need to restart before I can access my music folder. I would love to deactive the complete DB and related scanning (as I use folder only) but this seems not to be possible.

This is the error I face when running a scan (LMS started by user "nobody"):

Code:

[15-05-20 16:53:04.8895] Slim::Utils::Misc::msg (1304) Warning: [16:53:04.8892] EV: error in callback (ignoring): Carp::Clan::__ANON__(): DBI Exception: DBD::SQLite::db selectrow_array failed: unable to open database file [for Statement "
                        SELECT COUNT(*) FROM (
                        SELECT DISTINCT(url)
                        FROM            tracks
                        WHERE          url NOT IN (
                                SELECT url FROM scanned_files
                                WHERE filesize != 0
                        )
                        AND            url LIKE 'file:///raid0/data/Music%'
                        AND            virtual IS NULL
                        AND            content_type != 'dir'
                ) AS t1
                "] at /raid0/data/module/SQUEEZEBOXSERVER/squeezeboxserver/Slim/Schema/Storage.pm line 126

I am quite sure its a permission issue with user "nobody" as I tested to run LMS with root and the scan worked like a charm then! So I assumed its related to not sufficient permissions for "nobody" and I set all folders under /raid/data/module/SQUEEZEBOXSERVER to 777 but this did not do any help.

Does anybody have a clue how to resolve this?

thanks and best regards
alxxb

Viewing all articles
Browse latest Browse all 5300

Trending Articles