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

2022-01-04 Thread 0x544B4F


paul- wrote: 
> If it wont run, it likely means something is missing from your system. 
> Too much has changed in pCP since 6.1, I just don't remember.   I would
> just set it up from scratch using the latest installation.

Ok, 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] Unable to insitu upgrade from 6.1.0 to 7.0.0

2022-01-04 Thread paul-


If it wont run, it likely means something is missing from your system. 
Too much has changed in pCP since 6.1, I just don't remember.   I would
just set it up from scratch using the latest installation.



piCorePlayer a small player for the Raspberry Pi in RAM. 
Homepage: https://www.picoreplayer.org

Please 'donate'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations=U7JHY5WYHCNRU=GB_code=USD=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted)
if you like the piCorePlayer

paul-'s Profile: http://forums.slimdevices.com/member.php?userid=58858
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-04 Thread 0x544B4F


walking through the install script and have identified at least one spot
where things don't happen:

# As all the insitu update is done in one file, it may be better to
define this here
UPD_PCP="/tmp/pcp_insitu_update"

#
# Prepare download directories - Do we really need boot and tce
directory???
#
pcp_create_download_directory() {
if [ -d $UPD_PCP ]; then
sudo rm -rf $UPD_PCP
[ $? -ne 0 ] && FAIL_MSG="Can not remove directory $UPD_PCP"
fi
sudo mkdir -m 755 $UPD_PCP
[ $? -ne 0 ] && FAIL_MSG="Can not make directory $UPD_PCP"
sudo mkdir ${UPD_PCP}/boot
[ $? -ne 0 ] && FAIL_MSG="Can not make directory ${UPD_PCP}/boot"
sudo mkdir ${UPD_PCP}/tce
[ $? -ne 0 ] && FAIL_MSG="Can not make directory ${UPD_PCP}/tce"
sudo mkdir ${UPD_PCP}/mydata
[ $? -ne 0 ] && FAIL_MSG="Can not make directory ${UPD_PCP}/mydata"
}


so the script  that gets downloaded:

tc@piCorePlayer:/var/www/cgi-bin$ more insitu_update_stage2.cgi
#!/bin/sh

# Version: 7.0.0

successfully makes the main directory: 


tc@piCorePlayer:/tmp/pcp_insitu_update$ ls -alg
total 4
drwxr-xr-x2 root60 Jan  4 10:00 ./
drwxrwxrwt7 root   260 Jan  4 10:00 ../
-rw-r--r--1 root90 Jan  4 10:00 insitu.cfg

but it fails to create any of the subdirectories for the install (boot,
tce, mydata) nor does it give any notice/message that it fails :-(



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


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


[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