Mixxx 2.3 fails to load database schema migrations

Bug #1921549 reported by Jan Holthuis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Critical
Jan Holthuis

Bug Description

Mixxx 2.3 fails to start on Arch Linux since today (even with a clean ~/.mixxx directory).

Upon start, this popup opens:
> Unable to upgrade your database schema to version 32
> The database schema file is invalid.
> For help with database issues contact:
> <email address hidden>
>
> Click OK to exit.

All unittests pass though.

Commit: 25f342e606c78e3da390ace708aebb50485ab9bf
Log output:

Log directory /home/jan/.mixxx does not exist!
Warning [Main]: Cannot open file ':/images/mixxx_icon.svg', because: No such file or directory
Warning [Main]: Cannot open file ':/images/mixxx_icon.svg', because: No such file or directory
Warning [Main]: "/proc/14170/root"
Critical [Main]: SchemaManager - Failed to load database schema migrations from ":/schema.xml".

System:
GNOME 40.0-1
Qt 5.15.2-5
CMake 3.20.0-1
GCC 10.2.0-6

Revision history for this message
Jan Holthuis (holthuis-jan) wrote :

Contents of my build directory:

 ls -l
drwxr-xr-x - jan jan 26 Mar 20:34 -- bin
.rw-r--r-- 6.4k jan jan 26 Mar 20:34 -- cmake_install.cmake
.rw-r--r-- 146k jan jan 26 Mar 20:34 -- CMakeCache.txt
drwxr-xr-x - jan jan 26 Mar 20:35 -- CMakeFiles
.rw-r--r-- 6.3k jan jan 26 Mar 20:34 -- CPackConfig.cmake
.rw-r--r-- 6.6k jan jan 26 Mar 20:34 -- CPackSourceConfig.cmake
.rw-r--r-- 326k jan jan 26 Mar 20:34 -- CTestTestfile.cmake
.rw-r--r-- 2.5k jan jan 26 Mar 20:34 -- DartConfiguration.tcl
drwxr-xr-x - jan jan 26 Mar 20:34 -- download
drwxr-xr-x - jan jan 26 Mar 20:35 -- lib
.rw-r--r-- 472k jan jan 26 Mar 20:34 -- libfidlib.a
.rw-r--r-- 10k jan jan 26 Mar 20:34 -- libFpClassify.a
.rw-r--r-- 326k jan jan 26 Mar 20:34 -- libKaitai.a
drwxr-xr-x - jan jan 26 Mar 20:34 -- libkeyfinder-prefix
.rw-r--r-- 109k jan jan 26 Mar 20:34 -- libmixxx-hidapi.a
.rw-r--r-- 667M jan jan 26 Mar 20:35 -- libmixxx-lib.a
.rw-r--r-- 40k jan jan 26 Mar 20:34 -- libmixxx-xwax.a
.rw-r--r-- 260k jan jan 26 Mar 20:34 -- libMP3GuessEnc.a
.rw-r--r-- 15k jan jan 26 Mar 20:34 -- libPortAudioRingBuffer.a
.rw-r--r-- 1.5M jan jan 26 Mar 20:34 -- libQtScriptByteArray.a
.rw-r--r-- 4.8M jan jan 26 Mar 20:34 -- libQueenMaryDsp.a
.rw-r--r-- 95k jan jan 26 Mar 20:34 -- libReplayGain.a
.rw-r--r-- 72k jan jan 26 Mar 20:34 -- libReverb.a
.rw-r--r-- 907k jan jan 26 Mar 20:34 -- Makefile
.rwxr-xr-x 361M jan jan 26 Mar 20:35 -- mixxx
drwxr-xr-x - jan jan 26 Mar 20:34 -- mixxx-lib_autogen
drwxr-xr-x - jan jan 26 Mar 20:34 -- mixxx-qrc_autogen
.rwxr-xr-x 395M jan jan 26 Mar 20:35 -- mixxx-test
drwxr-xr-x - jan jan 26 Mar 20:35 -- mixxx-test_autogen
drwxr-xr-x - jan jan 26 Mar 20:34 -- QtScriptByteArray_autogen
drwxr-xr-x - jan jan 26 Mar 20:34 -- src
drwxr-xr-x - jan jan 26 Mar 20:34 -- Testing

Looks like the res directory symlink is missing.

summary: - Mixxx 2.3 fails to load database schema migrations
+ Build: Resource directory symlink missing
Revision history for this message
Jan Holthuis (holthuis-jan) wrote : Re: Build: Resource directory symlink missing

Neither "ln -s ../res/ res" nor "./mixxx --resourcePath ../res/" fixes the issue.

summary: - Build: Resource directory symlink missing
+ Mixxx 2.3 fails to load database schema migrations
Revision history for this message
Jan Holthuis (holthuis-jan) wrote :
Download full text (20.1 KiB)

Here's a more verbose log. The resource directory looks correct to me.

$ ls -l /home/jan/Projects/mixxx/res/
drwxr-xr-x - jan jan 26 Mar 22:39 -- controllers
drwxr-xr-x - jan jan 26 Mar 22:09 -- fonts
drwxr-xr-x - jan jan 26 Mar 22:09 -- images
drwxr-xr-x - jan jan 26 Mar 22:09 -- keyboard
drwxr-xr-x - jan jan 26 Mar 22:09 -- linux
.rw-r--r-- 5.7k jan jan 26 Mar 22:39 -- mixxx.qrc
drwxr-xr-x - jan jan 26 Mar 22:09 -- osx
.rw-r--r-- 18k jan jan 26 Mar 22:09 -- schema.xml
drwxr-xr-x - jan jan 26 Mar 22:09 -- shaders
drwxr-xr-x - jan jan 26 Mar 22:09 -- skins
drwxr-xr-x - jan jan 26 Mar 22:39 -- translations

$ ./mixxx --developer
Debug [Main]: SoundSourceProxy - Registering SoundSource providers
Debug [Main]: SoundSourceProxy - Registering platform and fallback SoundSource providers
Debug [Main]: SoundSourceProviderRegistry - Registering provider "FFmpeg"
Info [Main]: SoundSourceFFmpeg - Disabling untested input formats: aa, ac3, acm, act, adf, adp, ads, adx, aea, afc, aix, alp, amr, amrnb, amrwb, anm, apc, ape, apm, apng, aptx, aptx_hd, aqtitle, argo_asf, asf, asf_o, ass, ast, au, av1, avi, avisynth, avr, avs, avs2, bethsoftvid, bfi, bin, bink, bit, bmv, bfstm, brstm, boa, c93, caf, cavsvideo, cdg, cdxl, cine, codec2, codec2raw, concat, dash, data, daud, dcstr, derf, dfa, dhav, dirac, dnxhd, dsf, dsicin, dss, dts, dtshd, dv, dvbsub, dvbtxt, dxa, ea, ea_cdata, eac3, epaf, ffmetadata, filmstrip, fits, flac, flic, flv, live_flv, 4xm, frm, fsb, fwse, g722, g723_1, g726, g726le, g729, gdv, genh, gif, gsm, gxf, h261, h263, h264, hca, hcom, hevc, hls, hnm, ico, idcin, idf, iff, ifv, ilbc, image2, image2pipe, alias_pix, brender_pix, ingenient, ipmovie, ircam, iss, iv8, ivf, ivr, jacosub, jv, kux, kvag, lmlm4, loas, lrc, lvf, lxf, matroska,webm, mgsts, microdvd, mjpeg, mjpeg_2000, mlp, mlv, mm, mmf, mpc, mpc8, mpeg, mpegts, mpegtsraw, mpegvideo, mpjpeg, mpl2, mpsub, msf, msnwctcp, mtaf, mtv, musx, mv, mvi, mxf, mxg, nc, nistsphere, nsp, nsv, nut, nuv, ogg, oma, paf, alaw, mulaw, vidc, f64be, f64le, f32be, f32le, s32be, s32le, s24be, s24le, s16be, s16le, s8, u32be, u32le, u24be, u24le, u16be, u16le, u8, pjs, pmp, pp_bnk, pva, pvf, qcp, r3d, rawvideo, realtext, redspark, rl2, rm, roq, rpl, rsd, rso, rtp, rtsp, s337m, sami, sap, sbc, sbg, scc, sdp, sdr2, sds, sdx, film_cpk, ser, shn, siff, sln, smk, smjpeg, smush, sol, sox, spdif, srt, psxstr, stl, subviewer1, subviewer, sup, svag, swf, tak, tedcaptions, thp, 3dostr, tiertexseq, tmv, truehd, tta, txd, tty, ty, v210, v210x, vag, vc1, vc1test, vividas, vivo, vmd, vobsub, voc, vpk, vplayer, vqf, w64, wc3movie, webm_dash_manifest, webvtt, wsaud, wsd, wsvqa, wtv, wve, xa, xbin, xmv, xvag, xwma, yop, yuv4mpegpipe, bmp_pipe, dds_pipe, dpx_pipe, exr_pipe, gif_pipe, j2k_pipe, jpeg_pipe, jpegls_pipe, pam_pipe, pbm_pipe, pcx_pipe, pgmyuv_pipe, pgm_pipe, pictor_pipe, png_pipe, ppm_pipe, psd_pipe, qdraw_pipe, sgi_pipe, svg_pipe, sunrast_pipe, tiff_pipe, webp_pipe, xpm_pipe, xwd_pipe, libmodplug
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "aac" for provider "FFmpeg" with priority 1 (lowest)
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "ai...

Revision history for this message
Jan Holthuis (holthuis-jan) wrote :

I guess CMake 3.20 is the culprit. I updated it two days ago and apparently didn't rebuild mixxx since then:

[2021-03-24T20:55:55+0100] [PACMAN] starting full system upgrade
[2021-03-24T20:56:00+0100] [ALPM] transaction started
[2021-03-24T20:56:00+0100] [ALPM] upgraded bison (3.7.3-1 -> 3.7.6-1)
[2021-03-24T20:56:01+0100] [ALPM] upgraded cmake (3.19.7-1 -> 3.20.0-1)
[2021-03-24T20:56:01+0100] [ALPM] upgraded shotcut (21.02.27-1 -> 21.03.21-1)
[2021-03-24T20:56:01+0100] [ALPM] transaction completed

Revision history for this message
Jan Holthuis (holthuis-jan) wrote :
Changed in mixxx:
status: New → In Progress
assignee: nobody → Jan Holthuis (holthuis-jan)
Changed in mixxx:
status: In Progress → Fix Committed
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/10374

lock status: Metadata changes locked and limited to project staff
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.