https://bugs.kde.org/show_bug.cgi?id=440590

--- Comment #11 from Karsten de Freese <karsten.defre...@posteo.de> ---
No success yet - I could restore the original behaviour, and run the manual
upgrade,
 but digikam fails to start with the upgraded database.

This is what I did (all using the installed copy of digikam 7.3.0):

- I restored
-- $HOME/.local/share/digikam/
-- $HOME/.config/digikam*
-- the database directory (/var/lib/digikam_db in my case)
  to the state before the update.

- I started digikam 7.3.0 (local installation)
  The original error messages popped up - so far as expected.
  ("Failed to update the database schema from version 12 to version 13...")

- while the error messages were still shown, a manual database upgrade ran
successfully
  ("mariadb-upgrade
--socket=/home/karsten/.local/share/digikam/db_misc/mysql.socket")

- I clicked ok the digikam error messages and digikam terminated after a while

=> so far so good

- BUT: Starting digikam again did result in the error seen yesterday:
  "An error occurred during the internal server start.
   Details:
   Database process exited unexpectedly during initial connection.
   <p>Executable: /usr/sbin/mysqld</p>
   <p>Arguments: --defaults-file=/home/karsten/.local/share/digikam/mysql.conf,
   --datadir=/var/lib/digikam_db/MySQL/.mysql.digikam/db_data,
   --socket=/home/karsten/.local/share/digikam/db_misc/mysql.socket</p>
   <p>Process error: Process crashed</p>"
  (formatting by myself)

The debug output in the terminal at this point:
digikam.widgets: Use installed icons
digikam.general: Switch to widget style:  ""
digikam.general: Switch to application font:  QFont(Noto
Sans,10,-1,5,50,0,0,0,0,0)
digikam.general: AlbumWatch is disabled
digikam.general: Database Parameters:
   Type:                      "QMYSQL"
   DB Core Name:              "digikam"
   DB Thumbs Name:            "digikam"
   DB Face Name:              "digikam"
   DB Similarity Name:        "digikam"
   Connect Options:          
"UNIX_SOCKET=/home/karsten/.local/share/digikam/db_misc/mysql.socket"
   Host Name:                 ""
   Host port:                 -1
   Internal Server:           true
   Internal Server Path:      "/var/lib/digikam_db/MySQL"
   Internal Server Admin Cmd: "mysqladmin"
   Internal Server Serv Cmd:  "/usr/sbin/mysqld"
   Internal Server Init Cmd:  "mysql_install_db"
   Username:                  "root"
   Password:                  ""

digikam.databaseserver: Database Parameters:
   Type:                      "QMYSQL"
   DB Core Name:              "digikam"
   DB Thumbs Name:            "digikam"
   DB Face Name:              "digikam"
   DB Similarity Name:        "digikam"
   Connect Options:          
"UNIX_SOCKET=/home/karsten/.local/share/digikam/db_misc/mysql.socket"
   Host Name:                 ""
   Host port:                 -1
   Internal Server:           true
   Internal Server Path:      "/var/lib/digikam_db/MySQL"
   Internal Server Admin Cmd: "mysqladmin"
   Internal Server Serv Cmd:  "/usr/sbin/mysqld"
   Internal Server Init Cmd:  "mysql_install_db"
   Username:                  "root"
   Password:                  ""

digikam.databaseserver: Internal Server data path:
"/var/lib/digikam_db/MySQL/.mysql.digikam/db_data"
digikam.databaseserver: The mysql configuration was already up-to-date:
"/home/karsten/.local/share/digikam/mysql.conf"
digikam.databaseserver: Database server: "/usr/sbin/mysqld"
("--defaults-file=/home/karsten/.local/share/digikam/mysql.conf",
"--datadir=/var/lib/digikam_db/MySQL/.mysql.digikam/db_data",
"--socket=/home/karsten/.local/share/digikam/db_misc/mysql.socket")
digikam.databaseserver: "Database process exited unexpectedly during initial
connection."
digikam.databaseserver: Executable: "/usr/sbin/mysqld"
digikam.databaseserver: Arguments:
"--defaults-file=/home/karsten/.local/share/digikam/mysql.conf,
--datadir=/var/lib/digikam_db/MySQL/.mysql.digikam/db_data,
--socket=/home/karsten/.local/share/digikam/db_misc/mysql.socket"
digikam.databaseserver: Stdout: ""
digikam.databaseserver: Stderr: "2021-08-05 12:13:56 0 [Note] /usr/sbin/mysqld
(mysqld 10.5.10-MariaDB-log) starting as process 29222 ...\n"
digikam.databaseserver: Exit code: 6
digikam.databaseserver: Process error: "Process crashed"
digikam.databaseserver: Cannot start internal database server

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to