Aller au contenu
Les Forums d'Infoclimat

Ce tchat, hébergé sur une plateforme indépendante d'Infoclimat, est géré et modéré par une équipe autonome, sans lien avec l'Association.
Un compte séparé du site et du forum d'Infoclimat est nécessaire pour s'y connecter.

Weewx


BMGB-59

Messages recommandés

  • Responsable Technique
il y a 2 minutes, cirilg a dit :

image.thumb.png.839d65900559abbf44ed99bfb7cd9a11.png

 

J'en déduit que le MDP est 'EC7608.....'?

 

Fait un 

FLUSH PRIVILEGES;

 

 

le mot de passe est en hash par sécurité !! 

 

 

redemarre le rasp

Lien à poster
Partager sur d’autres sites

  • Réponses 1k
  • Créé
  • Dernière réponse

Les plus actifs

Les plus actifs

Messages populaires

Bonjour à toutes et tous. Voilà je pense qu’il est temps d’ouvrir un sujet autour de weewx. Comme nous devons rester confiné ; je vous invite à respecter les recommandations voici du travail

Et voici les 15 fichiers pour les traductions. Bon téléchargement traduction fichier about_inc.pdf traduction fichier celestial_html_tmpl.pdf traduction fichier celestial_inc.pdf traduction

Avec le Raspberry, il y a une solution alternative à l'achat d'un datalogger Davis : le "Météo-Pi"  - https://wifilogger.net/meteopi.html   Il est composé de 2 modules : un qui s'enfiche dan

Images postées

Il y a 19 heures, 970hPa a dit :

Fait un 

FLUSH PRIVILEGES;

 

 

le mot de passe est en hash par sécurité !! 

 

 

redemarre le rasp

 

 

j'ai bien fait un "flush privileges" , le mot de passe est bien le même que je rentre pour me connecter a la base a distance? comme ci dessous?

image.png.ff51a871e5fc2b2929e3d725b2f69da9.png

mais toujours pareil :/

 

image.thumb.png.d969abd3e7eebf46684ec82c9b8050fd.png

Lien à poster
Partager sur d’autres sites

  • Responsable Technique
il y a 14 minutes, cirilg a dit :

 

 

j'ai bien fait un "flush privileges" , le mot de passe est bien le même que je rentre pour me connecter a la base a distance? comme ci dessous?

image.png.ff51a871e5fc2b2929e3d725b2f69da9.png

mais toujours pareil :/

 

image.thumb.png.d969abd3e7eebf46684ec82c9b8050fd.png

Là c'est normal car weewx essai d'envoyer plusieurs fichier dans la bdd mais il ya un limite pour mysql 

donc: 

 

va dans "etc/mysql" et ouvre le fichier "my.conf"

 

tu vas add ça : 

 

[mysqld]
max_allowed_packet=16M

image.png.c32a5171932d9b82340dec80cb157b25.png

 

puis dans la fenetre de commande tu vas rentrer :

 

sudo chmod 777 /etc/mysql/my.cnf
 

suffit mtn de faire un ctrl + S Et redémarrer le raspb

 

Lien à poster
Partager sur d’autres sites

il y a 14 minutes, 970hPa a dit :

Là c'est normal car weewx essai d'envoyer plusieurs fichier dans la bdd mais il ya un limite pour mysql 

donc: 

 

va dans "etc/mysql" et ouvre le fichier "my.conf"

 

tu vas add ça : 

 

[mysqld]
max_allowed_packet=16M

image.png.c32a5171932d9b82340dec80cb157b25.png

 

puis dans la fenetre de commande tu vas rentrer :

 

sudo chmod 777 /etc/mysql/my.cnf
 

suffit mtn de faire un ctrl + S Et redémarrer le raspb

 

 

ca avance :) Merci,

Mais il y a toujours un soucis pour enregistrer le record de 04h55.

 

pi@raspberrypi:~ $ tail -f /var/log/syslog
Aug 22 18:18:14 raspberrypi dhcpcd[380]: wlan0: adding route to 192.168.1.0/24
Aug 22 18:18:14 raspberrypi dhcpcd[380]: wlan0: adding default route via 192.168.1.254
Aug 22 18:18:18 raspberrypi systemd[1]: systemd-fsckd.service: Succeeded.
Aug 22 18:18:19 raspberrypi dhcpcd[380]: wlan0: fe80::224:d4ff:fea3:adf4 is reachable again
Aug 22 18:18:19 raspberrypi dhcpcd[380]: wlan0: fe80::224:d4ff:fea3:adf4 is reachable again
Aug 22 18:18:48 raspberrypi systemd-timesyncd[267]: Synchronized to time server for the first time 162.159.200.1:123 (2.debian.pool.ntp.org).
Aug 22 18:18:48 raspberrypi vncserver-x11[424,root]: Connections: connected: 192.168.1.14::61890 (TCP)
Aug 22 18:18:48 raspberrypi vncserver-x11[424,root]: Connections: authenticated: 192.168.1.14::61890 (TCP), as pi (f permissions)
Aug 22 18:18:48 raspberrypi vncserver-x11[424,root]: SPrintConnMgr: Failed to add printer: server-error-service-unavailable
Aug 22 18:18:57 raspberrypi systemd[1]: systemd-hostnamed.service: Succeeded.
Aug 22 18:19:31 raspberrypi weewx[541] INFO __main__: retrying...
Aug 22 18:19:31 raspberrypi weewx[541] INFO __main__: Using configuration file /home/weewx/weewx.conf
Aug 22 18:19:31 raspberrypi weewx[541] INFO __main__: Debug is 0
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.engine: StdConvert target unit is 0x10
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.engine: Archive will use data binding wx_binding
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.engine: Record generation will be attempted in 'hardware'
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware)
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.restx: StationRegistry: Station will be registered.
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.restx: Wunderground: Posting not enabled.
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.restx: PWSweather: Posting not enabled.
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.restx: CWOP: Posting not enabled.
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.restx: WOW: Posting not enabled.
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.restx: AWEKAS: Posting not enabled.
Aug 22 18:19:31 raspberrypi weewx[541] INFO __main__: Starting up weewx version 4.3.0
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.engine: Clock error is -28.77 seconds (positive is fast)
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.drivers.vantage: Clock set to 2022-08-22 18:19:32 CEST (1661185172)
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx'
Aug 22 18:19:31 raspberrypi weewx[541] INFO weewx.manager: Starting backfill of daily summaries
Aug 22 18:19:34 raspberrypi mysqld[931]: 2022-08-22 18:19:34 11 [ERROR] [FATAL] InnoDB: Trying to read page number 4294967295 in space 0, space name innodb_system, which is outside the tablespace bounds. Byte offset 0, len 16384
Aug 22 18:19:34 raspberrypi mysqld[931]: 220822 18:19:34 [ERROR] mysqld got signal 6 ;
Aug 22 18:19:34 raspberrypi mysqld[931]: This could be because you hit a bug. It is also possible that this binary
Aug 22 18:19:34 raspberrypi mysqld[931]: or one of the libraries it was linked against is corrupt, improperly built,
Aug 22 18:19:34 raspberrypi mysqld[931]: or misconfigured. This error can also be caused by malfunctioning hardware.
Aug 22 18:19:34 raspberrypi mysqld[931]: To report this bug, see https://mariadb.com/kb/en/reporting-bugs
Aug 22 18:19:34 raspberrypi mysqld[931]: We will try our best to scrape up some info that will hopefully help
Aug 22 18:19:34 raspberrypi mysqld[931]: diagnose the problem, but since we have already crashed,
Aug 22 18:19:34 raspberrypi mysqld[931]: something is definitely wrong and this may fail.
Aug 22 18:19:34 raspberrypi mysqld[931]: Server version: 10.3.27-MariaDB-0+deb10u1
Aug 22 18:19:34 raspberrypi mysqld[931]: key_buffer_size=134217728
Aug 22 18:19:34 raspberrypi mysqld[931]: read_buffer_size=131072
Aug 22 18:19:34 raspberrypi mysqld[931]: max_used_connections=1
Aug 22 18:19:34 raspberrypi mysqld[931]: max_threads=153
Aug 22 18:19:34 raspberrypi mysqld[931]: thread_count=7
Aug 22 18:19:34 raspberrypi mysqld[931]: It is possible that mysqld could use up to
Aug 22 18:19:34 raspberrypi mysqld[931]: key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 466214 K  bytes of memory
Aug 22 18:19:34 raspberrypi mysqld[931]: Hope that's ok; if not, decrease some variables in the equation.
Aug 22 18:19:34 raspberrypi mysqld[931]: Thread pointer: 0x2b38d10
Aug 22 18:19:34 raspberrypi mysqld[931]: Attempting backtrace. You can use the following information to find out
Aug 22 18:19:34 raspberrypi mysqld[931]: where mysqld died. If you see no messages after this, something went
Aug 22 18:19:34 raspberrypi mysqld[931]: terribly wrong...
Aug 22 18:19:34 raspberrypi mysqld[931]: stack_bottom = 0x5a8fed84 thread_stack 0x49000
Aug 22 18:19:34 raspberrypi mysqld[931]: Trying to get some variables.
Aug 22 18:19:34 raspberrypi mysqld[931]: Some pointers may be invalid and cause the dump to abort.
Aug 22 18:19:34 raspberrypi mysqld[931]: Query (0x2b447a8): INSERT INTO archive (`usUnits`,`rxCheckPercent`,`outTemp`,`barometer`,`windchill`,`maxSolarRad`,`rainRate`,`appTemp`,`windrun`,`consBatteryVoltage`,`heatindex`,`cloudbase`,`inHumidity`,`windSpeed`,`windDir`,`interval`,`windGust`,`inTemp`,`txBatteryStatus`,`inDewpoint`,`rain`,`windGustDir`,`dewpoint`,`outHumidity`,`humidex`,`ET`,`altimeter`,`dateTime`,`pressure`) VALUES (16,99.9375,17.9444444444444,1016.42440586878,17.9444444444444,0,0,19.302875567803,0.402336,NULL,18.2227777777778,240.19998677079,59,4.828032,247.5,5,11.265408,24,NULL,15.4837240626523,0,225,16.7942952992207,93,23.0886445441246,0,1016.83265512061,1660877700,1004.75529307877)
Aug 22 18:19:34 raspberrypi mysqld[931]: Connection ID (thread ID): 11
Aug 22 18:19:34 raspberrypi mysqld[931]: Status: NOT_KILLED
Aug 22 18:19:34 raspberrypi mysqld[931]: Optimizer switch: index_merge=on,index_merge_union=on,index_merge_sort_union=on,index_merge_intersection=on,index_merge_sort_intersection=off,engine_condition_pushdown=off,index_condition_pushdown=on,derived_merge=on,derived_with_keys=on,firstmatch=on,loosescan=on,materialization=on,in_to_exists=on,semijoin=on,partial_match_rowid_merge=on,partial_match_table_scan=on,subquery_cache=on,mrr=off,mrr_cost_based=off,mrr_sort_keys=off,outer_join_with_cache=on,semijoin_with_cache=on,join_cache_incremental=on,join_cache_hashed=on,join_cache_bka=on,optimize_join_buffer_size=off,table_elimination=on,extended_keys=on,exists_to_in=on,orderby_uses_equalities=on,condition_pushdown_for_derived=on,split_materialized=on
Aug 22 18:19:34 raspberrypi mysqld[931]: The manual page at https://mariadb.com/kb/en/how-to-produce-a-full-stack-trace-for-mysqld/ contains
Aug 22 18:19:34 raspberrypi mysqld[931]: information that should help you find out what is causing the crash.
Aug 22 18:19:34 raspberrypi mysqld[931]: Writing a core file...
Aug 22 18:19:34 raspberrypi mysqld[931]: Working directory at /var/lib/mysql
Aug 22 18:19:34 raspberrypi mysqld[931]: Resource Limits:
Aug 22 18:19:34 raspberrypi mysqld[931]: Limit                     Soft Limit           Hard Limit           Units
Aug 22 18:19:34 raspberrypi mysqld[931]: Max cpu time              unlimited            unlimited            seconds
Aug 22 18:19:34 raspberrypi mysqld[931]: Max file size             unlimited            unlimited            bytes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max data size             unlimited            unlimited            bytes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max stack size            8388608              unlimited            bytes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max core file size        0                    unlimited            bytes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max resident set          unlimited            unlimited            bytes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max processes             6466                 6466                 processes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max open files            16384                16384                files
Aug 22 18:19:34 raspberrypi mysqld[931]: Max locked memory         65536                65536                bytes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max address space         unlimited            unlimited            bytes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max file locks            unlimited            unlimited            locks
Aug 22 18:19:34 raspberrypi mysqld[931]: Max pending signals       6466                 6466                 signals
Aug 22 18:19:34 raspberrypi mysqld[931]: Max msgqueue size         819200               819200               bytes
Aug 22 18:19:34 raspberrypi mysqld[931]: Max nice priority         0                    0
Aug 22 18:19:34 raspberrypi mysqld[931]: Max realtime priority     0                    0
Aug 22 18:19:34 raspberrypi mysqld[931]: Max realtime timeout      unlimited            unlimited            us
Aug 22 18:19:34 raspberrypi mysqld[931]: Core pattern: core
Aug 22 18:19:34 raspberrypi weewx[541] ERROR weewx.manager: Unable to add record 2022-08-19 04:55:00 CEST (1660877700) to database 'weewx': (2013, 'Lost connection to MySQL server during query')
Aug 22 18:19:34 raspberrypi systemd[1]: mariadb.service: Main process exited, code=killed, status=6/ABRT
Aug 22 18:19:34 raspberrypi weewx[541] INFO weewx.engine: Main loop exiting. Shutting engine down.
Aug 22 18:19:34 raspberrypi systemd[1]: mariadb.service: Failed with result 'signal'.
Aug 22 18:19:34 raspberrypi weewx[541] CRITICAL __main__: Database connection exception: (2006, 'MySQL server has gone away')
Aug 22 18:19:34 raspberrypi weewx[541] CRITICAL __main__:     ****  Waiting 60 seconds then retrying...
Aug 22 18:19:39 raspberrypi systemd[1]: mariadb.service: Service RestartSec=5s expired, scheduling restart.
Aug 22 18:19:39 raspberrypi systemd[1]: mariadb.service: Scheduled restart job, restart counter is at 2.
Aug 22 18:19:39 raspberrypi systemd[1]: Stopped MariaDB 10.3.27 database server.
Aug 22 18:19:39 raspberrypi systemd[1]: Starting MariaDB 10.3.27 database server...
Aug 22 18:19:39 raspberrypi sh[1125]: Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
Aug 22 18:19:39 raspberrypi mysqld[1133]: Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 1133 ...
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32186)
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Using Linux native AIO
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Uses event mutexes
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Number of pools: 1
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Using generic crc32 instructions
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Completed initialization of buffer pool
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Starting crash recovery from checkpoint LSN=1371897621
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: 128 out of 128 rollback segments are active.
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Removed temporary tablespace data file: "ibtmp1"
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Creating shared tablespace for temporary tables
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Waiting for purge to start
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: 10.3.27 started; log sequence number 1371897630; transaction id 406937
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] Plugin 'FEEDBACK' is disabled.
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] Recovering after a crash using tc.log
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] Starting crash recovery...
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] Crash recovery finished.
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] Server socket created on IP: '::'.
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] Reading of all Master_info entries succeeded
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] Added new Master_info '' to hash table
Aug 22 18:19:39 raspberrypi mysqld[1133]: 2022-08-22 18:19:39 0 [Note] /usr/sbin/mysqld: ready for connections.
Aug 22 18:19:39 raspberrypi mysqld[1133]: Version: '10.3.27-MariaDB-0+deb10u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Raspbian 10
Aug 22 18:19:40 raspberrypi systemd[1]: Started MariaDB 10.3.27 database server.
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1169]: Upgrading MySQL tables if necessary.
Aug 22 18:19:40 raspberrypi mysqld[1133]: 2022-08-22 18:19:40 0 [Note] InnoDB: Buffer pool(s) load completed at 220822 18:19:40
Aug 22 18:19:40 raspberrypi mysqld[1133]: 2022-08-22 18:19:40 8 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
Aug 22 18:19:40 raspberrypi mysqld[1133]: 2022-08-22 18:19:40 9 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1172]: Warning: World-writable config file '/etc/mysql/my.cnf' is ignored
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1172]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1172]: Looking for 'mysql' as: /usr/bin/mysql
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1172]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1172]: Version check failed. Got the following error when calling the 'mysql' command line client
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1172]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1172]: FATAL ERROR: Upgrade failed
Aug 22 18:19:40 raspberrypi /etc/mysql/debian-start[1182]: Checking for insecure root accounts.
Aug 22 18:19:40 raspberrypi mysqld[1133]: 2022-08-22 18:19:40 10 [Warning] Access denied for user 'root'@'localhost' (using password: NO)
Aug 22 18:19:40 raspberrypi debian-start[1167]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
Aug 22 18:20:34 raspberrypi weewx[541] INFO __main__: retrying...

 

Lien à poster
Partager sur d’autres sites

  • Responsable Technique

@cirilg essai 500M au lieu de 16M et sur le fichier weewx conf 

 

change le debug = 0 

 

vers

debug  1

 

et envoi moi un MP ;) 

Lien à poster
Partager sur d’autres sites

Bonjour,

 

Ce type de "plantage" de mysql peut suggérer aussi qu'il y a un problème avec la carte SD :  espace saturé (comme suggéré ci dessus par @BMGB-59) , ou carte SD en fin de vie (erreurs d'écriture ou lecture) faisant que la bdd "mysql" (qui contient toute la configuration de mysql)  pourrait être corrompue.

As-tu une sauvegarde récente de la base de donnée weewx?

 

  • J'aime 1
Lien à poster
Partager sur d’autres sites

  • Responsable Technique
il y a 11 minutes, jackT a dit :

Bonjour,

 

Ce type de "plantage" de mysql peut suggérer aussi qu'il y a un problème avec la carte SD :  espace saturé (comme suggéré ci dessus par @BMGB-59) , ou carte SD en fin de vie (erreurs d'écriture ou lecture) faisant que la bdd "mysql" (qui contient toute la configuration de mysql)  pourrait être corrompue.

As-tu une sauvegarde récente de la base de donnée weewx?

 

Je pense aussi sauf que c'est qu'un record qui fait crasher weewx.. 

 

Soit la carte sd est rip soit weewx essai d'envoyer plusieurs record au même temps et si la taille de traitement de mysql est celui par défaut, il va avoir un erreur 

Lien à poster
Partager sur d’autres sites

Hello,

 

Déjà ne pas mettre le chmod à 777 sur le fichier my.cnf.

Donc, lancer la commande: sudo chmod 644 /etc/mysql/my.cnf

 

Ensuite, il semblerait que InnoDB soit corrompu...

Essaie d'ajouter Innodb_froce_revocery=1 dans /etc/mysql/mariadb.conf.d/50-server.conf sous la partie [mysqld].

Redémarre mysql et essaie de dump ta base de données.

Idéalement, il faut la dump sur une clé usb pour éviter d'écrire de trop sur la carte sd.

Lien à poster
Partager sur d’autres sites

Bonjour à tous :)

 

Une petite question, est t'il possible d'installer Weewx sur un Synology ?

J'ai un WDL, qui fait des trous sur ma StatIC, malgré un abo pro+.  Je cherche une solution alternative au système Davis.

 

Merci de vos réponses

 

Yannick ;)

Lien à poster
Partager sur d’autres sites

Le 23/08/2022 à 16:47, Yannick64 a dit :

Bonjour à tous :)

 

Une petite question, est t'il possible d'installer Weewx sur un Synology ?

J'ai un WDL, qui fait des trous sur ma StatIC, malgré un abo pro+.  Je cherche une solution alternative au système Davis.

 

Merci de vos réponses

 

Yannick ;)

Bonsoir

il faudrait que tu nous donne déjà la version et le model de ton nas, puis que tu indiques quelle sera le moyen de récupération des datas ?

bonne soirée

Lien à poster
Partager sur d’autres sites

Bonsoir @BMGB-59 :)

 

Merci de ta réponse !

Mon modèle de NAS est un Synology DS716+. Il tourne en DSM 7.1.

Pour les données côté station c'est un WLL.

J'ai essayé de regardé de mon côté, c'est possible moyennant quelques adaptations.

 

Amicalement Yannick ;)
 

Lien à poster
Partager sur d’autres sites

Le 24/08/2022 à 19:55, Yannick64 a dit :

Bonsoir @BMGB-59 :)

 

Merci de ta réponse !

Mon modèle de NAS est un Synology DS716+. Il tourne en DSM 7.1.

Pour les données côté station c'est un WLL.

J'ai essayé de regardé de mon côté, c'est possible moyennant quelques adaptations.

 

Amicalement Yannick ;)
 

Bonjour Yannick

Désolé pour le retard mais je ne suis pas toujours en ligne.

En l’occurrence ta version DRSM à l'air d'être bonne moi je suis en 7.1-42661 Update 4

Il te faut installer une version Debian, de préférence la dernière stable (en ce moment la version 11 "Bullseye") dans une machine virtuelle que tu installe sur le Synologie.

Ici pour nous c'est Virtual Machine Manager que tu installes via le centre de paquets dernière version 2.6.1-12137

Puis pour finir installer weewx version en cours 4.8.0

Reste plus qu'à configurer ton weewx pour se connecter à ta station

Voila dans les grandes lignes :)

A bientôt

 

 

 

Modifié par BMGB-59
Lien à poster
Partager sur d’autres sites

Il y a 18 heures, Yannick64 a dit :

Merci @BMGB-59 !

 

J'avais cherché la procédure, mais j'attendais la confirmation. Je vais essayer d'installer çà !

 

Yannick ;)

Hello, tu peux aussi faire :

Virtual Machine Manager

Installer une image rasperry

Installer weewx

Dans ce cas là c'est peut être plus simple car tu auras l'interface graphique pour weewx.

@

Lien à poster
Partager sur d’autres sites

  • 4 weeks later...

salut

 

concernant weewx/blechertown est il possible que l'icône des conditions tienne compte du pluviomètre et du pyranomètre et non des prévisions aeris? 

(pour mon appli Weathercat pour la vp2 l'icône indique la condition en temps réel)

merci

fred

Capture d’écran 2022-09-25 à 15.42.19.jpg

Modifié par I2R
Lien à poster
Partager sur d’autres sites

Il y a 4 heures, ollpat a dit :

Ha Ha moi j'ai rien là dessus. On fait ca comment ?

image.png.7d9a0c1c05feef100a903068de11febd.png

salut

a mon avis le forecast est désactivé et ta localisation 

cdt

Modifié par I2R
Lien à poster
Partager sur d’autres sites

  • Responsable Technique
Il y a 1 heure, I2R a dit :

concernant weewx/blechertown est il possible que l'icône des conditions tienne compte du pluviomètre et du pyranomètre et non des prévisions aeris? 

Alors oui et non 😛 

 

Sur belchertown il n'a pas la possibilité mais il est possible de créer une fonction pour prendre en compte les données de l'iss + les metar ;) 

 

D'ailleurs j'avais déjà pensé a ça :) 

Modifié par 970hPa
  • J'aime 1
Lien à poster
Partager sur d’autres sites

Il y a 1 heure, 970hPa a dit :

Alors oui et non 😛 

 

Sur belchertown il n'a pas la possibilité mais il est possible de créer une fonction pour prendre en compte les données de l'iss + les metar ;) 

 

D'ailleurs j'avais déjà pensé a ça :) 

Salut 

intéressant , autant le Mqtt est génial autant pour l’instant ce logo a aucun intérêt .. par ex hier le logo orage et grosses averses ….pas eu une goutte d’eau toute la journée 😄

cdt

Modifié par I2R
Lien à poster
Partager sur d’autres sites

  • Responsable Technique
il y a 52 minutes, I2R a dit :

Salut 

intéressant , autant le Mqtt est génial autant pour l’instant ce logo a aucun intérêt .. par ex hier le logo orage et grosses averses ….pas eu une goutte d’eau toute la journée 😄

cdt

C'est le metar qui envoi ça (station MF la plus proche de ta lat long sur weewx.conf) 

  • J'aime 1
Lien à poster
Partager sur d’autres sites

Salut

autre question concernant Weewx / Belchertown est il possible pour les records de vent que ce soit journalier mensuel année d’avoir aussi la direction du vent ? J’ai pas trouvé 

merci

cdt

jfred 

Lien à poster
Partager sur d’autres sites

  • 3 weeks later...
  • Responsable Technique

Bonjour la team weewx !! 

 

Svp, je demande à tous qu'on weewx et que les données sont envoyées sur le FTP de chez IC de vérifier que vos données remontent bien, et surtout ceux qui sont chez orange. 

 

Merci 

 

 

Lien à poster
Partager sur d’autres sites

Posté(e)
Isèrois, mais proche de Lyon (Sud) : Chuzelles - 260m

Pas de soucis pour ma part, ça remonte bien; mais je ne suis pas chez Orange.

C'est quoi le souci ? pb FTP ? 

 

  • Merci 1
Lien à poster
Partager sur d’autres sites

Créer un compte ou se connecter pour commenter

Vous devez être membre afin de pouvoir déposer un commentaire

Créer un compte

Créez un compte sur notre communauté. C’est facile !

Créer un nouveau compte

Se connecter

Vous avez déjà un compte ? Connectez-vous ici.

Connectez-vous maintenant
  • En ligne récemment   0 membre est en ligne

    • Aucun utilisateur enregistré regarde cette page.
×
×
  • Créer...