lytledd wrote: ↑Mon Nov 18, 2024 5:35 pm
It shouldn't be a database problem; it's a fresh version 10.1.0 install. I used imap sync to move the email from a version 9 Zimbra and manually recreated the setup. It's a very small home mail server.
Reviewing the mysql_error.log shows that it isn't complaining about a bad database, it's an actual crash with debug info as soon as the install script tries to run the update.
1) Again. Despite what the mysql_error says I insist that you should
dump all of your databases to prove that your database is sane
prior to the upgrade. You know, before even trying to run the upgrade script.
2) Also check /var/log/syslog or journalctl -r to see if there is an Out Of Memory error there that kills somehow mysqld.
3) Make sure to upgrade your system thanks to
and reboot it before starting the upgrade.
4) Regarding you saying that it's a fresh version 10.1.0 install that doesn't prove anything. E.g. you can have a fresh version 10.1.0 install and make your VM snapshot with your VM running which doesn't ensure a proper mysql state.
5) Open issue on Github. Thank you.
6) I extract relevant log from your link below:
Code: Select all
2024-11-18 12:17:56 139794969538240 [Note] /opt/zimbra/common/sbin/mysqld: ready for connections.
Version: '10.1.25-MariaDB' socket: '/opt/zimbra/data/tmp/mysql/mysql.sock' port: 7306 Zimbra MariaDB binary distribution
241118 12:18:25 [ERROR] mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
To report this bug, see https://mariadb.com/kb/en/reporting-bugs
We will try our best to scrape up some info that will hopefully help
diagnose the problem, but since we have already crashed,
something is definitely wrong and this may fail.
Server version: 10.1.25-MariaDB
key_buffer_size=134217728
read_buffer_size=1048576
max_used_connections=1
max_threads=112
thread_count=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 362733 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x562eea5ec008
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x7f23487dd138 thread_stack 0x48400
/opt/zimbra/common/sbin/mysqld(my_print_stacktrace+0x32)[0x562ed2663282]
/opt/zimbra/common/sbin/mysqld(handle_fatal_signal+0x566)[0x562ed227f086]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f248d868520]
/opt/zimbra/common/sbin/mysqld(_ZN7sp_headD0Ev+0x31)[0x562ed23b2a31]
/opt/zimbra/common/sbin/mysqld(_ZN3THD13end_statementEv+0x45)[0x562ed2095cc5]
/opt/zimbra/common/sbin/mysqld(_Z11mysql_parseP3THDPcjP12Parser_state+0x1f3)[0x562ed20cd9b3]
/opt/zimbra/common/sbin/mysqld(_Z16dispatch_command19enum_server_commandP3THDPcj+0x216d)[0x562ed20c032d]
/opt/zimbra/common/sbin/mysqld(_Z10do_commandP3THD+0x1d2)[0x562ed20c0b52]
/opt/zimbra/common/sbin/mysqld(_Z24do_handle_one_connectionP3THD+0x5a9)[0x562ed21b9819]
/opt/zimbra/common/sbin/mysqld(handle_one_connection+0x42)[0x562ed21b2fe2]
/lib/x86_64-linux-gnu/libc.so.6(+0x94ac3)[0x7f248d8baac3]
/lib/x86_64-linux-gnu/libc.so.6(+0x126850)[0x7f248d94c850]
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort.
Query (0x562ee4260020): CREATE PROCEDURE mysql.count_duplicate_host_names() BEGIN SET @duplicate_hosts=(SELECT count(*) FROM mysql.user GROUP BY user, lower(host) HAVING count(*) > 1 LIMIT 1); IF @duplicate_hosts > 1 THEN SIGNAL SQLSTATE '45000' SET MESSAGE_TEXT = 'Multiple accounts exist for @user_name, @host_name that differ only in Host lettercase; remove all except one of them'; END IF; END
Connection ID (thread ID): 17
Status: NOT_KILLED
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=off