Closed zagub59 closed 2 years ago
General error: 2006 MySQL server has gone away
Your server crashed.
Hi @ChristophWurst, Thanks for your fast answer.
Yes, Mariadb indeed crashes when I attempt to update :
Mar 7 13:49:31 Nextcloud mariadbd[1577]: 2022-03-07 13:49:31 0x7f1548e60700 InnoDB: Assertion failure in file /home/buildbot/buildbot/build/mariadb-10.5.15/storage/i$
Mar 7 13:49:31 Nextcloud mariadbd[1577]: InnoDB: Failing assertion: dict_tf2_is_valid(flags, flags2)
Mar 7 13:49:31 Nextcloud mariadbd[1577]: InnoDB: We intentionally generate a memory trap.
Mar 7 13:49:31 Nextcloud mariadbd[1577]: InnoDB: Submit a detailed bug report to https://jira.mariadb.org/
Mar 7 13:49:31 Nextcloud mariadbd[1577]: InnoDB: If you get repeated assertion failures or crashes, even
Mar 7 13:49:31 Nextcloud mariadbd[1577]: InnoDB: immediately after the mysqld startup, there may be
Mar 7 13:49:31 Nextcloud mariadbd[1577]: InnoDB: corruption in the InnoDB tablespace. Please refer to
Mar 7 13:49:31 Nextcloud mariadbd[1577]: InnoDB: https://mariadb.com/kb/en/library/innodb-recovery-modes/
Mar 7 13:49:31 Nextcloud mariadbd[1577]: InnoDB: about forcing recovery.
Mar 7 13:49:31 Nextcloud mariadbd[1577]: 220307 13:49:31 [ERROR] mysqld got signal 6 ;
Mar 7 13:49:31 Nextcloud mariadbd[1577]: This could be because you hit a bug. It is also possible that this binary
Mar 7 13:49:31 Nextcloud mariadbd[1577]: or one of the libraries it was linked against is corrupt, improperly built,
Mar 7 13:49:31 Nextcloud mariadbd[1577]: or misconfigured. This error can also be caused by malfunctioning hardware.
Mar 7 13:49:31 Nextcloud mariadbd[1577]: To report this bug, see https://mariadb.com/kb/en/reporting-bugs
Mar 7 13:49:31 Nextcloud mariadbd[1577]: We will try our best to scrape up some info that will hopefully help
Mar 7 13:49:31 Nextcloud mariadbd[1577]: diagnose the problem, but since we have already crashed,
Mar 7 13:49:31 Nextcloud mariadbd[1577]: something is definitely wrong and this may fail.
Mar 7 13:49:31 Nextcloud mariadbd[1577]: Server version: 10.5.15-MariaDB-1:10.5.15+maria~stretch-log
Mar 7 13:49:31 Nextcloud mariadbd[1577]: key_buffer_size=67108864
Mar 7 13:49:31 Nextcloud mariadbd[1577]: read_buffer_size=131072
Mar 7 13:49:31 Nextcloud mariadbd[1577]: max_used_connections=5
Mar 7 13:49:31 Nextcloud mariadbd[1577]: max_threads=153
Mar 7 13:49:31 Nextcloud mariadbd[1577]: thread_count=5
Mar 7 13:49:31 Nextcloud mariadbd[1577]: It is possible that mysqld could use up to
Mar 7 13:49:31 Nextcloud mariadbd[1577]: key_buffer_size + (read_buffer_size + sort_buffer_size)max_threads = 402336 K bytes of memory
Mar 7 13:49:31 Nextcloud mariadbd[1577]: Hope that's ok; if not, decrease some variables in the equation.
Mar 7 13:49:31 Nextcloud mariadbd[1577]: Thread pointer: 0x7f14b80009b8
Mar 7 13:49:31 Nextcloud mariadbd[1577]: Attempting backtrace. You can use the following information to find out
Mar 7 13:49:31 Nextcloud mariadbd[1577]: where mysqld died. If you see no messages after this, something went
Mar 7 13:49:31 Nextcloud mariadbd[1577]: terribly wrong...
Mar 7 13:49:31 Nextcloud mariadbd[1577]: stack_bottom = 0x7f1548e5fc78 thread_stack 0x49000
Mar 7 13:49:31 Nextcloud mariadbd[1577]: ??:0(my_print_stacktrace)[0x560d710e440e]
Mar 7 13:49:31 Nextcloud mariadbd[1577]: ??:0(handle_fatal_signal)[0x560d70af3aff]
Mar 7 13:49:31 Nextcloud mariadbd[1577]: ??:0(__restore_rt)[0x7f156620d0e0]
Mar 7 13:49:31 Nextcloud mariadbd[1577]: ??:0(gsignal)[0x7f1565605fff]
Mar 7 13:49:31 Nextcloud mariadbd[1577]: ??:0(abort)[0x7f156560742a]
Mar 7 13:49:32 Nextcloud mariadbd[1577]: /usr/sbin/mariadbd(+0x615c5e)[0x560d707e0c5e]
Mar 7 13:49:32 Nextcloud mariadbd[1577]: ??:0(std::_Rb_tree<unsigned int, unsigned int, std::_Identity
In case it might be useful to some, I fixed the issue by running the following command : mysqlcheck --optimize --all-databases --auto-repair
Have a good day !
Steps to reproduce
Expected behavior
Calendar app updates successfully
Actual behaviour
Database error when running migration latest for app calendar thrown when trying to update. Forced to disable app to restore access to Nextcloud. Same issue when deleting the app and trying to enable it again.
Calendar app version
3.1.0
CalDAV-clients used
DAVx5
Browser
Firefox 97.0.1
Client operating system
Debian
Server operating system
Debian 9.13
Web server
Apache
Database engine version
MariaDB
PHP engine version
PHP 8.0
Nextcloud version
23.0.2
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
Nextcloud configuration
Web server error log
No response
Log file
Browser log
No response
Additional info
No response