Software > WeeWX

Problema con FTP y weewx

<< < (6/10) > >>

Wlarues:
Me respondo yo mismo, creo que lo he solucionado  :D :D
Me he puesto a juguetear con las subidas manuales y he visto que en "modo pasivo" no subía los archivos pero en "modo activo", sí.
Adjunto las operaciones que he hecho para demostrarlo:

--- Código: ---pi@pi1 /var/www/weewx $ ftp climaynievepirineos.com
Connected to climaynievepirineos.com.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 2 of 50 allowed.
220-Local time is now 09:14. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (climaynievepirineos.com:pi): [email protected]
331 User [email protected] OK. Password required
Password:
230-OK. Current restricted directory is /
230 5222 Kbytes used (0%) - authorized: 2048000 Kb
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
229 Extended Passive mode OK (|||65221|)
150 Accepted data connection
drwxr-xr-x    9 s01d4859   s01d4859         4096 Jan 31 16:19 .
drwxr-xr-x    9 s01d4859   s01d4859         4096 Jan 31 16:19 ..
-rw-r--r--    1 s01d4859   s01d4859           12 Feb 12 09:11 .ftpquota
-rw-r--r--    1 s01d4859   s01d4859        73463 Jan 31 16:15 Funciona_con.png
drwxr-xr-x    2 s01d4859   s01d4859         4096 Feb  1 01:05 NOAA
drwxr-xr-x    2 s01d4859   s01d4859         4096 Mar 15  2016 RSS
drwxr-xr-x    2 s01d4859   s01d4859         4096 Mar 15  2016 backgrounds
-rw-r--r--    1 s01d4859   s01d4859          229 Mar 15  2016 crossdomain.xml
drwxr-xr-x    2 s01d4859   s01d4859         4096 Sep 24 18:16 css
-rw-r--r--    1 s01d4859   s01d4859        31387 Feb  9 01:30 datos.html
-rw-r--r--    1 s01d4859   s01d4859            0 Feb 10 14:00 daybarometer.png
-rw-r--r--    1 s01d4859   s01d4859        10114 Feb 10 10:10 dayhumidity.png
-rw-r--r--    1 s01d4859   s01d4859         4133 Sep 24 18:26 dayinouthum.png
-rw-r--r--    1 s01d4859   s01d4859         4889 Sep 24 18:20 dayinouttemp.png
-rw-r--r--    1 s01d4859   s01d4859         5377 Sep 24 18:19 dayinside.png
-rw-r--r--    1 s01d4859   s01d4859         5524 Sep 24 18:25 dayouttemphum.png
-rw-r--r--    1 s01d4859   s01d4859         4315 Sep 24 18:23 daypond.png
-rw-r--r--    1 s01d4859   s01d4859         2507 Sep 24 18:19 dayradiation.png
-rw-r--r--    1 s01d4859   s01d4859        10185 Feb  9 01:30 dayrain.png
-rw-r--r--    1 s01d4859   s01d4859         2384 Sep 24 18:23 dayrainrate.png
-rw-r--r--    1 s01d4859   s01d4859        12299 Feb  9 01:30 dayrx.png
-rw-r--r--    1 s01d4859   s01d4859        15127 Feb  9 01:30 daytempchill.png
-rw-r--r--    1 s01d4859   s01d4859        14934 Feb  9 01:30 daytempdew.png
-rw-r--r--    1 s01d4859   s01d4859         2317 Sep 24 18:23 dayuv.png
-rw-r--r--    1 s01d4859   s01d4859            0 Feb 10 19:25 daywind.png
-rw-r--r--    1 s01d4859   s01d4859        10192 Feb  9 01:30 daywinddir.png
-rw-r--r--    1 s01d4859   s01d4859         7942 Sep 24 18:27 daywindvec.png
-rw-r--r--    1 s01d4859   s01d4859          318 Feb 10 20:15 favicon.ico
-rw-r--r--    1 s01d4859   s01d4859      1598184 Feb 10  2016 foto1.jpg
-rw-r--r--    1 s01d4859   s01d4859      1745034 Feb 10  2016 foto2.jpg
-rw-r--r--    1 s01d4859   s01d4859         2698 Sep 24 18:22 gauge-data.txt
-rw-r--r--    1 s01d4859   s01d4859        90523 Jan  6 16:40 imagen-ene-06-15-36-03-2017.jpg
-rw-r--r--    1 s01d4859   s01d4859        90579 Jan  6 16:40 imagen-ene-06-15-37-02-2017.jpg
-rw-r--r--    1 s01d4859   s01d4859        92100 Jan  6 16:40 imagen-ene-06-15-38-03-2017.jpg
-rw-r--r--    1 s01d4859   s01d4859            0 Feb 12 09:11 index.html
-rw-r--r--    1 s01d4859   s01d4859          503 Feb 10 10:10 meteoclimatic.html
-rw-r--r--    1 s01d4859   s01d4859          564 Feb  6 21:20 mobile.css
-rw-r--r--    1 s01d4859   s01d4859         2284 Feb  9 01:30 mobile.html
-rw-r--r--    1 s01d4859   s01d4859         5417 Feb  9 01:30 month.html
-rw-r--r--    1 s01d4859   s01d4859        12773 Feb  9 01:02 monthbarometer.png
-rw-r--r--    1 s01d4859   s01d4859            0 Feb 10 10:10 monthhumidity.png
-rw-r--r--    1 s01d4859   s01d4859         6105 Sep 24 18:22 monthinside.png
-rw-r--r--    1 s01d4859   s01d4859         4588 Sep 24 18:20 monthpond.png
-rw-r--r--    1 s01d4859   s01d4859         4339 Sep 24 18:19 monthradiation.png
-rw-r--r--    1 s01d4859   s01d4859         9139 Feb 10 19:25 monthrain.png
-rw-r--r--    1 s01d4859   s01d4859            0 Feb 10 20:20 monthrx.png
-rw-r--r--    1 s01d4859   s01d4859        15666 Feb 10 10:10 monthtempchill.png
-rw-r--r--    1 s01d4859   s01d4859        14897 Sep 24 18:20 monthtempdew.png
-rw-r--r--    1 s01d4859   s01d4859        15540 Feb  9 01:02 monthtemperaturedew.png
-rw-r--r--    1 s01d4859   s01d4859         3983 Sep 24 18:20 monthuv.png
-rw-r--r--    1 s01d4859   s01d4859        16568 Feb  9 01:01 monthwind.png
-rw-r--r--    1 s01d4859   s01d4859        12610 Feb  9 01:02 monthwinddir.png
-rw-r--r--    1 s01d4859   s01d4859         7190 Sep 24 18:20 monthwindvec.png
drwxr-xr-x    2 s01d4859   s01d4859         4096 Sep 24 18:16 pirineos
drwxr-xr-x    2 s01d4859   s01d4859         4096 Sep 24 18:13 scripts
-rw-r--r--    1 s01d4859   s01d4859          134 Feb 10 10:10 seguimeteo.htm
drwxr-xr-x    3 s01d4859   s01d4859         4096 Mar 15  2016 smartphone
-rw-r--r--    1 s01d4859   s01d4859        78791 Feb  9 09:38 webcam.jpg
-rw-r--r--    1 s01d4859   s01d4859        81832 Feb 10 20:34 webcam2.jpg
-rw-r--r--    1 s01d4859   s01d4859         5519 Feb  9 01:30 week.html
-rw-r--r--    1 s01d4859   s01d4859        12985 Feb  9 01:01 weekbarometer.png
-rw-r--r--    1 s01d4859   s01d4859        11588 Feb  9 01:01 weekhumidity.png
-rw-r--r--    1 s01d4859   s01d4859         5998 Sep 24 18:19 weekinside.png
-rw-r--r--    1 s01d4859   s01d4859         4248 Sep 24 18:20 weekpond.png
-rw-r--r--    1 s01d4859   s01d4859         4003 Sep 24 18:17 weekradiation.png
-rw-r--r--    1 s01d4859   s01d4859         8289 Feb  9 01:01 weekrain.png
-rw-r--r--    1 s01d4859   s01d4859        13884 Feb  9 01:01 weekrx.png
-rw-r--r--    1 s01d4859   s01d4859        15766 Feb  9 01:01 weektempchill.png
-rw-r--r--    1 s01d4859   s01d4859        15568 Feb  9 01:02 weektempdew.png
-rw-r--r--    1 s01d4859   s01d4859         3651 Sep 24 18:21 weekuv.png
-rw-r--r--    1 s01d4859   s01d4859        18047 Feb 10 10:10 weekwind.png
-rw-r--r--    1 s01d4859   s01d4859        12727 Feb  9 01:02 weekwinddir.png
-rw-r--r--    1 s01d4859   s01d4859         6711 Sep 24 18:20 weekwindvec.png
-rw-r--r--    1 s01d4859   s01d4859         3373 Feb 10 10:10 weewx.css
-rw-r--r--    1 s01d4859   s01d4859            0 Feb 10 19:55 year.html
-rw-r--r--    1 s01d4859   s01d4859        12885 Feb  9 01:02 yearbarometer.png
-rw-r--r--    1 s01d4859   s01d4859        15219 Feb 10 10:10 yearhilow.png
-rw-r--r--    1 s01d4859   s01d4859        10888 Feb  9 01:01 yearhumidity.png
-rw-r--r--    1 s01d4859   s01d4859         5627 Sep 24 18:26 yearinside.png
-rw-r--r--    1 s01d4859   s01d4859         4313 Sep 24 18:22 yearpond.png
-rw-r--r--    1 s01d4859   s01d4859         4064 Sep 24 18:16 yearradiation.png
-rw-r--r--    1 s01d4859   s01d4859         9984 Feb  9 01:01 yearrain.png
-rw-r--r--    1 s01d4859   s01d4859        10504 Feb  9 01:02 yearrx.png
-rw-r--r--    1 s01d4859   s01d4859        13589 Feb  9 01:01 yeartempchill.png
-rw-r--r--    1 s01d4859   s01d4859        14514 Feb  9 01:01 yeartempdew.png
-rw-r--r--    1 s01d4859   s01d4859         3707 Sep 24 18:24 yearuv.png
-rw-r--r--    1 s01d4859   s01d4859        14530 Feb  9 01:02 yearwind.png
-rw-r--r--    1 s01d4859   s01d4859        13721 Feb  9 01:02 yearwinddir.png
-rw-r--r--    1 s01d4859   s01d4859         7080 Sep 24 18:24 yearwindvec.png
-rw-r--r--    1 s01d4859   s01d4859         1031 Feb  9 01:30 yo_cumulus.xml
-rw-r--r--    1 s01d4859   s01d4859         1111 Sep 24 18:26 yo_cumuluss
226-Options: -a -l
226 91 matches total
ftp> delete yearrx.png
250-5212 Kbytes used (0%) - authorized: 2048000 Kb
250 Deleted yearrx.png
ftp> send yearrx.png yearrx.png
local: yearrx.png remote: yearrx.png
229 Extended Passive mode OK (|||60719|)
150 Accepted data connection
100% |***********************************| 10406        5.49 MiB/s    00:00 ETA

421 Service not available, user interrupt. Connection closed.
10406 bytes sent in 00:36 (0.28 KiB/s)
ftp> send -A yearrx.png yearrx.png
Not connected.
ftp>
ftp>
[2]+  Detenido                ftp climaynievepirineos.com
pi@pi1 /var/www/weewx $ ftp -A climaynievepirineos.com
Connected to climaynievepirineos.com.
220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
220-You are user number 3 of 50 allowed.
220-Local time is now 09:16. Server port: 21.
220-This is a private system - No anonymous login
220-IPv6 connections are also welcome on this server.
220 You will be disconnected after 15 minutes of inactivity.
Name (climaynievepirineos.com:pi): [email protected]
331 User [email protected] OK. Password required
Password:
230-OK. Current restricted directory is /
230 5212 Kbytes used (0%) - authorized: 2048000 Kb
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> send index.html index.html
local: index.html remote: index.html
200 PORT command successful
150 Connecting to port 60647
100% |***********************************| 15747        6.75 MiB/s    00:00 ETA
226-5228 Kbytes used (0%) - authorized: 2048000 Kb
226-File successfully transferred
226 0.171 seconds (measured here), 89.80 Kbytes per second
15747 bytes sent in 00:00 (72.27 KiB/s)
ftp>

--- Fin del código ---

Como se ve, cuando me he conectado añadiendo el "-A" al comando ftp, me ha dejado subir el archivo index.html
Ahora he configurado el modo activo en Weewx.conf y estoy a la espera de que se suba todo, espero que funcione.
Es un poco extraño porque hasta ahora había estado funcionando perfectamente en el modo pasivo, pero bueno.

Un saludo y gracias por todo,
Miguel.

Wlarues:
Vale pues al final no... pero ahora salen errores nuevos:

--- Código: ---Feb 12 08:26:04 pi1 weewx[2326]: reportengine: Running report FTP
Feb 12 08:26:04 pi1 weewx[2326]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP
Feb 12 08:26:04 pi1 weewx[2326]: ftpupload: Attempting secure connection to climaynievepirineos.com
Feb 12 08:26:04 pi1 weewx[2326]: ftpupload: Secure connection to climaynievepirineos.com
Feb 12 08:26:05 pi1 weewx[2326]: ftpupload: Attempt #1. Failed uploading /monthrx.png to climaynievepirineos.com. Reason: 500 I won't open a connection to 192.168.1.110 (only to 94.228.2.164)
Feb 12 08:26:05 pi1 weewx[2326]: ftpupload: Attempt #2. Failed uploading /monthrx.png to climaynievepirineos.com. Reason: 500 I won't open a connection to 192.168.1.110 (only to 94.228.2.164)
Feb 12 08:26:05 pi1 weewx[2326]: ftpupload: Attempt #3. Failed uploading /monthrx.png to climaynievepirineos.com. Reason: 500 I won't open a connection to 192.168.1.110 (only to 94.228.2.164)
Feb 12 08:26:05 pi1 weewx[2326]: ftpupload: Failed to upload file /monthrx.png
--- Fin del código ---

jmviper:
Hola Wlaures

Tienes activo el envío pasivo al FTP ?

Wlarues:
Hola jmviper, estoy haciendo pruebas con las distintas combinaciones entre modo activo/pasivo y secure_FTP=true/false.

Hasta ahora, tenía el modo pasivo con secure_FTP=false

Saludos

Wlarues:
Amplío la información con la respuesta para cada una de las combinaciones:

-Modo pasivo y secure=false:

--- Código: ---Feb 12 09:20:59 pi1 weewx[3731]: reportengine: Running report FTP
Feb 12 09:20:59 pi1 weewx[3731]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP
Feb 12 09:20:59 pi1 weewx[3731]: ftpupload: Attempting connection to climaynievepirineos.com
Feb 12 09:20:59 pi1 weewx[3731]: ftpupload: Connected to climaynievepirineos.com
Feb 12 09:21:00 pi1 weewx[3731]: ftpupload: Uploaded file /monthrx.png
Feb 12 09:21:00 pi1 weewx[3731]: ftpupload: Uploaded file /favicon.ico
Feb 12 09:21:00 pi1 weewx[3731]: ftpupload: Uploaded file /year.html
Feb 12 09:21:01 pi1 weewx[3731]: ftpupload: Uploaded file /webcam2.jpg
Feb 12 09:21:02 pi1 weewx[3731]: ftpupload: Uploaded file /monthrain.png
Feb 12 09:21:42 pi1 weewx[3731]: ftpupload: Attempt #1. Failed uploading /daywind.png to climaynievepirineos.com. Reason: timed out
Feb 12 09:21:42 pi1 weewx[3731]: ftpupload: Attempt #2. Failed uploading /daywind.png to climaynievepirineos.com. Reason: 500 Unknown command
Feb 12 09:21:42 pi1 weewx[3731]: ftpupload: Attempt #3. Failed uploading /daywind.png to climaynievepirineos.com. Reason: 500 Unknown command
(...)

--- Fin del código ---

-Modo pasivo y secure=true:

--- Código: ---Feb 12 09:26:02 pi1 weewx[2327]: reportengine: Running report FTP
Feb 12 09:26:02 pi1 weewx[2327]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP
Feb 12 09:26:02 pi1 weewx[2327]: ftpupload: Attempting secure connection to climaynievepirineos.com
Feb 12 09:26:02 pi1 weewx[2327]: ftpupload: Secure connection to climaynievepirineos.com
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /monthrx.png to climaynievepirineos.com. Reason: [Errno 0] Error
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /monthrx.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /monthrx.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /monthrx.png
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /favicon.ico to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /favicon.ico to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /favicon.ico to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /favicon.ico
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /year.html to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /year.html to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /year.html to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /year.html
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /webcam2.jpg to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /webcam2.jpg to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /webcam2.jpg to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /webcam2.jpg
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /monthrain.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /monthrain.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /monthrain.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /monthrain.png
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /daywind.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /daywind.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /daywind.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /daywind.png
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /daybarometer.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /daybarometer.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /daybarometer.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /daybarometer.png
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /dayhumidity.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /dayhumidity.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /dayhumidity.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /dayhumidity.png
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /seguimeteo.htm to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /seguimeteo.htm to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /seguimeteo.htm to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /seguimeteo.htm
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /monthtempchill.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /monthtempchill.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /monthtempchill.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /monthtempchill.png
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /weekwind.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /weekwind.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /weekwind.png to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /weekwind.png
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /weewx.css to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /weewx.css to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /weewx.css to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /weewx.css
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /index.html to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /index.html to climaynievepirineos.com. Reason:
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /index.html to climaynievepirineos.com. Reason: [Errno 32] Tubería rota
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Failed to upload file /index.html
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #1. Failed uploading /meteoclimatic.html to climaynievepirineos.com. Reason: [Errno 1] _ssl.c:1298: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #2. Failed uploading /meteoclimatic.html to climaynievepirineos.com. Reason: [Errno 32] Tubería rota
Feb 12 09:26:03 pi1 weewx[2327]: ftpupload: Attempt #3. Failed uploading /meteoclimatic.html to climaynievepirineos.com. Reason: [Errno 1] _ssl.c:1298: error:1409F07F:SSL routines:SSL3_WRITE_PENDING:bad write retry

--- Fin del código ---

-Modo activo y secure=false:

--- Código: ---Feb 12 09:31:05 pi1 weewx[3027]: reportengine: Running report FTP
Feb 12 09:31:05 pi1 weewx[3027]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP
Feb 12 09:31:05 pi1 weewx[3027]: ftpupload: Attempting connection to climaynievepirineos.com
Feb 12 09:31:05 pi1 weewx[3027]: ftpupload: Connected to climaynievepirineos.com
Feb 12 09:31:06 pi1 weewx[3027]: ftpupload: Uploaded file /monthrx.png
Feb 12 09:31:06 pi1 weewx[3027]: ftpupload: Uploaded file /favicon.ico
Feb 12 09:31:46 pi1 weewx[3027]: ftpupload: Attempt #1. Failed uploading /year.html to climaynievepirineos.com. Reason: timed out
Feb 12 09:31:46 pi1 weewx[3027]: ftpupload: Attempt #2. Failed uploading /year.html to climaynievepirineos.com. Reason: 500 Unknown command
Feb 12 09:31:46 pi1 weewx[3027]: ftpupload: Attempt #3. Failed uploading /year.html to climaynievepirineos.com. Reason: 500 Unknown command
Feb 12 09:31:46 pi1 weewx[3027]: ftpupload: Failed to upload file /year.html
Feb 12 09:31:46 pi1 weewx[3027]: ftpupload: Attempt #1. Failed uploading /webcam2.jpg to climaynievepirineos.com. Reason: 500 Unknown command
Feb 12 09:31:47 pi1 weewx[3027]: ftpupload: Attempt #2. Failed uploading /webcam2.jpg to climaynievepirineos.com. Reason: 500 Unknown command
Feb 12 09:31:47 pi1 weewx[3027]: ftpupload: Attempt #3. Failed uploading /webcam2.jpg to climaynievepirineos.com. Reason: 500 Unknown command

--- Fin del código ---

-Modo activo y secure=true:

--- Código: ---Feb 12 09:41:03 pi1 weewx[2358]: reportengine: Running report FTP
Feb 12 09:41:03 pi1 weewx[2358]: reportengine: Found configuration file /etc/weewx/skins/Ftp/skin.conf for report FTP
Feb 12 09:41:03 pi1 weewx[2358]: ftpupload: Attempting secure connection to climaynievepirineos.com
Feb 12 09:41:04 pi1 weewx[2358]: ftpupload: Secure connection to climaynievepirineos.com
Feb 12 09:41:04 pi1 weewx[2358]: ftpupload: Attempt #1. Failed uploading /monthrx.png to climaynievepirineos.com. Reason: 500 I won't open a connection to 192.168.1.110 (only to 94.228.2.164)
Feb 12 09:41:04 pi1 weewx[2358]: ftpupload: Attempt #2. Failed uploading /monthrx.png to climaynievepirineos.com. Reason: 500 I won't open a connection to 192.168.1.110 (only to 94.228.2.164)
Feb 12 09:41:04 pi1 weewx[2358]: ftpupload: Attempt #3. Failed uploading /monthrx.png to climaynievepirineos.com. Reason: 500 I won't open a connection to 192.168.1.110 (only to 94.228.2.164)

--- Fin del código ---

Se ve que con el primero de ellos (pasivo y secure=false) se suben unos pocos archivos, pero luego entra en un bucle de errores.
Además, he descubierto que la subida manual en este modo, a veces también funciona.

Quizás debería considerar copiar todos los archivos de importancia y realizar una instalación limpia...

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa