Welcome to the Cumulus Support forum.

Latest Cumulus MX release 3.28.5 (build 3282) - 23 February 2024

Legacy Cumulus 1 release v1.9.4 (build 1099) - 28 November 2014 (a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

Help w/Web Page After Upgrade

Other discussion about creating web sites for Cumulus that doesn't have a specific subforum

Moderator: daj

randy52644
Posts: 51
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Jessie & CumulusMX
Location: Mt. Union, IA

Re: Help w/Web Page After Upgrade

Post by randy52644 »

Well I seem to have "fixed" most of the errors in MXdiags, but still not getting my nowT.htm and realtime-xT.txt to publish to htdocs. I've attached the latest screenshots in case someone can figure out what I'm doing wrong?

To recap, nowT.htm is a file that generates a web page using webtags and an embedded radar view. realtime-xT.txt is a file that used webtags to parse 4 wx elements to be displayed on a small LCD panel.

2023-06-25 10:37:18.438 SendLoopCommand: Starting - LPS 2 1
2023-06-25 10:37:18.514 SendLoopCommand: Starting - LOOP 50
2023-06-25 10:37:48.930 Updating settings from the First Time Wizard
2023-06-25 10:37:48.930 Updating internet settings
2023-06-25 10:37:48.930 Writing Cumulus.ini file
2023-06-25 10:37:48.937 Completed writing Cumulus.ini file
2023-06-25 10:38:56.436 SendLoopCommand: Starting - LPS 2 1
2023-06-25 10:38:56.513 SendLoopCommand: Starting - LOOP 50
2023-06-25 10:40:00.274 DoLogFile: Writing log entry for 6/25/2023 10:40:00 AM
2023-06-25 10:40:00.275 DoLogFile: log entry for 6/25/2023 10:40:00 AM written
2023-06-25 10:40:00.276 Writing today.ini, LastUpdateTime = 6/25/2023 10:40:00 AM raindaystart = 10.64 rain counter = 10.99
2023-06-25 10:40:34.442 SendLoopCommand: Starting - LPS 2 1
2023-06-25 10:40:34.535 SendLoopCommand: Starting - LOOP 50
2023-06-25 10:42:12.443 SendLoopCommand: Starting - LPS 2 1
2023-06-25 10:42:12.520 SendLoopCommand: Starting - LOOP 50
2023-06-25 10:43:50.436 SendLoopCommand: Starting - LPS 2 1
2023-06-25 10:43:50.514 SendLoopCommand: Starting - LOOP 50
2023-06-25 10:45:00.069 Updating CWOP
2023-06-25 10:45:28.437 SendLoopCommand: Starting - LPS 2 1
2023-06-25 10:45:28.514 SendLoopCommand: Starting - LOOP 50
You do not have the required permissions to view the files attached to this post.
SamiS
Posts: 350
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Help w/Web Page After Upgrade

Post by SamiS »

No errors on the newest logfile about copying the extra files? Since the destination path contains a space, you could try to enclose it in double quotes (example below).

”C:\Program Files (x86)\Apache\Apache2.2\htdocs\nowT.htm”
randy52644
Posts: 51
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Jessie & CumulusMX
Location: Mt. Union, IA

Re: Help w/Web Page After Upgrade

Post by randy52644 »

Now this is interesting.................after adding quotations as shown in your example, this is what my Extra Web File page displays. Restarting CMX did not help.
You do not have the required permissions to view the files attached to this post.
SamiS
Posts: 350
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Help w/Web Page After Upgrade

Post by SamiS »

Interesting indeed. Looks like a some kind of bug in the web interface. Have you looked inside Cumulus.ini since it contains also the extra files settings? Also what does the mxdiags log say now?
randy52644
Posts: 51
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Jessie & CumulusMX
Location: Mt. Union, IA

Re: Help w/Web Page After Upgrade

Post by randy52644 »

MXdiag now looks normal. No errors, just normal stuff like writing new wind run records (it's very windy here today) and other normal weather data recording. But I am surprised there isn't any errors displayed trying to write my extra web files to htdocs. All the json files and now the NOAA files are being written to htdocs/Reports along with the Moon image.

I am not opposed if someone wants to remote desktop and see what is going on.

I did find my extra files in cumulus.ini
After removing the quotation marks and restarting CMX, my Extra Web Files menu is back :)

MaxConcurrentUploads=4
ExtraLocal0=C:\CumulusMXDist3245\CumulusMX\web\nowT.htm
ExtraRemote0="C:\Program Files (x86)\Apache\Apache2.2\htdocs\nowT.htm"
ExtraProcess0=1
ExtraBinary0=0
ExtraRealtime0=1
ExtraFTP0=1
ExtraUTF0=0
ExtraEOD0=0
ExtraLocal1=C:\CumulusMXDist3245\CumulusMX\web\realtime-xT.txt
ExtraRemote1="C:\Program Files (x86)\Apache\Apache2.2\htdocs\realtime-xT.txt"
ExtraProcess1=1
SamiS
Posts: 350
Joined: Sun 27 Feb 2011 5:13 pm
Weather Station: Ecowitt HP2551 & GW1100
Operating System: Raspberry Pi OS
Location: Kangasala, Finland

Re: Help w/Web Page After Upgrade

Post by SamiS »

You may have found one more bug regarding the local file copy. I know there is at least one open unfixed bug related to local file copy, but there might be more since the file handling has changed significantly beginning from version 3.24.0. Unfortunately Mark is currently on summer vacation, so we don’t have means to debug this a lot further.

If I was you, next I would try if the files are created properly when you set a destination folder outside program files, eg. C:\Temp or something similar (create a test forder if necessary).

Of course you could also work around this by setting up ftp/sftp/php uploads to localhost.
User avatar
PaulMy
Posts: 3732
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2+ Cumulus1 / CummulusMX
Operating System: Windows8 / Windows10
Location: Komoka, ON Canada
Contact:

Re: Help w/Web Page After Upgrade

Post by PaulMy »

Hi,
I've been reading but generally beyond my knowledge. However can this from the Internet settings > Advanced Serttings enter into the picture. I know Randy is not using PHP but if I understand correctly Apache is some form of a webserver:

Code: Select all

Advanced Settings
 Here be dragons! Only alter these settings if you understand what they do.

Certificates
Ignore PHP certificate errors
 Not normally required - use with caution Typically only used if you are connecting to your own internal web server and it does not have a public certificate
Also, the two files not copying are at realtime interval. In an earlier attached image that showed all the files uploaded to your \Apache2.2\htdocs the realtime.txt and realtimegauges.txt which I presume are intended at realtime show an earlier time compared to the other uploaded files. Are realtime.txt and realtimegauges.txt being updated at your set interval?

Just ignore if I am totally off base :|

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www .komokaweather.com/cumulusmxwll/index.htm
MX www.komokaweather.com/cumulusmx/index.php
MX www.komokaweather.com/cumulusmx/index.html

Image
randy52644
Posts: 51
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Jessie & CumulusMX
Location: Mt. Union, IA

Re: Help w/Web Page After Upgrade

Post by randy52644 »

I tried various destination paths/filenames without success. But during this time, MXdiag didn't display any write/publish errors which I find unusual.

I've done a little searching on ftp and php to my local Apache server, but the results are over my head.

This transition from 3.0 to 3.25.2 has certainly been an uphill struggle, but I appreciate all your input!
randy52644
Posts: 51
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Jessie & CumulusMX
Location: Mt. Union, IA

Re: Help w/Web Page After Upgrade

Post by randy52644 »

PaulMy wrote: Sun 25 Jun 2023 8:34 pm Hi,
I've been reading but generally beyond my knowledge. However can this from the Internet settings > Advanced Serttings enter into the picture. I know Randy is not using PHP but if I understand correctly Apache is some form of a webserver:

Code: Select all

Advanced Settings
 Here be dragons! Only alter these settings if you understand what they do.

Certificates
Ignore PHP certificate errors
 Not normally required - use with caution Typically only used if you are connecting to your own internal web server and it does not have a public certificate
Also, the two files not copying are at realtime interval. In an earlier attached image that showed all the files uploaded to your \Apache2.2\htdocs the realtime.txt and realtimegauges.txt which I presume are intended at realtime show an earlier time compared to the other uploaded files. Are realtime.txt and realtimegauges.txt being updated at your set interval?

Just ignore if I am totally off base :|

Enjoy,
Paul
Paul, realtime and realtimegauges aren't files in question. My files are realtime-xT.txt and nowT.htm.
Many years ago when I started with version 3.0.0, I created a .htm file that display desired weather parameters on a wall monitor with local radar. But now after upgrading to 3.25.2 those files won't publish to Apache. All other functions of CMX appear to work fine.
Thanks for your input.
User avatar
PaulMy
Posts: 3732
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2+ Cumulus1 / CummulusMX
Operating System: Windows8 / Windows10
Location: Komoka, ON Canada
Contact:

Re: Help w/Web Page After Upgrade

Post by PaulMy »

Hi,
The question I tried to make is if it is only files with realtime interval that are failing as I had noticed from that previous image both realtime.txt and realtimegauges.txt were not at realtime, and wondered if uploading your two custom files at normal interval would work.

Enjoy,
Paul
Davis Vantage Pro2+
C1 www.komokaweather.com/komokaweather-ca
MX www .komokaweather.com/cumulusmxwll/index.htm
MX www.komokaweather.com/cumulusmx/index.php
MX www.komokaweather.com/cumulusmx/index.html

Image
randy52644
Posts: 51
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Jessie & CumulusMX
Location: Mt. Union, IA

Re: Help w/Web Page After Upgrade

Post by randy52644 »

Paul, The previous image you saw must have been captured in error. The 2 text files generated by CMX, realtime and realtimegauges are being published correctly. The file I generated realtime-xT.txt is confusing this issue because of it's name. But the other file I generated, nowT.htm never appears regardless of it's interval. This was all so easy when I did it the first time, but it's uphill now.
You do not have the required permissions to view the files attached to this post.
flort
Posts: 205
Joined: Thu 17 Dec 2020 9:06 am
Weather Station: Davis Vantage Vue
Operating System: Raspbian GNU/Linux 10 (buster)
Location: Tin Can Bay, Queensland, Australia
Contact:

Re: Help w/Web Page After Upgrade

Post by flort »

Hi,

Just a thought. Try removing the ticks in the Upload column. I believe that will be trying to upload the files to whatever is stated in your Internet Settings > Web/Upload > Enable Upload Connections. As you are only trying to do a local copy, the template files only need to be processed at the realtime interval and that should automatically put the processed file in the specified destination.

Regards,
Trevor
Image
randy52644
Posts: 51
Joined: Tue 15 Jan 2013 3:15 am
Weather Station: Vantage Pro2
Operating System: Jessie & CumulusMX
Location: Mt. Union, IA

Re: Help w/Web Page After Upgrade

Post by randy52644 »

flort wrote: Sun 25 Jun 2023 11:18 pm Hi,

Just a thought. Try removing the ticks in the Upload column. I believe that will be trying to upload the files to whatever is stated in your Internet Settings > Web/Upload > Enable Upload Connections. As you are only trying to do a local copy, the template files only need to be processed at the realtime interval and that should automatically put the processed file in the specified destination.

Regards,
Trevor
Trevor,
That was it!! My two files are now being published to the Apache htdocs. The only downside is the content of the files is not current but is a few days old and is not being refreshed. I've changed so many parameters over the last several days I have no idea what my settings were during that time.
The date/timestamp for the two files on htdocs is keeping current so CMX is now pushing the files to Apache. But the files in /web have several days old date/timestamps.

I'm a little hazy but I thought the file /web/nowT.htmtmp is the template where fresh data was written? It has a fresh "date modified" timestamp but the data within is old.
water01
Posts: 3165
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: Help w/Web Page After Upgrade

Post by water01 »

viewtopic.php?p=170328#p170328

AS per this release temporary files ceased to exist. Mark offers solutions in the release notes.
David
Image
Post Reply