Home of the Squeezebox™ & Transporter® network music players.
Page 4 of 5 FirstFirst ... 2345 LastLast
Results 31 to 40 of 43
  1. #31
    Senior Member
    Join Date
    May 2017
    Posts
    587
    Quote Originally Posted by paul- View Post
    Logging is on the squeezelite page. Logs are only retained until a reboot.
    Alright, squeezelite has stopped again. Want to show the log file but im unable to locate it.
    I was assuming it's on
    Beta
    Main Page
    Diagnostics
    Logs

    or
    Squeezelite Settings
    (i do find an option "Log level setting" but this is set to none)

    For now a restarted Squeezelite via ssh. This also failed? => Rebooted the pi
    Last edited by edwin2006; 2019-08-04 at 23:32.
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  2. #32
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,284
    Quote Originally Posted by edwin2006 View Post
    Alright, squeezelite has stopped again. Want to show the log file but im unable to locate it.
    I was assuming it's on
    Beta
    Main Page
    Diagnostics
    Logs

    or
    Squeezelite Settings
    (i do find an option "Log level setting" but this is set to none)

    For now a restarted Squeezelite via ssh. This also failed? => Rebooted the pi
    You have to turn on logging on the squeezelite page
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #33
    Junior Member
    Join Date
    May 2019
    Posts
    27
    Quote Originally Posted by edwin2006 View Post
    Mine is still playing. I have no extras installed except equilizer.
    Which SSH commands (Unix noob) do a have to give when problem arises?
    Have a look at the `top` command when using SSH.

    It will show how much CPU % squeezelite is using. 20% or less on a PiZero would be OK, but if it's over 80% then it's probably crashed!

    Quote Originally Posted by paul- View Post
    I would call that severely overloaded for a zero. Shairport sync can definitely cause squeeze lite to crash, as only one player can have the audio output open at a time.
    Yep it seem like squeezelite was using 100% CPU causing everything to slow down or stop. Jivelite inteface was locked and SSH would take a few seconds before keypresses appeared on screen!

    I would disable shairport for a while and see if that helps. There is a LMS plugin for shairport that integrates much better.
    Just a quick follow up on this, I've disabled Shairport sync on the PiZero and so far so good.

    I've also stopped streaming from Deezer as I've found it can cause issues on any device using LMS, even the Squeezebox Boom. It would cause devices to freeze if the stream doesn't work and LMS can become slow to respond.

    I have not had the PiZero crash/freeze/vanishing device since, I'll check out the LMS plugin for shairport also. I only use AirPlay occasionally.
    Last edited by TheHypnoToad; 2019-08-05 at 04:47.

  4. #34
    Senior Member
    Join Date
    May 2017
    Posts
    587
    Quote Originally Posted by paul- View Post
    You have to turn on logging on the squeezelite page
    Figured it would something like that but which options all=info, all=debug etc??

    @TheHypnoToad. Yes next time I will check cpu also. Thanks for command
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  5. #35
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,284
    all=debug is probably what we need. But that is going to create a huge file, so we need to be sure we don't fill up the memory on the device.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  6. #36
    Senior Member
    Join Date
    May 2017
    Posts
    587
    Quote Originally Posted by paul- View Post
    all=debug is probably what we need. But that is going to create a huge file, so we need to be sure we don't fill up the memory on the device.
    Alright, how....
    Btw, this week out of town so I guess something for next week.
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

  7. #37
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,284
    Quote Originally Posted by edwin2006 View Post
    Alright, how....
    Btw, this week out of town so I guess something for next week.
    No good way.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  8. #38
    Junior Member
    Join Date
    May 2019
    Posts
    27
    Quote Originally Posted by paul- View Post
    all=debug is probably what we need. But that is going to create a huge file, so we need to be sure we don't fill up the memory on the device.
    I've set my squeezelite to all=debug also just in case the issue comes back for me. I'm keeping an eye on the size of /var/log/pcp_squeezelite.log

    It may be possible to have a small script that runs once a minute in the background that can check the size of the logfile, and if it's over a certain size, it wipes or cuts out the earliest part of the log. A sort of crude version of 'logrotate' I guess.

    I've also tried disabling the onboard audio on my pizero, some installation guides for my DAC say onboard sound should be disabled:

    https://radio-docs.netlify.com/docs-audio

    Disable on-board audio by commenting out dtparam=audio=on:
    #dtparam=audio=on
    edwin2006 this may be worth trying, I had to do it manually by editing the config.txt file as I couldn't see an option to disable on-board audio in the PCP webinterface.
    Last edited by TheHypnoToad; 2019-08-07 at 05:34.

  9. #39
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,284
    Quote Originally Posted by TheHypnoToad View Post
    edwin2006 this may be worth trying, I had to do it manually by editing the config.txt file as I couldn't see an option to disable on-board audio in the PCP webinterface.
    It should be and the soundcard control page. Button right by the soundcard selection drop down on the squeezelite page.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  10. #40
    Senior Member
    Join Date
    May 2017
    Posts
    587
    I'll try asap.
    SqueezeBoxes: 1x Transporter (Living room) 1x SB2 (shed), 1x Radio (Kitchen), 1x Boom (Dining room), 1x piCorePlayer (jacuzzi), 1x piCorePlayer (Garden) 1x OSMC + Squeezelite (Movie room), 1x Touch (Study 2), few spare unit's
    Server: LMS on Pi3 7.9.1. on PcP 3.21
    Network: AVM Fritzbox, Netgear Smart Switch 24p, 3x Ubiquity

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •