Hi all,
I use LMS 7.9.3 on pCP 3.21. I don't have Squeezelite running and my music files are stored on a attached Qnap NAS (I don't know if this information is relevant for my question). Because I had problems with upgrading to LMS 8.0, I first created a fresh image of pCP 6.0 on a new SD-card (thanks to help on the LMS-forum). On that new card I can work with LMS 8.0 but all my prefs, plugins, favourites of my old LMS are gone. Luckily I can put my old SD-card in pi so I can use my old LMS 7.9.3.
In my old pCP 3.21 I can see a button to move my LMS Data but when I click that nothing happens. Or do I need to change the mount to Network?
![]()
Results 1 to 10 of 21
-
2020-11-28, 01:59 #1
- Join Date
- Sep 2015
- Posts
- 58
How to copy LMS data when upgrading to 6.0?
Last edited by dejong@kraanendejong.nl; 2020-11-28 at 02:07.
Storage - QNAP TS269pro
Server - LMS 8.0.0 - Raspberry Pi3 - piCorePlayer v6.0.0
Living - Receiver/Duet - Dynaudio Xeo 5
Kitchen - Squeezebox Radio
Bathroom - Squeezebox Radio
Study - Receiver/Duet - Yamaha Pianocraft RXE-600
-
2020-11-28, 03:51 #2
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 4,254
I would leave it where it is.
Is this because you are having trouble making a copy of your favourites folder?
ronnie
-
2020-11-28, 03:57 #3
- Join Date
- Sep 2015
- Posts
- 58
Storage - QNAP TS269pro
Server - LMS 8.0.0 - Raspberry Pi3 - piCorePlayer v6.0.0
Living - Receiver/Duet - Dynaudio Xeo 5
Kitchen - Squeezebox Radio
Bathroom - Squeezebox Radio
Study - Receiver/Duet - Yamaha Pianocraft RXE-600
-
2020-11-28, 04:00 #4
- Join Date
- Apr 2005
- Location
- UK/London
- Posts
- 4,000
I assume that trying to do an in-situ update from pCP 3 to pCP 6 is not going to work - so needs a new and empty SD card.
If the network mounted partition is working from pCP 3 and you can write to that partition then I think it will work if you select that partition and choose Move.
Then you would stop that system (proper close down) and run the new pCP with the fresh SD card ... and then configure that pCP to use the network partition for LMS data ... (make backups first) and then use the same trick in reverse to Move the data to the local partition on the SD card.
Running LMS using a network mounted drive for its Cache might work (could be issues with how it accesses content within files) but even if it worked it would probably slow down LMS - hence the suggestion to move it back afterwards.Paul Webster
http://dabdig.blogspot.com
Author of "Now Playing" plugins covering Radio France (FIP etc), PlanetRadio (Bauer - Kiss, Absolute, Scala, JazzFM etc), KCRW, Supla Finland, ABC Australia, CBC/Radio-Canada and RTE Ireland
-
2020-11-28, 04:14 #5
- Join Date
- Sep 2015
- Posts
- 58
You're right, insitu didn't work. I understand what you mean. So I guess it's important first to check whether the change to the network mounted partition will work in pCP 3. How do I do that? Just click 'Network' and then change something in my favs or playlists? Second question is how to make a backup. Just copy the whole SD card in Windows?
Storage - QNAP TS269pro
Server - LMS 8.0.0 - Raspberry Pi3 - piCorePlayer v6.0.0
Living - Receiver/Duet - Dynaudio Xeo 5
Kitchen - Squeezebox Radio
Bathroom - Squeezebox Radio
Study - Receiver/Duet - Yamaha Pianocraft RXE-600
-
2020-11-28, 05:13 #6
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 4,254
This is how I make a copy of a SD card using Windows
Windows use Win32Disk Imager
https://win32diskimager.org/
I offer a couple of tips for the latter:
1) Create an empty folder on the Desktop (or wherever you want to save the file)
2) Append the .img suffix to the file name when entering it into the appropiate box (eg pcpbackupv6.1.0.img)
3) Tick the box marked "Read Only Allocated Partitions" this will give the smallest image possible
4) Read the "ReadMe" of the download and run it as "as Administrator"
ronnie
-
2020-11-28, 05:45 #7
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 4,254
dejong@kraanendejong.nl
I have been working on this all the morning and I'm pleased to say I have cracked it.
I have seen references from people who save their "pref" file and reinstate it on a new version of LMS, but no definitive guide on how to do it.
So I have been hacking about with WinScp and after a few failures, finally got it to work
It's a bit clunky and belt and braces (I have no doubt there is a better, command line, way to do it) but it seems to work.
If you are willing to take the risk, pm me an e-mail address and I'll send a guide with some screen shots (after lunch) .
If you can follow the guide and it works, then I'll later put up a "how to" on the forum.
ronnie
-
2020-11-28, 05:46 #8
- Join Date
- Sep 2015
- Posts
- 58
I guess you mean pcpbackupv3.21.img? So with such a backup I'm sure that I can always return to pCP 3.21 including my favs, plugins, etc.? Cause I thought those files were on my Raspberry Pi...
I can see there are two img. files on my SD-card: kernel4935.img and kernel4935v7.img. I assume that I choose both files in win32diskimager?Last edited by dejong@kraanendejong.nl; 2020-11-28 at 05:50.
Storage - QNAP TS269pro
Server - LMS 8.0.0 - Raspberry Pi3 - piCorePlayer v6.0.0
Living - Receiver/Duet - Dynaudio Xeo 5
Kitchen - Squeezebox Radio
Bathroom - Squeezebox Radio
Study - Receiver/Duet - Yamaha Pianocraft RXE-600
-
2020-11-28, 05:54 #9
- Join Date
- Sep 2015
- Posts
- 58
Storage - QNAP TS269pro
Server - LMS 8.0.0 - Raspberry Pi3 - piCorePlayer v6.0.0
Living - Receiver/Duet - Dynaudio Xeo 5
Kitchen - Squeezebox Radio
Bathroom - Squeezebox Radio
Study - Receiver/Duet - Yamaha Pianocraft RXE-600
-
2020-11-28, 06:11 #10
- Join Date
- Jan 2011
- Location
- Staffordshire. UK
- Posts
- 4,254
I always add .img to the filename as Windows leaves it off.
It's fine if one can remember what the files is and one uses Win32 Disk Imager to write the new image but other writning tools won't recognise it
1) Card identity given by Windows
2) Storage location
3) This keeps the size as small as possible
4) This strarts the copy process, there will be an option to veriy offered at the end
ronnie