[weewx-user] Re: FTP upload fail

2023-12-10 Thread BORIS
Great! vince, that solved my problem. I added thamn to the path  . New path 
:  /customers/0/1/3/smeds.eu/httpd.www/thamn .   I now see my Klimalogg pro 
temperatures at smeds.eu/thamn/kl
It must be that ONE.com has changed their servers since it worked before 
with just /thamn as path.
Thanks again for your support.

söndag 10 december 2023 kl. 03:32:38 UTC+1 skrev vince:

>
> So try that as your path and see if it works
> On Saturday, December 9, 2023 at 1:55:42 PM UTC-8 BORIS wrote:
>
>> correction:
>> /customers/0/1/3/smeds.eu/httpd.www
>>
>> lördag 9 december 2023 kl. 22:51:13 UTC+1 skrev BORIS:
>>
>>> I get after pwd:
>>> /customers/0/1/3/smeds,eu/httpd.www
>>> Regards
>>> Boris
>>>
>>> lördag 9 december 2023 kl. 21:42:47 UTC+1 skrev vince:
>>>
 log in via ftp using your username and password
 type 'pwd'
 that will tell you their current path

 It is not generally a good assumption to make that anything is 
 generated automatically.  My 'guess' is that you are trying to write to a 
 directory that does not exist.

 On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote:

> I have tried with other paths e.g. thamn that exists on the server 
> without success. I thought that if I declare a new path called "new" it 
> would be generated automaticly. At smeds.eu/thamn I have an old 
> upload from 11 of June 2023. The directory new has not been generated on 
> the server. Checked with WINscp
> /Boris
>
> lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince:
>
>> ==> error_perm: 550 Requested action not taken. File unavailable 
>> (e.g., file not found, no access).
>>
>> From your weewx.com I see 'path = /new' which I suspect is not 
>> correct.  Try connecting manually to your site via ftp and typing pwd to 
>> see what the actual pathname it uses on the server side.
>>
>> On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote:
>>
>>> Hi,
>>> I have not used  Weewx for some time and installed it again on a 
>>> Ubuntu 14 Laptop.
>>> I can collect the data from my Klimalogg pro and the files are 
>>> stored correctly.
>>> Only the FTP transfer is not working to my server at ONE.com
>>> I have other programs written in Python that can upload files 
>>> correctly to the server.
>>>
>>> My weewx.conf file, FTP part:
>>>[[kl]]
>>> skin = kl
>>> HTML_ROOT = /var/www/html/weewx/kl
>>> 
>>> [[FTP]]
>>> # FTP'ing the results to a webserver is treated as just 
>>> another report,
>>> # albeit one with an unusual report generator!
>>> skin = Ftp
>>> 
>>> # If you wish to use FTP, set "enable" to "true", then
>>> # fill out the next four lines.
>>> # Use quotes around passwords to guard against parsing 
>>> errors.
>>> enable = true
>>> user = smeds.eu
>>> password = "**"
>>> server = ftp.smeds.eu# The ftp server name, e.g, 
>>> www.myserver.org
>>> path = /new# The destination directory, e.g., /weather
>>> 
>>> # Set to True for an FTP over TLS (FTPS) connection. Not all 
>>> servers
>>> # support this.
>>> secure_ftp = False
>>> 
>>> # To upload files from something other than what HTML_ROOT 
>>> is set
>>> # to above, specify a different HTML_ROOT here.
>>> #HTML_ROOT = /var/www/html/weewx
>>> 
>>> # Most FTP servers use port 21
>>> port = 21
>>> 
>>> # Set to 1 to use passive mode, zero for active mode
>>> passive = 1
>>>
>>> Part of the log looks like this with debug on: 
>>>
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO 
>>> weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weewx.reportengine: Running report 'FTP'
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weewx.reportengine: Found configuration file 
>>> /etc/weewx/skins/Ftp/skin.conf 
>>> for report 'FTP'
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weewx.reportengine: Cannot read localization file 
>>> /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not 
>>> found: 
>>> "/etc/weewx/skins/Ftp/lang/en.conf".
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weewx.reportengine:  Using defaults instead.
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weeutil.ftpupload: Attempting connection to ftp.smeds.eu
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weeutil.ftpupload: FTP encoding not supported, ignoring.
>>> Dec  9 

[weewx-user] Re: FTP upload fail

2023-12-09 Thread vince

So try that as your path and see if it works
On Saturday, December 9, 2023 at 1:55:42 PM UTC-8 BORIS wrote:

> correction:
> /customers/0/1/3/smeds.eu/httpd.www
>
> lördag 9 december 2023 kl. 22:51:13 UTC+1 skrev BORIS:
>
>> I get after pwd:
>> /customers/0/1/3/smeds,eu/httpd.www
>> Regards
>> Boris
>>
>> lördag 9 december 2023 kl. 21:42:47 UTC+1 skrev vince:
>>
>>> log in via ftp using your username and password
>>> type 'pwd'
>>> that will tell you their current path
>>>
>>> It is not generally a good assumption to make that anything is generated 
>>> automatically.  My 'guess' is that you are trying to write to a directory 
>>> that does not exist.
>>>
>>> On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote:
>>>
 I have tried with other paths e.g. thamn that exists on the server 
 without success. I thought that if I declare a new path called "new" it 
 would be generated automaticly. At smeds.eu/thamn I have an old upload 
 from 11 of June 2023. The directory new has not been generated on the 
 server. Checked with WINscp
 /Boris

 lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince:

> ==> error_perm: 550 Requested action not taken. File unavailable 
> (e.g., file not found, no access).
>
> From your weewx.com I see 'path = /new' which I suspect is not 
> correct.  Try connecting manually to your site via ftp and typing pwd to 
> see what the actual pathname it uses on the server side.
>
> On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote:
>
>> Hi,
>> I have not used  Weewx for some time and installed it again on a 
>> Ubuntu 14 Laptop.
>> I can collect the data from my Klimalogg pro and the files are stored 
>> correctly.
>> Only the FTP transfer is not working to my server at ONE.com
>> I have other programs written in Python that can upload files 
>> correctly to the server.
>>
>> My weewx.conf file, FTP part:
>>[[kl]]
>> skin = kl
>> HTML_ROOT = /var/www/html/weewx/kl
>> 
>> [[FTP]]
>> # FTP'ing the results to a webserver is treated as just 
>> another report,
>> # albeit one with an unusual report generator!
>> skin = Ftp
>> 
>> # If you wish to use FTP, set "enable" to "true", then
>> # fill out the next four lines.
>> # Use quotes around passwords to guard against parsing errors.
>> enable = true
>> user = smeds.eu
>> password = "**"
>> server = ftp.smeds.eu# The ftp server name, e.g, 
>> www.myserver.org
>> path = /new# The destination directory, e.g., /weather
>> 
>> # Set to True for an FTP over TLS (FTPS) connection. Not all 
>> servers
>> # support this.
>> secure_ftp = False
>> 
>> # To upload files from something other than what HTML_ROOT is 
>> set
>> # to above, specify a different HTML_ROOT here.
>> #HTML_ROOT = /var/www/html/weewx
>> 
>> # Most FTP servers use port 21
>> port = 21
>> 
>> # Set to 1 to use passive mode, zero for active mode
>> passive = 1
>>
>> Part of the log looks like this with debug on: 
>>
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO 
>> weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>> weewx.reportengine: Running report 'FTP'
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>> weewx.reportengine: Found configuration file 
>> /etc/weewx/skins/Ftp/skin.conf 
>> for report 'FTP'
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>> weewx.reportengine: Cannot read localization file 
>> /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not 
>> found: 
>> "/etc/weewx/skins/Ftp/lang/en.conf".
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>> weewx.reportengine:  Using defaults instead.
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>> weeutil.ftpupload: Attempting connection to ftp.smeds.eu
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>> weeutil.ftpupload: FTP encoding not supported, ignoring.
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>> weeutil.ftpupload: Connected to ftp.smeds.eu
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>> weeutil.ftpupload: 0 ./weektempdew.png 
>> d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
>> weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png 
>> to 
>> server ftp.smeds.eu. Reason: '550 Requested action not taken. 

[weewx-user] Re: FTP upload fail

2023-12-09 Thread BORIS
correction:
/customers/0/1/3/smeds.eu/httpd.www

lördag 9 december 2023 kl. 22:51:13 UTC+1 skrev BORIS:

> I get after pwd:
> /customers/0/1/3/smeds,eu/httpd.www
> Regards
> Boris
>
> lördag 9 december 2023 kl. 21:42:47 UTC+1 skrev vince:
>
>> log in via ftp using your username and password
>> type 'pwd'
>> that will tell you their current path
>>
>> It is not generally a good assumption to make that anything is generated 
>> automatically.  My 'guess' is that you are trying to write to a directory 
>> that does not exist.
>>
>> On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote:
>>
>>> I have tried with other paths e.g. thamn that exists on the server 
>>> without success. I thought that if I declare a new path called "new" it 
>>> would be generated automaticly. At smeds.eu/thamn I have an old upload 
>>> from 11 of June 2023. The directory new has not been generated on the 
>>> server. Checked with WINscp
>>> /Boris
>>>
>>> lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince:
>>>
 ==> error_perm: 550 Requested action not taken. File unavailable (e.g., 
 file not found, no access).

 From your weewx.com I see 'path = /new' which I suspect is not 
 correct.  Try connecting manually to your site via ftp and typing pwd to 
 see what the actual pathname it uses on the server side.

 On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote:

> Hi,
> I have not used  Weewx for some time and installed it again on a 
> Ubuntu 14 Laptop.
> I can collect the data from my Klimalogg pro and the files are stored 
> correctly.
> Only the FTP transfer is not working to my server at ONE.com
> I have other programs written in Python that can upload files 
> correctly to the server.
>
> My weewx.conf file, FTP part:
>[[kl]]
> skin = kl
> HTML_ROOT = /var/www/html/weewx/kl
> 
> [[FTP]]
> # FTP'ing the results to a webserver is treated as just 
> another report,
> # albeit one with an unusual report generator!
> skin = Ftp
> 
> # If you wish to use FTP, set "enable" to "true", then
> # fill out the next four lines.
> # Use quotes around passwords to guard against parsing errors.
> enable = true
> user = smeds.eu
> password = "**"
> server = ftp.smeds.eu# The ftp server name, e.g, 
> www.myserver.org
> path = /new# The destination directory, e.g., /weather
> 
> # Set to True for an FTP over TLS (FTPS) connection. Not all 
> servers
> # support this.
> secure_ftp = False
> 
> # To upload files from something other than what HTML_ROOT is 
> set
> # to above, specify a different HTML_ROOT here.
> #HTML_ROOT = /var/www/html/weewx
> 
> # Most FTP servers use port 21
> port = 21
> 
> # Set to 1 to use passive mode, zero for active mode
> passive = 1
>
> Part of the log looks like this with debug on: 
>
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO 
> weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
> weewx.reportengine: Running report 'FTP'
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
> weewx.reportengine: Found configuration file 
> /etc/weewx/skins/Ftp/skin.conf 
> for report 'FTP'
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
> weewx.reportengine: Cannot read localization file 
> /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not 
> found: 
> "/etc/weewx/skins/Ftp/lang/en.conf".
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
> weewx.reportengine:  Using defaults instead.
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
> weeutil.ftpupload: Attempting connection to ftp.smeds.eu
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
> weeutil.ftpupload: FTP encoding not supported, ignoring.
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
> weeutil.ftpupload: Connected to ftp.smeds.eu
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
> weeutil.ftpupload: 0 ./weektempdew.png 
> d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
> weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png 
> to 
> server ftp.smeds.eu. Reason: '550 Requested action not taken. File 
> unavailable (e.g., file not found, no access).'
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
> weewx.reportengine: ftpgenerator: (0): caught exception ' 'ftplib.error_perm'>': 550 Requested 

[weewx-user] Re: FTP upload fail

2023-12-09 Thread BORIS
I get after pwd:
/customers/0/1/3/smeds,eu/httpd.www
Regards
Boris

lördag 9 december 2023 kl. 21:42:47 UTC+1 skrev vince:

> log in via ftp using your username and password
> type 'pwd'
> that will tell you their current path
>
> It is not generally a good assumption to make that anything is generated 
> automatically.  My 'guess' is that you are trying to write to a directory 
> that does not exist.
>
> On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote:
>
>> I have tried with other paths e.g. thamn that exists on the server 
>> without success. I thought that if I declare a new path called "new" it 
>> would be generated automaticly. At smeds.eu/thamn I have an old upload 
>> from 11 of June 2023. The directory new has not been generated on the 
>> server. Checked with WINscp
>> /Boris
>>
>> lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince:
>>
>>> ==> error_perm: 550 Requested action not taken. File unavailable (e.g., 
>>> file not found, no access).
>>>
>>> From your weewx.com I see 'path = /new' which I suspect is not correct. 
>>>  Try connecting manually to your site via ftp and typing pwd to see what 
>>> the actual pathname it uses on the server side.
>>>
>>> On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote:
>>>
 Hi,
 I have not used  Weewx for some time and installed it again on a Ubuntu 
 14 Laptop.
 I can collect the data from my Klimalogg pro and the files are stored 
 correctly.
 Only the FTP transfer is not working to my server at ONE.com
 I have other programs written in Python that can upload files correctly 
 to the server.

 My weewx.conf file, FTP part:
[[kl]]
 skin = kl
 HTML_ROOT = /var/www/html/weewx/kl
 
 [[FTP]]
 # FTP'ing the results to a webserver is treated as just another 
 report,
 # albeit one with an unusual report generator!
 skin = Ftp
 
 # If you wish to use FTP, set "enable" to "true", then
 # fill out the next four lines.
 # Use quotes around passwords to guard against parsing errors.
 enable = true
 user = smeds.eu
 password = "**"
 server = ftp.smeds.eu# The ftp server name, e.g, 
 www.myserver.org
 path = /new# The destination directory, e.g., /weather
 
 # Set to True for an FTP over TLS (FTPS) connection. Not all 
 servers
 # support this.
 secure_ftp = False
 
 # To upload files from something other than what HTML_ROOT is 
 set
 # to above, specify a different HTML_ROOT here.
 #HTML_ROOT = /var/www/html/weewx
 
 # Most FTP servers use port 21
 port = 21
 
 # Set to 1 to use passive mode, zero for active mode
 passive = 1

 Part of the log looks like this with debug on: 

 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO 
 weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
 weewx.reportengine: Running report 'FTP'
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
 weewx.reportengine: Found configuration file 
 /etc/weewx/skins/Ftp/skin.conf 
 for report 'FTP'
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
 weewx.reportengine: Cannot read localization file 
 /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not found: 
 "/etc/weewx/skins/Ftp/lang/en.conf".
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
 weewx.reportengine:  Using defaults instead.
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
 weeutil.ftpupload: Attempting connection to ftp.smeds.eu
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
 weeutil.ftpupload: FTP encoding not supported, ignoring.
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
 weeutil.ftpupload: Connected to ftp.smeds.eu
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
 weeutil.ftpupload: 0 ./weektempdew.png 
 d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
 weeutil.ftpupload: Failed uploading /var/www/html/weewx/weektempdew.png to 
 server ftp.smeds.eu. Reason: '550 Requested action not taken. File 
 unavailable (e.g., file not found, no access).'
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
 weewx.reportengine: ftpgenerator: (0): caught exception '>>> 'ftplib.error_perm'>': 550 Requested action not taken. File unavailable 
 (e.g., file not found, no access).
 Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
 weewx.reportengine:   Traceback (most recent call last):
 Dec  9 18:40:30 

[weewx-user] Re: FTP upload fail

2023-12-09 Thread vince
log in via ftp using your username and password
type 'pwd'
that will tell you their current path

It is not generally a good assumption to make that anything is generated 
automatically.  My 'guess' is that you are trying to write to a directory 
that does not exist.

On Saturday, December 9, 2023 at 12:16:20 PM UTC-8 BORIS wrote:

> I have tried with other paths e.g. thamn that exists on the server without 
> success. I thought that if I declare a new path called "new" it would be 
> generated automaticly. At smeds.eu/thamn I have an old upload from 11 of 
> June 2023. The directory new has not been generated on the server. Checked 
> with WINscp
> /Boris
>
> lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince:
>
>> ==> error_perm: 550 Requested action not taken. File unavailable (e.g., 
>> file not found, no access).
>>
>> From your weewx.com I see 'path = /new' which I suspect is not correct. 
>>  Try connecting manually to your site via ftp and typing pwd to see what 
>> the actual pathname it uses on the server side.
>>
>> On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote:
>>
>>> Hi,
>>> I have not used  Weewx for some time and installed it again on a Ubuntu 
>>> 14 Laptop.
>>> I can collect the data from my Klimalogg pro and the files are stored 
>>> correctly.
>>> Only the FTP transfer is not working to my server at ONE.com
>>> I have other programs written in Python that can upload files correctly 
>>> to the server.
>>>
>>> My weewx.conf file, FTP part:
>>>[[kl]]
>>> skin = kl
>>> HTML_ROOT = /var/www/html/weewx/kl
>>> 
>>> [[FTP]]
>>> # FTP'ing the results to a webserver is treated as just another 
>>> report,
>>> # albeit one with an unusual report generator!
>>> skin = Ftp
>>> 
>>> # If you wish to use FTP, set "enable" to "true", then
>>> # fill out the next four lines.
>>> # Use quotes around passwords to guard against parsing errors.
>>> enable = true
>>> user = smeds.eu
>>> password = "**"
>>> server = ftp.smeds.eu# The ftp server name, e.g, 
>>> www.myserver.org
>>> path = /new# The destination directory, e.g., /weather
>>> 
>>> # Set to True for an FTP over TLS (FTPS) connection. Not all 
>>> servers
>>> # support this.
>>> secure_ftp = False
>>> 
>>> # To upload files from something other than what HTML_ROOT is set
>>> # to above, specify a different HTML_ROOT here.
>>> #HTML_ROOT = /var/www/html/weewx
>>> 
>>> # Most FTP servers use port 21
>>> port = 21
>>> 
>>> # Set to 1 to use passive mode, zero for active mode
>>> passive = 1
>>>
>>> Part of the log looks like this with debug on: 
>>>
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO 
>>> weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weewx.reportengine: Running report 'FTP'
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weewx.reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf 
>>> for report 'FTP'
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weewx.reportengine: Cannot read localization file 
>>> /etc/weewx/skins/Ftp/lang/en.conf for report 'FTP': Config file not found: 
>>> "/etc/weewx/skins/Ftp/lang/en.conf".
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG 
>>> weewx.reportengine:  Using defaults instead.
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
>>> Attempting connection to ftp.smeds.eu
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
>>> FTP encoding not supported, ignoring.
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
>>> Connected to ftp.smeds.eu
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
>>> 0 ./weektempdew.png 
>>> d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: 
>>> Failed uploading /var/www/html/weewx/weektempdew.png to server 
>>> ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable 
>>> (e.g., file not found, no access).'
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
>>> weewx.reportengine: ftpgenerator: (0): caught exception '>> 'ftplib.error_perm'>': 550 Requested action not taken. File unavailable 
>>> (e.g., file not found, no access).
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
>>> weewx.reportengine:   Traceback (most recent call last):
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
>>> weewx.reportengine: File 
>>> "/usr/share/weewx/weewx/reportengine.py", line 437, in run
>>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 
>>> weewx.reportengine:   n = 

[weewx-user] Re: FTP upload fail

2023-12-09 Thread BORIS
I have tried with other paths e.g. thamn that exists on the server without 
success. I thought that if I declare a new path called "new" it would be 
generated automaticly. At smeds.eu/thamn I have an old upload from 11 of 
June 2023. The directory new has not been generated on the server. Checked 
with WINscp
/Boris

lördag 9 december 2023 kl. 20:13:58 UTC+1 skrev vince:

> ==> error_perm: 550 Requested action not taken. File unavailable (e.g., 
> file not found, no access).
>
> From your weewx.com I see 'path = /new' which I suspect is not correct. 
>  Try connecting manually to your site via ftp and typing pwd to see what 
> the actual pathname it uses on the server side.
>
> On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote:
>
>> Hi,
>> I have not used  Weewx for some time and installed it again on a Ubuntu 
>> 14 Laptop.
>> I can collect the data from my Klimalogg pro and the files are stored 
>> correctly.
>> Only the FTP transfer is not working to my server at ONE.com
>> I have other programs written in Python that can upload files correctly 
>> to the server.
>>
>> My weewx.conf file, FTP part:
>>[[kl]]
>> skin = kl
>> HTML_ROOT = /var/www/html/weewx/kl
>> 
>> [[FTP]]
>> # FTP'ing the results to a webserver is treated as just another 
>> report,
>> # albeit one with an unusual report generator!
>> skin = Ftp
>> 
>> # If you wish to use FTP, set "enable" to "true", then
>> # fill out the next four lines.
>> # Use quotes around passwords to guard against parsing errors.
>> enable = true
>> user = smeds.eu
>> password = "**"
>> server = ftp.smeds.eu# The ftp server name, e.g, 
>> www.myserver.org
>> path = /new# The destination directory, e.g., /weather
>> 
>> # Set to True for an FTP over TLS (FTPS) connection. Not all 
>> servers
>> # support this.
>> secure_ftp = False
>> 
>> # To upload files from something other than what HTML_ROOT is set
>> # to above, specify a different HTML_ROOT here.
>> #HTML_ROOT = /var/www/html/weewx
>> 
>> # Most FTP servers use port 21
>> port = 21
>> 
>> # Set to 1 to use passive mode, zero for active mode
>> passive = 1
>>
>> Part of the log looks like this with debug on: 
>>
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO 
>> weewx.imagegenerator: Generated 11 images for report kl in 1.68 seconds
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: 
>> Running report 'FTP'
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: 
>> Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: 
>> Cannot read localization file /etc/weewx/skins/Ftp/lang/en.conf for report 
>> 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/en.conf".
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: 
>>  Using defaults instead.
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
>> Attempting connection to ftp.smeds.eu
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
>> FTP encoding not supported, ignoring.
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
>> Connected to ftp.smeds.eu
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
>> 0 ./weektempdew.png 
>> d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: 
>> Failed uploading /var/www/html/weewx/weektempdew.png to server 
>> ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable 
>> (e.g., file not found, no access).'
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>> ftpgenerator: (0): caught exception '': 550 
>> Requested action not taken. File unavailable (e.g., file not found, no 
>> access).
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>>   Traceback (most recent call last):
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>> File "/usr/share/weewx/weewx/reportengine.py", line 437, in 
>> run
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>>   n = ftp_data.run()
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>> File "/usr/share/weewx/weeutil/ftpupload.py", line 220, in 
>> run
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>>   ftp_server.storbinary(stor_cmd, fd)
>> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>> File "/usr/lib/python2.7/ftplib.py", line 471, in storbinary
>> 

[weewx-user] Re: FTP upload fail

2023-12-09 Thread vince
==> error_perm: 550 Requested action not taken. File unavailable (e.g., 
file not found, no access).

>From your weewx.com I see 'path = /new' which I suspect is not correct. 
 Try connecting manually to your site via ftp and typing pwd to see what 
the actual pathname it uses on the server side.

On Saturday, December 9, 2023 at 10:49:55 AM UTC-8 BORIS wrote:

> Hi,
> I have not used  Weewx for some time and installed it again on a Ubuntu 14 
> Laptop.
> I can collect the data from my Klimalogg pro and the files are stored 
> correctly.
> Only the FTP transfer is not working to my server at ONE.com
> I have other programs written in Python that can upload files correctly to 
> the server.
>
> My weewx.conf file, FTP part:
>[[kl]]
> skin = kl
> HTML_ROOT = /var/www/html/weewx/kl
> 
> [[FTP]]
> # FTP'ing the results to a webserver is treated as just another 
> report,
> # albeit one with an unusual report generator!
> skin = Ftp
> 
> # If you wish to use FTP, set "enable" to "true", then
> # fill out the next four lines.
> # Use quotes around passwords to guard against parsing errors.
> enable = true
> user = smeds.eu
> password = "**"
> server = ftp.smeds.eu# The ftp server name, e.g, 
> www.myserver.org
> path = /new# The destination directory, e.g., /weather
> 
> # Set to True for an FTP over TLS (FTPS) connection. Not all 
> servers
> # support this.
> secure_ftp = False
> 
> # To upload files from something other than what HTML_ROOT is set
> # to above, specify a different HTML_ROOT here.
> #HTML_ROOT = /var/www/html/weewx
> 
> # Most FTP servers use port 21
> port = 21
> 
> # Set to 1 to use passive mode, zero for active mode
> passive = 1
>
> Part of the log looks like this with debug on: 
>
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] INFO weewx.imagegenerator: 
> Generated 11 images for report kl in 1.68 seconds
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: 
> Running report 'FTP'
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: 
> Found configuration file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: 
> Cannot read localization file /etc/weewx/skins/Ftp/lang/en.conf for report 
> 'FTP': Config file not found: "/etc/weewx/skins/Ftp/lang/en.conf".
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weewx.reportengine: 
>  Using defaults instead.
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
> Attempting connection to ftp.smeds.eu
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
> FTP encoding not supported, ignoring.
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 
> Connected to ftp.smeds.eu
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] DEBUG weeutil.ftpupload: 0 
> ./weektempdew.png 
> d253e64a3a43c3e5f585744b6a7f73c6fbbf28a04f014eb0139b9fb587a627ac
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weeutil.ftpupload: 
> Failed uploading /var/www/html/weewx/weektempdew.png to server 
> ftp.smeds.eu. Reason: '550 Requested action not taken. File unavailable 
> (e.g., file not found, no access).'
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
> ftpgenerator: (0): caught exception '': 550 
> Requested action not taken. File unavailable (e.g., file not found, no 
> access).
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>   Traceback (most recent call last):
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/reportengine.py", line 437, in 
> run
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>   n = ftp_data.run()
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weeutil/ftpupload.py", line 220, in 
> run
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>   ftp_server.storbinary(stor_cmd, fd)
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
> File "/usr/lib/python2.7/ftplib.py", line 471, in storbinary
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>   conn = self.transfercmd(cmd, rest)
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
> File "/usr/lib/python2.7/ftplib.py", line 376, in 
> transfercmd
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR weewx.reportengine: 
>   return self.ntransfercmd(cmd, rest)[0]
> Dec  9 18:40:30 boris-TOSHIBA-NB100 weewx[5753] ERROR 

[weewx-user] Re: FTP upload to server suddenly stopped

2023-12-08 Thread bgra...@umw.edu
Thanks, Vince, I just figured that out by trying to "dig grattans.org" from 
the weewx server and getting nothing. I had been messing with webmin, 
making some network changes, and somehow the name server reference wasn't 
correct. Sorry for the panic and much appreciated for the fast reply.
Cheers,
Bob

On Friday, December 8, 2023 at 8:42:19 PM UTC-5 vince wrote:

> On Friday, December 8, 2023 at 5:35:01 PM UTC-8 bgra...@umw.edu wrote:
>
> My weewx 4.10.2 with python 3.10.12 seems to be running fine but stopped 
> FTPing files to the server on godaddy.com. I only noticed this today as I 
> usually just look at the local weewx computer. Upload is to 
> grattans.org/wx
> I uploaded some files with filezilla today so I'm sure the password hasn't 
> changes.
>
>
> Dec  6 11:15:30 n4mrv weewx[389284] ERROR weewx.reportengine: 
> ftpgenerator: (0): caught exception '': [Errno -3] 
> Temporary failure in name resolution
>
>
> Your weewx host is unable to resolve the hostname of the host you are 
> trying to upload to. 
>
> https://imgur.com/eAwdKEC
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/caf20507-35d3-4bca-ab36-f878055bf4den%40googlegroups.com.


[weewx-user] Re: FTP upload to server suddenly stopped

2023-12-08 Thread vince

On Friday, December 8, 2023 at 5:35:01 PM UTC-8 bgra...@umw.edu wrote:

My weewx 4.10.2 with python 3.10.12 seems to be running fine but stopped 
FTPing files to the server on godaddy.com. I only noticed this today as I 
usually just look at the local weewx computer. Upload is to grattans.org/wx
I uploaded some files with filezilla today so I'm sure the password hasn't 
changes.


Dec  6 11:15:30 n4mrv weewx[389284] ERROR weewx.reportengine: ftpgenerator: 
(0): caught exception '': [Errno -3] Temporary 
failure in name resolution


Your weewx host is unable to resolve the hostname of the host you are 
trying to upload to. 

https://imgur.com/eAwdKEC
 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/bf2b8d7b-8cc7-49b5-bc48-49b2d13dba28n%40googlegroups.com.


[weewx-user] Re: FTP Upload failed

2023-10-04 Thread 'buck...@googlemail.com' via weewx-user
you are right. webspace was full. i clear it, now it works again

Karen K schrieb am Donnerstag, 5. Oktober 2023 um 07:14:44 UTC+2:

> It connects successfully. Then it says "Transfer aborted". Is it possible 
> that no more memory is available at the web server?
>
> buck...@googlemail.com schrieb am Donnerstag, 5. Oktober 2023 um 07:09:43 
> UTC+2:
>
>> hello, since yesterday i get this error and i dont know why
>>
>> ftpgenerator: Upload failed
>>
>>
>>
>> Okt 05 06:57:29 raspberrypi python3[1425]: weewx[1425] ERROR 
>> weewx.reportengine: ftpgenerator: Upload failed
>> Okt 05 07:00:45 raspberrypi python3[1425]: weewx[1425] INFO 
>> weewx.manager: Added record 2023-10-05 07:00:00 CEST (1696482000) to 
>> database 'weewx.sdb'
>> Okt 05 07:00:45 raspberrypi python3[1425]: weewx[1425] INFO 
>> weewx.manager: Added record 2023-10-05 07:00:00 CEST (1696482000) to daily 
>> summary in 'weewx.sdb'
>> Okt 05 07:00:45 raspberrypi python3[1425]: weewx[1425] INFO weewx.restx: 
>> MQTT: Published record 2023-10-05 07:00:00 CEST (1696482000)
>> Okt 05 07:00:51 raspberrypi python3[1425]: weewx[1425] INFO 
>> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 5.82 
>> seconds
>> Okt 05 07:00:59 raspberrypi python3[1425]: weewx[1425] INFO 
>> weewx.imagegenerator: Generated 26 images for report SeasonsReport in 8.21 
>> seconds
>> Okt 05 07:00:59 raspberrypi python3[1425]: weewx[1425] INFO 
>> weewx.reportengine: Copied 0 files to /var/www/html/weewx
>> Okt 05 07:00:59 raspberrypi /weewxd[1425]: historygenerator.py: No 
>> bootstrap specific labels found
>> Okt 05 07:01:00 raspberrypi /weewxd[1425]: historygenerator.py: 
>> minvalues, maxvalues and colours must have the same number of elements in 
>> table: rain_days_table
>> Okt 05 07:01:00 raspberrypi /weewxd[1425]: historygenerator.py: Generated 
>> 8 tables in 0.99 seconds
>> root@raspberrypi:~# sudo service weewx restart
>> root@raspberrypi:~# tail -f /var/log/syslog
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO user.mqtt: data_binding is 
>> wx_binding
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO user.mqtt: topic is weather
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO user.mqtt: desired unit 
>> system is METRIC
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO user.mqtt: data will be 
>> uploaded to mqtt://mqtt_user:x...@192.168.1.8:1883 
>> 
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.engine: 'pyephem' 
>> detected, extended almanac data is available
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO __main__: Starting up weewx 
>> version 4.10.2
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.engine: Using binding 
>> 'wx_binding' to database 'weewx.sdb'
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.manager: Starting 
>> backfill of daily summaries
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.manager: Daily 
>> summaries up to date
>> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.engine: Starting main 
>> packet loop.
>> Oct  5 07:02:48 raspberrypi weewx[31243] INFO user.interceptor: using 
>> 'totalrainin' for rain_total
>> Oct  5 07:02:48 raspberrypi weewx[31243] INFO user.interceptor: skipping 
>> rain measurement of 68.736: no last rain
>> Oct  5 07:05:23 raspberrypi weewx[31243] INFO weewx.manager: Added record 
>> 2023-10-05 07:05:00 CEST (1696482300) to database 'weewx.sdb'
>> Oct  5 07:05:23 raspberrypi weewx[31243] INFO weewx.manager: Added record 
>> 2023-10-05 07:05:00 CEST (1696482300) to daily summary in 'weewx.sdb'
>> Oct  5 07:05:23 raspberrypi weewx[31243] INFO user.mqtt: client 
>> established for mqtt://mqtt_user:x...@192.168.1.8:1883 
>> 
>> Oct  5 07:05:23 raspberrypi weewx[31243] INFO weewx.restx: MQTT: 
>> Published record 2023-10-05 07:05:00 CEST (1696482300)
>> Oct  5 07:05:33 raspberrypi weewx[31243] INFO weewx.cheetahgenerator: 
>> Generated 8 files for report SeasonsReport in 9.16 seconds
>> Oct  5 07:05:36 raspberrypi weewx[31243] INFO weewx.imagegenerator: 
>> Generated 13 images for report SeasonsReport in 3.10 seconds
>> Oct  5 07:05:36 raspberrypi weewx[31243] INFO weewx.reportengine: Copied 
>> 5 files to /var/www/html/weewx
>> Oct  5 07:05:36 raspberrypi /weewxd: historygenerator.py: No bootstrap 
>> specific labels found
>> Oct  5 07:05:37 raspberrypi /weewxd: historygenerator.py: minvalues, 
>> maxvalues and colours must have the same number of elements in table: 
>> rain_days_table
>> Oct  5 07:05:37 raspberrypi /weewxd: historygenerator.py: Generated 8 
>> tables in 0.97 seconds
>> Oct  5 07:07:37 raspberrypi weewx[31243] INFO weewx.cheetahgenerator: 
>> Generated 25 files for report StandardReport in 121.17 seconds
>> Oct  5 07:07:38 raspberrypi weewx[31243] INFO weewx.reportengine: Copied 
>> 327 files to /var/www/html/weewx
>> Oct  5 07:07:43 raspberrypi weewx[31243] INFO weewx.cheetahgenerator: 
>> Generated 1 files for report Highcharts in 4.84 seconds
>> Oct  5 07:07:43 

[weewx-user] Re: FTP Upload failed

2023-10-04 Thread Karen K
It connects successfully. Then it says "Transfer aborted". Is it possible 
that no more memory is available at the web server?

buck...@googlemail.com schrieb am Donnerstag, 5. Oktober 2023 um 07:09:43 
UTC+2:

> hello, since yesterday i get this error and i dont know why
>
> ftpgenerator: Upload failed
>
>
>
> Okt 05 06:57:29 raspberrypi python3[1425]: weewx[1425] ERROR 
> weewx.reportengine: ftpgenerator: Upload failed
> Okt 05 07:00:45 raspberrypi python3[1425]: weewx[1425] INFO weewx.manager: 
> Added record 2023-10-05 07:00:00 CEST (1696482000) to database 'weewx.sdb'
> Okt 05 07:00:45 raspberrypi python3[1425]: weewx[1425] INFO weewx.manager: 
> Added record 2023-10-05 07:00:00 CEST (1696482000) to daily summary in 
> 'weewx.sdb'
> Okt 05 07:00:45 raspberrypi python3[1425]: weewx[1425] INFO weewx.restx: 
> MQTT: Published record 2023-10-05 07:00:00 CEST (1696482000)
> Okt 05 07:00:51 raspberrypi python3[1425]: weewx[1425] INFO 
> weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 5.82 
> seconds
> Okt 05 07:00:59 raspberrypi python3[1425]: weewx[1425] INFO 
> weewx.imagegenerator: Generated 26 images for report SeasonsReport in 8.21 
> seconds
> Okt 05 07:00:59 raspberrypi python3[1425]: weewx[1425] INFO 
> weewx.reportengine: Copied 0 files to /var/www/html/weewx
> Okt 05 07:00:59 raspberrypi /weewxd[1425]: historygenerator.py: No 
> bootstrap specific labels found
> Okt 05 07:01:00 raspberrypi /weewxd[1425]: historygenerator.py: minvalues, 
> maxvalues and colours must have the same number of elements in table: 
> rain_days_table
> Okt 05 07:01:00 raspberrypi /weewxd[1425]: historygenerator.py: Generated 
> 8 tables in 0.99 seconds
> root@raspberrypi:~# sudo service weewx restart
> root@raspberrypi:~# tail -f /var/log/syslog
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO user.mqtt: data_binding is 
> wx_binding
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO user.mqtt: topic is weather
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO user.mqtt: desired unit 
> system is METRIC
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO user.mqtt: data will be 
> uploaded to mqtt://mqtt_user:x...@192.168.1.8:1883 
> 
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.engine: 'pyephem' 
> detected, extended almanac data is available
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO __main__: Starting up weewx 
> version 4.10.2
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.engine: Using binding 
> 'wx_binding' to database 'weewx.sdb'
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.manager: Starting 
> backfill of daily summaries
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.manager: Daily 
> summaries up to date
> Oct  5 07:02:37 raspberrypi weewx[31243] INFO weewx.engine: Starting main 
> packet loop.
> Oct  5 07:02:48 raspberrypi weewx[31243] INFO user.interceptor: using 
> 'totalrainin' for rain_total
> Oct  5 07:02:48 raspberrypi weewx[31243] INFO user.interceptor: skipping 
> rain measurement of 68.736: no last rain
> Oct  5 07:05:23 raspberrypi weewx[31243] INFO weewx.manager: Added record 
> 2023-10-05 07:05:00 CEST (1696482300) to database 'weewx.sdb'
> Oct  5 07:05:23 raspberrypi weewx[31243] INFO weewx.manager: Added record 
> 2023-10-05 07:05:00 CEST (1696482300) to daily summary in 'weewx.sdb'
> Oct  5 07:05:23 raspberrypi weewx[31243] INFO user.mqtt: client 
> established for mqtt://mqtt_user:x...@192.168.1.8:1883 
> 
> Oct  5 07:05:23 raspberrypi weewx[31243] INFO weewx.restx: MQTT: Published 
> record 2023-10-05 07:05:00 CEST (1696482300)
> Oct  5 07:05:33 raspberrypi weewx[31243] INFO weewx.cheetahgenerator: 
> Generated 8 files for report SeasonsReport in 9.16 seconds
> Oct  5 07:05:36 raspberrypi weewx[31243] INFO weewx.imagegenerator: 
> Generated 13 images for report SeasonsReport in 3.10 seconds
> Oct  5 07:05:36 raspberrypi weewx[31243] INFO weewx.reportengine: Copied 5 
> files to /var/www/html/weewx
> Oct  5 07:05:36 raspberrypi /weewxd: historygenerator.py: No bootstrap 
> specific labels found
> Oct  5 07:05:37 raspberrypi /weewxd: historygenerator.py: minvalues, 
> maxvalues and colours must have the same number of elements in table: 
> rain_days_table
> Oct  5 07:05:37 raspberrypi /weewxd: historygenerator.py: Generated 8 
> tables in 0.97 seconds
> Oct  5 07:07:37 raspberrypi weewx[31243] INFO weewx.cheetahgenerator: 
> Generated 25 files for report StandardReport in 121.17 seconds
> Oct  5 07:07:38 raspberrypi weewx[31243] INFO weewx.reportengine: Copied 
> 327 files to /var/www/html/weewx
> Oct  5 07:07:43 raspberrypi weewx[31243] INFO weewx.cheetahgenerator: 
> Generated 1 files for report Highcharts in 4.84 seconds
> Oct  5 07:07:43 raspberrypi weewx[31243] ERROR weeutil.ftpupload: Failed 
> uploading /var/www/html/weewx/SO_wetter_year.html to server 213.160.71.98. 
> Reason: '451-Error during write to file#02451-Transfer aborted#012451 0.080 
> seconds 

[weewx-user] Re: FTP Upload error 451

2022-09-05 Thread ewhain...@gmail.com
Interesting, thanks

On Monday, September 5, 2022 at 3:46:00 PM UTC-4 vince wrote:

> A google for your '451' message returns this explanation...
>
>
> https://www.serv-u.com/resources/tutorial/431-450-451-452-ftp-response-codes
>
>
> On Monday, September 5, 2022 at 12:37:41 PM UTC-7 ewhain...@gmail.com 
> wrote:
>
>> So my initial issue was a bac USB cable, completely weird since I hadn't 
>> touched the setup..
>>
>> Now, after going back and forth with my provider, I was switched to a new 
>> server and had to change the path. Their "help" page was incorrect.
>>
>> ANYWAY - I am getting FTP uploads with the exception of the following:
>>
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weeutil.ftpupload: Failed 
>> uploading /var/www/html/weewx/index.html to server vmcp17.machighway.com. 
>> Reason: '451-Error during read from data connection#012451-Transfer 
>> aborted#012451 0.082 seconds (measured here), 194.36 Kbytes per second'
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>> ftpgenerator: (2): caught exception '': 
>> 451-Error during read from data connection#012451-Transfer aborted#012451 
>> 0.082 seconds (measured here), 194.36 Kbytes per second
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   Traceback (most recent call last):
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>> File "/usr/share/weewx/weewx/reportengine.py", line 436, in run
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   n = ftp_data.run()
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>> File "/usr/share/weewx/weeutil/ftpupload.py", line 210, in run
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   ftp_server.storbinary(stor_cmd, fd)
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>> File "/usr/lib/python3.7/ftplib.py", line 515, in storbinary
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   return self.voidresp()
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>> File "/usr/lib/python3.7/ftplib.py", line 251, in voidresp
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   resp = self.getresp()
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>> File "/usr/lib/python3.7/ftplib.py", line 244, in getresp
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   raise error_temp(resp)
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   ftplib.error_temp: 451-Error during read from data connection
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   451-Transfer aborted
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>>   451 0.082 seconds (measured here), 194.36 Kbytes per second
>> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>> ftpgenerator: Upload failed
>>
>>
>> Is this error on the WeeWx side or the provider side?
>> What does this error mean and how do I correct it?
>>
>> Thanks!!!
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d8525b9e-7911-4bd0-8536-85ab66cd8364n%40googlegroups.com.


[weewx-user] Re: FTP Upload error 451

2022-09-05 Thread vince
A google for your '451' message returns this explanation...

https://www.serv-u.com/resources/tutorial/431-450-451-452-ftp-response-codes


On Monday, September 5, 2022 at 12:37:41 PM UTC-7 ewhain...@gmail.com wrote:

> So my initial issue was a bac USB cable, completely weird since I hadn't 
> touched the setup..
>
> Now, after going back and forth with my provider, I was switched to a new 
> server and had to change the path. Their "help" page was incorrect.
>
> ANYWAY - I am getting FTP uploads with the exception of the following:
>
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weeutil.ftpupload: Failed 
> uploading /var/www/html/weewx/index.html to server vmcp17.machighway.com. 
> Reason: '451-Error during read from data connection#012451-Transfer 
> aborted#012451 0.082 seconds (measured here), 194.36 Kbytes per second'
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
> ftpgenerator: (2): caught exception '': 
> 451-Error during read from data connection#012451-Transfer aborted#012451 
> 0.082 seconds (measured here), 194.36 Kbytes per second
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   Traceback (most recent call last):
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weewx/reportengine.py", line 436, in run
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   n = ftp_data.run()
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
> File "/usr/share/weewx/weeutil/ftpupload.py", line 210, in run
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   ftp_server.storbinary(stor_cmd, fd)
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
> File "/usr/lib/python3.7/ftplib.py", line 515, in storbinary
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   return self.voidresp()
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
> File "/usr/lib/python3.7/ftplib.py", line 251, in voidresp
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   resp = self.getresp()
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
> File "/usr/lib/python3.7/ftplib.py", line 244, in getresp
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   raise error_temp(resp)
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   ftplib.error_temp: 451-Error during read from data connection
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   451-Transfer aborted
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
>   451 0.082 seconds (measured here), 194.36 Kbytes per second
> Sep  5 15:26:07 weatherpi weewx[30940] ERROR weewx.reportengine: 
> ftpgenerator: Upload failed
>
>
> Is this error on the WeeWx side or the provider side?
> What does this error mean and how do I correct it?
>
> Thanks!!!
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/672f4008-b299-4c78-a6a5-1351fa39ea21n%40googlegroups.com.


Re: [weewx-user] Re: Ftp upload

2022-03-11 Thread Tom Keffer
OK, thanks for that! That's a new one for me, so it's good to add it to the
list of possibilities.

Interesting how that manifests itself as this error.

On Fri, Mar 11, 2022 at 5:18 AM Kalli Gøtze  wrote:

> Hi all,
> I was in contact whit the support from Selfhost and they say i should
> flush the Dns-Cache,i did and now is working.
> Thanks for your.
> Best regards Karl
>
> lang@googlemail.com schrieb am Donnerstag, 10. März 2022 um 17:31:55
> UTC+1:
>
>> I doubt that "it" or "everything" works.
>> Clicking on your link only provides a general page of your web hoster.
>> Something is still "fishy" - locally, on your web host or with both.
>>
>> On 10.03.2022 16:19, Kalli Gøtze wrote:
>>
>> Hi all,
>> Today i install weewx new and it works.  www.kalligotze.org
>> Thanks for your help :)
>>
>> best regards Karl
>>
>> tke...@gmail.com schrieb am Donnerstag, 10. März 2022 um 14:49:42 UTC+1:
>>
>>> In a private email, Kalli noted that the value for "path" is
>>>
>>> [[FTP]]
>>>...
>>>path = /home/weewx/public_html
>>>...
>>>
>>> Two things to note:
>>>
>>>- "path" is the *destination* directory. This is usually something
>>>like "/var/www/html" or "/weewx".
>>>- "HTML_ROOT" is the *source* directory, usually set to
>>>"/home/weewx/public_html" if you used the setup.py install method (which
>>>you did).
>>>
>>> You did not say what destination directory you expect, but it is
>>> probably not "/home/weewx/public_html". Think about where you want the
>>> files to go, and set "path" to that. Whatever it is set to, you must have
>>> write permission for the user name you supplied. Another complication is
>>> that for some FTP servers the path must be an absolute path, for others it
>>> is relative to the home directory of the supplied user. Experiment.
>>>
>>> On the other hand, maybe you did want "/home/weewx/public_html". If so,
>>> let us know and we'll go to the next step.
>>>
>>> -tk
>>>
>>>
>>>
>>> On Wed, Mar 9, 2022 at 12:23 PM Tom Keffer  wrote:
>>>
 We have seen this error before and it's very misleading. Despite the
 message, it can be caused by problems either locally or remotely.

 1. Make sure the FTP username has write permissions on the server for
 the path you specified.
 2. Make sure the password is correct. Does it include special
 characters? If so, be sure to quote the password.
 3. Does your server require FTPS?
 4. Try different variations for the path option for [FTP].

 If you are still stuck, post your [FTP] section, but be sure to
 obfuscate your password first.

 -tk

 On Wed, Mar 9, 2022 at 11:28 AM vince  wrote:

> Possibly, but why would weewx try to upload a file that is not there
> on the weewx system ?
> Or is that what that #FTPlast file does ?
>
> https://groups.google.com/g/weewx-user/c/XwQqsslGKfA suggests
> removing that file which should cause weewx to upload everything it finds.
>
> On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8 kk44...@gmail.com
> wrote:
>
>> kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38
>> UTC+1:
>>
>>> Reason: '550 /home/weewx/public_html/monthhum.png: No such file or
>>> directory'
>>>
>>
>> I would have listened to that error message and guess, the local file
>> is missing.
>>
>>
> --
> You received this message because you are subscribed to the Google
> Groups "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to weewx-user+...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com
> 
> .
>
 --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to weewx-user+...@googlegroups.com.
>>
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/5c916353-6bf2-421c-a380-6cf9443831e1n%40googlegroups.com
>> 
>> .
>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/aa6856f7-9a97-4a35-9483-14590e84a0d3n%40googlegroups.com
> 

Re: [weewx-user] Re: Ftp upload

2022-03-11 Thread Kalli Gøtze
Hi all,
I was in contact whit the support from Selfhost and they say i should flush 
the Dns-Cache,i did and now is working.
Thanks for your.
Best regards Karl

lang@googlemail.com schrieb am Donnerstag, 10. März 2022 um 17:31:55 
UTC+1:

> I doubt that "it" or "everything" works.
> Clicking on your link only provides a general page of your web hoster.
> Something is still "fishy" - locally, on your web host or with both.
>
> On 10.03.2022 16:19, Kalli Gøtze wrote:
>
> Hi all,
> Today i install weewx new and it works.  www.kalligotze.org
> Thanks for your help :)
>
> best regards Karl
>
> tke...@gmail.com schrieb am Donnerstag, 10. März 2022 um 14:49:42 UTC+1:
>
>> In a private email, Kalli noted that the value for "path" is
>>
>> [[FTP]]
>>...
>>path = /home/weewx/public_html
>>...
>>
>> Two things to note:
>>
>>- "path" is the *destination* directory. This is usually something 
>>like "/var/www/html" or "/weewx". 
>>- "HTML_ROOT" is the *source* directory, usually set to 
>>"/home/weewx/public_html" if you used the setup.py install method (which 
>>you did). 
>>
>> You did not say what destination directory you expect, but it is probably 
>> not "/home/weewx/public_html". Think about where you want the files to go, 
>> and set "path" to that. Whatever it is set to, you must have write 
>> permission for the user name you supplied. Another complication is that for 
>> some FTP servers the path must be an absolute path, for others it is 
>> relative to the home directory of the supplied user. Experiment.
>>
>> On the other hand, maybe you did want "/home/weewx/public_html". If so, 
>> let us know and we'll go to the next step.
>>
>> -tk
>>
>>
>>
>> On Wed, Mar 9, 2022 at 12:23 PM Tom Keffer  wrote:
>>
>>> We have seen this error before and it's very misleading. Despite the 
>>> message, it can be caused by problems either locally or remotely.
>>>
>>> 1. Make sure the FTP username has write permissions on the server for 
>>> the path you specified.
>>> 2. Make sure the password is correct. Does it include special 
>>> characters? If so, be sure to quote the password.
>>> 3. Does your server require FTPS?
>>> 4. Try different variations for the path option for [FTP].
>>>
>>> If you are still stuck, post your [FTP] section, but be sure to 
>>> obfuscate your password first.
>>>
>>> -tk
>>>
>>> On Wed, Mar 9, 2022 at 11:28 AM vince  wrote:
>>>
 Possibly, but why would weewx try to upload a file that is not there on 
 the weewx system ? 
 Or is that what that #FTPlast file does ?

 https://groups.google.com/g/weewx-user/c/XwQqsslGKfA suggests removing 
 that file which should cause weewx to upload everything it finds.

 On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8 kk44...@gmail.com 
 wrote:

> kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38 
> UTC+1:
>
>> Reason: '550 /home/weewx/public_html/monthhum.png: No such file or 
>> directory'
>>
>
> I would have listened to that error message and guess, the local file 
> is missing.
>  
>
 -- 
 You received this message because you are subscribed to the Google 
 Groups "weewx-user" group.
 To unsubscribe from this group and stop receiving emails from it, send 
 an email to weewx-user+...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com
  
 
 .

>>> -- 
> You received this message because you are subscribed to the Google Groups 
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to weewx-user+...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/weewx-user/5c916353-6bf2-421c-a380-6cf9443831e1n%40googlegroups.com
>  
> 
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/aa6856f7-9a97-4a35-9483-14590e84a0d3n%40googlegroups.com.


Re: [weewx-user] Re: Ftp upload

2022-03-10 Thread Rainer Lang

I doubt that "it" or "everything" works.
Clicking on your link only provides a general page of your web hoster.
Something is still "fishy" - locally, on your web host or with both.

On 10.03.2022 16:19, Kalli Gøtze wrote:

Hi all,
Today i install weewx new and it works. www.kalligotze.org
Thanks for your help :)

best regards Karl

tke...@gmail.com schrieb am Donnerstag, 10. März 2022 um 14:49:42 UTC+1:

In a private email, Kalli noted that the value for "path" is

[[FTP]]
   ...
   path = /home/weewx/public_html
   ...

Two things to note:

  * "path" is the /destination/ directory. This is usually
something like "/var/www/html" or "/weewx".
  * "HTML_ROOT" is the /source/ directory, usually set to
"/home/weewx/public_html" if you used the setup.py install
method (which you did).

You did not say what destination directory you expect, but it is
probably not "/home/weewx/public_html". Think about where you want
the files to go, and set "path" to that. Whatever it is set to,
you must have write permission for the user name you supplied.
Another complication is that for some FTP servers the path must be
an absolute path, for others it is relative to the home directory
of the supplied user. Experiment.

On the other hand, maybe you did want "/home/weewx/public_html".
If so, let us know and we'll go to the next step.

-tk



On Wed, Mar 9, 2022 at 12:23 PM Tom Keffer  wrote:

We have seen this error before and it's very misleading.
Despite the message, it can be caused by problems either
locally or remotely.

1. Make sure the FTP username has write permissions on the
server for the path you specified.
2. Make sure the password is correct. Does it include special
characters? If so, be sure to quote the password.
3. Does your server require FTPS?
4. Try different variations for the path option for [FTP].

If you are still stuck, post your [FTP] section, but be sure
to obfuscate your password first.

-tk

On Wed, Mar 9, 2022 at 11:28 AM vince  wrote:

Possibly, but why would weewx try to upload a file that is
not there on the weewx system ?
Or is that what that #FTPlast file does ?

https://groups.google.com/g/weewx-user/c/XwQqsslGKfA
suggests removing that file which should cause weewx to
upload everything it finds.

On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8
kk44...@gmail.com wrote:

kalli...@gmail.com schrieb am Mittwoch, 9. März 2022
um 18:27:38 UTC+1:

Reason: '550 /home/weewx/public_html/monthhum.png:
No such file or directory'


I would have listened to that error message and guess,
the local file is missing.

-- 
You received this message because you are subscribed to

the Google Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails
from it, send an email to weewx-user+...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com

.

--
You received this message because you are subscribed to the Google 
Groups "weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5c916353-6bf2-421c-a380-6cf9443831e1n%40googlegroups.com 
.


--
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b7b70499-5f42-fe40-443d-6e2e448d1e47%40gmail.com.


Re: [weewx-user] Re: Ftp upload

2022-03-10 Thread Tom Keffer
Wait, wait! What changed? It would be useful to know for future users. Is
there something different in [[FTP]]?

On Thu, Mar 10, 2022 at 7:19 AM Kalli Gøtze  wrote:

> Hi all,
> Today i install weewx new and it works.  www.kalligotze.org
> Thanks for your help :)
>
> best regards Karl
>
> tke...@gmail.com schrieb am Donnerstag, 10. März 2022 um 14:49:42 UTC+1:
>
>> In a private email, Kalli noted that the value for "path" is
>>
>> [[FTP]]
>>...
>>path = /home/weewx/public_html
>>...
>>
>> Two things to note:
>>
>>- "path" is the *destination* directory. This is usually something
>>like "/var/www/html" or "/weewx".
>>- "HTML_ROOT" is the *source* directory, usually set to
>>"/home/weewx/public_html" if you used the setup.py install method (which
>>you did).
>>
>> You did not say what destination directory you expect, but it is probably
>> not "/home/weewx/public_html". Think about where you want the files to go,
>> and set "path" to that. Whatever it is set to, you must have write
>> permission for the user name you supplied. Another complication is that for
>> some FTP servers the path must be an absolute path, for others it is
>> relative to the home directory of the supplied user. Experiment.
>>
>> On the other hand, maybe you did want "/home/weewx/public_html". If so,
>> let us know and we'll go to the next step.
>>
>> -tk
>>
>>
>>
>> On Wed, Mar 9, 2022 at 12:23 PM Tom Keffer  wrote:
>>
>>> We have seen this error before and it's very misleading. Despite the
>>> message, it can be caused by problems either locally or remotely.
>>>
>>> 1. Make sure the FTP username has write permissions on the server for
>>> the path you specified.
>>> 2. Make sure the password is correct. Does it include special
>>> characters? If so, be sure to quote the password.
>>> 3. Does your server require FTPS?
>>> 4. Try different variations for the path option for [FTP].
>>>
>>> If you are still stuck, post your [FTP] section, but be sure to
>>> obfuscate your password first.
>>>
>>> -tk
>>>
>>> On Wed, Mar 9, 2022 at 11:28 AM vince  wrote:
>>>
 Possibly, but why would weewx try to upload a file that is not there on
 the weewx system ?
 Or is that what that #FTPlast file does ?

 https://groups.google.com/g/weewx-user/c/XwQqsslGKfA suggests removing
 that file which should cause weewx to upload everything it finds.

 On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8 kk44...@gmail.com
 wrote:

> kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38
> UTC+1:
>
>> Reason: '550 /home/weewx/public_html/monthhum.png: No such file or
>> directory'
>>
>
> I would have listened to that error message and guess, the local file
> is missing.
>
>
 --
 You received this message because you are subscribed to the Google
 Groups "weewx-user" group.
 To unsubscribe from this group and stop receiving emails from it, send
 an email to weewx-user+...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com
 
 .

>>> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/5c916353-6bf2-421c-a380-6cf9443831e1n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEDppt-fYT9Oe1yV1x1ASunXpc6Aqu_nQfQFW_32%3DtL%2B_A%40mail.gmail.com.


Re: [weewx-user] Re: Ftp upload

2022-03-10 Thread Kalli Gøtze
Hi all,
Today i install weewx new and it works.  www.kalligotze.org
Thanks for your help :)

best regards Karl

tke...@gmail.com schrieb am Donnerstag, 10. März 2022 um 14:49:42 UTC+1:

> In a private email, Kalli noted that the value for "path" is
>
> [[FTP]]
>...
>path = /home/weewx/public_html
>...
>
> Two things to note:
>
>- "path" is the *destination* directory. This is usually something 
>like "/var/www/html" or "/weewx".
>- "HTML_ROOT" is the *source* directory, usually set to 
>"/home/weewx/public_html" if you used the setup.py install method (which 
>you did).
>
> You did not say what destination directory you expect, but it is probably 
> not "/home/weewx/public_html". Think about where you want the files to go, 
> and set "path" to that. Whatever it is set to, you must have write 
> permission for the user name you supplied. Another complication is that for 
> some FTP servers the path must be an absolute path, for others it is 
> relative to the home directory of the supplied user. Experiment.
>
> On the other hand, maybe you did want "/home/weewx/public_html". If so, 
> let us know and we'll go to the next step.
>
> -tk
>
>
>
> On Wed, Mar 9, 2022 at 12:23 PM Tom Keffer  wrote:
>
>> We have seen this error before and it's very misleading. Despite the 
>> message, it can be caused by problems either locally or remotely.
>>
>> 1. Make sure the FTP username has write permissions on the server for the 
>> path you specified.
>> 2. Make sure the password is correct. Does it include special characters? 
>> If so, be sure to quote the password.
>> 3. Does your server require FTPS?
>> 4. Try different variations for the path option for [FTP].
>>
>> If you are still stuck, post your [FTP] section, but be sure to obfuscate 
>> your password first.
>>
>> -tk
>>
>> On Wed, Mar 9, 2022 at 11:28 AM vince  wrote:
>>
>>> Possibly, but why would weewx try to upload a file that is not there on 
>>> the weewx system ?
>>> Or is that what that #FTPlast file does ?
>>>
>>> https://groups.google.com/g/weewx-user/c/XwQqsslGKfA suggests removing 
>>> that file which should cause weewx to upload everything it finds.
>>>
>>> On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8 kk44...@gmail.com 
>>> wrote:
>>>
 kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38 UTC+1:

> Reason: '550 /home/weewx/public_html/monthhum.png: No such file or 
> directory'
>

 I would have listened to that error message and guess, the local file 
 is missing.
  

>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/5c916353-6bf2-421c-a380-6cf9443831e1n%40googlegroups.com.


Re: [weewx-user] Re: Ftp upload

2022-03-10 Thread Tom Keffer
In a private email, Kalli noted that the value for "path" is

[[FTP]]
   ...
   path = /home/weewx/public_html
   ...

Two things to note:

   - "path" is the *destination* directory. This is usually something like
   "/var/www/html" or "/weewx".
   - "HTML_ROOT" is the *source* directory, usually set to
   "/home/weewx/public_html" if you used the setup.py install method (which
   you did).

You did not say what destination directory you expect, but it is probably
not "/home/weewx/public_html". Think about where you want the files to go,
and set "path" to that. Whatever it is set to, you must have write
permission for the user name you supplied. Another complication is that for
some FTP servers the path must be an absolute path, for others it is
relative to the home directory of the supplied user. Experiment.

On the other hand, maybe you did want "/home/weewx/public_html". If so, let
us know and we'll go to the next step.

-tk



On Wed, Mar 9, 2022 at 12:23 PM Tom Keffer  wrote:

> We have seen this error before and it's very misleading. Despite the
> message, it can be caused by problems either locally or remotely.
>
> 1. Make sure the FTP username has write permissions on the server for the
> path you specified.
> 2. Make sure the password is correct. Does it include special characters?
> If so, be sure to quote the password.
> 3. Does your server require FTPS?
> 4. Try different variations for the path option for [FTP].
>
> If you are still stuck, post your [FTP] section, but be sure to obfuscate
> your password first.
>
> -tk
>
> On Wed, Mar 9, 2022 at 11:28 AM vince  wrote:
>
>> Possibly, but why would weewx try to upload a file that is not there on
>> the weewx system ?
>> Or is that what that #FTPlast file does ?
>>
>> https://groups.google.com/g/weewx-user/c/XwQqsslGKfA suggests removing
>> that file which should cause weewx to upload everything it finds.
>>
>> On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8 kk44...@gmail.com wrote:
>>
>>> kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38 UTC+1:
>>>
 Reason: '550 /home/weewx/public_html/monthhum.png: No such file or
 directory'

>>>
>>> I would have listened to that error message and guess, the local file is
>>> missing.
>>>
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "weewx-user" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to weewx-user+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com
>> 
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEAy5iK3SsQGgT6nL%3D1UM4sPPyjA_vA4LXc-PMcsyi246Q%40mail.gmail.com.


Re: [weewx-user] Re: Ftp upload

2022-03-09 Thread Tom Keffer
We have seen this error before and it's very misleading. Despite the
message, it can be caused by problems either locally or remotely.

1. Make sure the FTP username has write permissions on the server for the
path you specified.
2. Make sure the password is correct. Does it include special characters?
If so, be sure to quote the password.
3. Does your server require FTPS?
4. Try different variations for the path option for [FTP].

If you are still stuck, post your [FTP] section, but be sure to obfuscate
your password first.

-tk

On Wed, Mar 9, 2022 at 11:28 AM vince  wrote:

> Possibly, but why would weewx try to upload a file that is not there on
> the weewx system ?
> Or is that what that #FTPlast file does ?
>
> https://groups.google.com/g/weewx-user/c/XwQqsslGKfA suggests removing
> that file which should cause weewx to upload everything it finds.
>
> On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8 kk44...@gmail.com wrote:
>
>> kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38 UTC+1:
>>
>>> Reason: '550 /home/weewx/public_html/monthhum.png: No such file or
>>> directory'
>>>
>>
>> I would have listened to that error message and guess, the local file is
>> missing.
>>
>>
> --
> You received this message because you are subscribed to the Google Groups
> "weewx-user" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to weewx-user+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com
> 
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAPq0zEBz1PueVCztz1XW6DEMtX%2By6TqZSe6h%3Ds%2BSO0fcBYm3fA%40mail.gmail.com.


[weewx-user] Re: Ftp upload

2022-03-09 Thread vince
Possibly, but why would weewx try to upload a file that is not there on the 
weewx system ?
Or is that what that #FTPlast file does ?

https://groups.google.com/g/weewx-user/c/XwQqsslGKfA suggests removing that 
file which should cause weewx to upload everything it finds.

On Wednesday, March 9, 2022 at 10:11:51 AM UTC-8 kk44...@gmail.com wrote:

> kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38 UTC+1:
>
>> Reason: '550 /home/weewx/public_html/monthhum.png: No such file or 
>> directory'
>>
>
> I would have listened to that error message and guess, the local file is 
> missing.
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/70edd677-2765-4bb2-8088-60e0cf5c09a0n%40googlegroups.com.


[weewx-user] Re: Ftp upload

2022-03-09 Thread Karen K
kalli...@gmail.com schrieb am Mittwoch, 9. März 2022 um 18:27:38 UTC+1:

> Reason: '550 /home/weewx/public_html/monthhum.png: No such file or 
> directory'
>

I would have listened to that error message and guess, the local file is 
missing.
 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4dc4224b-5abf-499f-b5eb-6fc7dad65426n%40googlegroups.com.


[weewx-user] Re: Ftp upload

2022-03-09 Thread vince
On Wednesday, March 9, 2022 at 9:27:38 AM UTC-8 kalli...@gmail.com wrote:

> Mar  9 17:50:52 kalli-HP-8440p weewx[17683] ERROR weeutil.ftpupload: 
> Failed uploading /home/weewx/public_html/monthhum.png to server 
> francium.selfhost.de. Reason: '550 /home/weewx/public_html/monthhum.png: 
> No such file or directory'
>

Your remote [[FTP]] path is probably incorrect in your weewx.conf


-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f74b14d9-254b-4678-9775-2dc7d58c5845n%40googlegroups.com.


[weewx-user] Re: FTP Upload

2021-02-04 Thread michael.k...@gmx.at
Ich kenne keine Details, wie die WH2600 zu installieren ist. Hier eine 
Diskussion zum Thema:  
https://groups.google.com/g/weewx-user/c/wBDA8fdJD3w/m/6bhErnnmAwAJ 
Der Autor hört sich deutschsprachig an, vielleicht erreichst du ihn ja.

Sorry, I don't know any details about the WH2600, there is a thread 
concerning this type of stations: 
https://groups.google.com/g/weewx-user/c/wBDA8fdJD3w/m/6bhErnnmAwAJ 

renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 19:03:39 
UTC+1:

> Hallo Michael.
>
> Danke schon mal für die Hilfe. Hat geklappt. Werden dann nächstens 
> versuchen meine Wetterstation WH2600 einzubinden. 
> Könnte wahrscheinlich auch nicht so einfach sein, da diese an einem Router 
> hängt und kein USB Anschluss hat.
> Hast du eventuell einen Tipp welchen Treiber ich da installieren sollte?
> Danke.
>
> Hi Michael. Thank you in advance for the help. It worked. Will try to 
> integrate my weather station WH2600 next. Could probably not be that easy 
> either, since it is connected to a router and has no USB port. Do you 
> have a tip which driver I should install there? Thank you. 
> michael.k...@gmx.at schrieb am Donnerstag, 4. Februar 2021 um 17:47:12 
> UTC+1:
>
>> Ich gehe davon aus, das bei dir dann  
>> path = /html# The destination directory, e.g., /weather  
>> funktionieren müsste
>>
>> Please try 
>> path = /html# The destination directory, e.g., /weather
>>
>>
>> renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 16:43:07 
>> UTC+1:
>>
>>> Hallo Michael
>>>
>>> Ich habe gerade versucht mit dem FTP Programm mir die Schreibrechte zu 
>>> geben, hat aber leider nicht funktioniert. Schreibrechte kann ich erst im 
>>> Unterodner \html geben. Sollte ich somit die config Position  " path = 
>>> / " auf "path = /html" umstellen? 
>>>
>>> michael.k...@gmx.at schrieb am Donnerstag, 4. Februar 2021 um 16:18:44 
>>> UTC+1:
>>>
 Hallo Renato,

 der FTP-Benutzer hat auf dem Ordner, wo die Dateien hochgeladen werden 
 sollen, keine Schreibrechte "Permission Denied" => "Zugriff verweigert". 
 Wer hat dir den Ordner erstellt bzw. den Benutzer erstellt? Derjenige 
 müsste dir für den Benutzer und den Ordner Schreibrechte geben.

 Most likely the FTP-user has noch write permission to the upload Folder.

 renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 16:13:09 
 UTC+1:

> Hallo zusammen.
> Ich bin ein Anfänger mit Linux.
> Ich habe erfolgreich Weewx auf meine RasbeeryPi installiert. Es 
> funtioniert auch mit dem Simulator und dem Apache Server. Webseite wird 
> angezeit.
> Leider gelingt es mir nicht FTP zum laufen zu bringen. Ich habe den 
> Auschnitt der Config sowie das Log angehängt.
>
>
> Translate with Google:
>
> Hello everybody. I am a beginner with Linux. I have successfully 
> installed Weewx on my RasbeeryPi. It also works with the simulator 
> and the Apache server. Website is displayed. Unfortunately, I am 
> unable to get FTP running. I have attached the excerpt from the 
> config and the log.
>
> Thanks. Renato
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/c4fc13b1-bf1f-4dfd-80ec-11ca66880b0cn%40googlegroups.com.


[weewx-user] Re: FTP Upload

2021-02-04 Thread Renato Brigger
Hallo Michael.

Danke schon mal für die Hilfe. Hat geklappt. Werden dann nächstens 
versuchen meine Wetterstation WH2600 einzubinden. 
Könnte wahrscheinlich auch nicht so einfach sein, da diese an einem Router 
hängt und kein USB Anschluss hat.
Hast du eventuell einen Tipp welchen Treiber ich da installieren sollte?
Danke.

Hi Michael. Thank you in advance for the help. It worked. Will try to 
integrate my weather station WH2600 next. Could probably not be that easy 
either, since it is connected to a router and has no USB port. Do you have 
a tip which driver I should install there? Thank you. 
michael.k...@gmx.at schrieb am Donnerstag, 4. Februar 2021 um 17:47:12 
UTC+1:

> Ich gehe davon aus, das bei dir dann  
> path = /html# The destination directory, e.g., /weather  
> funktionieren müsste
>
> Please try 
> path = /html# The destination directory, e.g., /weather
>
>
> renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 16:43:07 
> UTC+1:
>
>> Hallo Michael
>>
>> Ich habe gerade versucht mit dem FTP Programm mir die Schreibrechte zu 
>> geben, hat aber leider nicht funktioniert. Schreibrechte kann ich erst im 
>> Unterodner \html geben. Sollte ich somit die config Position  " path = / 
>> " auf "path = /html" umstellen? 
>>
>> michael.k...@gmx.at schrieb am Donnerstag, 4. Februar 2021 um 16:18:44 
>> UTC+1:
>>
>>> Hallo Renato,
>>>
>>> der FTP-Benutzer hat auf dem Ordner, wo die Dateien hochgeladen werden 
>>> sollen, keine Schreibrechte "Permission Denied" => "Zugriff verweigert". 
>>> Wer hat dir den Ordner erstellt bzw. den Benutzer erstellt? Derjenige 
>>> müsste dir für den Benutzer und den Ordner Schreibrechte geben.
>>>
>>> Most likely the FTP-user has noch write permission to the upload Folder.
>>>
>>> renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 16:13:09 
>>> UTC+1:
>>>
 Hallo zusammen.
 Ich bin ein Anfänger mit Linux.
 Ich habe erfolgreich Weewx auf meine RasbeeryPi installiert. Es 
 funtioniert auch mit dem Simulator und dem Apache Server. Webseite wird 
 angezeit.
 Leider gelingt es mir nicht FTP zum laufen zu bringen. Ich habe den 
 Auschnitt der Config sowie das Log angehängt.


 Translate with Google:

 Hello everybody. I am a beginner with Linux. I have successfully 
 installed Weewx on my RasbeeryPi. It also works with the simulator and 
 the Apache server. Website is displayed. Unfortunately, I am unable to 
 get FTP running. I have attached the excerpt from the config and the 
 log.

 Thanks. Renato



-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/6d2c9630-17b7-4a9d-9f83-ae3eaca732f4n%40googlegroups.com.


[weewx-user] Re: FTP Upload

2021-02-04 Thread michael.k...@gmx.at
Ich gehe davon aus, das bei dir dann  
path = /html# The destination directory, e.g., /weather  
funktionieren müsste

Please try 
path = /html# The destination directory, e.g., /weather


renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 16:43:07 
UTC+1:

> Hallo Michael
>
> Ich habe gerade versucht mit dem FTP Programm mir die Schreibrechte zu 
> geben, hat aber leider nicht funktioniert. Schreibrechte kann ich erst im 
> Unterodner \html geben. Sollte ich somit die config Position  " path = / 
> " auf "path = /html" umstellen? 
>
> michael.k...@gmx.at schrieb am Donnerstag, 4. Februar 2021 um 16:18:44 
> UTC+1:
>
>> Hallo Renato,
>>
>> der FTP-Benutzer hat auf dem Ordner, wo die Dateien hochgeladen werden 
>> sollen, keine Schreibrechte "Permission Denied" => "Zugriff verweigert". 
>> Wer hat dir den Ordner erstellt bzw. den Benutzer erstellt? Derjenige 
>> müsste dir für den Benutzer und den Ordner Schreibrechte geben.
>>
>> Most likely the FTP-user has noch write permission to the upload Folder.
>>
>> renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 16:13:09 
>> UTC+1:
>>
>>> Hallo zusammen.
>>> Ich bin ein Anfänger mit Linux.
>>> Ich habe erfolgreich Weewx auf meine RasbeeryPi installiert. Es 
>>> funtioniert auch mit dem Simulator und dem Apache Server. Webseite wird 
>>> angezeit.
>>> Leider gelingt es mir nicht FTP zum laufen zu bringen. Ich habe den 
>>> Auschnitt der Config sowie das Log angehängt.
>>>
>>>
>>> Translate with Google:
>>>
>>> Hello everybody. I am a beginner with Linux. I have successfully 
>>> installed Weewx on my RasbeeryPi. It also works with the simulator and 
>>> the Apache server. Website is displayed. Unfortunately, I am unable to 
>>> get FTP running. I have attached the excerpt from the config and the 
>>> log.
>>>
>>> Thanks. Renato
>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/33b865b2-65dc-47e0-9168-e395f39283a5n%40googlegroups.com.


[weewx-user] Re: FTP Upload

2021-02-04 Thread Renato Brigger
Hallo Michael

Ich habe gerade versucht mit dem FTP Programm mir die Schreibrechte zu 
geben, hat aber leider nicht funktioniert. Schreibrechte kann ich erst im 
Unterodner \html geben. Sollte ich somit die config Position  " path = / " 
auf "path = /html" umstellen? 

michael.k...@gmx.at schrieb am Donnerstag, 4. Februar 2021 um 16:18:44 
UTC+1:

> Hallo Renato,
>
> der FTP-Benutzer hat auf dem Ordner, wo die Dateien hochgeladen werden 
> sollen, keine Schreibrechte "Permission Denied" => "Zugriff verweigert". 
> Wer hat dir den Ordner erstellt bzw. den Benutzer erstellt? Derjenige 
> müsste dir für den Benutzer und den Ordner Schreibrechte geben.
>
> Most likely the FTP-user has noch write permission to the upload Folder.
>
> renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 16:13:09 
> UTC+1:
>
>> Hallo zusammen.
>> Ich bin ein Anfänger mit Linux.
>> Ich habe erfolgreich Weewx auf meine RasbeeryPi installiert. Es 
>> funtioniert auch mit dem Simulator und dem Apache Server. Webseite wird 
>> angezeit.
>> Leider gelingt es mir nicht FTP zum laufen zu bringen. Ich habe den 
>> Auschnitt der Config sowie das Log angehängt.
>>
>>
>> Translate with Google:
>>
>> Hello everybody. I am a beginner with Linux. I have successfully 
>> installed Weewx on my RasbeeryPi. It also works with the simulator and 
>> the Apache server. Website is displayed. Unfortunately, I am unable to 
>> get FTP running. I have attached the excerpt from the config and the log.
>>
>> Thanks. Renato
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b75d3498-16aa-4ef6-80c4-e5b5a16b0d5bn%40googlegroups.com.


[weewx-user] Re: FTP Upload

2021-02-04 Thread michael.k...@gmx.at
Hallo Renato,

der FTP-Benutzer hat auf dem Ordner, wo die Dateien hochgeladen werden 
sollen, keine Schreibrechte "Permission Denied" => "Zugriff verweigert". 
Wer hat dir den Ordner erstellt bzw. den Benutzer erstellt? Derjenige 
müsste dir für den Benutzer und den Ordner Schreibrechte geben.

Most likely the FTP-user has noch write permission to the upload Folder.

renato...@gmail.com schrieb am Donnerstag, 4. Februar 2021 um 16:13:09 
UTC+1:

> Hallo zusammen.
> Ich bin ein Anfänger mit Linux.
> Ich habe erfolgreich Weewx auf meine RasbeeryPi installiert. Es 
> funtioniert auch mit dem Simulator und dem Apache Server. Webseite wird 
> angezeit.
> Leider gelingt es mir nicht FTP zum laufen zu bringen. Ich habe den 
> Auschnitt der Config sowie das Log angehängt.
>
>
> Translate with Google:
>
> Hello everybody. I am a beginner with Linux. I have successfully 
> installed Weewx on my RasbeeryPi. It also works with the simulator and 
> the Apache server. Website is displayed. Unfortunately, I am unable to 
> get FTP running. I have attached the excerpt from the config and the log.
>
> Thanks. Renato
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/b3d13453-6a87-4dcb-9805-bb8c8f428c78n%40googlegroups.com.


Re: [weewx-user] Re: FTP upload period

2017-02-26 Thread gjr80
No, the charts can be easily rebuilt once the underlying data is there. The 
issue (when going from 1 minute to 5 minutes) is converting the historical data 
from a 1 minute basis to a 5 minute basis. Say you have five 1 minute readings 
for outside temperature (outTemp) for 9:01, 9:02, 9:03, 9:04 and 9:05. These 
values effectively hold the average outTemp seen over that 1 minute period. So 
to convert to 5 minute data you would need the overall average of these values 
and that would be recorded as the 9:05 record. It is not a simple case of just 
keeping every 5th record and dropping the rest. This then has to be done for 
each observation for each group of 5 records. There are a few other things to 
do as well but they are fairly straightforward. 

Going the other way from 5 minute to 1 minute would arguably need you to make 
up data (if you have the 9:00 and 9:05 readings how do you get the 9:04 
reading?)

So all things considered you are best to give your archive period some careful 
thought when setting up.

One final thing, the archive period really just refers to how often weeWX saves 
the data and how often the reports are run. WeeWX can still capture all the 
highs and lows and times they occur in between.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: FTP upload period

2017-02-26 Thread Alec Bennett
Thanks for the excellent explanation. I increased the report interval to 5
minutes.

I don't understand this though:

One final thing, if you start using 1 minute and decide later to move to 5
> minutes (or vice versa), there is no simple method to move between the two.
> It can be done but you will need to manually manipulate your database.


Is the problem with building charts from a time period with different
reporting times?







On Sun, Feb 26, 2017 at 2:22 AM, gjr80  wrote:

> No real direct disadvantages, you will fill your database quicker than
> most, but storage is cheap and it's nothing that the dbms used by weeWX
> can't handle. CPU load is not necessarily an issue, unless you make it an
> issue. WeeWX spends most of its time reading and storing loop data and
> doing other bits of housekeeping, all not very CPU intensive. The CPU
> intensive work happens during the report generation, depending on your
> machine the report cycle might take a few seconds, a tens of seconds or
> longer. If you add extra reports to your system and your reports
> (regularly) take longer than your archive period to run then the next
> report cycle kicks off before the last one finishes. Because report
> generation is CPU intensive it slows down the already running reports. So
> as you can imagine things can slowly grind to a halt. Now if your archive
> period is short, and if you have added more reports, you have more chance
> of running into this overload situation than someone who, say, uses a 5
> minute archive period. If you like, you have less 'headroom'. Also coming
> into the equation are any other tasks your macine is doing (web server etc)
> as they will load the system as well.
>
> At the end of the day it really is horses for courses. If your
> reports(including FTP) take a few seconds to run you can probably handle
> 1minute easily. If your reports take say 45+ seconds you are probably
> borderline, anything more and you are asking for trouble. You will find
> lots of folks use a 5 minute archive period with a Vantage. Get your system
> running as you want then monitor your logs for a few cycles to see how long
> the reports take. If you add more reports to your system, monitor your logs
> again.
>
> One final thing, if you start using 1 minute and decide later to move to 5
> minutes (or vice versa), there is no simple method to move between the two.
> It can be done but you will need to manually manipulate your database.
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/vb8Dv3IPZFw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: FTP upload period

2017-02-26 Thread gjr80
No real direct disadvantages, you will fill your database quicker than most, 
but storage is cheap and it's nothing that the dbms used by weeWX can't handle. 
CPU load is not necessarily an issue, unless you make it an issue. WeeWX spends 
most of its time reading and storing loop data and doing other bits of 
housekeeping, all not very CPU intensive. The CPU intensive work happens during 
the report generation, depending on your machine the report cycle might take a 
few seconds, a tens of seconds or longer. If you add extra reports to your 
system and your reports (regularly) take longer than your archive period to run 
then the next report cycle kicks off before the last one finishes. Because 
report generation is CPU intensive it slows down the already running reports. 
So as you can imagine things can slowly grind to a halt. Now if your archive 
period is short, and if you have added more reports, you have more chance of 
running into this overload situation than someone who, say, uses a 5 minute 
archive period. If you like, you have less 'headroom'. Also coming into the 
equation are any other tasks your macine is doing (web server etc) as they will 
load the system as well.

At the end of the day it really is horses for courses. If your 
reports(including FTP) take a few seconds to run you can probably handle 
1minute easily. If your reports take say 45+ seconds you are probably 
borderline, anything more and you are asking for trouble. You will find lots of 
folks use a 5 minute archive period with a Vantage. Get your system running as 
you want then monitor your logs for a few cycles to see how long the reports 
take. If you add more reports to your system, monitor your logs again.

One final thing, if you start using 1 minute and decide later to move to 5 
minutes (or vice versa), there is no simple method to move between the two. It 
can be done but you will need to manually manipulate your database.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: FTP upload period

2017-02-26 Thread Alec Bennett
Thanks for that.

> As far as I knew the Vantage stations only support archive periods of 1,
5, 10, 15, 30, 60 and 120 minutes - 9 minutes sounds odd.

Indeed there's something strange going on, as when I changed the interval
using wee_device it said the interval was set to 30 minutes:

wee_device --set-interval=1

Using configuration file /etc/weewx/weewx.conf
Using Vantage driver version 3.0.9 (weewx.drivers.vantage)
Old archive interval is 30 minutes, new one will be 1 minutes.
Proceeding will change the archive interval as well as erase all old
archive records.
Are you sure you want to proceed (y/n)? y
Archive interval now set to 60 seconds.Archive records cleared.

Anyway, as you say no big deal, but a signal was crossed somewhere. It is
of course definitely possible that it was user error...

Is there a disadvantage to receiving the data (and generating) the reports
every 1 minute instead of 30 minutes? Is the only disadvantage cpu and
bandwidth?








On Sun, Feb 26, 2017 at 1:19 AM, gjr80  wrote:

> Hi,
>
> True, reports are run at the end of each archive period. FTP is really
> just another report so by deduction FTP occurs (at best) every archive
> period.
>
> As far as I knew the Vantage stations only support archive periods of 1,
> 5, 10, 15, 30, 60 and 120 minutes - 9 minutes sounds odd. No matter. You
> need to stop weewx and then use wee_device to set the archive period on the
> Vantage using the --set-interval action. wee_device usage is covered in the
> Utilities Guide http://weewx.com/docs/hardware.htm#vantage_notes
>
> Gary
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/vb8Dv3IPZFw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> weewx-user+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: FTP upload period

2017-01-31 Thread John Bennett
Thanks Andrew (and others..)
Yes, is now working as I wanted using this info - Good stuff!
May now delve a little deeper into other options etc - Gradually 
understanding the process a little better. Hope it doesn't suck me in too 
far! :-)

Thanks, all.

On Sunday, 29 January 2017 21:36:59 UTC+10, Andrew Milner wrote:
>
> It IS based on the archive period.  If you want to update every 10 minutes 
> then you need to:
> a) stop weewx
> b) edit weewx.conf and change archive_interval (in SECONDS) in the 
> stdArchive section
> c) either use wee_device --set_interval to change the archive interval in 
> the wh1080 to match or set record_generation = software
> d) restart weewx - preferably with debug=1 and check the log from startup 
> to make sure the new interval is being used
>
> On Sunday, 29 January 2017 12:49:42 UTC+2, John Bennett wrote:
>
>> Sorry for being rather thick, but have been running weewx for several 
>> months, and after lots of reading/searching/experimenting etc, can't for 
>> the life of me figure out how to change the ftp upload period...
>> Running weewx 3.6.2-1 on a raspberry pi, very basic install, using a 
>> WH1080 weatherstation. Uploading to FTP and Weather Underground.
>> Has been uploading every 30 mins, on the half hour since install. Would 
>> really like to upload every 10/15 mins if possible.
>> Apparently based on the archive period - how do I find out what that is, 
>> and wether it is hardware/software?
>> Feel like the answer is starng me in the face, but can't see it!
>> Thanks.
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: FTP upload period

2017-01-29 Thread Andrew Milner
Being the usual pedantic soul that I am ... so Tom's 'not true' which 
implied my post on archive intervals was not true is also not strictly 
true.  The FTP report timing IS based on the archive timing, but may be 
DEFERRED to run LESS frequently by setting a report_timing option if so 
desired.  To have FTP reports occurring more frequently than the archive 
interval it is necessary to change the archive interval - correct?  I was 
assuming that the original poster currently has the default FineOffset 
interval of 30 minutes rather than the more usual weewx interval of 5 
minutes.



On Sunday, 29 January 2017 15:17:21 UTC+2, gjr80 wrote:

> The report_timing option 
> section 
> of the Customization Guide details the use of the report_timing option. 
> Within this section the paragraph under the heading *'The relationship 
> between report_timing and archive period*' (unlinked) actually attempts 
> to cover the relationship between archive period and the report_timing 
> option. If you read it carefully, and knowing that the report cycle occurs 
> once per archive period, you can deduce that reports cannot be run more 
> frequently than once at the end of each archive period. I will be the first 
> to admit that para is not very clear (I'll admit I wrote it) and the key 
> point that the report_timing cannot cause reports to be run more 
> frequently than once per archive period is not clear at all. I will rewrite 
> the para to make the relationship more clear.
>
> Gary
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: FTP upload period

2017-01-29 Thread gjr80
The report_timing option 
section of 
the Customization Guide details the use of the report_timing option. Within 
this section the paragraph under the heading *'The relationship between 
report_timing and archive period*' (unlinked) actually attempts to cover 
the relationship between archive period and the report_timing option. If 
you read it carefully, and knowing that the report cycle occurs once per 
archive period, you can deduce that reports cannot be run more frequently 
than once at the end of each archive period. I will be the first to admit 
that para is not very clear (I'll admit I wrote it) and the key point that 
the report_timing cannot cause reports to be run more frequently than once 
per archive period is not clear at all. I will rewrite the para to make the 
relationship more clear.

Gary

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: FTP upload period

2017-01-29 Thread Thomas Keffer
On Sun, Jan 29, 2017 at 3:36 AM, Andrew Milner 
wrote:

> It IS based on the archive period.  If you want to update every 10 minutes
> then you need to:
> a) stop weewx
> b) edit weewx.conf and change archive_interval (in SECONDS) in the
> stdArchive section
> c) either use wee_device --set_interval to change the archive interval in
> the wh1080 to match or set record_generation = software
> d) restart weewx - preferably with debug=1 and check the log from startup
> to make sure the new interval is being used
>
>
​Not true. Starting with V3.6, weewx has the ability to run reports with a
cron-like notation. See the section *Customizing the report generation time
* in the
Customization Guide.​

-tk

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: FTP Upload interval

2016-11-08 Thread gjr80
Hi,

To be truthful, the easiest way to do this is to upgrade to v3.6.2 and then 
you can make use of the report_timing option 
. FTP is 
just another skin whose reports can be controlled by the report_timing 
option just as any other skin/reports can. Something like

[[FTP]]
report_timing = */10 * * * *
(rest of FTP settings)

should do the trick.

Gary



On Wednesday, 9 November 2016 16:39:12 UTC+10, Flemming Andersen wrote:
>
> Hi.
>
> I seek help, to change the FTP Upload, so there only uploades files every 
> 10 minutes. to the Internet, and still reports, every 5 min. to the local 
> intranet.
>
> Weewx version 3.5, running on Raspberry PI.
>
> Thanks for the great weewx software.
>
> Regards Flemming
>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.