Author Topic: Upgrading WXCat  (Read 9470 times)

dfw_pilot

  • Gale
  • ****
  • Posts: 345
    • GW3252
    • KTNWILLI1
    • WX Page
  • Station Details: Davis Pro2 Plus
Upgrading WXCat
« on: April 07, 2016, 06:11:26 PM »
Dumb question from an FNG:

What is the best way to upgrade WXCat? I've seen many references in the documentation about installing a new version or upgrading from version 1 to 2, but what about from version 2.23 to version 2.3? The only thing I could find was this:
If you have installed items in your existing WeatherCat folder, rename the exiting[sic] folder then copy the items across to the new WeatherCat folder.

Do I just trash the old version and drag over the new version? Am I missing an Upgrade menu option? Thanks.
A clear conscience is a great pillow.


monymony

  • Strong Breeze
  • ***
  • Posts: 174
  • CoCoRaHS - MD-CC-16
    • EW3643
    • KMDELKTO10
    • Cecil County Maryland Weather
  • Station Details: Davis Vantage Pro 2
Re: Upgrading WXCat
« Reply #1 on: April 07, 2016, 06:43:37 PM »
Hi DFW_Pilot,

Essentially you are correct that you just do a copy.  There are detailed instructions in the readme file that comes with the upgrade but normally what I do is:

  • Create a new database backup (for my own sanity and 'just in case')
  • Shutdown WC
  • Copy the new files from the download to the APPLICATIONS folder and replace the old copies with the new
  • Restart WC
On the first restart, WC will then do any data upgrades needed and when complete will start normally. 

Hope this helps!
Jay



dfw_pilot

  • Gale
  • ****
  • Posts: 345
    • GW3252
    • KTNWILLI1
    • WX Page
  • Station Details: Davis Pro2 Plus
Thanks
« Reply #2 on: April 07, 2016, 09:29:58 PM »
Thanks mony! Yeah, the readme was a bit lacking so I just wanted to confirm. I'll do exactly as you say, especially the backup part -- that helps me sleep better an night!

dfw
A clear conscience is a great pillow.


Blicj11

  • Storm
  • *****
  • Posts: 4078
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.5 | WeatherCat 3.3.3 | Supportive Wife
Re: Upgrading WXCat
« Reply #3 on: April 08, 2016, 03:40:40 PM »
When you upgrade to a newer version of WeatherCat, there is an artifact left over from the olden days. On your first time to start WC after upgrading versions, you will get one extra Help pulldown menu (see attached screenshot). So when I change versions, I always add a second restart.

Here is my list:
  • Create database backup
  • Shutdown WC
  • Move new WC files into WeatherCat folder in Applications
  • Reboot OS X
  • Restart WC
  • Immediately quit and restart WC
The second restart eliminates the phantom Help menu.
Blick


wurzelmac

  • Storm
  • *****
  • Posts: 1457
    • ITIROLPR2
    • Wetterstation Prägraten am Großvenediger
  • Station Details: Davis Vantage PRO2 Plus (24h fan aspirated, wireless) with UV/Solar | Weather Envoy Data Logger | Mac mini 2023 M2 8/256 | 1x Canon EOS 1100D | macOS Sonoma 15.0.1 | WC v330b300
Re: Upgrading WXCat
« Reply #4 on: April 08, 2016, 05:05:43 PM »
Here is my list:
  • Create database backup
  • Shutdown WC
  • Move new WC files into WeatherCat folder in Applications
  • Reboot OS X
  • Restart WC
  • Immediately quit and restart WC
The second restart eliminates the phantom Help menu.

Exact the same procedure that I am using.
 [computer]
Reinhard


dfw_pilot

  • Gale
  • ****
  • Posts: 345
    • GW3252
    • KTNWILLI1
    • WX Page
  • Station Details: Davis Pro2 Plus
Wiki
« Reply #5 on: April 08, 2016, 05:10:18 PM »
Sooooo, let's get that written down in the Wiki or Documentation?

Maybe it is and I just missed it. Thanks!

dfw
A clear conscience is a great pillow.


Blicj11

  • Storm
  • *****
  • Posts: 4078
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.5 | WeatherCat 3.3.3 | Supportive Wife
Re: Wiki
« Reply #6 on: April 08, 2016, 06:38:00 PM »
Sooooo, let's get that written down in the Wiki or Documentation?

Great suggestion. I will add this to the Wiki.
Blick


Blicj11

  • Storm
  • *****
  • Posts: 4078
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.5 | WeatherCat 3.3.3 | Supportive Wife
Re: Upgrading WXCat
« Reply #7 on: April 08, 2016, 07:35:02 PM »
Here is the new insert to the existing Wiki page on Installation and Requirements:

http://wiki.trixology.com/index.php/Installation_And_Requirements

Please let me know of any suggested edits.
Blick


dfw_pilot

  • Gale
  • ****
  • Posts: 345
    • GW3252
    • KTNWILLI1
    • WX Page
  • Station Details: Davis Pro2 Plus
Thanks
« Reply #8 on: April 08, 2016, 07:51:31 PM »
Thanks, looks great!

[Edit] Upgraded to 2.3.0 without a hitch, and without double Help Help menus. I restarted it again anyway. I'm not brave enough to run out there on the bleeding edge versions like you guys.
A clear conscience is a great pillow.


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6686
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Do we want a automatic database backup? (Re: Upgrading WXCat)
« Reply #9 on: April 08, 2016, 11:49:38 PM »
Dear Blick, Reinhard, dfw, and WeatherCat faithful,

Okay, the procedure proposed will certainly do no harm, but it is more work than is really necessary.  The reboot of your Mac isn't always necessary and the second start of WeatherCat is only to get rid of that second help menu.  The second help menu is a bit annoying but otherwise harmless.

Here is my list:
  • Create database backup

. . . .


Manually creating a database backup is something of a hassle as well.  Stu usually provides an automatic backup when a version of WeatherCat is potentially dangerous.  Otherwise Stu takes a certain pride that such precautions aren't necessary.

Nonetheless we do live in a dangerous world and unforeseen events could throw a monkey wrench into even Stu's bullet-proof code.  If the majority of WeatherCat users would like an automatic backup made before any version is upgraded, shouldn't we consider that as a feature request?  I would expect it would be an easy thing for Stu to add to the backup manager

So what do the faithful think?

Cheers, Edouard

dfw_pilot

  • Gale
  • ****
  • Posts: 345
    • GW3252
    • KTNWILLI1
    • WX Page
  • Station Details: Davis Pro2 Plus
Faithful
« Reply #10 on: April 08, 2016, 11:53:57 PM »
Quote from: elagache
So what do the faithful think?

Including all faiths or just the correct faith (mine)? :)

I assumed creating a database backup simply means going to Tools->Backups->Backup Now. Is that correct?

Thanks
A clear conscience is a great pillow.


Blicj11

  • Storm
  • *****
  • Posts: 4078
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.5 | WeatherCat 3.3.3 | Supportive Wife
Re: Faithful
« Reply #11 on: April 08, 2016, 11:57:08 PM »
I assumed creating a database backup simply means going to Tools->Backups->Backup Now. Is that correct?

That's what I do. It's pretty simple.
Blick


Blicj11

  • Storm
  • *****
  • Posts: 4078
    • EW3808
    • KUTHEBER6
    • Timber Lakes Weather
  • Station Details: Davis Vantage Pro2 Plus | WeatherLinkIP Data Logger | iMac (2019), 3.6 GHz Intel Core i9, 40 GB RAM, macOS Sonoma 14.8.5 | WeatherCat 3.3.3 | Supportive Wife
Re: Upgrading WXCat
« Reply #12 on: April 09, 2016, 12:06:32 AM »
I edited the wiki to clarify how to make the backup and to identify Step 6 as optional for WeatherCatters who like to click on the non-functional Help menu.  :)
Blick


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6686
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Shouldn't tempt da' . . . . (Re: Upgrading WXCat)
« Reply #13 on: April 09, 2016, 12:11:47 AM »
Dear dfw, Blick, and WeatherCat fans,

Including all faiths or just the correct faith (mine)? :)

 [wink] . . . . If you have the correct faith, then why do you need any backups? . . . . [lol2]

I assumed creating a database backup simply means going to Tools->Backups->Backup Now. Is that correct?

Agreed it is easy to do, but if we feel that everybody should do this as a precaution then it would be best to automate it.  Assuming there is any risk, sooner or later someone will forget and . . . . . .

 [biggrin] . . . . One shouldn't tempt da' character with da' pointy ears! . . . . .

Cheers, Edouard  [cheers1]

WCDev

  • WeatherCat Developer
  • Administrator
  • Storm
  • *****
  • Posts: 2987
    • CW9739
    • IIBSTO2
    • Trixology
  • Station Details: Main Station: Vantage Pro-2, 24hr fars, solar, extra temp stations, no U.V. WeatherLinkLive.
Re: Upgrading WXCat
« Reply #14 on: April 09, 2016, 08:26:28 AM »
Lol, we used to do the backup on every upgrade, but it was pointless unless the data was going to be updated, so now we'll only do an auto-backup on upgrade if the data is going to be updated.

With regards to the two help menus, you'll only get that on a beta these days - see http://athena.trixology.com/index.php?topic=2011.msg18533#msg18533 for details.