Author Topic: wt_data_inc and Cumulus MX  (Read 13547 times)

Offline Andy9164

  • Full Member
  • ***
  • Posts: 87
    • Midlifedad
wt_data_inc and Cumulus MX
« on: June 12, 2015, 10:46:03 AM »
Hi Jacques, I hope you are well.

I am trying to migrate from PC and Cumulus 1.9.4 to a Raspberry PI running Cumulus MX. All going well so far until today when I tried to start downloading to my test website. I am only trying to download wt_data_inc file to start but whenever I do my website displays nothing. I can see the file is being updated and ftp'd to my site every 10 minutes as expected. I have done a compare between and old file created on Cumulus 1.9.4 and a new file created on MX and cannot see any differences (there is a lot of information so difficult to be 100% sure). If I upload the original file it is ok. When I upload file created in MX the website is blank.

Any ideas?

Many Thanks
Andy

Offline keithleboutillier

  • New member
  • *
  • Posts: 4
Re: wt_data_inc and Cumulus MX
« Reply #1 on: June 12, 2015, 02:21:43 PM »
Hi Andy

Raspberry Pi is usually Linux bases have you checked the permissions for user account that is trying to upload do they have the ability to write the file ?

Try doing an FTP upload with your favorite client and see it you can save the file in the directory on the PI
The one that really got me was in Cumulus was using any character like apostrophe in the Name or Description that will cause the issue you are having as well

My setup here runs well on a PI at gu6efb.shacknet.nu/weather

Good luck and hope this helps

Keith   
 

Offline Andy9164

  • Full Member
  • ***
  • Posts: 87
    • Midlifedad
Re: wt_data_inc and Cumulus MX
« Reply #2 on: June 12, 2015, 04:31:36 PM »
Hi Keith,
Thanks for your reply.

The wt_month_inc file uploads and does not cause a problem. Its not that the file doesn't upload to the site, its just when it does it causes nothing to be displayed on my website. I can use Filezilla on my local PC and check the the file is uploaded ok and both month_inc and data_inc go at the same time. Its also not as if I just don't get the data populating the site, the whole site is just a white screen.

Will be something simple, in fact, so simple I cant see it for looking.

Edit: I am not running the website on my PI. Its on a hosted service and has been spot on for the last year, albeit running Cumulus 1.9.4 from a Windows PC and it uses the same file name

Andy

« Last Edit: June 12, 2015, 04:34:05 PM by Andy9164 »

Offline Andy9164

  • Full Member
  • ***
  • Posts: 87
    • Midlifedad
Re: wt_data_inc and Cumulus MX
« Reply #3 on: June 12, 2015, 06:03:25 PM »
Hi again Keith,
Well, I would love to say its was this, or it was that but in the end it was....I don't know.

I started from scratch with my install, configured everything as I did the first time (as far as I know), only this time everything seems to work. I have absolutely no idea why. I suppose that's life. What else would we do late on a Friday night.

Thank you for taking the time to respond.

Andy


Offline bkluivingh

  • New member
  • *
  • Posts: 2
    • Harnaschpolder Meteo
Re: wt_data_inc and Cumulus MX
« Reply #4 on: July 22, 2015, 03:31:20 AM »
Hi Andy and Keath,

I have a question, for me it is not clear where I have to upload the files.

I have uploaded all the files to the webiste (HTML_ROOT), and also uploaded the files to my RPi (in my case /cumulus/web/). When I open the manage.php I get the next lines on top of my screen

Warning: fopen(include/latest.php): failed to open stream: Permission denied in /volume1/web/include/update_list.php on line 29 Unable to write update file include/latest.php Warning: fopen(include/all_languages.php): failed to open stream: Permission denied in /volume1/web/include/update_list.php on line 29 Unable to write update file include/all_languages.php Warning: fopen(include/local_lang.php): failed to open stream: Permission denied in /volume1/web/include/update_list.php on line 42 Unable to write update file include/local_lang.php

Next to that, not all of the pages do what it has to do.

http://www.kluivingh.nl

I have 2 questions:
1: Where do I have to drop the files
2: Is there something else I do wrong?
Wie met beide benen op de grond staat, komt nooit een stap verder

Offline Andy9164

  • Full Member
  • ***
  • Posts: 87
    • Midlifedad
Re: wt_data_inc and Cumulus MX
« Reply #5 on: July 22, 2015, 12:01:22 PM »
Hi,
The files need to go in your Cumulus directory and replace the other files with the same name. ( Please rename your old files first). If you do not know where they are, look at your local Cumulus page on a local web browser under Settings and then Extra web files and this will tell you the location of the files in the left column.

I have attached an image showing how mine are set up.

You do not put these files on your webserver.

What happens is that Cumulus takes the wt_inc_data. php file (or whichever files you have told Cumulus to process) and processes it and then it is sent to your webserver. Nothing should have changed  in the way the files are processed if you have simply replaced your old files.


Unfortunately I do not use the Update Manager so I am sorry I do not know why you get this message.

I took a look at your website and also you are getting some funny temperature readings as well so I dont know if you have some other things going wrong somewhere else.

Please post back if you need some more help

Andy


Offline Andy9164

  • Full Member
  • ***
  • Posts: 87
    • Midlifedad
Re: wt_data_inc and Cumulus MX
« Reply #6 on: July 22, 2015, 12:10:34 PM »
Please also read this post http://weatherbyyou.com/forum/index.php?topic=1255.0

It may help

Andy

Offline Geoff Morris

  • Jr. Member
  • **
  • Posts: 14
    • Shotton Weather
Re: wt_data_inc and Cumulus MX
« Reply #7 on: July 26, 2015, 03:26:57 AM »
Hi Andy and others...............

To update you. CumulusMX now running ok on my pi, and uploading your modified wt_data_inc.php file. This now all works ok on Weather Blues php. Using the original unmodified file, just resulted in a remote server error, and no web site displayed.

In the process of sorting this I got into such a mess with my remote files (and local ones ) that I deleted my web site, deleted ALL weather blues and MX files from my PC, and started from scratch..!! Still got a bit of tinkering to do, but getting there.

Thanks again for your time and trouble with this.

Cheers...............Geoff
http://www.gw3atz.co.uk/weather/index.php

Offline Andy9164

  • Full Member
  • ***
  • Posts: 87
    • Midlifedad
Re: wt_data_inc and Cumulus MX
« Reply #8 on: July 29, 2015, 02:34:45 AM »
Hi Geoff,
Pleased you got this sorted and the website looks good with the data being reported.

I dont know if you read the other posts but there was a small error in the original files I posted which I think must have been there from day 1 which was to do with double quotations and single quotations which caused the website to go blank or produce a php error in relation to the webcam. I did a further modification to the files and re-attached so if you downloaded again you would have got the correct version. This may have been the problem.

All's well that ends well.

Andy

http://www.midlifedad.me.uk/weather

Offline Geoff Morris

  • Jr. Member
  • **
  • Posts: 14
    • Shotton Weather
Re: wt_data_inc and Cumulus MX
« Reply #9 on: July 29, 2015, 06:18:16 AM »
Hello Andy......

Now got it all sorted, just a bit of cosmetic stuff to sort. Now trying to add airfield metar reports, as I had it all working before all this started. Its Saratoga's weather stuff if you know it. Got the page to work, but it doesn't display correctly, all over on the left. The code apart from the PHP include stuff is identical to all the other pages, so going round in circles..!!

Anyway, not a lot else to do with all the rain thats falling...........

It keeps the grey matter ticking over if nothing else.

Cheers............Geoff
http://www.gw3atz.co.uk/weather/index.php