attempt to write a readonly database (8)
Posted: Fri Sep 17, 2021 12:15 am
ever since updating to the 13-Sep build, my MB Pros show errors of the type below (it's on both of my MB Pros, connected to different consoles)
not limited to rain data - claiming suddenly that there is a read-only database or that the DB is locked.
Repeated reboots, power-cycling won't change anything
These messages are new - at least in their frequency of occurrence.
They occur in a period during which a database backup is taking place, but not only then ... also after backups are finished.
That was also so before the latest update (i.e. the backups took place and still take place at the same time) - without all these error messages ....
I have no idea why my DB should suddenly be read-only respectively locked ....
Has the DB become too large ? (765 MB)
In one of my MB Pro I moved the DB to an external (bigger) USB device - the messages remain the same.
And I please don't want to hear that I should use the internal USB because ....
It has become too small ...
Only one station but minute based data - anyhow, earlier or later the DB will reach the threshold ...
It's not a RPi where the size of the microSD card defines the threshold.
Because of this I didn't update my MB on RPi yet as I don't want to end up in a complete mess ...
If it were only a DB size issue, the imessages shouldn't be there with an external USB for the DB (128 GB).
Any advice ?
database (17.09.2021 00:02:42): cannot prepare select on read tables (after 100 tries in 9546ms): database disk image is malformed
database (17.09.2021 00:02:42): process received signal (10) in functions sigcrash < **getdiffms < read_tables_db < sync_db < *send_db_msg < *send_db_msg < *file_copy <
logger (17.09.2021 00:02:46): sensors are now providing data.
logger (17.09.2021 00:02:46): services started.
logger (17.09.2021 00:03:13): DB cannot prepare select on 'rain0total_day' (after 100 tries in 9125ms): attempt to write a readonly database (8)
logger (17.09.2021 00:03:22): DB cannot prepare select on 'rain0total_month' (after 100 tries in 9123ms): attempt to write a readonly database (8)
logger (17.09.2021 00:03:31): DB cannot prepare select on 'rain0total_year' (after 100 tries in 9124ms): attempt to write a readonly database (8)
logger (17.09.2021 00:04:14): DB cannot retrieve 'th0hum_year' (100 tries, 9089ms): database is locked (5)
logger (17.09.2021 00:04:32): DB cannot retrieve 'th0hum_day' (100 tries, 9078ms): database is locked (5)
logger (17.09.2021 00:14:22): databases connected. Update interval 3600 seconds.
logger (17.09.2021 00:14:22): data logger (version 5.2, build 14568) started.
logger (17.09.2021 00:14:23): connect station 0 (GW1000 via TCP/IP).
logger (17.09.2021 00:14:23): connect station 9 (System Data via Plug-in).
logger (17.09.2021 00:14:26): waiting for sensors (wind0, rain0, th0, thb0) to provide data.
logger (17.09.2021 00:14:26): services paused.
logger (17.09.2021 00:14:33): sensors are now providing data.
logger (17.09.2021 00:14:33): services started.
logger (17.09.2021 00:14:59): DB cannot prepare select on 'rain0total_day' (after 100 tries in 9177ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:08): DB cannot prepare select on 'rain0total_month' (after 100 tries in 9212ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:17): DB cannot prepare select on 'rain0total_year' (after 100 tries in 9226ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:26): DB cannot prepare select on 'rain0total_day' (after 100 tries in 9214ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:36): DB cannot prepare select on 'th0temp_day' (after 100 tries in 9263ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:45): DB cannot prepare select on 'th0temp_day' (after 100 tries in 9180ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:54): DB cannot prepare select on 'th0temp_day' (after 100 tries in 9264ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:03): DB cannot prepare select on 'th0temp_day' (after 100 tries in 9211ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:13): DB cannot prepare select on 'wind0avgwind_day' (after 100 tries in 9233ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:22): DB cannot prepare select on 'wind0avgwind_day' (after 100 tries in 9223ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:31): DB cannot prepare select on 'wind0wind_day' (after 100 tries in 9184ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:40): DB cannot prepare select on 'wind0wind_day' (after 100 tries in 9222ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:49): DB cannot prepare select on 'thb0seapress_day' (after 100 tries in 9252ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:59): DB cannot prepare select on 'thb0seapress_day' (after 100 tries in 9226ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:08): DB cannot prepare select on 'thb0seapress_day' (after 100 tries in 9253ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:17): DB cannot prepare select on 'thb0seapress_day' (after 100 tries in 9230ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:26): DB cannot prepare select on 'th0dew_month' (after 100 tries in 9210ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:36): DB cannot prepare select on 'th0dew_month' (after 100 tries in 9234ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:45): DB cannot prepare select on 'th0dew_month' (after 100 tries in 9255ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:54): DB cannot prepare select on 'th0dew_month' (after 100 tries in 9200ms): attempt to write a readonly database (8)
logger (17.09.2021 00:18:03): DB cannot prepare select on 'th0dew_day' (after 100 tries in 9187ms): attempt to write a readonly database (8)
logger (17.09.2021 00:18:13): DB cannot prepare select on 'th0dew_day' (after 100 tries in 9184ms): attempt to write a readonly database (8)
not limited to rain data - claiming suddenly that there is a read-only database or that the DB is locked.
Repeated reboots, power-cycling won't change anything
These messages are new - at least in their frequency of occurrence.
They occur in a period during which a database backup is taking place, but not only then ... also after backups are finished.
That was also so before the latest update (i.e. the backups took place and still take place at the same time) - without all these error messages ....
I have no idea why my DB should suddenly be read-only respectively locked ....
Has the DB become too large ? (765 MB)
In one of my MB Pro I moved the DB to an external (bigger) USB device - the messages remain the same.
And I please don't want to hear that I should use the internal USB because ....
It has become too small ...
Only one station but minute based data - anyhow, earlier or later the DB will reach the threshold ...
It's not a RPi where the size of the microSD card defines the threshold.
Because of this I didn't update my MB on RPi yet as I don't want to end up in a complete mess ...
If it were only a DB size issue, the imessages shouldn't be there with an external USB for the DB (128 GB).
Any advice ?
database (17.09.2021 00:02:42): cannot prepare select on read tables (after 100 tries in 9546ms): database disk image is malformed
database (17.09.2021 00:02:42): process received signal (10) in functions sigcrash < **getdiffms < read_tables_db < sync_db < *send_db_msg < *send_db_msg < *file_copy <
logger (17.09.2021 00:02:46): sensors are now providing data.
logger (17.09.2021 00:02:46): services started.
logger (17.09.2021 00:03:13): DB cannot prepare select on 'rain0total_day' (after 100 tries in 9125ms): attempt to write a readonly database (8)
logger (17.09.2021 00:03:22): DB cannot prepare select on 'rain0total_month' (after 100 tries in 9123ms): attempt to write a readonly database (8)
logger (17.09.2021 00:03:31): DB cannot prepare select on 'rain0total_year' (after 100 tries in 9124ms): attempt to write a readonly database (8)
logger (17.09.2021 00:04:14): DB cannot retrieve 'th0hum_year' (100 tries, 9089ms): database is locked (5)
logger (17.09.2021 00:04:32): DB cannot retrieve 'th0hum_day' (100 tries, 9078ms): database is locked (5)
logger (17.09.2021 00:14:22): databases connected. Update interval 3600 seconds.
logger (17.09.2021 00:14:22): data logger (version 5.2, build 14568) started.
logger (17.09.2021 00:14:23): connect station 0 (GW1000 via TCP/IP).
logger (17.09.2021 00:14:23): connect station 9 (System Data via Plug-in).
logger (17.09.2021 00:14:26): waiting for sensors (wind0, rain0, th0, thb0) to provide data.
logger (17.09.2021 00:14:26): services paused.
logger (17.09.2021 00:14:33): sensors are now providing data.
logger (17.09.2021 00:14:33): services started.
logger (17.09.2021 00:14:59): DB cannot prepare select on 'rain0total_day' (after 100 tries in 9177ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:08): DB cannot prepare select on 'rain0total_month' (after 100 tries in 9212ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:17): DB cannot prepare select on 'rain0total_year' (after 100 tries in 9226ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:26): DB cannot prepare select on 'rain0total_day' (after 100 tries in 9214ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:36): DB cannot prepare select on 'th0temp_day' (after 100 tries in 9263ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:45): DB cannot prepare select on 'th0temp_day' (after 100 tries in 9180ms): attempt to write a readonly database (8)
logger (17.09.2021 00:15:54): DB cannot prepare select on 'th0temp_day' (after 100 tries in 9264ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:03): DB cannot prepare select on 'th0temp_day' (after 100 tries in 9211ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:13): DB cannot prepare select on 'wind0avgwind_day' (after 100 tries in 9233ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:22): DB cannot prepare select on 'wind0avgwind_day' (after 100 tries in 9223ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:31): DB cannot prepare select on 'wind0wind_day' (after 100 tries in 9184ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:40): DB cannot prepare select on 'wind0wind_day' (after 100 tries in 9222ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:49): DB cannot prepare select on 'thb0seapress_day' (after 100 tries in 9252ms): attempt to write a readonly database (8)
logger (17.09.2021 00:16:59): DB cannot prepare select on 'thb0seapress_day' (after 100 tries in 9226ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:08): DB cannot prepare select on 'thb0seapress_day' (after 100 tries in 9253ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:17): DB cannot prepare select on 'thb0seapress_day' (after 100 tries in 9230ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:26): DB cannot prepare select on 'th0dew_month' (after 100 tries in 9210ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:36): DB cannot prepare select on 'th0dew_month' (after 100 tries in 9234ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:45): DB cannot prepare select on 'th0dew_month' (after 100 tries in 9255ms): attempt to write a readonly database (8)
logger (17.09.2021 00:17:54): DB cannot prepare select on 'th0dew_month' (after 100 tries in 9200ms): attempt to write a readonly database (8)
logger (17.09.2021 00:18:03): DB cannot prepare select on 'th0dew_day' (after 100 tries in 9187ms): attempt to write a readonly database (8)
logger (17.09.2021 00:18:13): DB cannot prepare select on 'th0dew_day' (after 100 tries in 9184ms): attempt to write a readonly database (8)