Autor Tema: No tengo carpeta /var/www/html/weewx  (Leído 17190 veces)

0 Usuarios y 1 Visitante están viendo este tema.

Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
No tengo carpeta /var/www/html/weewx
« en: 05 de Octubre del 2017, 16:09:13 pm »
Hola, no sé que pasa que instalo weewx , alojo la plantilla en /etc/weewx/skins/Standard y voy a ver si me la ha generado en /var/www/html/weewx , pero no existe esa carpeta, solo tengo las siguientes:

Sin título by david nuño, en Flickr

Qué hago?

Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #1 en: 05 de Octubre del 2017, 17:25:07 pm »
me lo vuelvo a descargar y me vuelve a pasar igual.... :-X

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #2 en: 05 de Octubre del 2017, 20:22:31 pm »
Hola burgati

Tienes esta línea HTML_ROOT = /var/www/weewx en el weewx.conf ?



Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #3 en: 05 de Octubre del 2017, 21:09:54 pm »
hola....me temo que no me sale esto:

# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2015 Tom Keffer <tkeffer@gmail.com>
# See the file LICENSE.txt for your rights.

##############################################################################

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.


Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #4 en: 05 de Octubre del 2017, 21:13:33 pm »
PERDON!!!!!!, SI QUE ME SALE:

[StdReport]

    # Where the skins reside, relative to WEEWX_ROOT
    SKIN_ROOT = /etc/weewx/skins

    # Where the generated reports should go, relative to WEEWX_ROOT
    HTML_ROOT = /var/www/html/weewx

    # The database binding indicates which data should be used in reports.
    data_binding = wx_binding

    # Each of the following subsections defines a report that will be run.



nO SÉ POR QUÉ NO ENCUENTRO EL BOTON DE MODIFICAR MENSAJES ASIQUE SI ME EQUIVOCO PONDRÉ UNO NUEVO.....

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #5 en: 05 de Octubre del 2017, 22:29:22 pm »
Pues lo siguiente será ver el log de weewx.

Mira a ver qué pone en /var/log/weewx.log si instalaste la instalación de jantoni

Pon las últimas 50 líneas por ejemplo


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #6 en: 08 de Octubre del 2017, 18:29:45 pm »
Pues lo siguiente será ver el log de weewx.

Mira a ver qué pone en /var/log/weewx.log si instalaste la instalación de jantoni

Pon las últimas 50 líneas por ejemplo

a ver tengo un par de archivos uno es wwewx.log lo abro y está en blanco.

El otro es weewx.log.1 y en este si tengo cosaas escritas del otro día :

Oct  7 05:45:18 raspberrypi weewx[418]: ****      self._fileMtime = os.path.getmtime(file)
Oct  7 05:45:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
Oct  7 05:45:18 raspberrypi weewx[418]: ****      return os.stat(filename).st_mtime
Oct  7 05:45:18 raspberrypi weewx[418]: ****  OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct  7 05:45:19 raspberrypi weewx[418]: cheetahgenerator: Generated 14 files for report StandardReport in 2.20 seconds
Oct  7 05:45:25 raspberrypi weewx[418]: imagegenerator: Generated 36 images for StandardReport in 6.29 seconds
Oct  7 05:45:25 raspberrypi weewx[418]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  7 05:50:18 raspberrypi weewx[418]: cheetahgenerator: Generate failed with exception '<type 'exceptions.OSError'>'
Oct  7 05:50:18 raspberrypi weewx[418]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/meteoclimatic.html.tmpl
Oct  7 05:50:18 raspberrypi weewx[418]: cheetahgenerator: **** Reason: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct  7 05:50:18 raspberrypi weewx[418]: ****  Traceback (most recent call last):
Oct  7 05:50:18 raspberrypi weewx[418]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 327, in generate
Oct  7 05:50:18 raspberrypi weewx[418]: ****      filtersLib=weewx.cheetahgenerator)
Oct  7 05:50:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__
Oct  7 05:50:18 raspberrypi weewx[418]: ****      self._compile(source, file, compilerSettings=compilerSettings)
Oct  7 05:50:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1546, in _compile
Oct  7 05:50:18 raspberrypi weewx[418]: ****      self._fileMtime = os.path.getmtime(file)
Oct  7 05:50:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
Oct  7 05:50:18 raspberrypi weewx[418]: ****      return os.stat(filename).st_mtime
Oct  7 05:50:18 raspberrypi weewx[418]: ****  OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct  7 05:50:19 raspberrypi weewx[418]: cheetahgenerator: Generated 14 files for report StandardReport in 2.25 seconds
Oct  7 05:50:26 raspberrypi weewx[418]: imagegenerator: Generated 36 images for StandardReport in 7.28 seconds
Oct  7 05:50:26 raspberrypi weewx[418]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  7 05:55:18 raspberrypi weewx[418]: cheetahgenerator: Generate failed with exception '<type 'exceptions.OSError'>'
Oct  7 05:55:18 raspberrypi weewx[418]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/meteoclimatic.html.tmpl
Oct  7 05:55:18 raspberrypi weewx[418]: cheetahgenerator: **** Reason: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct  7 05:55:18 raspberrypi weewx[418]: ****  Traceback (most recent call last):
Oct  7 05:55:18 raspberrypi weewx[418]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 327, in generate
Oct  7 05:55:18 raspberrypi weewx[418]: ****      filtersLib=weewx.cheetahgenerator)
Oct  7 05:55:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__
Oct  7 05:55:18 raspberrypi weewx[418]: ****      self._compile(source, file, compilerSettings=compilerSettings)
Oct  7 05:55:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1546, in _compile
Oct  7 05:55:18 raspberrypi weewx[418]: ****      self._fileMtime = os.path.getmtime(file)
Oct  7 05:55:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
Oct  7 05:55:18 raspberrypi weewx[418]: ****      return os.stat(filename).st_mtime
Oct  7 05:55:18 raspberrypi weewx[418]: ****  OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct  7 05:55:19 raspberrypi weewx[418]: cheetahgenerator: Generated 14 files for report StandardReport in 2.10 seconds
Oct  7 05:55:26 raspberrypi weewx[418]: imagegenerator: Generated 36 images for StandardReport in 7.22 seconds
Oct  7 05:55:26 raspberrypi weewx[418]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  7 06:00:18 raspberrypi weewx[418]: cheetahgenerator: Generate failed with exception '<type 'exceptions.OSError'>'
Oct  7 06:00:18 raspberrypi weewx[418]: cheetahgenerator: **** Ignoring template /etc/weewx/skins/Standard/meteoclimatic.html.tmpl
Oct  7 06:00:18 raspberrypi weewx[418]: cheetahgenerator: **** Reason: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct  7 06:00:18 raspberrypi weewx[418]: ****  Traceback (most recent call last):
Oct  7 06:00:18 raspberrypi weewx[418]: ****    File "/usr/share/weewx/weewx/cheetahgenerator.py", line 327, in generate
Oct  7 06:00:18 raspberrypi weewx[418]: ****      filtersLib=weewx.cheetahgenerator)
Oct  7 06:00:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1259, in __init__
Oct  7 06:00:18 raspberrypi weewx[418]: ****      self._compile(source, file, compilerSettings=compilerSettings)
Oct  7 06:00:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1546, in _compile
Oct  7 06:00:18 raspberrypi weewx[418]: ****      self._fileMtime = os.path.getmtime(file)
Oct  7 06:00:18 raspberrypi weewx[418]: ****    File "/usr/lib/python2.7/genericpath.py", line 62, in getmtime
Oct  7 06:00:18 raspberrypi weewx[418]: ****      return os.stat(filename).st_mtime
Oct  7 06:00:18 raspberrypi weewx[418]: ****  OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on read.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  Is there a competing process running??
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: LOOP try #1; error: device reports readiness to read but returned no data (device disconnected or multiple access on port?)
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: Unable to wake up console
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: LOOP try #2; error: Unable to wake up Vantage console
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: Unable to wake up console
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: LOOP try #3; error: Unable to wake up Vantage console
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:19 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: Unable to wake up console
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: LOOP try #4; error: Unable to wake up Vantage console
Oct  7 06:00:19 raspberrypi weewx[418]: vantage: LOOP max tries (4) exceeded.
Oct  7 06:00:19 raspberrypi weewx[418]: engine: Shutting down StdReport thread
Oct  7 06:00:19 raspberrypi weewx[418]: cheetahgenerator: Generated 14 files for report StandardReport in 3.01 seconds
Oct  7 06:00:28 raspberrypi weewx[418]: imagegenerator: Generated 36 images for StandardReport in 8.13 seconds
Oct  7 06:00:28 raspberrypi weewx[418]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  7 06:00:28 raspberrypi weewx[418]: vantage: SerialException on write.
Oct  7 06:00:28 raspberrypi weewx[418]:    ****  write failed: [Errno 5] Error de entrada/salida
Oct  7 06:00:28 raspberrypi weewx[418]: engine: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.
Oct  7 06:00:28 raspberrypi weewx[418]:     ****  Waiting 60 seconds then retrying...
Oct  7 06:01:28 raspberrypi weewx[418]: engine: retrying...
Oct  7 06:01:28 raspberrypi weewx[418]: engine: Using configuration file /etc/weewx/weewx.conf
Oct  7 06:01:28 raspberrypi weewx[418]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct  7 06:01:28 raspberrypi weewx[418]: import of driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No existe el fichero o el directorio: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Oct  7 06:01:28 raspberrypi weewx[418]: engine: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No existe el fichero o el directorio: '/dev/ttyUSB0'
Oct  7 06:01:28 raspberrypi weewx[418]:     ****  Exiting...




Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #7 en: 08 de Octubre del 2017, 22:19:43 pm »
OSError: [Errno 2] No existe el fichero o el directorio: '/etc/weewx/skins/Standard/meteoclimatic.html.tmpl'

Tienes la plantilla meteoclimatic.html.tmpl en esa ruta ??

También tienes una serie de errores al final leyéndote la estación.


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #8 en: 09 de Octubre del 2017, 15:23:05 pm »
Nada lo volví a reinstalar todo y ya lo tengo todo correcto.......el problema que tengo ahora es el de siempre, alojo los archivos de la utilidad de subida en /home/pi y la plantilla en /etc/weewx/skins/Standard........modifico meteoclimatic. sh y dejo esto

#!/bin/bash
cd /home/pi
#Si no quieres log
php meteoclimatic_http.php.old
#Si quieres log
php meteoclimatic_http.php.old >> /var/log/meteoclimatic.log
exit

en meteoclimatic.ini pongo el codigo de mi estacion y el SIG donde corresponde

Añado esta linea al crontab:

1-59/5 *   * * *   root    /home/pi/meteoclimatic.sh


La plantilla se me actualiza correctamente en : /var/www/html/weewx

el weewx.log todo correcto tambien:

Oct  9 12:36:18 raspberrypi weewx[377]: engine: Initializing weewx version 3.7.1
Oct  9 12:36:18 raspberrypi weewx[377]: engine: Using Python 2.7.13 (default, Jan 19 2017, 14:48:08) #012[GCC 6.3.0 20170124]
Oct  9 12:36:18 raspberrypi weewx[377]: engine: Platform Linux-4.9.41-v7+-armv7l-with-debian-9.1
Oct  9 12:36:18 raspberrypi weewx[377]: engine: Locale is 'en_GB.UTF-8'
Oct  9 12:36:18 raspberrypi weewx[377]: engine: pid file is /var/run/weewx.pid
Oct  9 12:36:18 raspberrypi weewx[304]: Starting weewx weather system: weewx.
Oct  9 12:36:18 raspberrypi weewx[447]: engine: Using configuration file /etc/weewx/weewx.conf
Oct  9 12:36:18 raspberrypi weewx[447]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct  9 12:36:18 raspberrypi weewx[447]: import of driver failed: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0' (<class 'serial.serialutil.SerialException'>)
Oct  9 12:36:18 raspberrypi weewx[447]: engine: Unable to load driver: [Errno 2] could not open port /dev/ttyUSB0: [Errno 2] No such file or directory: '/dev/ttyUSB0'
Oct  9 12:36:18 raspberrypi weewx[447]:     ****  Exiting...
Oct  9 12:38:09 raspberrypi weewx[1048]: Stopping weewx weather system: weewx not running....
Oct  9 12:43:45 raspberrypi weewx[1488]: engine: Initializing weewx version 3.7.1
Oct  9 12:43:45 raspberrypi weewx[1488]: engine: Using Python 2.7.13 (default, Jan 19 2017, 14:48:08) #012[GCC 6.3.0 20170124]
Oct  9 12:43:45 raspberrypi weewx[1488]: engine: Platform Linux-4.9.41-v7+-armv7l-with-debian-9.1
Oct  9 12:43:45 raspberrypi weewx[1488]: engine: Locale is 'en_GB.UTF-8'
Oct  9 12:43:45 raspberrypi weewx[1488]: engine: pid file is /var/run/weewx.pid
Oct  9 12:43:45 raspberrypi weewx[1492]: engine: Using configuration file /etc/weewx/weewx.conf
Oct  9 12:43:45 raspberrypi weewx[1492]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct  9 12:43:45 raspberrypi weewx[1477]: Starting weewx weather system: weewx.
Oct  9 12:43:45 raspberrypi weewx[1492]: engine: StdConvert target unit is 0x1
Oct  9 12:43:46 raspberrypi weewx[1492]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Oct  9 12:43:46 raspberrypi weewx[1492]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Oct  9 12:43:46 raspberrypi weewx[1492]: engine: Archive will use data binding wx_binding
Oct  9 12:43:46 raspberrypi weewx[1492]: engine: Record generation will be attempted in 'hardware'
Oct  9 12:43:46 raspberrypi weewx[1492]: engine: Using archive interval of 300 seconds (specified by hardware)
Oct  9 12:43:46 raspberrypi weewx[1492]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct  9 12:43:46 raspberrypi weewx[1492]: manager: Starting backfill of daily summaries
Oct  9 12:43:46 raspberrypi weewx[1492]: restx: StationRegistry: Registration not requested.
Oct  9 12:43:46 raspberrypi weewx[1492]: restx: Wunderground: Posting not enabled.
Oct  9 12:43:46 raspberrypi weewx[1492]: restx: PWSweather: Posting not enabled.
Oct  9 12:43:46 raspberrypi weewx[1492]: restx: CWOP: Posting not enabled.
Oct  9 12:43:46 raspberrypi weewx[1492]: restx: WOW: Posting not enabled.
Oct  9 12:43:46 raspberrypi weewx[1492]: restx: AWEKAS: Posting not enabled.
Oct  9 12:43:46 raspberrypi weewx[1492]: engine: Starting up weewx version 3.7.1
Oct  9 12:43:46 raspberrypi weewx[1492]: engine: Clock error is -51.41 seconds (positive is fast)
Oct  9 12:43:46 raspberrypi weewx[1492]: vantage: Clock set to 2017-10-09 12:43:47 UTC (1507553027)
Oct  9 12:43:47 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:40:00 UTC (1507552800) to database 'weewx.sdb'
Oct  9 12:43:47 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:40:00 UTC (1507552800) to daily summary in 'weewx.sdb'
Oct  9 12:43:50 raspberrypi weewx[1492]: engine: Starting main packet loop.
Oct  9 12:43:53 raspberrypi weewx[1530]: Reloading weewx weather system: weewx.
Oct  9 12:43:53 raspberrypi weewx[1492]: engine: Received signal HUP. Restarting.
Oct  9 12:43:53 raspberrypi weewx[1492]: engine: Using configuration file /etc/weewx/weewx.conf
Oct  9 12:43:53 raspberrypi weewx[1492]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct  9 12:43:53 raspberrypi weewx[1492]: engine: StdConvert target unit is 0x1
Oct  9 12:43:53 raspberrypi weewx[1492]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Oct  9 12:43:53 raspberrypi weewx[1492]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Oct  9 12:43:53 raspberrypi weewx[1492]: engine: Archive will use data binding wx_binding
Oct  9 12:43:53 raspberrypi weewx[1492]: engine: Record generation will be attempted in 'hardware'
Oct  9 12:43:53 raspberrypi weewx[1492]: engine: Using archive interval of 300 seconds (specified by hardware)
Oct  9 12:43:53 raspberrypi weewx[1492]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct  9 12:43:53 raspberrypi weewx[1492]: manager: Starting backfill of daily summaries
Oct  9 12:43:53 raspberrypi weewx[1492]: restx: StationRegistry: Registration not requested.
Oct  9 12:43:53 raspberrypi weewx[1492]: restx: Wunderground: Posting not enabled.
Oct  9 12:43:54 raspberrypi weewx[1492]: restx: PWSweather: Posting not enabled.
Oct  9 12:43:54 raspberrypi weewx[1492]: restx: CWOP: Posting not enabled.
Oct  9 12:43:54 raspberrypi weewx[1492]: restx: WOW: Posting not enabled.
Oct  9 12:43:54 raspberrypi weewx[1492]: restx: AWEKAS: Posting not enabled.
Oct  9 12:43:54 raspberrypi weewx[1492]: engine: Starting up weewx version 3.7.1
Oct  9 12:43:54 raspberrypi weewx[1492]: engine: Clock error is 0.98 seconds (positive is fast)
Oct  9 12:43:54 raspberrypi weewx[1492]: engine: Starting main packet loop.
Oct  9 12:44:29 raspberrypi weewx[1492]: vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
Oct  9 12:44:34 raspberrypi weewx[1492]: vantage: LOOP try #2; error: Expected to read 99 chars; got 0 instead
Oct  9 12:44:38 raspberrypi weewx[1492]: vantage: LOOP try #3; error: Expected to read 99 chars; got 0 instead
Oct  9 12:44:42 raspberrypi weewx[1492]: vantage: LOOP try #4; error: Expected to read 99 chars; got 0 instead
Oct  9 12:44:42 raspberrypi weewx[1492]: vantage: LOOP max tries (4) exceeded.
Oct  9 12:44:42 raspberrypi weewx[1492]: engine: Caught WeeWxIOError: Max tries exceeded while getting LOOP data.
Oct  9 12:44:42 raspberrypi weewx[1492]:     ****  Waiting 60 seconds then retrying...
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: retrying...
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: Using configuration file /etc/weewx/weewx.conf
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: Loading station type Vantage (weewx.drivers.vantage)
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: StdConvert target unit is 0x1
Oct  9 12:45:42 raspberrypi weewx[1492]: wxcalculate: The following values will be calculated: barometer=prefer_hardware, windchill=prefer_hardware, dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=prefer_hardware, windrun=prefer_hardware, heatindex=prefer_hardware, maxSolarRad=prefer_hardware, humidex=prefer_hardware, pressure=prefer_hardware, inDewpoint=prefer_hardware, ET=prefer_hardware, altimeter=prefer_hardware, cloudbase=prefer_hardware
Oct  9 12:45:42 raspberrypi weewx[1492]: wxcalculate: The following algorithms will be used for calculations: altimeter=aaNOAA, maxSolarRad=RS
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: Archive will use data binding wx_binding
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: Record generation will be attempted in 'hardware'
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: Using archive interval of 300 seconds (specified by hardware)
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: Using binding 'wx_binding' to database 'weewx.sdb'
Oct  9 12:45:42 raspberrypi weewx[1492]: manager: Starting backfill of daily summaries
Oct  9 12:45:42 raspberrypi weewx[1492]: restx: StationRegistry: Registration not requested.
Oct  9 12:45:42 raspberrypi weewx[1492]: restx: Wunderground: Posting not enabled.
Oct  9 12:45:42 raspberrypi weewx[1492]: restx: PWSweather: Posting not enabled.
Oct  9 12:45:42 raspberrypi weewx[1492]: restx: CWOP: Posting not enabled.
Oct  9 12:45:42 raspberrypi weewx[1492]: restx: WOW: Posting not enabled.
Oct  9 12:45:42 raspberrypi weewx[1492]: restx: AWEKAS: Posting not enabled.
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: Starting up weewx version 3.7.1
Oct  9 12:45:42 raspberrypi weewx[1492]: engine: Clock error is 0.32 seconds (positive is fast)
Oct  9 12:45:42 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:45:00 UTC (1507553100) to database 'weewx.sdb'
Oct  9 12:45:42 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:45:00 UTC (1507553100) to daily summary in 'weewx.sdb'
Oct  9 12:45:43 raspberrypi weewx[1492]: engine: Starting main packet loop.
Oct  9 12:50:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:50:00 UTC (1507553400) to database 'weewx.sdb'
Oct  9 12:50:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:50:00 UTC (1507553400) to daily summary in 'weewx.sdb'
Oct  9 12:50:26 raspberrypi weewx[1492]: cheetahgenerator: Generated 14 files for report StandardReport in 9.63 seconds
Oct  9 12:50:28 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 1.93 seconds
Oct  9 12:50:28 raspberrypi weewx[1492]: copygenerator: copied 9 files to /var/www/html/weewx
Oct  9 12:55:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:55:00 UTC (1507553700) to database 'weewx.sdb'
Oct  9 12:55:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 12:55:00 UTC (1507553700) to daily summary in 'weewx.sdb'
Oct  9 12:55:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.29 seconds
Oct  9 12:55:22 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 1.22 seconds
Oct  9 12:55:22 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  9 13:00:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:00:00 UTC (1507554000) to database 'weewx.sdb'
Oct  9 13:00:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:00:00 UTC (1507554000) to daily summary in 'weewx.sdb'
Oct  9 13:00:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.22 seconds
Oct  9 13:00:28 raspberrypi weewx[1492]: imagegenerator: Generated 24 images for StandardReport in 6.95 seconds
Oct  9 13:00:28 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  9 13:05:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:05:00 UTC (1507554300) to database 'weewx.sdb'
Oct  9 13:05:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:05:00 UTC (1507554300) to daily summary in 'weewx.sdb'
Oct  9 13:05:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.23 seconds
Oct  9 13:05:23 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 2.27 seconds
Oct  9 13:05:23 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  9 13:10:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:10:00 UTC (1507554600) to database 'weewx.sdb'
Oct  9 13:10:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:10:00 UTC (1507554600) to daily summary in 'weewx.sdb'
Oct  9 13:10:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.26 seconds
Oct  9 13:10:23 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 2.30 seconds
Oct  9 13:10:23 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  9 13:15:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:15:00 UTC (1507554900) to database 'weewx.sdb'
Oct  9 13:15:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:15:00 UTC (1507554900) to daily summary in 'weewx.sdb'
Oct  9 13:15:22 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.16 seconds
Oct  9 13:15:24 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 1.79 seconds
Oct  9 13:15:24 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx
Oct  9 13:20:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:20:00 UTC (1507555200) to database 'weewx.sdb'
Oct  9 13:20:16 raspberrypi weewx[1492]: manager: Added record 2017-10-09 13:20:00 UTC (1507555200) to daily summary in 'weewx.sdb'
Oct  9 13:20:21 raspberrypi weewx[1492]: cheetahgenerator: Generated 15 files for report StandardReport in 2.17 seconds
Oct  9 13:20:22 raspberrypi weewx[1492]: imagegenerator: Generated 12 images for StandardReport in 1.22 seconds
Oct  9 13:20:22 raspberrypi weewx[1492]: copygenerator: copied 0 files to /var/www/html/weewx


Pero voy al meteoclimatic.log y me aparece en blanco :o

no sé que es lo que hago mal

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #9 en: 09 de Octubre del 2017, 17:32:19 pm »
Tienes apache2 funcionando ??

Prueba manualmente a subir la plantilla con sudo php /home/pi/meteoclimatic.sh

Mira a ver qué te sale y si sale algo en /var/log/meteoclimatic.log


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #10 en: 09 de Octubre del 2017, 17:36:23 pm »
Tienes apache2 funcionando ??

Prueba manualmente a subir la plantilla con sudo php /home/pi/meteoclimatic.sh

Mira a ver qué te sale y si sale algo en /var/log/meteoclimatic.log

si hago sudo php /home/pi/meteoclimatic.sh me pone lo siguiente:

comand not found

En cuanto al meteoclimatic.log alojado en /var/log me aparece el archivo pero lo abro y está en blanco

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #11 en: 09 de Octubre del 2017, 17:45:53 pm »
Estás como root o como usuario pi ? Si estás como usuario pi debes de poner el sudo delante y si lo haces como root no


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es

Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #12 en: 09 de Octubre del 2017, 17:48:02 pm »
Estás como root o como usuario pi ? Si estás como usuario pi debes de poner el sudo delante y si lo haces como root no

como pi.....puse el sudo

Desconectado burgati

  • Full Member
  • ***
  • Mensajes: 246
    • Ver Perfil
  • Estación: "Burgos-Plaza san Agustín- ESCYL0900000009001D"
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #13 en: 09 de Octubre del 2017, 17:49:50 pm »
Sin título by david nuño, en Flickr

Desconectado jmviper

  • Investigación
  • Hero Member
  • ******
  • Mensajes: 4.403
  • "Vortex Complex"
    • Ver Perfil
    • www.meteoarchena.es
  • Estación: Archena - ESMUR3000000030600B
Re:No tengo carpeta /var/www/html/weewx
« Respuesta #14 en: 09 de Octubre del 2017, 17:51:52 pm »
Pues tiene pinta como de que apache2 y por lo tanto php no los tuvieses instalados.

Prueba a poner (como usuario pi) sudo /etc/init.d/apache2 status.

Si no está instalado haces sudo apt-get update después sudo apt-get upgrade y por último sudo apt-get install apache2


Archena, Valle de Ricote (Murcia). 120 msnm. 19.622 hab.
Davis Vantage Pro2 Plus

www.meteoarchena.es