Re: [SlimDevices: Unix] Unable to insitu upgrade from 6.1.0 to 7.0.0

2022-01-02 Thread 0x544B4F


Greg Erskine wrote: 
> It might be better in the long run, if you have another SD card, to
> start from scratch and go straight to pCP 8.1.0

Thanks.  Am trying to exhaust this option first before embarking on
that.  Need to borrow an SD card reader/writer from a friend to burn
anything.

Cheers.



0x544B4F's Profile: http://forums.slimdevices.com/member.php?userid=72425
View this thread: http://forums.slimdevices.com/showthread.php?t=115676

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


Re: [SlimDevices: Unix] Unable to insitu upgrade from 6.1.0 to 7.0.0

2022-01-02 Thread 0x544B4F


Paul Webster wrote: 
> I don't know the answer but ... assuming things are not now broken ...
> is there a patch or minor update to 6.1.0 to apply first?
> I have a recollection of a patch being needed for one of the updates,

Thanks for the reply.  

Everything there is up to date.  The script is there in the right place
for the 7.0.0 upgrade but I am hesitant to run it from the command line
as I am not sure if I will see any errors that might occur.



0x544B4F's Profile: http://forums.slimdevices.com/member.php?userid=72425
View this thread: http://forums.slimdevices.com/showthread.php?t=115676

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


Re: [SlimDevices: Unix] Custom /usr/local/bin/pcp-stream.sh

2022-01-02 Thread RobbH


Greg Erskine wrote: 
> See FAQ: "'My changes disappeared'
> (https://docs.picoreplayer.org/faq/my_changes_disappeared/)".

Thanks! I should have included that link in my largely pointless post.
Since I don't have /usr/local/bin/pcp-stream.sh on my player-only
installation of pCP, I can't tell what it symlinks to, but my guess it's
likely to be in one of the directories in filetool.lst.



LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players,
occasionally with SB Radio, Boom or Classic.

RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008
View this thread: http://forums.slimdevices.com/showthread.php?t=115673

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


Re: [SlimDevices: Unix] Custom /usr/local/bin/pcp-stream.sh

2022-01-02 Thread Greg Erskine


RobbH wrote: 
> That's a purely theoretical statement on my part. It "should" work,
> based on my limited knowledge. But I have absolutely no experience using
> pCP as a streamer, and there could be quirks I do not understand. I also
> do not know if that file is automatically backed up on shutdown,
> although that seems likely. If not, it will revert to the original text
> with every reboot.

See "'My changes disappeared'
(https://docs.picoreplayer.org/faq/my_changes_disappeared/)".



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=115673

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


Re: [SlimDevices: Unix] Unable to insitu upgrade from 6.1.0 to 7.0.0

2022-01-02 Thread Greg Erskine


It might be better in the long run, if you have another SD card, to
start from scratch and go straight to pCP 8.1.0



Greg Erskine's Profile: http://forums.slimdevices.com/member.php?userid=7403
View this thread: http://forums.slimdevices.com/showthread.php?t=115676

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


Re: [SlimDevices: Unix] Unable to insitu upgrade from 6.1.0 to 7.0.0

2022-01-02 Thread Paul Webster


I don't know the answer but ... assuming things are not now broken ...
is there a patch or minor update to 6.1.0 to apply first?
I have a recollection of a patch being needed for one of the updates,



Paul Webster
author of \"now playing\" plugins covering radio france (fip etc),
planetradio (bauer - kiss, absolute, scala, jazzfm etc), kcrw, abc
australia and cbc/radio-canada
and, via the extra \"radio now playing\" plugin lots more - see
https://forums.slimdevices.com/showthread.php?115201-announce-radio-now-playing-plugin

Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=115676

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


Re: [SlimDevices: Unix] Raspberry Pi3b+ with piCorePlayer 8.1.0 looses ethernet interface

2022-01-02 Thread popliviustefan


Although not directly related to the title of this thread, I want to put
here what was the solution that finally solved all my problems:

The solution at post #136 although it solves the Squeezelite problem it
generates a new one: the triggerhappy plugin stops working after 1 cycle
of connect/disconnect of the DAC.
So, I used the newer solution proposed by paul (@pgf) in post '#300'
(https://forums.slimdevices.com/showthread.php?113661-Start-restart-squeezelite-when-plug-in-USB-dac=1013840=1#post1013840)

In the script I added the command to start the triggerhappy daemon:

Code:

# Commands to run when the device is plugged in go here.
  alsactl restore
  /usr/local/etc/init.d/squeezelite restart  
  *sleep 1   
  thd --daemon --triggers /home/tc/media.conf /dev/input/event0
  *



I also want to say a BIG THANK YOU to all the people that contributed
towards the solution in the 'Start/restart squeezelite when plug-in USB
dac'
(https://forums.slimdevices.com/showthread.php?113661-Start-restart-squeezelite-when-plug-in-USB-dac)
thread, but specially to 'pgf'
(https://forums.slimdevices.com/member.php?58510-pgf) and 'chill'
(https://forums.slimdevices.com/member.php?10839-chill), who spent
considerable time in troubleshooting this issue and along the way
offered really insightful information!
The thread, although long is really interesting for someone interested
not only in the solution, but also in understanding how they arrived at
this solution.



popliviustefan's Profile: http://forums.slimdevices.com/member.php?userid=72397
View this thread: http://forums.slimdevices.com/showthread.php?t=115599

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


[SlimDevices: Unix] Unable to insitu upgrade from 6.1.0 to 7.0.0

2022-01-02 Thread 0x544B4F


Hi everyone,

Obviously running an older version of piCoreplayer (6.1.0) and thought I
would start the process of upgrading incrementally from 6.1.0 to 7.0.0
to 8.0.0 to 8.1.0. 

When I try to do the upgrade it starts off fine:

/cgi-bin/insitu_update_stage1.cgi?ACTION=initial

"[ INFO ] Internet accessible.
[ INFO ] Checking  pCP repository accessible.
[ INFO ] You are currently using piCorePlayer v6.1.0
[ INFO ] Step 1. - Downloading insitu.cfg...
[  OK  ] Successfully downloaded insitu.cfg
"

I choose the piCorePlayer 7.0.0 and the status says OK and then I hit
the Next > button.  It proceeds to:

/cgi-bin/insitu_update_stage1.cgi?CORE=pcpCore=piCorePlayer7.0.0=download

"[ INFO ] You are downloading the update script.
[ INFO ] Step 2A. - Removing the old update script...
[ INFO ] Step 2B. - Downloading the new update script for
piCorePlayer7.0.0...
[  OK  ] Successfully downloaded the new update script.
"
and once again the status is ok.

Now when I click on the piCorePlayer insitu update Next > button it
proceeds to 
/cgi-bin/insitu_update_stage2.cgi?ACTION=download=pcpCore=piCorePlayer7.0.0

but nothing happens.  The webpage is empty with the exception of the
banner for the main menu (e.g. piCorePlayer SQUEEZE AUDIO DEVICE). 
Logging into the pi 3B+ it doesn't appear any processes are running for
any updates.  Looking in the /tmp folder shows this:

tc@piCorePlayer:/tmp$ ls -alg
total 32
drwxrwxrwt7 root   280 Jan  2 10:29 ./
drwxrwxr-x   17 root   360 Dec 31  1969 ../
-rw-r--r--1 staff  131 Dec 31  1969 bootlog.txt
-rw-r--r--1 root  1897 Dec 31 20:49 dropdown.cfg
-rw-r--r--1 root   371 Dec 31 14:17 footer.html
-rw-r--r--1 root 0 Dec 31  1969 k5_skip
-rw---1 staff0 Dec 31 18:48 newdep.lst
drwxr-xr-x2 root60 Jan  2 10:29 pcp_insitu_update/
-rw-r--r--1 staff15418 Dec 31 18:48 pcp_sizelist
drwxr-xr-x2 staff   40 Dec 31 14:17 slimupdate/
drwxrwxr-x3 staff   60 Dec 31  1969 tce/
drwxrwxr-x   81 staff 1620 Dec 31  1969 tcloop/
-rw---1 root   363 Dec 31 18:53 tmp.VpZeAM
drwxr-xr-x2 staff   60 Dec 31 18:48 upgrade_ext/

Not quite sure what is going wrong.  Any ideas greatly appreciated.

Thanks.



0x544B4F's Profile: http://forums.slimdevices.com/member.php?userid=72425
View this thread: http://forums.slimdevices.com/showthread.php?t=115676

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


Re: [SlimDevices: Unix] piCorePlayer 6 and watchdog timer?

2022-01-02 Thread mr-b


ralphy wrote: 
> Yes, it's in the repository.
> 
> However, if you did an institue upgrade of pcp then jivelite does not
> get updated as part of the process.  You need to manually upgrade
> jivelite from the tweaks tab in the webgui.
Yes I normally do in situ upgrades. 

The update page says "Additional extensions (ie. Jivelite, Shairport)
may need to be reloaded." and I'd guessed that extensions would be
reloaded anyway after a reboot after a pcp upgrade.
Are you saying that some/all extensions need to be manually *updated*
after an in situ upgrade (via the "Patch Update" button)? Is this a
commonly known "feature" ?

I checked the Installed extensions and saw pcp-jivelite but couldn't
spot any version info to check.



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=113247

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


Re: [SlimDevices: Unix] Custom /usr/local/bin/pcp-stream.sh

2022-01-02 Thread ralphy


pallih wrote: 
> Happy new year!
> 
> I'm running pCp on a raspberry pi with input from a turntable via USB.
> The streamer setting is working perfectly for relaying that input to a
> icecast server on the network.
> 
> In /usr/local/bin/pcp-stream.sh the server name is coded like this:
> 
> > 
Code:

  >   > name="pCP ${HOSTNAME} line-in ${outdesc}"

> >  which (in my case) translates to > 
Code:

  >   > pCP DAC line-in (mp3)

> > 
> 
> Is there a way for me to set the server name?

HOSTNAME is set at line 30 in the script using the hostname command. 
The value returned can be changed at the top of the tweaks tab but it's
system wide.

Note that this is not the name used for the squeezelite playername. 
That's set in the squeezelite settings tab.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=115673

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


Re: [SlimDevices: Unix] piCorePlayer 6 and watchdog timer?

2022-01-02 Thread ralphy


mr-b wrote: 
> I've just seen the frozen clock display on another pCP running
> piCorePlayer v8.1.0 | www v00017 | linux 5.10.77-pcpCore-v7l (32) |
> piCore v13.1 | Squeezelite v1.9.9-1391-pCP.
> Did the newer jivelite/SDL lib make it into this release? I couldn't
> spot this info on the Diags page.

Yes, it's in the repository.

However, if you did an institue upgrade of pcp then jivelite does not
get updated as part of the process.  You need to manually upgrade
jivelite from the tweaks tab in the webgui.



Ralphy

*1*-Touch, *5*-Classics, *3*-Booms, *2*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=LL5P6365KQEXN=CA_name=Squeezebox%20client%20builds_code=USD=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.

ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=113247

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


Re: [SlimDevices: Unix] piCorePlayer 6 and watchdog timer?

2022-01-02 Thread mr-b


ralphy wrote: 
> If jivelite is frozen and the pcp web interface still works, any logging
> you enable won't likely help.  I've been chasing this issue for years
> and the only helpful log messages are only written to the console when
> you run /opt/jivelite/bin/jivelite from an ssh session.  I run the
> screen utility with a 1 line buffer to keep the jivelite ssh session
> running without needing to keep the terminal window open for weeks at a
> time.
> 
> I've narrowed down the crash to the SDL 1.2.15 library and have been
> testing a pcp7 64bit jivelite build using the yet to be released 1.2.16
> for several months without a crash.   Not counting the 24 day timer wrap
> around bug that also affects the radio, touch and controller.
I've just seen the frozen clock display on another pCP running
piCorePlayer v8.1.0 | www v00017 | linux 5.10.77-pcpCore-v7l (32) |
piCore v13.1 | Squeezelite v1.9.9-1391-pCP.
Did the newer jivelite/SDL lib make it into this release? I couldn't
spot this info on the Diags page.



mr-b's Profile: http://forums.slimdevices.com/member.php?userid=10044
View this thread: http://forums.slimdevices.com/showthread.php?t=113247

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