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

Batch File Not Uploading When Running MX As Service

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

Post Reply
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Batch File Not Uploading When Running MX As Service

Post by sperry russ »

Today I started running CumulusMX (b3141) as a service. I have found that when running as a service it does not run my batch file which uploads my realtime and dayfile to my website. I am using the realtime.txt to update my Meteotemplate. I am running the batch file through the external programs.

When I run CumulusMx normally with a shortcut the batch file uploads sucessfully.

Any idea what is going on?
You do not have the required permissions to view the files attached to this post.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Batch File Not Uploading When Running MX As Service

Post by mcrossley »

By default the service is set to run under the System account. System does not have permissions for network access.

You could try changing the service user account to NetworkService, but it depends on how you are authenticating to the remote server. If you are using Windows authentication, then NetworkService will authenticate as your computer account. If you need to authenticate as a particular user, then you should run the service under that account.
User avatar
mcrossley
Posts: 14388
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: Batch File Not Uploading When Running MX As Service

Post by mcrossley »

Secondary question, why not use Cumulus to do the uploads?
sperry russ
Posts: 89
Joined: Mon 30 Jan 2012 5:09 pm
Weather Station: Davis Vantage Pro 2 Cabled
Operating System: Windows 7
Location: Central Florida USA
Contact:

Re: Batch File Not Uploading When Running MX As Service

Post by sperry russ »

When I was using Cumulus 1 my Host required SFTP, so I had to use the batch file. When I migrated from Cumulus 1 to CumulusMx a few days ago I had some problems with my host using the SFTP in CumulusMX so I just continued using the batch file. When I get some more time I will figure out the problem and then use the SFTP in CumulusMX.

Thanks for the help appreciate it.
Post Reply