Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-05-02 Thread gdryan


Hi Sorry for the delay in response been away.

Did try a delete of cache and preferences from the GUI. It did allow me
to start the LMS and play from it but it would not let me set up
material skin for some reason. Anyway as discussed the default was to
reroot and start again. That's what I will do. 

Incidentally I have been running the LMS from an attached USB drive.
When you expand the partition  to 2000KB does that effect the operation
of the attached LMS? Is there an order of when the expansion should take
place ie after the attached drive is set up or before?

Cheers Glenn



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-29 Thread Man in a van


kidstypike wrote: 
> I would start with a fresh install, it won't take long, this should be a
> *piece of cake* if you follow these *simple* instructions:
> 
> https://forums.slimdevices.com/showthread.php?114408-Setting-Up-LMS-On-A-Raspberry-Pi-4B=1019719=1#post1019719

Exceedingly good advice:p



Man in a van's Profile: http://forums.slimdevices.com/member.php?userid=43627
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-29 Thread kidstypike


gdryan wrote: 
> Thanks for the contributions. What I am trying to do now is figure out
> how to get my LMS back up and running. From what you all have said there
> seems to be a thought the the issue is not enough memory when I tried to
> update. So I will make the resize to 2000MB. I was then thinking of
> deleting Cache and Preferences via the GUI to see if that helped because
> some of the files were empty and have been deleted. If that doesn't work
> I would then try another LMS update. If all else fails I will have to go
> back to square one and re root PcP. Does anyone think there is a better
> way to trouble shoot or fix the problem?

I would start with a fresh install, it won't take long, this should be a
*piece of cake* if you follow these *simple* instructions:

https://forums.slimdevices.com/showthread.php?114408-Setting-Up-LMS-On-A-Raspberry-Pi-4B=1019719=1#post1019719



*Server - LMS 8.2.0 *Pi4B 4GB/Argon one case/pCP v7.0.1 - 75K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi3B/pCP 7.0.1/pi screen/AlloBoss DAC HAT/Ruark MR1 Mk2
*Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Pi3B/pCP/Bluetooth/Echo Show 8
*Garage* - DAC32 > Edifier speakers

*Spares* - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-29 Thread gdryan


kidstypike wrote: 
> I was always an advocate for resizing to use the whole card if it was a
> smallish one, say 8GB or 16GB.
> 
> However using the new "Create Backup" feature in pCP for a 16GB card
> takes for ever, and burning the resulting .iso file to a new 16GB card
> takes even longer, and failed, slightly different size card?
> 
> I now resize to 2000MB, but my LMS cache is on a separate USB SSD.
> 
> I would've liked to see the option to resize to 3000MB in the dropdown
> selection box, but that request fell on stony ground.

Thanks for the contributions. What I am trying to do now is figure out
how to get my LMS back up and running. From what you all have said there
seems to be a thought the the issue is not enough memory when I tried to
update. So I will make the resize to 2000MB. I was then thinking of
deleting Cache and Preferences via the GUI to see if that helped because
some of the files were empty and have been deleted. If that doesn't work
I would then try another LMS update. If all else fails I will have to go
back to square one and re root PcP. Does anyone think there is a better
way to trouble shoot or fix the problem?



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-29 Thread kidstypike


mherger wrote: 
> > Yes I did resize to 1000MB originally. What do you think it should be?
> > If I resize to 2000MB do I then reinstall the LMS?
> 
> There's little to no good reason to not use the full card.

I was always an advocate for resizing to use the whole card if it was a
smallish one, say 8GB or 16GB.

However using the new "Create Backup" feature in pCP for a 16GB card
takes for ever, and burning the resulting .iso file to a new 16GB card
takes even longer, and failed, slightly different size card?

I now resize to 2000MB, but my LMS cache is on a separate USB SSD.

I would've liked to see the option to resize to 3000MB in the dropdown
selection box, but that request fell on stony ground.



*Server - LMS 8.2.0 *Pi4B 4GB/Argon one case/pCP v7.0.1 - 75K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi3B/pCP 7.0.1/pi screen/AlloBoss DAC HAT/Ruark MR1 Mk2
*Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Pi3B/pCP/Bluetooth/Echo Show 8
*Garage* - DAC32 > Edifier speakers

*Spares* - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-28 Thread Michael Herger

Yes I did resize to 1000MB originally. What do you think it should be?
If I resize to 2000MB do I then reinstall the LMS?


There's little to no good reason to not use the full card.
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-28 Thread gdryan


slartibartfast wrote: 
> Have you expanded the file system on your pCP sd card. If so what size
> did you choose. It is a common issue.
> 
> Sent from my Pixel 3a using Tapatalk

Yes I did resize to 1000MB originally. What do you think it should be?
If I resize to 2000MB do I then reinstall the LMS?
Thanks Glenn



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-28 Thread slartibartfast


kidstypike wrote: 
> This is possible, it's how I do it for every nightly update. If there's
> an LMS update, links take you to the pCP UI, it uses the pCP plugin
> discussed elsewhere.
> 
> No update ATM to demo, but pic below is a starting point.
> 
> 34443OK I have to copy a command over to a terminal on Raspbian.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-28 Thread kidstypike


slartibartfast wrote: 
> How did you do an update from the Material skin?

This is possible, it's how I do it for every nightly update. If there's
an LMS update, links take you to the pCP UI, it uses the pCP plugin
discussed elsewhere.

No update ATM to demo, but pic below is a starting point.

34443


+---+
|Filename: updates.jpg  |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=34443|
+---+


*Server - LMS 8.2.0 *Pi4B 4GB/Argon one case/pCP v7.0.1 - 75K library,
playlists & LMS cache on SSD (ntfs)
*Study -* Pi3B/pCP 7.0.1/pi screen/AlloBoss DAC HAT/Ruark MR1 Mk2
*Lounge* - Pi2/pCP 6.0.0 > HiFiBerry DIGI+ > AudioEngine DAC1 > AVI DM5
*Dining Room* - Pi3B/pCP/Bluetooth/Echo Show 8
*Garage* - DAC32 > Edifier speakers

*Spares* - 2xTouch, 1xSB Radio. 1xSB3, 6xRPi

kidstypike's Profile: http://forums.slimdevices.com/member.php?userid=10436
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-28 Thread slartibartfast


gdryan wrote: 
> Sorry missed your question last night. From memory there is a menu icon
> in the top right of the screen and there is an update function. I
> think unfortunately I still cannot get the LMS to boot so cannot
> navigate to the location to give you exact details.
> 
> SorryHave you expanded the file system on your pCP sd card. If so what size
did you choose. It is a common issue.

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-28 Thread gdryan


slartibartfast wrote: 
> How did you do an update from the Material skin?
> 
> Sent from my Pixel 3a using Tapatalk

Sorry missed your question last night. From memory there is a menu icon
in the top right of the screen and there is an update function. I
think unfortunately I still cannot get the LMS to boot so cannot
navigate to the location to give you exact details.

Sorry



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread gdryan


gdryan wrote: 
> Just uploaded server.log again Seems to be showing similar issues
> The server device is 64GB with about 40 used. or do you mean the SD
> card. It is a 16GB card.
> Will check the rest if the pref folder

Checked the rest of the files and they all contain something that is
readable. Not sure if the content is correct:o



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread Michael Herger

Just uploaded server.log again Seems to be showing similar issues
The server device is 64GB with about 40 used. or do you mean the SD
card. It is a 16GB card.


Wherever the prefs folder is stored.
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread gdryan


mherger wrote: 
> > Tried your suggestion had another state. pref file that was empty so
> > deleted that but LMS still not booting. Just sent you a copy of pCp
> boot
> > log after deleting empty files
> 
> boot log isn't too helpful. server.log might be better. I'd suggest you
> 
> check all files in the prefs folder, incl. sub-folders. They might have
> 
> been corrupted, too.
> 
> Are you low on disk space on that device?

Just uploaded server.log again Seems to be showing similar issues
The server device is 64GB with about 40 used. or do you mean the SD
card. It is a 16GB card.
Will check the rest if the pref folder



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread Michael Herger

Tried your suggestion had another state. pref file that was empty so
deleted that but LMS still not booting. Just sent you a copy of pCp boot
log after deleting empty files


boot log isn't too helpful. server.log might be better. I'd suggest you 
check all files in the prefs folder, incl. sub-folders. They might have 
been corrupted, too.


Are you low on disk space on that device?
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread gdryan


mherger wrote: 
> > Just to be clear what is normally contained in the server.pref file.
> Is
> > it the mount details?
> 
> It's LMS' own main configuration file. It has hundreds of prefs in 
> there, like player settings, music folders, formatting etc. And it 
> should be a human readable text file (YAML).

Hi
Tried your suggestion had another state. pref file that was empty so
deleted that but LMS still not booting. Just sent you a copy of pCp boot
log after deleting empty files
Any further ideas?
Cheers Glenn



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread slartibartfast


gdryan wrote: 
> Just sent to your drop box. The server pref file seems empty?
> 
> Also sent pCp boot log
> 
> Cheers Glenn
> 
> This issue came about when I did an update from the material skin 
> Cheers Glenn

How did you do an update from the Material skin?

Sent from my Pixel 3a using Tapatalk





slartibartfast's Profile: http://forums.slimdevices.com/member.php?userid=35609
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread Michael Herger

Just to be clear what is normally contained in the server.pref file. Is
it the mount details?


It's LMS' own main configuration file. It has hundreds of prefs in 
there, like player settings, music folders, formatting etc. And it 
should be a human readable text file (YAML).

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread gdryan


mherger wrote: 
> > Just sent to your drop box. The server pref file seems empty?
> 
> It's full of 0 bytes... unless you have a backup I'm sorry to say you'll
> 
> have to start over. Delete the file and restart LMS. Repeat for any 
> other file LMS is complaining about.

Just to be clear what is normally contained in the server.pref file. Is
it the mount details?
TIA



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread Michael Herger

Just sent to your drop box. The server pref file seems empty?


It's full of 0 bytes... unless you have a backup I'm sorry to say you'll 
have to start over. Delete the file and restart LMS. Repeat for any 
other file LMS is complaining about.

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-27 Thread gdryan


mherger wrote: 
> > Just got the same error when I did an update from the LMS. Is there
> any
> > resolution yet?
> 
> Would you mind to share your server.log and server.prefs file?
> 
> https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a

Just sent to your drop box. The server pref file seems empty?

Also sent pCp boot log

Cheers Glenn

This issue came about when I did an update from the material skin 
Cheers Glenn



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-26 Thread Michael Herger

Just got the same error when I did an update from the LMS. Is there any
resolution yet?


Would you mind to share your server.log and server.prefs file?

https://www.dropbox.com/request/T3RctyzGgNg0oFDubq6a
___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-26 Thread gdryan


gdryan wrote: 
> Hey All
> Just got the same error when I did an update from the LMS. Is there any
> resolution yet?[/QUO
> 
> Just been looking at some of these files:
> YAML::XS is used to load some configuration files: preference files
> *_(end_with_'.prefs')_or_skin_configuration_files_(named_'skinconfig.yml')._*
> And when loading a plugin cache file. And perhaps some others.
> 
> So it feels as if one of these might have become corrupted - they are
> supposed to be text files, and should not contain any control
> characters.
> 
> The "skinconfig.yml" file is empty. The state.pref file which is noted
> as an error at start up is empty. Is this the problem.
> 
> Also wondering how I fix this. Could I use the LMS GUI option to remove
> Cache? Which includes Cache and preferences.



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-26 Thread gdryan


mrw wrote: 
> YAML::XS is used to load some configuration files: preference files (end
> with '.prefs') or skin configuration files (named 'skinconfig.yml'). And
> when loading a plugin cache file. And perhaps some others.
> 
> So it feels as if one of these might have become corrupted - they are
> supposed to be text files, and should not contain any control
> characters.
> 
> You would see an error message in the LMS log if it relates to a the
> preference or skin file, but I think that the plugin cache file loader
> does not log an error. I wonder if that "kills" LMS - I see that reading
> prefs and skin files is protected with a perl 'eval' statement, but
> reading the plugin cache file is not.
> 
> You might see an "info" message immediately prior to LMS's attempt to
> load the plugin cache file, set 'server.plugins' log level to 'info' to
> see that. The plugin cache file is named 'plugin-data.yaml'. I don't
> remember what it does... but it's not much use if it can't be read.

Hey All
Just got the same error when I did an update from the LMS. Is there any
resolution yet?



gdryan's Profile: http://forums.slimdevices.com/member.php?userid=71468
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter


Re: [SlimDevices: SqueezeCenter] LMS not starting: "control characters are not allowed" (LMS v8.1.2, 1617513319)

2021-04-04 Thread mrw


dysonapr wrote: 
> Server log:
> 
> [21-04-04 06:55:02.0681] main::init (389) Starting Logitech Media Server
> (v8.1.2, 1617513319, Sun Apr  4 08:44:02 CEST 2021) perl 5.032000 -
> arm-linux-gnueabihf-thread-multi-64int
> [21-04-04 06:55:02.1019] YAML::XS::LoadFile (48) Warning: YAML::XS::Load
> Error: The problem:
> 
> control characters are not allowed
> 
> Would be grateful for any pointers to fix.

YAML::XS is used to load some configuration files: preference files (end
with '.prefs') or skin configuration files (named 'skinconfig.yml'). And
when loading a plugin cache file. And perhaps some others.

So it feels as if one of these might have become corrupted - they are
supposed to be text files, and should not contain any control
characters.

You would see an error message in the LMS log if it relates to a the
preference or skin file, but I think that the plugin cache file loader
does not log an error. I wonder if that "kills" LMS - I see that reading
prefs and skin files is protected with a perl 'eval' statement, but
reading the plugin cache file is not.

You might see an "info" message immediately prior to LMS's attempt to
load the plugin cache file, set 'server.plugins' log level to 'info' to
see that. The plugin cache file is named 'plugin-data.yaml'. I don't
remember what it does... but it's not much use if it can't be read.



mrw's Profile: http://forums.slimdevices.com/member.php?userid=38299
View this thread: http://forums.slimdevices.com/showthread.php?t=114307

___
Squeezecenter mailing list
Squeezecenter@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/squeezecenter