Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- **still** not working with several methods

2022-02-20 Thread Rob Cranfill
Funny you should bring this up now. I recently upgraded to WeeWX 2.6, and my modified code no longer works. I was always able to adapt to each new version, but the new codebase is quite different than the previous ones. I have kind of given up on trying to adapt it to 2.6. Sorry. Instead, I use a

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- **still** not working with several methods

2022-02-19 Thread Messy Potamia
Please be advised I have been using scp in conjunction with ssh in my scripts to move things around every five minutes (weather station stuff & wx photos). On Sat, Feb 19, 2022 at 8:03 AM 'Dr. Thomas Tuch' via weewx-user wrote: > > Dear Rob > After moving to a different server i have been trying

[weewx-user] Re: sftp on 3.9.2, RPI3B -- **still** not working with several methods

2022-02-18 Thread 'Dr. Thomas Tuch' via weewx-user
Dear Rob After moving to a different server i have been trying to get sftp to work with weewx and never managed to get pysftp compiled, probably because my pi is running Ubuntu 16. This I cannot change because my home automation is running on the same pi3b - I would not like to mess with heating

Re: [weewx-user] Re: SFTP problem

2021-01-30 Thread bgra...@umw.edu
Thanks, Gary and Tom. He seems to have found the problem although I’m not sure what it was. bgrat...@umw.edu On Friday, January 29, 2021 at 7:43:34 PM UTC-5 gjr80 wrote: > Not a sftp user but the typical approach to fault finding ftp/sftp/rsync > generator issues is to see if you can connect t

Re: [weewx-user] Re: SFTP problem

2021-01-29 Thread gjr80
Not a sftp user but the typical approach to fault finding ftp/sftp/rsync generator issues is to see if you can connect to the remote server from the command line, ie take WeeWX out of the equation. What happens if you do the following from the command line: $ sftp username@remote_host Also, ju

Re: [weewx-user] Re: SFTP problem

2021-01-29 Thread Tom Keffer
I don't know anything about the sftp extension (it's not part of WeeWX), but I would imagine you want to use either the extension, or the ftp that comes with WeeWX, but not both. -tk On Fri, Jan 29, 2021 at 1:29 PM bgra...@umw.edu wrote: > Something to add to the above. The weewx-sftp extensio

[weewx-user] Re: SFTP problem

2021-01-29 Thread bgra...@umw.edu
Something to add to the above. The weewx-sftp extension is installed and the weewx.conf looks like below. Is there some conflict here between sftp and ftp or are they configured correctly? Thanks. BG /etc/weewx/weewx.conf [[sftp]] skin = sftp user = password = pas

[weewx-user] Re: sftp upload not working

2020-09-24 Thread Duane Kerzic
Thank you Fam De Munck. Sent me exactly where I needed to go. On Wednesday, July 1, 2020 at 2:53:41 AM UTC-4 Fam de Munck wrote: > It seems you are confusing sftp and ftps. > > Please have a look at: > https://github.com/weewx/weewx/wiki > http://www.weewx.com/docs/usersguide.htm#config_FTP > > >

[weewx-user] Re: sftp upload not working

2020-06-30 Thread Fam de Munck
It seems you are confusing sftp and ftps. Please have a look at: https://github.com/weewx/weewx/wiki http://www.weewx.com/docs/usersguide.htm#config_FTP Op dinsdag 30 juni 2020 17:21:05 UTC+2 schreef Andre: > > I have problems to upload with sftp from my RPi to my new vServer. > > Jun 30 16:56:2

[weewx-user] Re: sftp on 3.9.2, RPI3B -- **still** not working with several methods

2020-05-27 Thread Rob Cranfill
Dear Mr or Ms Potamia, ;-) I have code that I hacked into the standard Weewx base that implements proper sftp. If you would like a copy I can send it to you. (And anyone else who’d like a copy.) Just one modified file. /rob -- You received this message because you are subscribed to the Goog

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- **still** not working with several methods

2020-05-26 Thread Tom Keffer
One pip quirk that consistently bites me over and over again, is trying to use pip from the WeeWX home directory, /home/weewx. It appears that is what you're trying to do. The problem is the presence of the file setup.cfg. Pip sees it, and tries to install in the directories it specifies, in this

[weewx-user] Re: sftp on 3.9.2, RPI3B -- **still** not working with several methods

2020-05-26 Thread mwall
On Tuesday, May 26, 2020 at 4:35:50 AM UTC-4, Messy Potamia wrote: > > Well I knew that was too good to be true. > the first error you posted, regarding 'platform_system' NameError, is probably due to an old version of setuptools. to fix that, update the setuptools for the python installation

[weewx-user] Re: sftp on 3.9.2, RPI3B -- **still** not working with several methods

2020-05-26 Thread Messy Potamia
Well I knew that was too good to be true. May 26 10:30:21 RPI3 weewx[21915]: sftpgenerator: upload not possible: No module named pysftp although the problematic pip install of pysftp "suggested" that module was installed, to wit: > Successfully built pysftp pynacl bcrypt > Failed to build cryp

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B --//pysftp module won't load//

2020-05-26 Thread Messy Potamia
Messy Potamia 9:53 AM (2 minutes ago) to weewx-user And let me tell you there are still problems regarding python version, setuptools version,; this is turning into a dog's breakfast. My pip isthe latest version I have ascertained. But cryptography won't install. sudo pip -V pip 20.

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B --//pysftp module won't load//

2020-05-26 Thread Messy Potamia
And let me tell you there are still problems regarding python version, setuptools version,; this is turning into a dog's breakfast. My pip is the latest version I have ascertained. But cryptography won't install. sudo pip -V pip 20.1.1 from /usr/local/lib/python2.7/dist-packages/pip (python

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B --//pysftp module won't load//

2020-05-26 Thread Messy Potamia
Here's what I did to allow pysftp module to install via pip. I found this on a RaspberryPi forum. You search on this problem and hits come from all over the place with no solutions, until I found this: sudo apt-get install python-pip pip install --user -U setuptools sudo pip install --upgrade pi

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B --//pysftp module won't load//

2020-05-25 Thread Messy Potamia
Matt, I get the same result whether I invoke pip, pip2, pip3: pi@RPI3:~ $ sudo pip2 install pysftp Downloading/unpacking pysftp Downloading pysftp-0.2.9.tar.gz Running setup.py (path:/tmp/pip-build-QfuB69/pysftp/setup.py) egg_info for package pysftp no previously-included directories foun

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Messy Potamia
Gary, yes, I did try to install pysftp via pip, it failed, and I went onto other things. Will read more about this (including Matt's *readme*) and try this tomorrow. Meanwhile I'm having problems related to plain ftp that defy logical consistency but that's for another subject. On Monday, May 2

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread gjr80
I think the weewx-sftp issue was the inability to install pysftp via pip. It installed fine for me on raspbian Stretch last night though I needed to use pip2 not pip. A bit of googling the OPs pip error message suggested pip may need to be upgraded, wouldn’t be the first time that has come up.

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Messy Potamia
Aha. "ReadMe". So that's what that's for. 😂 jk I probably missed it. Thanks. On Mon, May 25, 2020 at 10:49 PM mwall wrote: > > > On Monday, May 25, 2020 at 3:56:16 PM UTC-4, Messy Potamia wrote: >> >> one.com's robotic tech support said they only do ftp, sftp, and ssh, and >> don't suppo

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread mwall
On Monday, May 25, 2020 at 3:56:16 PM UTC-4, Messy Potamia wrote: > > one.com's robotic tech support said they only do ftp, sftp, and ssh, and > don't support ftps. I don't think that offshore robot even knew what ftps > was. > So can somebody tell me about the thing that MWALL has on github? >

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Messy Potamia
one.com's robotic tech support said they only do ftp, sftp, and ssh, and don't support ftps. I don't think that offshore robot even knew what ftps was. So can somebody tell me about the thing that MWALL has on github? My pi's all have ssh enabled and can ssh & scp amongst each other. Not sure t

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Tom Keffer
> > (Aren't we already in weewx-user?) > So, we are! For some reason, gmail didn't tag it 'weewx' like it usually does. >From your response, I take it you are using SFTP? If so, weewx does not support that. Only FTPS. -tk -- You received this message because you are subscribed to the Google Gr

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Messy Potamia
Here's what I get when I connect via cmd line from my pi: Password: 230 OK. Current restricted directory is / Remote system type is UNIX. Using binary mode to transfer files. ftp> Remote system type is UNIX. Duh. (Aren't we already in weewx-user?) On Monday, May 25, 2020 at 9:19:12 PM UTC+2

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Tom Keffer
If you connect via the command line command "ftp", it will usually tell you the server make. BTW, let's switch to weewx-user for these questions. That way, others can contribute and learn. -tk On Mon, May 25, 2020 at 12:09 PM Messy Potamia wrote: > They haven't replied what kind of server they

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Messy Potamia
They haven't replied what kind of server they use. They're a pretty big hosting entity (one.com). I've been using their service for about 7 years, it includes my host name and about 20Gig of server space (I only host two weewx wx systems on it, so use less than 2%) and a bunch of other services whi

Re: [weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Tom Keffer
WeeWX supports FTPS, not SFTP. Two questions: Which one does your server support? If it supports FTPS, do you know what kind of FTP server it is? The PureFTP server tickles a bug in the Python FTP library, but we have a work around. -tk On Mon, May 25, 2020 at 3:12 AM Messy Potamia wrote: > N

[weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Messy Potamia
Note, per another post the relevance of which I'm not certain, i added the following to the [[FTP]] section secure_ftp = True secure_data = False Makes no difference, still won't connect. Filezilla using sftp connects fine, and the native weewx ftp connects fine. I'm trying to use secure f

[weewx-user] Re: sftp on 3.9.2, RPI3B -- not working with several methods

2020-05-25 Thread Messy Potamia
I should amend the subj line from "sftp" to "secure_ftp" because I understand that sftp doesn't work, and I was intending to use the native secure_ftp feature. On Monday, May 25, 2020 at 11:33:06 AM UTC+2, Messy Potamia wrote: > > -- > > In summary, the Secure FTP capability is indicated in wee

[weewx-user] Re: sftp extension and ED25519 encryption

2020-04-27 Thread WindnFog
OK, I fixed it. It was the version of paramiko that was messing things up. If you are using a Pi with Raspbian 10 (Buster), you can't use the default paramiko you get by default. You have to upgrade: pip install --user --upgrade paramiko The default is 2.6.0 and the above command ups it to 2

[weewx-user] Re: sftp extension and ED25519 encryption

2020-04-27 Thread WindnFog
Quick follow-up. I switched to RSA keys and got the same error so I don't think it's the type of encryption. Probably I have something amiss in the config file . . . On Monday, April 27, 2020 at 1:56:46 PM UTC-3, WindnFog wrote: > > I'm trying to get Matthew Wall's sftp extension working with

[weewx-user] Re: SFTP on WeeWX

2019-07-20 Thread Chema S.
Hi thanks for your help.I was finally able to communicate two nodes with SFTP. I was trying many solutions, but finally I found what suit my needs. I decided to start from scratch. After a trial and error process I found the solution that really suit my needs: sudo apt-get install python-pip

[weewx-user] Re: SFTP on WeeWX

2019-07-19 Thread Chema S.
this is how SFTP looks like under stdreport at first installation. The password is written in quotes, do I have to delete these quotes and let password = replace_me or password = 'replace_me' or password =' "replace_me" ' ? [[sftp]] server = replace with the sftp server name u

[weewx-user] Re: SFTP on WeeWX

2019-07-19 Thread Chema S.
after debug = 1 this is the log (attached) El viernes, 19 de julio de 2019, 11:00:22 (UTC+2), gjr80 escribió: > > Hi, > > Looks like an invalid path may have been specified. A bit more log will > help. Can you edit weewx.conf, set debug = 1, save weewx.conf and then > restart WeeWX. Let WeeWX r

[weewx-user] Re: SFTP on WeeWX

2019-07-19 Thread gjr80
Hi, Looks like an invalid path may have been specified. A bit more log will help. Can you edit weewx.conf, set debug = 1, save weewx.conf and then restart WeeWX. Let WeeWX run for at least 10 minutes and then post the log from when you restarted WeeWX covering the full 10 minutes; don’t truncat

[weewx-user] Re: SFTP on WeeWX

2019-07-19 Thread Chema S.
Jul 19 10:35:32 raspberrypi weewx[19541]: reportengine: Caught unrecoverable exception in generator 'user.sftp.SFTPGenerator' Jul 19 10:35:32 raspberrypi weewx[19541]: [Errno 2] No such file Jul 19 10:35:32 raspberrypi weewx[19541]: Traceback (most recent call last):

[weewx-user] Re: SFTP on WeeWX

2019-07-18 Thread Greg from Oz
Did you put your password in quotes eg "qyeu$#, > Hi > > I have tried to configure https://github.com/matthewwall/weewx-sftp on > WeeWX 3.9.1 but I am not able to make it work as it is supposed to. Nothing > happens. Does anyone with similar problem? > > If someone have had success with this co

[weewx-user] Re: SFTP on WeeWX

2019-07-18 Thread Pat
Anything in the logs? On Thursday, July 18, 2019 at 7:21:54 PM UTC-4, Chema S. wrote: > > Hi > > I have tried to configure https://github.com/matthewwall/weewx-sftp on > WeeWX 3.9.1 but I am not able to make it work as it is supposed to. Nothing > happens. Does anyone with similar problem? > >

[weewx-user] Re: sftp

2019-03-28 Thread WindnFog
UPDATE: I had to modify the weewx-sftp extension a bit to use a keyed login instead of a password. It meant, in sftp.py, changing all references of passwordto private_key, changing the hard-wired port number from to (my new provider uses ), and changing the entry 'password' in th

[weewx-user] Re: sftp

2019-03-26 Thread WindnFog
Thanks! That''ll do the trick. :-) On Tuesday, March 26, 2019 at 5:17:58 PM UTC-3, WindnFog wrote: > > Hi guys, > > I am pondering switiching providers and hosting my web page on another > server that doesn't support SSH, just sftp. I am currently transferring > the contents of /home/weewx/pub

[weewx-user] Re: sftp

2019-03-26 Thread mwall
On Tuesday, March 26, 2019 at 4:17:58 PM UTC-4, WindnFog wrote: > > Does weewx support sftp, and if not, are there any plans to implement it? > yes, but you must install the weewx-sftp extension: https://github.com/matthewwall/weewx-sftp -- You received this message because you are subscribe

[weewx-user] Re: SFTP not working

2017-02-26 Thread Alec Bennett
Rob- thanks for the awesome work on your SFTP mod. One issue the mod has is that it doesn't create directories on the remote server if they don't exist. Easily fixed though. I'll upload my fix to github, or email me off-list if you need it in the meantime. The gist is: Search for this section