cirilg
Membres-
Compteur de contenus
26 -
Inscription
-
Dernière visite
Visiteurs récents du profil
Le bloc de visiteurs récents est désactivé et il n’est pas visible pour les autres utilisateurs.
cirilg's Achievements
Cirrostratus (2/24)
-
Bonjour, Merci pour ta réponse, il me semblait je l'avais activé, mais surement un oubli. Entre temps j'ai essayé une autre méthode d'installation qui a fonctionné du premier coup :). J'ai toujours mon 1er raspberry qui fonctionne mais j'ai fait un 2eme pour pouvoir jouer avec sans rien casser sur celui qui fonctionne ^^.
-
Bonsoir, je suis en train d'installer weewx 5 en suivant le PDF, je viens d'avoir une erreur lors de l'installation de weewx dans l'environnement virtuel. La première erreur me disant que je n'avais pas la permission j'ai tenté un "sudo" mais cela n'a pas fonctionner . @+ Cyril
-
Bonjour, J'ai vu avec 970hPa, cetait trop le bazard, j'ai finalement sauver la base et le je reinstalle tout car il y avait plusieurs soucis. Merci de votre aide :).
-
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...
-
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? mais toujours pareil
-
-
j'ai fait ili y a du mieux( plus de pb lors du start debian) mais j'ai toujours un soucis avec weewx pi@raspberrypi:~ $ tail -f /var/log/syslog Aug 21 22:03:17 raspberrypi systemd[588]: Starting Virtual filesystem service - Media Transfer Protocol monitor... Aug 21 22:03:17 raspberrypi dbus-daemon[746]: [session uid=1000 pid=746] Successfully activated service 'org.gtk.vfs.MTPVolumeMonitor' Aug 21 22:03:17 raspberrypi systemd[588]: Started Virtual filesystem service - Media Transfer Protocol monitor. Aug 21 22:03:17 raspberrypi dhcpcd[379]: wlan0: fe80::224:d4ff:fea3:adf4 is reachable again Aug 21 22:03:17 raspberrypi dhcpcd[379]: wlan0: fe80::224:d4ff:fea3:adf4 is reachable again Aug 21 22:03:25 raspberrypi systemd[1]: systemd-fsckd.service: Succeeded. Aug 21 22:03:27 raspberrypi vncserver-x11[427,root]: Connections: connected: 192.168.1.14::64514 (TCP) Aug 21 22:03:27 raspberrypi vncserver-x11[427,root]: Connections: authenticated: 192.168.1.14::64514 (TCP), as pi (f permissions) Aug 21 22:03:57 raspberrypi systemd-timesyncd[267]: Synchronized to time server for the first time [2001:41d0:1004:b27::]:123 (2.debian.pool.ntp.org). Aug 21 22:03:57 raspberrypi vncserver-x11[427,root]: SPrintConnMgr: Failed to add printer: server-error-service-unavailable Aug 21 22:04:07 raspberrypi systemd[1]: systemd-hostnamed.service: Succeeded. Aug 21 22:05:39 raspberrypi weewx[604] INFO __main__: retrying... Aug 21 22:05:39 raspberrypi weewx[604] INFO __main__: Using configuration file /home/weewx/weewx.conf Aug 21 22:05:39 raspberrypi weewx[604] INFO __main__: Debug is 0 Aug 21 22:05:39 raspberrypi weewx[604] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage) Aug 21 22:05:39 raspberrypi weewx[604] INFO weewx.engine: StdConvert target unit is 0x10 Aug 21 22:05:39 raspberrypi weewx[604] CRITICAL __main__: Database OperationalError exception: (1045, "Access denied for user 'root'@'localhost' (using password: YES)") Aug 21 22:05:39 raspberrypi weewx[604] CRITICAL __main__: **** Waiting 2 minutes then retrying...
-
-
Bonjour, Merci pour vos réponses J'ai accès a la base via myphpadmin, j'ai essayé de supprimer le record qui pose problème mais sans résultat. j j'ai essayé aussi mais ca ne fonctionne pas. Vu la ligne surligné je me demande si ca ne vient pas d'un problème de droit pour écrire dans la base, sachant que dans la page de gestion des comptes je n'ai que un utilisateur " root" comment savoir si la carte est saturé? . je continue de chercher, @+ Cyril
-
Bonjour, Je reviens vers vous apres quelques mois, j'ai mon weewx qui ne se remet plus a jour. J'ai tester un reboot, update, install mais ca ne change rien . voila le syslog si ca peut vous aider: pi@raspberrypi:~ $ tail -f /var/log/syslog Aug 20 14:01:34 raspberrypi weewx[12316] INFO __main__: Starting up weewx version 4.3.0 Aug 20 14:01:34 raspberrypi weewx[12316] INFO weewx.engine: Clock error is 0.53 seconds (positive is fast) Aug 20 14:01:34 raspberrypi weewx[12316] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx' Aug 20 14:01:34 raspberrypi weewx[12316] INFO weewx.manager: Starting backfill of daily summaries Aug 20 14:01:35 raspberrypi weewx[12316] 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 20 14:01:35 raspberrypi weewx[12316] INFO weewx.engine: Main loop exiting. Shutting engine down. Aug 20 14:01:35 raspberrypi systemd[1]: mariadb.service: Main process exited, code=killed, status=6/ABRT Aug 20 14:01:35 raspberrypi systemd[1]: mariadb.service: Failed with result 'signal'. Aug 20 14:01:35 raspberrypi weewx[12316] CRITICAL __main__: Database connection exception: (2006, 'MySQL server has gone away') Aug 20 14:01:35 raspberrypi weewx[12316] CRITICAL __main__: **** Waiting 60 seconds then retrying... Aug 20 14:01:40 raspberrypi systemd[1]: mariadb.service: Service RestartSec=5s expired, scheduling restart. Aug 20 14:01:40 raspberrypi systemd[1]: mariadb.service: Scheduled restart job, restart counter is at 898. Aug 20 14:01:40 raspberrypi systemd[1]: Stopped MariaDB 10.3.27 database server. Aug 20 14:01:40 raspberrypi systemd[1]: Starting MariaDB 10.3.27 database server... Aug 20 14:01:40 raspberrypi mysqld[12542]: 2022-08-20 14:01:40 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 12542 ... Aug 20 14:01:40 raspberrypi mysqld[12542]: 2022-08-20 14:01:40 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32186) Aug 20 14:01:41 raspberrypi systemd[1]: Started MariaDB 10.3.27 database server. Aug 20 14:01:41 raspberrypi /etc/mysql/debian-start[12578]: Upgrading MySQL tables if necessary. Aug 20 14:01:41 raspberrypi /etc/mysql/debian-start[12581]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored Aug 20 14:01:41 raspberrypi /etc/mysql/debian-start[12581]: Looking for 'mysql' as: /usr/bin/mysql Aug 20 14:01:41 raspberrypi /etc/mysql/debian-start[12581]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck Aug 20 14:01:41 raspberrypi /etc/mysql/debian-start[12581]: Version check failed. Got the following error when calling the 'mysql' command line client Aug 20 14:01:41 raspberrypi /etc/mysql/debian-start[12581]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Aug 20 14:01:41 raspberrypi /etc/mysql/debian-start[12581]: FATAL ERROR: Upgrade failed Aug 20 14:01:41 raspberrypi /etc/mysql/debian-start[12591]: Checking for insecure root accounts. Aug 20 14:01:41 raspberrypi debian-start[12576]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Aug 20 14:02:21 raspberrypi rngd[318]: stats: bits received from HRNG source: 660064 Aug 20 14:02:21 raspberrypi rngd[318]: stats: bits sent to kernel pool: 603584 Aug 20 14:02:21 raspberrypi rngd[318]: stats: entropy added to kernel pool: 603584 Aug 20 14:02:21 raspberrypi rngd[318]: stats: FIPS 140-2 successes: 33 Aug 20 14:02:21 raspberrypi rngd[318]: stats: FIPS 140-2 failures: 0 Aug 20 14:02:21 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) Monobit: 0 Aug 20 14:02:21 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) Poker: 0 Aug 20 14:02:21 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) Runs: 0 Aug 20 14:02:21 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) Long run: 0 Aug 20 14:02:21 raspberrypi rngd[318]: stats: FIPS 140-2(2001-10-10) Continuous run: 0 Aug 20 14:02:21 raspberrypi rngd[318]: stats: HRNG source speed: (min=367.938; avg=843.750; max=1023.382)Kibits/s Aug 20 14:02:21 raspberrypi rngd[318]: stats: FIPS tests speed: (min=6.332; avg=7.314; max=16.500)Mibits/s Aug 20 14:02:21 raspberrypi rngd[318]: stats: Lowest ready-buffers level: 2 Aug 20 14:02:21 raspberrypi rngd[318]: stats: Entropy starvations: 0 Aug 20 14:02:21 raspberrypi rngd[318]: stats: Time spent starving for entropy: (min=0; avg=0.000; max=0)us Aug 20 14:02:35 raspberrypi weewx[12316] INFO __main__: retrying... Aug 20 14:02:35 raspberrypi weewx[12316] INFO __main__: Using configuration file /home/weewx/weewx.conf Aug 20 14:02:35 raspberrypi weewx[12316] INFO __main__: Debug is 0 Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage) Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.engine: StdConvert target unit is 0x10 Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.engine: Archive will use data binding wx_binding Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.engine: Record generation will be attempted in 'hardware' Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware) Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware) Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.restx: StationRegistry: Station will be registered. Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.restx: Wunderground: Posting not enabled. Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.restx: PWSweather: Posting not enabled. Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.restx: CWOP: Posting not enabled. Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.restx: WOW: Posting not enabled. Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.restx: AWEKAS: Posting not enabled. Aug 20 14:02:35 raspberrypi weewx[12316] INFO __main__: Starting up weewx version 4.3.0 Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.engine: Clock error is 0.60 seconds (positive is fast) Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx' Aug 20 14:02:35 raspberrypi weewx[12316] INFO weewx.manager: Starting backfill of daily summaries Aug 20 14:02:36 raspberrypi weewx[12316] 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 20 14:02:36 raspberrypi weewx[12316] INFO weewx.engine: Main loop exiting. Shutting engine down. Aug 20 14:02:36 raspberrypi systemd[1]: mariadb.service: Main process exited, code=killed, status=6/ABRT Aug 20 14:02:36 raspberrypi systemd[1]: mariadb.service: Failed with result 'signal'. Aug 20 14:02:36 raspberrypi weewx[12316] CRITICAL __main__: Database connection exception: (2006, 'MySQL server has gone away') Aug 20 14:02:36 raspberrypi weewx[12316] CRITICAL __main__: **** Waiting 60 seconds then retrying... Aug 20 14:02:41 raspberrypi systemd[1]: mariadb.service: Service RestartSec=5s expired, scheduling restart. Aug 20 14:02:41 raspberrypi systemd[1]: mariadb.service: Scheduled restart job, restart counter is at 899. Aug 20 14:02:41 raspberrypi systemd[1]: Stopped MariaDB 10.3.27 database server. Aug 20 14:02:41 raspberrypi systemd[1]: Starting MariaDB 10.3.27 database server... Aug 20 14:02:41 raspberrypi mysqld[12650]: 2022-08-20 14:02:41 0 [Note] /usr/sbin/mysqld (mysqld 10.3.27-MariaDB-0+deb10u1) starting as process 12650 ... Aug 20 14:02:41 raspberrypi mysqld[12650]: 2022-08-20 14:02:41 0 [Warning] Could not increase number of max_open_files to more than 16384 (request: 32186) Aug 20 14:02:41 raspberrypi systemd[1]: Started MariaDB 10.3.27 database server. Aug 20 14:02:41 raspberrypi /etc/mysql/debian-start[12686]: Upgrading MySQL tables if necessary. Aug 20 14:02:42 raspberrypi /etc/mysql/debian-start[12689]: /usr/bin/mysql_upgrade: the '--basedir' option is always ignored Aug 20 14:02:42 raspberrypi /etc/mysql/debian-start[12689]: Looking for 'mysql' as: /usr/bin/mysql Aug 20 14:02:42 raspberrypi /etc/mysql/debian-start[12689]: Looking for 'mysqlcheck' as: /usr/bin/mysqlcheck Aug 20 14:02:42 raspberrypi /etc/mysql/debian-start[12689]: Version check failed. Got the following error when calling the 'mysql' command line client Aug 20 14:02:42 raspberrypi /etc/mysql/debian-start[12689]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Aug 20 14:02:42 raspberrypi /etc/mysql/debian-start[12689]: FATAL ERROR: Upgrade failed Aug 20 14:02:42 raspberrypi /etc/mysql/debian-start[12699]: Checking for insecure root accounts. Aug 20 14:02:42 raspberrypi debian-start[12684]: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO) Aug 20 14:03:36 raspberrypi weewx[12316] INFO __main__: retrying... Aug 20 14:03:36 raspberrypi weewx[12316] INFO __main__: Using configuration file /home/weewx/weewx.conf Merci d'avance @+ Cyril PS, je viens de tomber la dessus: il y a une erreur avec cette date, et il faudrait que je la supprime de la base de donnée si j'ai bien compris?
-
@BMGB-59 et @970hPa Merci, la "vidange" a bien fonctionné Bonne soirée Cyril
-
J'ai fait le test de retirer les piles mais sans succès. Et pour vider la mémoire je n'arrive pas a faire fonctionner l'extension wee_device il faut juste écrire ca dans un terminal? " wee_device --dump wee_device --clear-memory " Désolé pour mes questions surement basiques
-
Bonsoir, Le fichier (index.html )est bien modifié sur mon Raspberry mais sans les nouvelles données. Je l'ai installé en Deb. Tout fonctionnait très biens depuis mois de janvier. Je suis tombé la dessus en cherchant https://github.com/weewx/weewx/issues/247 j'ai testé ca: mais il ne trouve pas la commande @BMGB-59 Merci
-
non c'est directement sur mon raspberry, j'ai installer le truc de base de donné SQL au debut, donc pour moi tout est stocké la dedans ( je ne suis pas une bête a ce niveau la 😆) est ce qu'il n'y a pas un soucis avec la connexion USB? y a t-il moyen de tester?
-
j'ai fait un update et reboot, pareil j'ai fait un syslog et je vois bien que les rapports sont créés mais ne sont pas mis a jour :/. ( PS le theme Belchertown javais essayé de l'installer au debut mais je ne lai jamais utilisé) Nov 14 20:39:34 raspberrypi weewx[1338] INFO weewx.restx: WOW: Posting not enabled. Nov 14 20:39:34 raspberrypi weewx[1338] INFO weewx.restx: AWEKAS: Posting not enabled. Nov 14 20:39:34 raspberrypi weewx[1338] INFO __main__: Starting up weewx version 4.3.0 Nov 14 20:39:34 raspberrypi weewx[1338] INFO weewx.engine: Clock error is -0.32 seconds (positive is fast) Nov 14 20:39:34 raspberrypi weewx[1338] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx' Nov 14 20:39:34 raspberrypi weewx[1338] INFO weewx.manager: Starting backfill of daily summaries Nov 14 20:39:35 raspberrypi weewx[1338] INFO weewx.engine: Starting main packet loop. Nov 14 20:40:21 raspberrypi weewx[1338] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 4.68 seconds Nov 14 20:40:22 raspberrypi weewx[1338] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 1.26 seconds Nov 14 20:40:22 raspberrypi weewx[1338] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx Nov 14 20:40:22 raspberrypi weewx[1338] INFO user.belchertown: version 1.2 Nov 14 20:40:31 raspberrypi weewx[1338] INFO weewx.cheetahgenerator: Generated 11 files for report Belchertown in 8.64 seconds Nov 14 20:40:31 raspberrypi weewx[1338] INFO weewx.reportengine: Copied 37 files to /var/www/html/weewx/belchertown Nov 14 20:40:43 raspberrypi systemd[1]: Stopping LSB: weewx weather system... Nov 14 20:40:43 raspberrypi weewx[1338] INFO __main__: Received signal TERM (15). Nov 14 20:40:43 raspberrypi weewx[1338] INFO weewx.engine: Main loop exiting. Shutting engine down. Nov 14 20:40:43 raspberrypi weewx[1338] INFO weewx.engine: Shutting down StdReport thread Nov 14 20:40:43 raspberrypi weewx[1338] INFO __main__: Terminating weewx version 4.3.0 Nov 14 20:40:43 raspberrypi weewx[1373]: Stopping weewx weather system: weewx. Nov 14 20:40:43 raspberrypi systemd[1]: weewx.service: Succeeded. Nov 14 20:40:43 raspberrypi systemd[1]: Stopped LSB: weewx weather system. Nov 14 20:40:47 raspberrypi systemd[1]: Starting LSB: weewx weather system... Nov 14 20:40:47 raspberrypi weewx[1433] INFO __main__: Initializing weewx version 4.3.0 Nov 14 20:40:47 raspberrypi weewx[1433] INFO __main__: Using Python 3.7.3 (default, Jul 25 2020, 13:03:44) #012[GCC 8.3.0] Nov 14 20:40:47 raspberrypi weewx[1433] INFO __main__: Platform Linux-5.4.83-v7+-armv7l-with-debian-10.7 Nov 14 20:40:47 raspberrypi weewx[1433] INFO __main__: Locale is 'fr_FR.UTF-8' Nov 14 20:40:47 raspberrypi weewx[1433] INFO __main__: PID file is /var/run/weewx.pid Nov 14 20:40:47 raspberrypi weewx[1437] INFO __main__: Using configuration file /home/weewx/weewx.conf Nov 14 20:40:47 raspberrypi weewx[1437] INFO __main__: Debug is 0 Nov 14 20:40:47 raspberrypi weewx[1437] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage) Nov 14 20:40:47 raspberrypi weewx[1422]: Starting weewx weather system: weewx. Nov 14 20:40:47 raspberrypi systemd[1]: Started LSB: weewx weather system. Nov 14 20:40:47 raspberrypi weewx[1437] INFO weewx.engine: StdConvert target unit is 0x10 Nov 14 20:40:47 raspberrypi weewx[1437] INFO weewx.engine: Archive will use data binding wx_binding Nov 14 20:40:47 raspberrypi weewx[1437] INFO weewx.engine: Record generation will be attempted in 'hardware' Nov 14 20:40:47 raspberrypi weewx[1437] INFO weewx.engine: Using archive interval of 300 seconds (specified by hardware) Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.restx: StationRegistry: Station will be registered. Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.restx: Wunderground: Posting not enabled. Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.restx: PWSweather: Posting not enabled. Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.restx: CWOP: Posting not enabled. Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.restx: WOW: Posting not enabled. Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.restx: AWEKAS: Posting not enabled. Nov 14 20:40:48 raspberrypi weewx[1437] INFO __main__: Starting up weewx version 4.3.0 Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.engine: Clock error is -1.12 seconds (positive is fast) Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx' Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.manager: Starting backfill of daily summaries Nov 14 20:40:48 raspberrypi weewx[1437] INFO weewx.engine: Starting main packet loop.