INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Upgrading and Restoring  (Read 828 times)

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Upgrading and Restoring
« on: November 20, 2019, 12:58:56 pm »

We're talking about making some minor changes in backup and restore.  We could use your thoughts.

When you install and upgrade, we look for data from your previous version and make a new library from it.

We've just addressed one valid criticism of this process.  Thumbnails will now be copied from your old version, so they won't need to be rebuilt.

We're thinking about how to handle the Access Key when restoring from a backup.  If it's done on the same machine where the backup was made, then there's no problem, but if it's done on a second machine on the network, you can currently end up with two machines which are using the same Access Key.  I think we could save the machine name in the backup and use it to decide whether to use the Access Key when a restore is done.

Any other little problems we could fix to make upgrading or restoring a backup easier?

Thanks.
Logged

skarsol

  • Regular Member
  • World Citizen
  • ***
  • Posts: 202
  • Change this by choosing profile
Re: Upgrading and Restoring
« Reply #1 on: November 20, 2019, 05:18:23 pm »

Put particle information in the sidecar files.
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Upgrading and Restoring
« Reply #2 on: November 20, 2019, 05:33:14 pm »

We might add something like a factory reset that reverts all settings to MC's original defaults.
Logged

RoderickGI

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 8186
Re: Upgrading and Restoring
« Reply #3 on: November 20, 2019, 06:08:37 pm »

A factory reset would be good, if only so that a user could reset a Library back to defaults to check what is there, and hence diagnose issues.
Storing the machine name with the backup would be good, and if Restoring to a new machine, ask if the Access Key should be used from the backup. Default to No, so users who don't know what it means don't cause network issues for themselves.

On Upgrade, have the installation program find all the old Libraries and ask the user which MC version and Library they want to use for the Upgrade. Default to the Main (Default) Library from the previous version, which what is supposed to happen now. Make this work when there are multiple versions of MC installed on the machine.
Do all you can to ensure that the Windows File Associations come across to the new version of MC. This has been a problem area for me, but I suspect that is because the Upgrade installation doesn't always find the previous Library. I know Windows doesn't let a program assign File Associations to itself, for obvious security reasons, but if more can be done that would be great. Remove associations with previous versions of MC. That will stop old versions being launched when someone double clicks on a file with an old association.
While I'm here, make sure that the Windows Shell Integration is removed for the old version, and added for the new version, or just updated.

In recent upgrades it seems that some settings get forgotten, not because they are not in the backup, but because new features clash with the original settings, so those settings are set to defaults. Providing a list of such settings that get reset would help people through the upgrade process, as they know what to go and check. Possibly this information could be included in the Release Notes along with the change that prompted the issue, because sometimes it seems to happen during updates, rather than upgrades.

Make sure all settings are included in the backup, and in the transfer. Sometimes new settings don't seem to get into the backup initially after they are created.
However... I was looking at the Zone information stored in the Windows Registry in the past, MC seems to keep a record of all Zones ever created. I suspect that this has caused me some DLNA Dynamic Zone issues. It would be good if a backup only stored current Zone information (Zones in the Library now), so that I could completely uninstall MC including all Registry information, and when I reinstalled and Restored a backup, only that Zone information will be present in the Registry. A bonus would be if the Zone numbering was reset as part of that process, although that may cause issues for people using MCWS to interact with specific Zones. I haven't investigated this issue completely, or come to a conclusion on what the underlying issue is, but I have noticed lots of redundant old Zone information in the Registry.
Logged
What specific version of MC you are running:MC27.0.27 @ Oct 27, 2020 and updating regularly Jim!                        MC Release Notes: https://wiki.jriver.com/index.php/Release_Notes
What OS(s) and Version you are running:     Windows 10 Pro 64bit Version 2004 (OS Build 19041.572).
The JRMark score of the PC with an issue:    JRMark (version 26.0.52 64 bit): 3419
Important relevant info about your environment:     
  Using the HTPC as a MC Server & a Workstation as a MC Client plus some DLNA clients.
  Running JRiver for Android, JRemote2, Gizmo, & MO 4Media on a Sony Xperia XZ Premium Android 9.
  Playing video out to a Sony 65" TV connected via HDMI, playing digital audio out via motherboard sound card, PCIe TV tuner

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 72438
  • Where did I put my teeth?
Re: Upgrading and Restoring
« Reply #4 on: November 20, 2019, 07:12:37 pm »

Thanks for all the feedback, RoderickGI. 
Logged
Pages: [1]   Go Up