Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
For the past week or so I tried different versions of LMS, reinstalling OS, tried different flavors of Linux... Always the same results: nothing happened when I initiated scan from the web interface. Today I decided to tried running from the command line (scanner.pl) on the server and voila it worked! Not sure why the scanning from the web interface was busted for me... POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning issue with 7.7.1, Lang settings on NAS?
Not sure if that's really your problem. I got that message too and my scan ran just fine. POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105149 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
DJanGo wrote: > Who owns your /lib/sq/cache folder and its files? > And it seems that your user (that runs scanner.pl) may see the share and > not the sqbox user. Thanks, I'll check the permission of /lib/sq/cache tonight. Generally speaking what is the list of folder that sqbox user need permissions to? I have several applets/plugin crashed which may also be related to this? >From the web gui (and from the sqbox client), I was able to play the music by navigating thru "Music folder", so it appears that sqbox user does have permission to the share folder, it only wouldn't scan... -------- POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
...same error after changing fstab :( POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
DJanGo wrote: > What behavior? > Is the webfrontend running? > Can you use the browse mediafolder? > > IMHO we had to look here: > > > > your fstab should be altered like:~ (backup the old fstab!) > > Code: > > //servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0,file_mode=0770,dir_mode=0770 > > > > and /media/windowsshare must be readable by the User squeezeboxserver > or a group where you and squeezeboxserver are members. The web front look fine. I can nevigate into the media folders with the browse button in the basic settings tab. On the same page it shows "Scanning - View Progress". It doesn't generate a scanner.log and server log has the same error which complained about /usr/share/perl5/Slim/Music/Import.pm line 176 I'll try to edit fstab like you mentioned, but I copied some media files to the local SD card and had the same issue Thanks. ---- POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
Mnyb wrote: > Why would you need it to do that it runs as it own user before anyone > logs in to the system ? I googled the error I am getting and found this page that mentioned making the user as root worked for him so I figure I'd want to try too http://raspberry-at-home.com/logitech-media-server/ ---- POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
DJanGo wrote: > Warning: Logitech Media Server must not be run as root! Trying user > squeezeboxserver instead. Yup, I noticed the message is there a way to force it to run as a superuser? ---- POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
DJanGo wrote: > If your lms starts and didnt find a library.db it always put some > "errors" in the logfile like that: > > So dont hang up with that. I see, thank you. Other than that I don't think there's any other error. -------- POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
mherger wrote: > > The previous logs contains a lot more of different types of errors, > but > > probably because I was tinkering with it, for example, I saw something > > like: > > As I don't know your level of tinkering, it'll be hard to understand > what's going on. Therefore I'd suggest you uninstall anything LMS > related and start from scratch _without_ any tinkering whatsoever. Make > sure all LMS related files are deleted, cache, prefs, perl code etc. > > -- > > Michael "tinkering" as in changing group permission, chmod stuff I didn't try anything on the LMS itself. I followed the guide here for the install http://wiki.slimdevices.com/index.php/Debian_Package -------- POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
The messages before are always the same, the following is the latest time I started the server: 1969-12-31 16:00:36 squeezeboxserver_safe started. [16-03-06 00:37:23.2909] main::init (384) starting logitech media server (v7.9.0, 1457012561, sat mar 5 04:36:46 utc 2016) perl 5.014002 - arm-linux-gnueabi-thread-multi-64int [16-03-06 00:37:23.3395] main::changeeffectiveuserandgroup (1007) warning: logitech media server must not be run as root! trying user squeezeboxserver instead. [16-03-06 00:37:26.0442] slim::utils::sqlitehelper::postconnect (374) optimizing db because of missing or empty sqlite_stat1 table [16-03-06 00:37:26.1295] slim::schema::forcecommit (2149) warning: trying to commit transactions before db is initialized! [16-03-06 00:37:28.0451] slim::utils::sqlitehelper::postconnect (374) optimizing db because of missing or empty sqlite_stat1 table [16-03-06 00:37:28.0919] slim::schema::forcecommit (2149) warning: trying to commit transactions before db is initialized! [16-03-06 00:37:32.5773] slim::utils::sqlitehelper::postconnect (374) optimizing db because of missing or empty sqlite_stat1 table [16-03-06 00:37:32.6226] slim::schema::forcecommit (2149) warning: trying to commit transactions before db is initialized! [16-03-06 00:37:36.8190] main::checkdatasource (1113) warning: schema updated or no media found in the database, initiating scan. [16-03-06 00:37:36.9232] slim::control::request::execute (1888) error: while trying to run function coderef [slim::control::commands::wipecachecommand]: [can't call method \"scanningprocess\" without a package or object reference at /usr/share/perl5/slim/music/import.pm line 176. ] [16-03-07 08:56:03.3814] slim::plugin::upnp::events::error (323) subscribe/unsubscribe error: 412 precondition failed [16-03-07 09:11:47.2092] slim::plugin::upnp::events::error (323) subscribe/unsubscribe error: 412 precondition failed [16-03-07 22:05:09.1490] slim::plugin::upnp::events::error (323) subscribe/unsubscribe error: 412 precondition failed The last 3 errors I have never seen before, but then I don't think I have left it running for this long time. The previous logs contains a lot more of different types of errors, but probably because I was tinkering with it, for example, I saw something like: slim::schema::storage::throw_exception (122) error: dbi exception: dbd::sqlite::db prepare_cached failed: near \")\": syntax error [for statement \" select count(1) from ( select contributors.id, contributors.name, contributors.namesort from contributors join contributor_album on contributor_album.contributor = contributors.id join albums on contributor_album.album = albums.id where (contributor_album.role in (5,1) ) and (albums.compilation is null or albums.compilation = 0 or contributors.id = 1) group by contributors.id order by contributors.namesort collate) as t1 \"] If it's of any importance I'd post more or the entire log. Thank you. -------- POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter
[SlimDevices: SqueezeCenter] Scanning doesn't appear to be running
I installed Debian on a pogoplug mobile, and then installed LMS 7.9 on it also. However scanning never seem to complete and there's no scan log. In the server log I saw the following message: Slim::Control::Request::execute (1888) Error: While trying to run function coderef [Slim::Control::Commands::wipecacheCommand]: [Can't call method "scanningProcess" without a package or object reference at /usr/share/perl5/Slim/Music/Import.pm line 176. ] I searched online for solution and found that it could be a file permission problem. I did "usermod -a -G root squeezeboxserver", chmod 755 to the folder, and even tried to change SLIMUSER=root (which apparently not allowed), and none of those worked. The music files are on a windows share, I have "//servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=utf8,sec=ntlm 0 0" in /etc/fstab and I have no problem seeing the folders and files from the pogoplug. Any suggest would be appreciated. Thank you. -------- POGOV4's Profile: http://forums.slimdevices.com/member.php?userid=65529 View this thread: http://forums.slimdevices.com/showthread.php?t=105311 ___ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter