Closed echtfrank closed 8 months ago
I did an additional re-indexing of all files using the command
occ memories:index --retry
. After this I rebuild the places database again.
It is now running a lot further:
Inserted 513500 / 635189 places (80.8%), Last: Lucaston ERROR: Failed to insert polygon 10627494_0 (An exception occurred while executing a query: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
But unfortunately, it does not finish properly and exits again. It seems like the database is not available? Anyway, I think it is strange that yesterday I had no problems, and now I have... given the fact that version 7.0.2 so quickly follows the 7.0.1-release.
https://memories.gallery/troubleshooting/#general-error-2006-mysql-server-has-gone-away
You don't actually need to re run this for the patch versions. Just running it once is good enough
Thanks, for pointing me to the trouble shooting guide. I am going to investigate and try further.
My install warned me that Reverse geocoding has not been configured (-1)
so I ran occ memories:places-setup --transaction-size=5
.
I got the 2006 MySQL server has gone away
error and adjusted my mariadb config settings to increase the timeout:
max_allowed_packet = 256M
net_read_timeout = 60
net_write_timeout = 120
wait_timeout = 28800
innodb_log_file_size = 256M
innodb_buffer_pool_size = 5G
This did not fix the issue and I got the error again. I watched the process and the MySQL server isn't overloaded.
Update: max_connections
was set too high. Lowering it fixed the issue.
I'm assuming this has been fixed. Please reopen otherwise.
Describe the bug After migrating from version 7.0.1 to version 7.0.2, rebuilding the places database repeatedly breaks at polygon 1250232_0.
To Reproduce Login to CLI and run command:
ncc memories:places-setup
("ncc" is equivalant for "occ" on Nextcloud implementation on DietPi)Screenshots Last lines of logging:
Platform:
Additional context Yesterday, after upgrading from Memories 7.0.0 to 7.0.1 I performed the exact same step, and this went well.