Page 1 of 1
Cutils reports not uploading
Posted: Sun 07 Apr 2024 1:49 pm
by Nossie
Here we go
www.stewartonweather.com/Reports - is where they are on the ftp but going there manually brings up a 404
I've attached my configs.
Re: Cutils reports not uploading
Posted: Sun 07 Apr 2024 2:03 pm
by PaulMy
Hi,
Your cunulusutils.ini shows
Code: Select all
[NOAA]
FTPDirectory=./reports/
StartInCurrentMonth=true
ColorNOAAText=Black
ColorNOAABackground=#f9f8EB
but your reports are in
https://www.stewartonweather.com/Reports/NOAAMO0424.txt
so lower case /reports vs /Reports
Enjoy,
Paul
Re: Cutils reports not uploading
Posted: Sun 07 Apr 2024 2:03 pm
by Nossie
Re: Cutils reports not uploading
Posted: Sun 07 Apr 2024 2:04 pm
by Nossie
wow Paul - am I really being that glaikit? :-O
Thanks!
Re: Cutils reports not uploading
Posted: Sun 07 Apr 2024 2:08 pm
by HansR
You see the 404 because there is no page in the directory
Reports, the reports are text files only shown through the proper menu choice in either the CMX interface or CUtils.
Nossie wrote: ↑Sun 07 Apr 2024 2:04 pm
wow Paul - am I really being that glaikit? :-O
Yes he's great isn't he

Re: Cutils reports not uploading
Posted: Sun 07 Apr 2024 2:09 pm
by Nossie
... and yes that's all it was
Thanks Hans and thanks Paul - I'm gonna go hide in the corner now
to show you how bad I am with absoloute and relative paths -- I get this in my logs and I've no idea what to do - but the moon image works soooo
Code: Select all
2024-04-07 15:00:05 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 15:00:03 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
2024-04-07 14:45:05 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 14:45:03 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
2024-04-07 14:30:05 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 14:30:03 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
2024-04-07 14:26:29 - Realtime[163]: Warning, a previous cycle is still processing local files. Skipping this interval.
2024-04-07 14:26:20 - Realtime[162]: Warning, a previous cycle is still processing local files. Skipping this interval.
2024-04-07 14:15:04 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 14:15:02 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
2024-04-07 14:00:13 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 14:00:09 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
2024-04-07 13:51:06 - API.GetCurrentData: Exception: One or more errors occurred. (A task was canceled.)
2024-04-07 13:48:18 - Realtime[190]: Warning, a previous cycle is still processing local files. Skipping this interval.
2024-04-07 13:45:04 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 13:45:02 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
2024-04-07 13:30:05 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 13:30:03 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
2024-04-07 13:15:10 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 13:15:08 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
Re: Cutils reports not uploading
Posted: Sun 07 Apr 2024 2:25 pm
by PaulMy
Hi,
Code: Select all
2024-04-07 14:15:04 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 14:15:02 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
2024-04-07 14:00:13 - PHP[Int]: HTTP Error uploading to /images/moon.png: Response code = 500: InternalServerError
2024-04-07 14:00:09 - LocalCopy: Error copying moon image - Could not find a part of the path '/opt/CumulusMX/public_html/images/moon.png'.
Appears to be a copy to local error and not a website location problem so your moon image would be updating.
I do have one CMX install with Moon image Copy file enabled and used the full path like:
Code: Select all
Moon Image
Generate Moon image
Generate a Moon image file '/web/moon.png' every hour
Image Size:
100
Set the image size in pixels
Upload file:
Upload Moon image file
Select this to have the Moon image file uploaded to your web server
Upload folder:
images/moon.png
Set the folder and filename to use on your web server - default 'images/moon.png'
Copy file:
Copy Moon image file
Copy destination folder:
C:\KomokaWeather\CumulusMXwll\web-copy_json\images\moon.png
Set the folder and filename to use for your locally copied image file Note the path entered here should be a full absolute path to the destination folder
Enjoy,
Paul
Re: Cutils reports not uploading
Posted: Sun 07 Apr 2024 3:07 pm
by Nossie
Thanks again Paul
/public_html/images/ folder did not exist so that would explain the error :-O but I don't think it's needed anyway
cheers again!