OMV upgrade results in a undefined status for sql on OMV UI

  • Hi,


    I just did the upgrade of OMV from latest 3.x to 4. And it worked quite well, I didn't find any errors during the upgrade - no surprise since I am only using a very limited featureset (mainly a RAID5 published via SMB, plus mySQL - both used for KODI on several client boxes).
    The directories and the SQL DB are accessible after the upgrade, so at a first glance it looks like everything is ok. Also the http mySQL admin UI can be used. The normally used services are up and running.


    But then I realized that in the OMV GUI the service "MySQL" has a red light in the service overview in column "running".


    A research in the logs showed the following two topics - the mentioned two tables mysql.events and mysql.proc are shown at more places in the logs. Sounds to me like mySQL is internally linked to MariaDB, and that something minor went wrong on the migration of DBMS.


    Is this a known issue - even better, maybe with a known solution? I don't find it here in the forum.


    Cheers,
    Kane


    Code
    2018-05-13T13:25:54+0200 MediaNAS1 mysqld[1062]: 2018-05-13 13:25:54 140052994717440 [Note] InnoDB: Dumping buffer pool(s) not yet started
    2018-05-13T13:25:54+0200 MediaNAS1 mysqld[1062]: 2018-05-13 13:25:54 140053658866240 [Note] Server socket created on IP: '0.0.0.0'.
    2018-05-13T13:25:55+0200 MediaNAS1 mysqld[1062]: 2018-05-13 13:25:55 140053658866240 [ERROR] Incorrect definition of table mysql.event: expected column 'sql_mode' at position 14 to have type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','IGNORE_BAD_TABLE_OPTIONS','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_ALL_TABLES','NO_ZERO_IN_DATE','NO_ZERO_DATE','INVALID_DATES','ERROR_FOR_DIVISION_BY_ZERO','TRADITIONAL','NO_AUTO_CREATE_USER','HIGH_NOT_PRECEDENCE','NO_ENGINE_SUBSTITUTION','PAD_CHAR_TO_FULL_LENGTH'), found type set('REAL_AS_FLOAT','PIPES_AS_CONCAT','ANSI_QUOTES','IGNORE_SPACE','NOT_USED','ONLY_FULL_GROUP_BY','NO_UNSIGNED_SUBTRACTION','NO_DIR_IN_CREATE','POSTGRESQL','ORACLE','MSSQL','DB2','MAXDB','NO_KEY_OPTIONS','NO_TABLE_OPTIONS','NO_FIELD_OPTIONS','MYSQL323','MYSQL40','ANSI','NO_AUTO_VALUE_ON_ZERO','NO_BACKSLASH_ESCAPES','STRICT_TRANS_TABLES','STRICT_A
    2018-05-13T13:25:55+0200 MediaNAS1 mysqld[1062]: 2018-05-13 13:25:55 140053658866240 [ERROR] mysqld: Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
    2018-05-13T13:25:55+0200 MediaNAS1 mysqld[1062]: 2018-05-13 13:25:55 140053658866240 [Note] /usr/sbin/mysqld: ready for connections.
    2018-05-13T13:25:55+0200 MediaNAS1 mysqld[1062]: Version: '10.1.26-MariaDB-0+deb9u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  Debian 9.1
    2018-05-13T13:25:55+0200 MediaNAS1 systemd[1]: Started MariaDB database server.




    • Offizieller Beitrag

    Yes, the mysql plugin needs work. I looked at it a little bit yesterday but didn't notice the service status. I will have to look at that too.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!