Welcome to the Cumulus Support forum.

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Cumulus MX V4 beta test release 4.0.0 (build 4019) - 03 April 2024

Legacy Cumulus 1 release 1.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

Website build problem

From build 3044 the development baton passed to Mark Crossley. Mark has been responsible for all the Builds since. He has made the code available on GitHub. It is Mark's hope that others will join in this development, but at the very least he welcomes your ideas for future developments (see Cumulus MX Development suggestions).

Moderator: mcrossley

falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Website build problem

Post by falkunmalti »

Hi

I am running Cumulus 3046 and have had to reinstall CumulusMX due to a computer failure (Raspberry pi3). I have everything back with the exception of my website.

I have followed the wiki and the web and webfiles directories on my pi are as shown in the wiki and I have set all the parameters as I understand them to be (Web/FTP settings). While my website does display as shown in the attached screenshot, it does not update. My settings are for 15 min updates and the page has not updated for 2 hours now. I checked the ftp log and it looks like realtimegauges.txt and realtime.txt are uploading every 15 mins. I cannot understand why the webpage itself does not update like it used to before. I would appreciate any help. Thanks in advance.
You do not have the required permissions to view the files attached to this post.
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Website build problem

Post by falkunmalti »

I have not had any replies yet but I am thinking that the problem may be how I have entered the value for "directory". My website is www.laferla.ca/weather but nothing is showing up under my weather directory on the website. Maybe I have misunderstood the format of the directory entry. Could someone please enlighten me??

I am attaching a screenshot of my entries for the website in CumulusMX. Thanks in advance.
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Website build problem

Post by PaulMy »

Hi,
I presume your Host name, User name, and Password are correct as it looks like you have been able to manually upload the necessary files such as http://www.laferla.ca/weather/images/picture.jpg

The Directory setting is most likely your issue.
Did you have to create the /weather folder in public_html/weather?
When I changed my hosting at GoDaddy to cPanel I had to change my directory from /weather to public_html/weather

If public_html is your root on your hosting then likely you need to have it in CumulusMX internet settings as public_html/weather

Enjoy,
Paul
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
typiod
Posts: 12
Joined: Thu 21 Sep 2017 9:21 pm
Weather Station: aercus WS2083
Operating System: RPI stretch

Re: Website build problem

Post by typiod »

Should the host name be ftp.laferla.ca
and then the directory public_html/weather
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Website build problem

Post by falkunmalti »

I checked with my mail server fellow and he says that www.laferla.ca/weather is the correct thing to use for the directory. In fact, realtime.txt and realtimegauges.txt got uploadedinto my website directory. But the "static" parts of the webpages do not get uploaded. I don't know why this is happening. I now have this as the directory

www.laferla.ca/weather

Also the files are not getting updated on the pc.
typiod
Posts: 12
Joined: Thu 21 Sep 2017 9:21 pm
Weather Station: aercus WS2083
Operating System: RPI stretch

Re: Website build problem

Post by typiod »

OK then , you still need to change your host name so that it starts ftp.yourwebsite, then the directory is weather. You also need to upload the static files manually to your webserver.
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Website build problem

Post by falkunmalti »

Should the static files be uploaded from /web or /webfiles?
typiod
Posts: 12
Joined: Thu 21 Sep 2017 9:21 pm
Weather Station: aercus WS2083
Operating System: RPI stretch

Re: Website build problem

Post by typiod »

OK so you have some of the required files loaded so it would be best to enable ftp logging within cumulus to see what is or is not happening. Also upload all the rquired files from the webfiles folder.
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Website build problem

Post by falkunmalti »

Here is my ftplog.txt. Something is still wrong. The last time realtimegauges.txt was uploaded was 2:48 and the datestamp on the webpage is wrong.
You do not have the required permissions to view the files attached to this post.
typiod
Posts: 12
Joined: Thu 21 Sep 2017 9:21 pm
Weather Station: aercus WS2083
Operating System: RPI stretch

Re: Website build problem

Post by typiod »

From the logfile it appears that cumulus is trying to upload a file that does not exist on your rpi,(Response: 550 weather/realtime.txttmp: No such file or directory). In your CumulusMX/web folder do you have files with a T on the end of them for instance realtimeT.xml ?
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Website build problem

Post by falkunmalti »

Yes, realtimegaugesT.txt, yesterdayT.htm,todayT.htm, indexT.htm, trendT.htm, record.htm, thismonthT.htm, thisyearT.htm, gaugesT.htm, monthlyrecordT.htm.

The realtimegauges.txttmp does exist on the website but has a file size of 0. Do you think I should start again from scratch?

The ftp is obviously working but somehow the data does not update.
typiod
Posts: 12
Joined: Thu 21 Sep 2017 9:21 pm
Weather Station: aercus WS2083
Operating System: RPI stretch

Re: Website build problem

Post by typiod »

Yes maybe a good idea to start again there should be no .txttmp on the server, just the .txt files.
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Website build problem

Post by falkunmalti »

OK, I'll try and do this tomorrow and post the results.


could you post a link to a good how-to guide that I could follow. Thanks.
falkunmalti
Posts: 106
Joined: Thu 09 Oct 2014 4:19 pm
Weather Station: Oregon Scientific WMR200
Operating System: Windows 10, Raspberry pi
Location: Ontario, Canada

Re: Website build problem

Post by falkunmalti »

Following the wiki, I uploaded the folders and files from /webfiles to my webspace. The realtimegauges.txt is being correctly created periodically and uploaded to the website. The wiki does not mention anything about the 11 files in /web. I am wondering whether I upload the 11 files in /web (the ones with a T at the end) to the webspace. When does Cumulus start creating the weather files which display on the website?

My ftplog.txt file shows entreies SIZE not allowed in ascii mode when dealing with realtimegauges.txttmp when uploading to the website. I couldn't see any setting for ascii or binary mode in the ftp client settings. Is this a setting in the ftp client that I must set? Attached is a snippet of my ftplog showing the latest attempt this morning.
You do not have the required permissions to view the files attached to this post.
User avatar
PaulMy
Posts: 3849
Joined: Sun 28 Sep 2008 11:54 pm
Weather Station: Davis VP2 Plus 24-Hour FARS
Operating System: Windows8 and Windows10
Location: Komoka, ON Canada
Contact:

Re: Website build problem

Post by PaulMy »

The only thing to manualy FTP to your webserver are the contents of Cumulus\webfiles. There should be no xxxxT files on your webserver, these should only be in \Cumulus\web
At the set interval Cumulus should process the \web xxxT files and FTP as per your WebFTP settings. That is all that would be needed. In its processing and FTP Cumulus creates the temp files like realtimegauges.txttmp in your Cumulus\web folder and these are not FTP

The realtimegauges.txt on your site is from 07:22 but can't tell which date http://www.laferla.ca/weather/realtimegauges.txt
There are xxxT.htm files on your webserver such as indexT.htm but this is not a processed files and should be index.htm and current value, and this index.htm doesn't exist.

Your FTPlog shows No such file or directory for each scheduled Cumulus processing and FTP so something not correct yet. I presume all the template files are in \CumulusMX\web

Could you provide your CumulusMX Internet Settings Web/FTP settings?

Enjoy,
Paul


This is an example of my FTPlog for realtime update (CumulusMX on Windows)
2019-01-29 11:06:02.980 Uploading realtime.txt to public_html/cumulusmx/realtime.txt

# OpenWrite("public_html/cumulusmx/realtime.txt", Binary)

# GetFileSize("public_html/cumulusmx/realtime.txt")
Command: SIZE public_html/cumulusmx/realtime.txt
Response: 213 286

# OpenPassiveDataStream(AutoPassive, "STOR public_html/cumulusmx/realtime.txt", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||50384|)
Status: Connecting to 23.229.161.0:50384
Command: STOR public_html/cumulusmx/realtime.txt
Response: 150 Accepted data connection
Status: Disposing FtpSocketStream...
Response: 226 0.133 seconds (measured here), 2.10 Kbytes per second
Response: 226-File successfully transferred
Status: Disposing FtpSocketStream...
2019-01-29 11:06:03.534 Completed uploading realtime.txt to public_html/cumulusmx/realtime.txt

2019-01-29 11:06:03.553 Uploading web\realtimegauges.txt to public_html/cumulusmx/realtimegauges.txt

# OpenWrite("public_html/cumulusmx/realtimegauges.txt", Binary)

# GetFileSize("public_html/cumulusmx/realtimegauges.txt")
Command: SIZE public_html/cumulusmx/realtimegauges.txt
Response: 213 1672

# OpenPassiveDataStream(AutoPassive, "STOR public_html/cumulusmx/realtimegauges.txt", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||50800|)
Status: Connecting to 23.229.161.0:50800
Command: STOR public_html/cumulusmx/realtimegauges.txt
Response: 150 Accepted data connection
Status: Disposing FtpSocketStream...
Response: 226 0.135 seconds (measured here), 12.14 Kbytes per second
Response: 226-File successfully transferred
Status: Disposing FtpSocketStream...
2019-01-29 11:06:04.106 Completed uploading web\realtimegauges.txt to public_html/cumulusmx/realtimegauges.txt
This is an example of my regular interval FTP
2019-01-29 11:10:00.497 CumulusMX Connecting to 23.229.161.0

# Connect()
Status: Connecting to 23.229.161.0:21
Response: 220 You will be disconnected after 15 minutes of inactivity.
Response: 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
Response: 220-You are user number 7 of 500 allowed.
Response: 220-Local time is now 09:10. Server port: 21.
Response: 220-This is a private system - No anonymous login
Command: USER psoykkrhjuz3
Response: 331 User psoykkrhjuz3 OK. Password required
Command: PASS ***
Response: 230 OK. Current restricted directory is /
Response: 230-Your bandwidth usage is restricted
Command: FEAT
Response: 211 End.
Response: 211-Extensions supported:
Response: EPRT
Response: IDLE
Response: MDTM
Response: SIZE
Response: MFMT
Response: REST STREAM
Response: MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
Response: MLSD
Response: AUTH TLS
Response: PBSZ
Response: PROT
Response: UTF8
Response: TVFS
Response: ESTA
Response: PASV
Response: EPSV
Response: SPSV
Response: ESTP
Status: Text encoding: System.Text.UTF8Encoding
Command: OPTS UTF8 ON
Response: 200 OK, UTF-8 enabled
Command: SYST
Response: 215 UNIX Type: L8
Status: Auto-detected UNIX listing parser

2019-01-29 11:10:01.259 Uploading C:\added_programs\CumulusMX_version_folders\CumulusMXDist3046-20190102-newtest\CumulusMX\web\betel_monthlyrecord_mxT.html to public_html/cumulusmx/betel_monthlyrecord_mx.html

# OpenWrite("public_html/cumulusmx/betel_monthlyrecord_mx.html", Binary)
Command: TYPE I
Response: 200 TYPE is now 8-bit binary

# GetFileSize("public_html/cumulusmx/betel_monthlyrecord_mx.html")
Command: SIZE public_html/cumulusmx/betel_monthlyrecord_mx.html
Response: 213 180423

# OpenPassiveDataStream(AutoPassive, "STOR public_html/cumulusmx/betel_monthlyrecord_mx.html", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||50174|)
Status: Connecting to 23.229.161.0:50174
Command: STOR public_html/cumulusmx/betel_monthlyrecord_mx.html
Response: 150 Accepted data connection
Status: Disposing FtpSocketStream...
Response: 226 0.609 seconds (measured here), 289.12 Kbytes per second
Response: 226-File successfully transferred
Status: Disposing FtpSocketStream...
2019-01-29 11:10:02.413 Completed uploading C:\added_programs\CumulusMX_version_folders\CumulusMXDist3046-20190102-newtest\CumulusMX\web\betel_monthlyrecord_mxT.html to public_html/cumulusmx/betel_monthlyrecord_mx.html
2019-01-29 11:10:02.413 Uploading standard files

2019-01-29 11:10:02.413 Uploading web\index.htm to public_html/cumulusmx/index.htm

# OpenWrite("public_html/cumulusmx/index.htm", Binary)

# GetFileSize("public_html/cumulusmx/index.htm")
Command: SIZE public_html/cumulusmx/index.htm
Response: 213 5613

# OpenPassiveDataStream(AutoPassive, "STOR public_html/cumulusmx/index.htm", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||50501|)
Status: Connecting to 23.229.161.0:50501
Command: STOR public_html/cumulusmx/index.htm
Response: 150 Accepted data connection
Status: Disposing FtpSocketStream...
Response: 226 0.137 seconds (measured here), 40.05 Kbytes per second
Response: 226-File successfully transferred
Status: Disposing FtpSocketStream...
2019-01-29 11:10:02.966 Completed uploading web\index.htm to public_html/cumulusmx/index.htm

2019-01-29 11:10:02.966 Uploading web\today.htm to public_html/cumulusmx/today.htm

# OpenWrite("public_html/cumulusmx/today.htm", Binary)

# GetFileSize("public_html/cumulusmx/today.htm")
Command: SIZE public_html/cumulusmx/today.htm

2019-01-29 11:10:03.049 Uploading realtime.txt to public_html/cumulusmx/realtime.txt

# OpenWrite("public_html/cumulusmx/realtime.txt", Binary)

# GetFileSize("public_html/cumulusmx/realtime.txt")
Command: SIZE public_html/cumulusmx/realtime.txt
Response: 213 5310

# OpenPassiveDataStream(AutoPassive, "STOR public_html/cumulusmx/today.htm", 0)
Command: EPSV
Response: 213 286

# OpenPassiveDataStream(AutoPassive, "STOR public_html/cumulusmx/realtime.txt", 0)
Command: EPSV
Response: 229 Extended Passive mode OK (|||50590|)
Status: Connecting to 23.229.161.0:50590
Response: 229 Extended Passive mode OK (|||50621|)
Status: Connecting to 23.229.161.0:50621
Command: STOR public_html/cumulusmx/today.htm
Command: STOR public_html/cumulusmx/realtime.txt
Response: 150 Accepted data connection
Status: Disposing FtpSocketStream...
Response: 150 Accepted data connection
Status: Disposing FtpSocketStream...
Response: 226 0.138 seconds (measured here), 37.56 Kbytes per second
Response: 226-File successfully transferred
Status: Disposing FtpSocketStream...
2019-01-29 11:10:03.528 Completed uploading web\today.htm to public_html/cumulusmx/today.htm

2019-01-29 11:10:03.528 Uploading web\yesterday.htm to public_html/cumulusmx/yesterday.htm

# OpenWrite("public_html/cumulusmx/yesterday.htm", Binary)

# GetFileSize("public_html/cumulusmx/yesterday.htm")
Command: SIZE public_html/cumulusmx/yesterday.htm
Response: 226 0.133 seconds (measured here), 2.10 Kbytes per second
Response: 226-File successfully transferred
Status: Disposing FtpSocketStream...
VP2+
C1 www.komokaweather.com/komokaweather-ca
MX https://komokaweather.com/cumulusmx/index.htm /index.html /index.php
MX https://komokaweather.com/cumulusmxwll/index.htm /index.html /index.php
MX https:// komokaweather.com/cumulusmx4/index.htm
Image
Post Reply