Software > WeeWX

No se me abre el cuadro de instalación de weewx

<< < (7/19) > >>

Rubendgl:
[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
 
# The database binding indicates which data should be used in reports.
    data_binding = wx_binding

    # Whether to log a successful operation
    log_success = True

    # Whether to log an unsuccessful operation
    log_failure = False

    # Each of the following subsections defines a report that will be run.
    # See the customizing guide to change the units, plot types and line
    # colors, modify the fonts, display additional sensor data, and other
    # customizations. Many of those changes can be made here by overriding
    # parameters, or by modifying templates within the skin itself.

    [[SeasonsReport]]
        # The SeasonsReport uses the 'Seasons' skin, which contains the
        # images, templates and plots for the report.
        skin = Seasons
        enable = false

    [[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/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/mobile

    [[StandardReport]]
        # This is the old "Standard" skin. By default, it is not enabled.
        skin = Standard
        enable = true


pi@raspberrypi:/etc/weewx $ pip list
Package       Version
------------- -------
asn1crypto    0.24.0
Cheetah3      3.1.0 
configobj     5.0.6 
configparser  3.5.0b2
cryptography  2.6.1 
entrypoints   0.3   
enum34        1.1.6 
ipaddress     1.0.17
keyring       17.1.1
keyrings.alt  3.1.1 
olefile       0.46   
Pillow        5.4.1 
pip           18.1   
pycrypto      2.6.1 
PyGObject     3.30.4
pyserial      3.4   
pyusb         1.0.2 
pyxdg         0.25   
RPi.GPIO      0.7.0 
SecretStorage 2.3.1 
setuptools    40.8.0
six           1.12.0
wheel         0.32.3

jmviper:
HTML_ROOT = /var/www/html

cámbialo a:

HTML_ROOT = /var/www/html/weewx

y reinicia weewx

Rubendgl:
Bueno, bueno, bueno......

si te digo donde estaba el fallo......  :; :;

Resulta que revisando archivo por archivo, porque ya no sabia que mas hacer, me doy cuenta que en la carpeta /etc/weewx/skins/Standard falta el archivo skin.conf
No me digas como ya que fue una instalación limpia de weewx pero por algún motivo extrañísimo faltaba.
Lo copie de  la otra pi, lo puse en esa carpeta y al reiniciar weewx empezó a generar todo correctamente.

En cualquier caso, ojalá toquetear la base de datos de weewx fuera mas fácil porque la copia que tengo no funciona. Osea que algo mal grabado hay en ella.
Ahora estoy con la nueva y de momento he perdido los datos desde Agosto hasta el 23 de Noviembre.

jmviper:

--- Cita de: Rubendgl en 04 de Diciembre de 2019, 12:12:53 ---
Resulta que revisando archivo por archivo, porque ya no sabia que mas hacer, me doy cuenta que en la carpeta /etc/weewx/skins/Standard falta el archivo skin.conf
No me digas como ya que fue una instalación limpia de weewx pero por algún motivo extrañísimo faltaba.
Lo copie de  la otra pi, lo puse en esa carpeta y al reiniciar weewx empezó a generar todo correctamente.


--- Fin de la cita ---

Raro que no haya skin.conf .... solo se me ocurre que venga por defecto con el skin Seasons que viene activado por defecto y en los demás... bueno... debería también de estar o no se genera nada en ellos.

Lo de la base de datos seguramente hay algo mal en la tabla archive.

Haz copia de seguridad de la antigua y prueba con ella con wee_database

Con sudo wee_database --check se puede comprobar

http://www.weewx.com/docs/utilities.htm#wee_database_utility

Rubendgl:
Perfecto, funcionando con la base de datos original.
La perdida de datos ya solo es de 22 días de noviembre y tengo esos registros en meteoclimatic con lo cual a ver si me animo a hacer pruebas con sqlite3 e ir añadiendolos.
Ojalá hubiera elegido en la instalación inicial, unidades en Metric,  :-\

Tema solucionado. !!!

Mil gracias por tu paciencia y ayuda.
 plau2

Navegación

[0] Índice de Mensajes

[#] Página Siguiente

[*] Página Anterior

Ir a la versión completa