Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running

2016-03-19 Thread POGOV4

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 doesn't appear to be running

2016-03-19 Thread DJanGo

POGOV4 wrote: 
> 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...

Who owns your /lib/sq/cache folder and its files?



Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
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

2016-03-18 Thread POGOV4

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

2016-03-09 Thread POGOV4

...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

2016-03-09 Thread POGOV4

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

2016-03-09 Thread DJanGo

POGOV4 wrote: 
> I uninstalled and reinstalled LMS and it's the same result...
> 
> I also tried 7.8.1 and it has the exact same behavior :(

What behavior?
Is the webfrontend running?
Can you use the browse mediafolder?

IMHO we had to look here:

POGOV4 wrote: 
> 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.

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.



Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
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

2016-03-08 Thread epoch1970

+10
And avoid using /media, the system likes to patrol and own things
there.
FWIW I always use "/var/data/" to avoid such problems.
"/opt/" is a sure bet too.



4 SB 3 • Libratone Zipp Mini • iPeng (iPhone + iPad) • Squeezebox Server
7.9 (linux) with plugins: CD Player, WaveInput, Triode's BBC iPlayer by
bpa • IRBlaster by Gwendesign (Felix) • Server Power Control by Gordon
Harris • Smart Mix, Music Walk With Me, What Was That Tune? by Michael
Herger • PowerSave by Jason Holtzapple • Song Info, Song Lyrics by
Erland Isaksson • AirPlay Bridge by philippe_44 • WeatherTime by Martin
Rehfeld • Auto Dim Display, SaverSwitcher, ContextMenu by Peter Watkins.

epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711
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

2016-03-08 Thread DJanGo

mherger wrote: 
> 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

+10

Mnyb wrote: 
> Why would you need it to do that it runs as it own user before anyone
> logs in to the system ?
+10



Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
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

2016-03-08 Thread POGOV4

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

2016-03-08 Thread Mnyb

POGOV4 wrote: 
> Yup, I noticed the message is there a way to force it to run as a
> superuser?

Why would you need it to do that it runs as it own user before anyone
logs in to the system ?




Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x
MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3
sub.
Bedroom/Office: Boom
Kitchen: Touch + powered Fostex PM0.4
Misc use: Radio (with battery)
iPad1 with iPengHD & SqueezePad
(spares Touch, SB3, reciever ,controller )
server HP proliant micro server N36L with ClearOS Linux

http://people.xiph.org/~xiphmont/demo/neil-young.html

Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143
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

2016-03-08 Thread POGOV4

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

2016-03-08 Thread POGOV4

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

2016-03-08 Thread POGOV4

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

2016-03-07 Thread DJanGo

POGOV4 wrote: 
> Warning: Logitech Media Server must not be run as root!  Trying user
> squeezeboxserver instead.


If your lms starts and didnt find a library.db it always put some
"errors" in the logfile like that:
> Slim::Schema::Storage::throw_exception (122) Error: DBI Exception:
> DBD::SQLite::
> INSERT INTO contributors
> (name, namesort, namesearch,
> musicbrainz_id)
> VALUES
> (?, ?, ?, ?)
> "]
So dont hang up with that.



Gruss
Jan

DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516
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

2016-03-07 Thread Michael Herger

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
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] Scanning doesn't appear to be running

2016-03-07 Thread POGOV4

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

2016-03-07 Thread POGOV4

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