package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1

Bug #1980607 reported by Marcus-torndahl
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mysql-8.0 (Ubuntu)
New
Undecided
Unassigned

Bug Description

During installation of "bookstack" (using the "Ubuntu 22.04"-script at "https://www.bookstackapp.com/docs/admin/installation/") mysql-server was installed but the mysql-server" failed during start.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: mysql-server-8.0 8.0.29-0ubuntu0.22.04.2
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun Jul 3 23:40:22 2022
ErrorMessage: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-07-03 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
Logs.var.log.daemon.log:

MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql]
MySQLConf.etc.mysql.conf.d.mysqldump.cnf:
 [mysqldump]
 quick
 quote-names
 max_allowed_packet = 16M
MySQLConf.etc.mysql.my.cnf: Error: [Errno 40] Too many levels of symbolic links: '/etc/mysql/my.cnf'
MySQLVarLibDirListing: ['ca-key.pem', 'binlog.index', 'public_key.pem', 'server-key.pem', 'ib_logfile0', '#ib_16384_0.dblwr', 'auto.cnf', 'ib_buffer_pool', '#ib_16384_1.dblwr', 'mysql', '#innodb_temp', 'server-cert.pem', 'ibdata1', 'sys', 'client-cert.pem', 'undo_002', 'debian-5.7.flag', 'mysql.ibd', 'ca.pem', 'client-key.pem', 'performance_schema', 'private_key.pem', 'undo_001', 'ib_logfile1']
ProcCmdline: BOOT_IMAGE=/BOOT/ubuntu_cwfb54@/vmlinuz-5.15.0-25-generic root=ZFS=rpool/ROOT/ubuntu_cwfb54 ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.5
SourcePackage: mysql-8.0
Title: package mysql-server-8.0 8.0.29-0ubuntu0.22.04.2 failed to install/upgrade: installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Marcus-torndahl (marcus-torndahl) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Lena Voytek (lvoytek) wrote :

Hello,
I see you are using zfs and from your logs I see:
2022-07-03T21:40:21.046795Z 1 [ERROR] [MY-012963] [InnoDB] Log file ./ib_logfile1 is of different size 0 bytes than other log files 18874368 bytes!

This is due to an issue with zfs that will be fixed in the next kernel release. I will mark this bug as a duplicate of that issue for reference.

Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.