Author Topic: Moved: Upgrade Plans  (Read 9003 times)

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Moved: Upgrade Plans
« on: July 02, 2015, 05:37:46 PM »
Not sure this is the best place to post this. Admin(s), feel free to move it.
My new domain has fully propagated and I need to make a decision on how to proceed. Comments welcomed, even if I ignore them! [banghead]
Plan 1:
  • Install WC 2.2.0, even though it's still not the final version.
  • Use the Leuven (2.6g) template.
  • Get IP cam uploading videos or snapshots
  • Upgrade the template.
Plan B:
  • Continue using WC 2.1.0
  • Get IP cam uploading videos or snapshots
  • Upgrade Leuven template (2.7)
  • Upgrade WC 2.2.0 after final release.
Plan III:
  • Continue with current WC and template
  • Get IP cam uploading videos or snapshots
  • Upgrade Template now, WC when 2.2 is released
Your plan?

Last step for any of these plans would be to transfer files to the new domain. I've already moved all the files to the other domain, but some image links are broken, even though the images are still in the same path as before. [rolleyes2] Of course, all data is static, since WC is still using the old domain.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Moved: Upgrade Plans
« Reply #1 on: July 02, 2015, 05:39:37 PM »
I'm now back to step 1 in getting the camera to work. [banghead] All the listed plans are on hold. [rolleyes2]
< Details/Travails(?)>
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
WC 2.2.0 seems plenty solid . . . (Re: Moved: Upgrade Plans)
« Reply #2 on: July 02, 2015, 10:40:40 PM »
Dear X-Air and WeatherCat weather related home improvement specialists . . .

My new domain has fully propagated and I need to make a decision on how to proceed. Comments welcomed, even if I ignore them! [banghead]
Plan 1:
  • Install WC 2.2.0, even though it's still not the final version.
. . . .

Sorry, I never got back to this posting because I ended up going on this forum 3 times yesterday when I make it a rule never to visit more than once.  No wonder progress on my trusty wagon is so slow. 

As you say your overall plans look in pieces, but WeatherCat 2.2.0 looks perfectly solid.  So definitely feel free to upgrade to WeatherCat 2.2.0 whenever it is convenient.

As I said, there is always Logitech . . . . .  [rolleyes2]

Edouard

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Another "Upgrade Plans" question
« Reply #3 on: July 13, 2015, 07:47:20 PM »
The camera problem seems to be behind me, at least the problem of having a camera that 'plays nicely with WC'. I may have an IP camera for sale at a good price, however... [rolleyes2]

Now that WC 2.2.0 has been released, I'll probably upgrade this week.

Before tackling a template update, I'd like to think about making my own web site. It would not be as fancy as the great templates offered, but it would be simpler in file structure.

First question, simple, I hope:
  • Can WC handle both a simple and a Custom Web Template at the same time while using two different domains? If it can, I can work on the DIY site on the new domain while keeping the current template site working at the old domain.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Dear X-Air and WeatherCat web spinners,

First question, simple, I hope:
  • Can WC handle both a simple and a Custom Web Template at the same time while using two different domains? If it can, I can work on the DIY site on the new domain while keeping the current template site working at the old domain.

Yes, you have have a simple and custom web site at the same time.  You don't even need two domain names, you just need two different destinations on your web server.  Creating two different directories (folders in Mac-speak) will allow you have both websites available.

Hope that's enough to get you to . . . the next question!  ;D

Cheers, Edouard  [cheers1]

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Moved: Upgrade Plans
« Reply #5 on: July 13, 2015, 09:44:11 PM »
I was typing this, I think, while you were posting, Edouard! Great minds?  :P

May have answered my own question. Using the WC "Simple Web" prefs, I get the following message (in about 4pt text!  8) ):
Quote
curl: (9) Server denied you to change to the given directory
I assume this is not a problem at the host but the result of having a different path in the "Custom Web" prefs. I think the "Server" referred to is the WC FTP server/function.

I think you are correct about having two different web sites, but the catch in my question is the different domain part.  :D

If my assumption is correct, WC will not support both a 'simple' and a 'custom' web site at the same time on two different domains. Oh well... Plan B...

My real problem is getting fairly up-to-date data to two different sites, at least somewhat quickly. Could I do this by manually uploading the contents of the folder "processedFiles" that WC uses to upload to the current template site?

The contents of that folder seem to be the 'simple' gauges/graphs used in the 'simple' web page. I think that's all I would start out using in my DIY page(s). There are also a few other files which I probably could not use: "graphs.htx", "wsTagsWC.php", "yowindow.xml", and "realtimeTags.txt". I think those are all used by (or from?) the Leuven template. The text file might be usable for parsing out the text labels for the gauges and graphs. [computer]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
FTP format or permissions problems? (Re: Moved: Upgrade Plans)
« Reply #6 on: July 14, 2015, 09:59:37 PM »
Dear X-Air and WeatherCat web spinners, . .

May have answered my own question. Using the WC "Simple Web" prefs, I get the following message (in about 4pt text!  8) ):
Quote
curl: (9) Server denied you to change to the given directory
I assume this is not a problem at the host but the result of having a different path in the "Custom Web" prefs. I think the "Server" referred to is the WC FTP server/function.

You might have a problem in the way you are entering your FTP address.  Take a look at this WeatherCat Wiki entry:

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

The other problem that can exist is that you haven't set up your web host so that the directory (folder) where you want to upload the files to exists, or perhaps it doesn't have the correct permissions (less likely.)  Unfortunately, every hosting provider is different, you'll need to consult their documentation.

I think you are correct about having two different web sites, but the catch in my question is the different domain part.  :D

If my assumption is correct, WC will not support both a 'simple' and a 'custom' web site at the same time on two different domains. Oh well... Plan B...

I just checked and Stu's own version of WeatherCat is uploading both simple and custom web pages to different directories on the same server.  If WeatherCat can do that, it can upload to different domains.  Just enter the FTP URL for each domain in the dialog box as shown in the Wiki entry.

Cheers, Edouard  [cheers1]

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Moved: Upgrade Plans
« Reply #7 on: July 15, 2015, 12:14:31 AM »
My question may be moot when I ever get around to creating a working site on the new domain. At that point, there won't be any use for different domain names in any setting.

The "appearance" of the file structure of my web space is slightly confusing. My second domain appears as a directory/folder in the root area, along with the 'home' page and all the sub-folders and other root level files for the main use of that old domain (mailscamalert.com). [banghead] I'm sure their servers understand the setup, but I was confused at first, thinking I didn't actually have a separate domain at the host. OTOH, I can use the same log in setting for Fetch, which simply goes to the public-html files. Nine of one, three-quarters of the other. [lol]
Probably a lot less complicated than re-wiring running lights! [rockon]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
What sort of web hosting service are you using? (Re: Upgrade Plans)
« Reply #8 on: July 15, 2015, 10:32:03 PM »
Dear X-Air and WeatherCat web spinners, . . .

The "appearance" of the file structure of my web space is slightly confusing. My second domain appears as a directory/folder in the root area, along with the 'home' page and all the sub-folders and other root level files for the main use of that old domain (mailscamalert.com). [banghead]

Golly, I've never seen something like that before.  What sort of operating system is your web hosting provider giving you on your server?  When I signed up with GoDaddy, they gave you a choice of Windoze, Linux, or Mac OS.  Since I was used to Linux (and it was the cheapest) I went with that.  The image you are showing sure looks like a Mac file system.

Probably a lot less complicated than re-wiring running lights! [rockon]

Well, I did get past one obstacle over the past few days.  I rewired the headlight switch wiring connector so that the front parking lights stay on when the headlights are on.  Before 1968, the front parking lights would turn off when the headlights were on.  That isn't as safe, but more importantly, I need to take a feed from the parking lights to control the daytime running lights.  By law, they are supposed to dim when the headlights are on - high or low beams.  Unless, I had a "hot" wire when either the high or low beams were on, the daytime running lights wouldn't dim properly.  So I solders the front parking lights to the connection for the taillight wire. 





Since the taillights are always on, parking, low beam, or high beam - that solved my problem.  With some electrical tape, the headlight switch was ready for to be reinstalled:



Sure wasn't much fun soldering under a beautifully restored dash and interior.  No place to spill any solder!

Now back to the wiring in the engine bay!

Oh yeah, I'll be glad to go back to just fiddling with web pages once more!

Cheers, Edouard  [cheers1]

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Moved: Upgrade Plans
« Reply #9 on: July 15, 2015, 11:05:03 PM »
Web hosting is from Hostgator, it's Linux, according to the cPanel. I can http directly to the new domain, that's not a problem. :)

Just today I was thinking that you could possibly just re-wire the light switch. I don't even know the difference between "running" lights and "parking" lights or that they have dimming requirements!

All I remember was that the first cars I had ('51 Ford, straight-8 and a '57? VW) seemed to have pull/push light switches. "Off" was pushed all the way in, 'parking' lights came one with the first notch, head lights was with the knob pulled all the way out.

Your 'modern' wagon probably has a rotary switch. Still, it would seem possible to simply rewire the "running" lights differently, even totally separate of the switch.
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


Blicj11

  • Storm
  • *****
  • Posts: 3941
    • 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 Ventura 13.6 | Sharx SCNC2900 Webcam | WeatherCat 3.3 | Supportive Wife
Re: Moved: Upgrade Plans
« Reply #10 on: July 15, 2015, 11:51:22 PM »
I appreciated discovering how nice your hands look in a closeup.
Blick


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Nice looking interface from Hostgator (Re: Moved: Upgrade Plans)
« Reply #11 on: July 16, 2015, 10:11:16 PM »
Dear X-Air, Blick, and WeatherCat hackers of . . . . all sorts!

Web hosting is from Hostgator, it's Linux, according to the cPanel. I can http directly to the new domain, that's not a problem. :)

They have a nice interface to their file-system.  I was a bit puzzled by the .htaccess file.  I thought this was related to Apple File system running on a UNIX or OS X machine.  So that's why I asked.

Just today I was thinking that you could possibly just re-wire the light switch. I don't even know the difference between "running" lights and "parking" lights or that they have dimming requirements!

That's exactly what I did.  The taillights come on no matter where the switch is set to: parking lights, low beams, or high beams.  So I cross-connected the parking light wire to the taillight wire.  That is how every car has been since 1968.  I have no idea why they turned off the parking lights when the headlights come on before 1968.  Probably nobody thought about how silly that was.  It makes the switches more complex and definitely isn't as safe.

All I remember was that the first cars I had ('51 Ford, straight-8 and a '57? VW) seemed to have pull/push light switches. "Off" was pushed all the way in, 'parking' lights came one with the first notch, head lights was with the knob pulled all the way out.

Your 'modern' wagon probably has a rotary switch.

No actually my trusty wagon has exactly the same action.  All the way in is off, pull out once for parking and tailights, pull out twice for headlights.  The rotary feature is for dimming the cabin lights.

I appreciated discovering how nice your hands look in a closeup.

Well, that was something of desperation!  My Canon DSLR has a good auto-focus system, but it cannot cope with a field with lots of dim object like under the dash.  So I put my hand into the images for the camera to have something to "lock-on to."  I've learned all sorts of quirky things trying to document my wagon makeover!

Cheers, Edouard  [cheers1]

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Moved: Upgrade Plans
« Reply #12 on: July 16, 2015, 11:27:20 PM »
Quote
They have a nice interface to their file-system.  I was a bit puzzled by the .htaccess file.
That "interface" is the screen grab of the display in <Fetch>, not Hostgator. About all the have is the kludgy cPanel.

".htaccess" is a handy file control what happens when your site is visited. You can block access to certain things, control which error page gets called, etc. <This site> is a good source of what and how to use .htaccess. BTW, with that period in it, you may want to leave it off on your local copy. ;)
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system


elagache

  • Global Moderator
  • Storm
  • *****
  • Posts: 6494
    • DW3835
    • KCAORIND10
    • Canebas Weather
  • Station Details: Davis Vantage Pro-2, Mac mini (2018), macOS 10.14.3, WeatherCat 3
Pooches WeatherCats and memories . . . (Re: Moved: Upgrade Plans)
« Reply #13 on: July 17, 2015, 11:04:46 PM »
Dear X-Air and WeatherCat Mac users with long memories . . .

Quote
They have a nice interface to their file-system.  I was a bit puzzled by the .htaccess file.
That "interface" is the screen grab of the display in <Fetch>, not Hostgator. About all the have is the kludgy cPanel.

Fetch?  I thought that pooch had gone to pasture at least a decade ago!  The last time I used it was at least OS-9!

 [wink] . . .  Besides . . . . aren't you worried that your Fetch pooch will try to chase WeatherCat? . . . .  [lol2]

".htaccess" is a handy file control what happens when your site is visited. You can block access to certain things, control which error page gets called, etc. <This site> is a good source of what and how to use .htaccess. BTW, with that period in it, you may want to leave it off on your local copy. ;)

Thanks for the link.  Oops  :-[, I was thinking of something else related to open source software to make a Linux server look like an AppleShare device.  That was handy to provide extra storage when PC drives were cheap.

I had forgotten that you could also control Apache with a directory.  When I was running a Linux server, I preferred to make all the configuration settings in the main configuration file - since I was the sys-admin  - I had all the power!!

Cheers, Edouard  [cheers1]

xairbusdriver

  • Storm
  • *****
  • Posts: 3126
    • EW7115 (E7115)
    • KTNGERMA20
    • Mid-South Weather
  • Station Details: Davis VP2 wireless + remote Anemometer/2014 Mac min - 10.15.7/WC 3.0.5
Re: Moved: Upgrade Plans
« Reply #14 on: July 17, 2015, 11:21:04 PM »
Quote
Fetch?  I thought that pooch had gone to pasture at least a decade ago!  The last time I used it was at least OS-9!
What does age have to do with anything?!  [lol] Besides, that wagon you keep messin' with is a bit older than OS 9!! :o I don't like change! Once I figure out how to use an app, I keep using it until the wheels fall off! Besides, I still like MacDraw! Too many colors just get in the way!!! [rockon]
THERE ARE TWO TYPES OF COUNTRIES
Those that use metric = #1 Measurement system
And the United States = The Banana system