• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Plesk update failed : mysqldump: Couldn't execute 'show create table `general_log`'

AdelM

Basic Pleskian
Hello

Since a few days autoupdate fails with the below error
Any help would very much appreciated

========================================================
Version Plesk Obsidian v18.0.38_build1800210913.22 os_Ubuntu 18.04
OS Ubuntu 18.04.6 LTS
10.1.48-MariaDB-0ubuntu0.18.04.1 - Ubuntu 18.04
========================================================

**** Product prep-install started.
Create user 'psaadm' and group 'psaadm'
Group 'psaadm' already exists
Checking for the user 'psaadm'...
User 'psaadm' already exists
Create group 'swkey-data'
Group 'swkey-data' already exists
Trying to add supplementary group 'swkey-data' for user 'psaadm'... already there
Create group 'psaserv'
Group 'psaserv' already exists
Trying to add supplementary group 'psaserv' for user 'psaadm'... already there
Create group 'psacln'
Group 'psacln' already exists
Trying to got legacy variables... done
Trying to save legacy variables... done
Checking that /opt/psa/bin/chrootsh registered as login shell...

===> Performing safe prep-install database actions
===> Upgrading database

Trying to start service mariadb... active
done
Trying to establish test connection... connected
done
Trying to find psa database... version is 018000000
Trying to backup MySQL database... mysqldump: Couldn't execute 'show create table `general_log`': Can't find record in 'general_log' (1032)

ERROR while trying to backup MySQL database
**** Product prep-install for BASE failed.

mysqldump: Couldn't execute 'show create table `general_log`': Can't find record in 'general_log' (1032)
***** problem report *****
ERROR while trying to backup MySQL database

============================================
 
Couldn't execute 'show create table `general_log`': Can't find record in 'general_log' (1032)
Looks like mysql database is corrupted. Try to re-create the missing table:

Code:
# plesk db

> use mysql;

> drop table general_log;

> CREATE TABLE `general_log` (
  `event_time` timestamp(6) NOT NULL DEFAULT current_timestamp(6) ON UPDATE current_timestamp(6),
  `user_host` mediumtext NOT NULL,
  `thread_id` bigint(21) unsigned NOT NULL,
  `server_id` int(10) unsigned NOT NULL,
  `command_type` varchar(64) NOT NULL,
  `argument` mediumtext NOT NULL
) ENGINE=CSV DEFAULT CHARSET=utf8 COMMENT='General log';
 
Hi Igor
I found this morning that general_log table has a huge size and more than 1G size (Attched file)
Applied the solution you have provided.
Thanks a lot
 

Attachments

  • 2021-10-07_18-12-20.jpg
    2021-10-07_18-12-20.jpg
    164.2 KB · Views: 9
Back
Top