Software > WeeWX

Instalar Sftp Raspberry

<< < (2/10) > >>

pachu:
Tengo puesto el Neowx hace años y no he cambiado nada...igual pruebo activar el Seasons o Standard para ver que pasa


--- Código: ---[[SeasonsReport]]
        # The SeasonsReport uses the 'Seasons' skin, which contains the
        # images, templates and plots for the report.
        skin = neowx
        enable = true
   
    [[SmartphoneReport]]
        # The SmartphoneReport uses the 'Smartphone' skin, and the images and
        # files are placed in a dedicated subdirectory.
        skin = Smartphone
        enable = false
        HTML_ROOT = /var/www/html/weewx/smartphone
   
    [[MobileReport]]
        # The MobileReport uses the 'Mobile' skin, and the images and files
        # are placed in a dedicated subdirectory.
        skin = Mobile
        enable = false
        HTML_ROOT = /var/www/html/weewx/mobile
   
    [[StandardReport]]
        # This is the old "Standard" skin. By default, it is not enabled.
        skin = Standard
        enable = false
   
    [[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 = xxxxxxx
        password = xxxxxxx
        server = home557xxxxxx.1and1-data.host # The ftp server name, e.g, www.myserver.org
        path = /eltiempo    # 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

--- Fin del código ---

jantoni:
Te he modificado el mensaje para que no se vea el host de ftp.....parte de él te identifica.

jantoni:
Pues te digo lo mismo que he dicho hoy a un usuario de Weatherlin.....abrir una sesión FTP de forma manual y usar las credenciales que tenéis en weewx.conf

Al menos descartáis problemas de usuario y contraseña

PacoJavi:
No se si irán por aquí los tiros, pero yo tengo Neowx también en una de mis raspberries y en el apartado de "skin" tengo puesto "neowx-material", no "neowx" a secas. Es lo que la última actualización de la documentación del skin indica que hay que poner.

Además (y esto no se si tendrá algo que ver) creo recordar que alguien mencionó alguna vez en el foro que los espacios en ese fichero importan, y a ese [[SeasonsReport]] parece que le falta 1 espacio para estar en línea con los de abajo. De esto jantoni nos podrá sacar de dudas.

Lo raro es que haya dejado de funcionar sin aparentemente tocar nada  :o

manolodos:
Ionos ha desactivado recientemente el protocolo FTP, y ya solo es accesible por SFTP

https://www.ionos.es/ayuda/hosting/configurar-y-gestionar-accesos-ftp/por-que-deberias-usar-sftp-y-ftps-en-lugar-de-ftp/

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa