Welcome to the Cumulus Support forum.
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Latest Cumulus MX V4 release 4.4.2 (build 4085) - 12 March 2025
Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 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
If you are posting a new Topic about an error or if you need help PLEASE read this first viewtopic.php?p=164080#p164080
Error System uptime
Moderator: HansR
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Error System uptime
Well the version I tested complained that it couldn't find it so I installed it and got past that problem.
Stuart
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Error System uptime
Ah... you said lsb-release and I blindly used that to find but it is lsb_release.
I should pay more attention
I should pay more attention
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Error System uptime
Both names work on openSUSE to execute.
Stuart
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Error System uptime
The error I mentioned shows up as
Stuart
Code: Select all
2023-08-31 12:01:12.273 Testing PHP upload compression on https://www.stella-maris.org.uk/CumulusMX/upload.php
2023-08-31 12:01:12.401 Information PHP upload supports gzip compression
2023-08-31 12:01:12.401 Information Upload File values: localfile: utils/cumuluscharts.txt
2023-08-31 12:01:12.401 Information Upload File values: remotefile: https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt
2023-08-31 12:01:12.404 Information Incremental = False; filename = cumuluscharts.txt; ext = .txt; HoursInGraph = 72
2023-08-31 12:01:12.527 Information InetPhp: https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt: Response code = 500: InternalServerError
2023-08-31 12:01:12.529 Information InetPhp: https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt: Response text follows:
Error: Cannot create the target file https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt with this user
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Error System uptime
Is that the only error you get with upload.php by CUtils?
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Error System uptime
Is there - for any reason - a file with same name by any other user in that location, thus prohibiting the creation?
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Error System uptime
It's the same directory that my CMX website is in which doesn't use the index.htm file but has a different naming convention but does use some text files from CMX.
Stuart
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Error System uptime
You use the standard CMX website which uses index.htm. CUtils uses index.html so there should be no conflict (this changes when the new proposal by Neil becomes the standard).
All other files of CUtils do not conflict with CMX hence my question for cumuluscharts.txt: does it exist already for some other user (and other rights)?
Also my question about the occurrence of any other CUtils upload errors for the other txt files. There are many uploads (assuming you run cumulusutils.exe website), if there are no other errors you MUST have some exceptional situation concerning that file.
Seriously, I could do with the complete logfile, it would save us some posts back and forth...
All other files of CUtils do not conflict with CMX hence my question for cumuluscharts.txt: does it exist already for some other user (and other rights)?
Also my question about the occurrence of any other CUtils upload errors for the other txt files. There are many uploads (assuming you run cumulusutils.exe website), if there are no other errors you MUST have some exceptional situation concerning that file.
Seriously, I could do with the complete logfile, it would save us some posts back and forth...
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Error System uptime
There are only files uploaded by CMX in the directory and the cumuluscharts.txt does not already exist. I am puzzled as to why the full url is shown in the log file since PHP is being used by CMX for uploading and upload.php is in the CumulusMX directory so anything can be uploaded to that directory or any other sub-directory in it.
Anyway here is the full log.
Stuart
Anyway here is the full log.
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Error System uptime
Thanks. The error occurs for all files generated by CUtils so the most likely issue is a rights issue where CUtils/upload.php do not have the right to write in that directory. I don't know why that is. Is it possible CUtils is run under different rights than CMX?
An alternative may be to create a directory CUtils and use the parameter UploadDir (section FTP site). This will make it possible to experiment more freely without interference with the standard CMX site.
OK, as said above apparently there are no rights to create the file(s). This must be something in your system, there are others who do the same as you and have no problems.broadstairs wrote: ↑Thu 31 Aug 2023 4:31 pm There are only files uploaded by CMX in the directory and the cumuluscharts.txt does not already exist.
An alternative may be to create a directory CUtils and use the parameter UploadDir (section FTP site). This will make it possible to experiment more freely without interference with the standard CMX site.
The full URL is a parameter to the procedure and is offered as such to upload.php.broadstairs wrote: ↑Thu 31 Aug 2023 4:31 pm I am puzzled as to why the full url is shown in the log file since PHP is being used by CMX for uploading and upload.php is in the CumulusMX directory so anything can be uploaded to that directory or any other sub-directory in it.
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Error System uptime
And the forecast is not correctly generated (the file forecast.txt) does not exist and therefore the generation does not complete.
Not sure what causes this as it is intended that the default (the seven day YourWeather forecast) works fine but you have to configure your account. If you do not want that you may want to use one of the other possibilities (see the wiki).
Not sure what causes this as it is intended that the default (the seven day YourWeather forecast) works fine but you have to configure your account. If you do not want that you may want to use one of the other possibilities (see the wiki).
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Error System uptime
OK. I solved the forecast issue by resetting the default to SpotWx meaning you don't have to configure anything beforehand and no crash will occur. If you choose to change the forecast it will be an informed decision.
Find attached patch 2
Find attached patch 2
You do not have the required permissions to view the files attached to this post.
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Error System uptime
OK I'll try that.
As for the PHP upload issue I changed the upload.php (changed $limitPath = true; to $limitPath = false;) to allow updating anywhere not just in the CumulusMX directory and all uploads worked except cumulusutils.js to the lib directory. Now I do not want the upload allowing any uploads to anywhere except the CumulusMX directory so I will change it back.
Stuart
As for the PHP upload issue I changed the upload.php (changed $limitPath = true; to $limitPath = false;) to allow updating anywhere not just in the CumulusMX directory and all uploads worked except cumulusutils.js to the lib directory. Now I do not want the upload allowing any uploads to anywhere except the CumulusMX directory so I will change it back.
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
-
broadstairs
- Posts: 1184
- Joined: Thu 14 Aug 2008 7:17 am
- Weather Station: Ecowitt GW2000/GW3000
- Operating System: Linux openSUSE LEAP
- Location: Broadstairs, Kent, UK
- Contact:
Re: Error System uptime
Here's the log file from the new run with that second patch. Forecast still fails. NOt yet changed upload.php back to original yet so only cumulusutils.js still fails.
Stuart
Stuart
Currently running CMX V4.4.2 4085 on Linux openSUSE Leap
- HansR
- Posts: 6926
- Joined: Sat 20 Oct 2012 6:53 am
- Weather Station: GW1100 (WS80/WH40)
- Operating System: Raspberry OS/Bookworm
- Location: Wagenborgen (NL)
- Contact:
Re: Error System uptime
Sorry, my bad: pleae remove the section forecast from the inifile.broadstairs wrote: ↑Thu 31 Aug 2023 9:11 pm Here's the log file from the new run with that second patch. Forecast still fails. NOt yet changed upload.php back to original yet so only cumulusutils.js still fails.
1) Not all files are OK! With all files I see the following:broadstairs wrote: ↑Thu 31 Aug 2023 9:06 pm As for the PHP upload issue I changed the upload.php (changed $limitPath = true; to $limitPath = false;) to allow updating anywhere not just in the CumulusMX directory and all uploads worked except cumulusutils.js to the lib directory. Now I do not want the upload allowing any uploads to anywhere except the CumulusMX directory so I will change it back.
Code: Select all
2023-08-31 22:08:25.106 Information Upload File values: localfile: utils/cumuluscharts.txt
2023-08-31 22:08:25.106 Information Upload File values: remotefile: https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt
2023-08-31 22:08:25.109 Information Incremental = False; filename = cumuluscharts.txt; ext = .txt; HoursInGraph = 72
2023-08-31 22:08:25.223 Information InetPhp: https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt: Response code = 200: OK
2023-08-31 22:08:25.225 Information InetPhp: https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt: Response text follows:
Unzipping data
Opening text file https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt for replacement
Cannot create file https://www.stella-maris.org.uk/CumulusMX/cumuluscharts.txt with mode w
2023-08-31 22:08:25.225 Information PHP UploadFile: SuccessAre dates and contents correct? What does this Cannot create file ... with mode w mean?
NOTE: with my Raspbian system files on the server are created with rw-r--r-- rights
2) I assume you have your upload.php file in the CumulusMX directory or in the webroot. $limitPath only takes care files are placed in the directory structure from where upload.php is, so in CumulusMX or webroot and below. That is exactly where all files should go, limitPath=true is correct and all files should transfer correctly to CumulusMX directory and below.
So where is your upload.php located exactly and what restrictions do you have on your PHP installation on your server (because that is where everything for the upload takes place)?
Do the CMX uploads have the same Cannot create file ... with mode w issue?
3) Wait... there have been - downward compatible - changes to upload.php. My version is the CMX b3248 distro is from 23-3-2023 11:10:44. The header of upload.php is:
Code: Select all
<?php
// Last modified: 2023/03/23 11:10:44
/*
******** PHP Upload script for Cumulus MX ********
Use as an alternative to FTP/SFTP upload of data
Mark Crossley - 2023
*/
Hans
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social
https://meteo-wagenborgen.nl
CMX build 4070+ ● RPi 4B ● Linux 6.6.62+rpt-rpi-v8 aarch64 (bookworm) ● dotnet 8.0.1
BlueSky: https://bsky.app/profile/wagenborgenwx.bsky.social