Error while installing on centos7



  • Hi,

    I'm installing kolab on a centos7 system. Everything seems to go ok except for the mysql part:

    What MySQL server are we setting up?
     - 1: Existing MySQL server (with root password already set).
     - 2: New MySQL server (needs to be initialized).
    Choice: 2
    
    Please supply a root password for MySQL. This password will be the administrative
    user for this MySQL server, and it should be kept a secret. After this setup
    process has completed, Kolab is going to discard and forget about this password,
    but you will need it for administrative tasks in MySQL.
    
    MySQL root password [XXXXXXXXXXXXXXXx]: 
    Confirm MySQL root password: 
    
    Please supply the timezone PHP should be using. You have to use a Continent or
    Country / City locality name like 'Europe/Berlin', but not just 'CEST'.
    
    Timezone ID [UTC]: Europe/Bucharest
    
    Please supply a password for the MySQL user 'roundcube'. This password will be
    used by the Roundcube webmail interface.
    
    MySQL roundcube password [XXXXXXXXXXXXXXXXXX]: 
    Confirm MySQL roundcube password: 
    ERROR 1005 (HY000) at line 9: Can't create table 'roundcube.kolab_alarms' (errno: 150)
    ERROR 1146 (42S02) at line 191: Table 'roundcube.system' doesn't exist
    Created symlink from /etc/systemd/system/multi-user.target.wants/httpd.service to /usr/lib/systemd/system/httpd.service.
    Created symlink from /etc/systemd/system/multi-user.target.wants/kolab-saslauthd.service to /usr/lib/systemd/system/kolab-saslauthd.service.
    Created symlink from /etc/systemd/system/multi-user.target.wants/cyrus-imapd.service to /usr/lib/systemd/system/cyrus-imapd.service.
    Created symlink from /etc/systemd/system/multi-user.target.wants/kolabd.service to /usr/lib/systemd/system/kolabd.service.
    

    Also obviously some part of the database seems to be missing. I don't have a kolab database, is it normal? The roundcube database seems pretty empty too:

    MariaDB [(none)]> show databases;
    +--------------------+
    | Database           |
    +--------------------+
    | information_schema |
    | mysql              |
    | performance_schema |
    | roundcube          |
    +--------------------+
    4 rows in set (0.00 sec)
    
    MariaDB [(none)]> use roundcube;
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A
    
    Database changed
    MariaDB [roundcube]> show tables;
    +---------------------------+
    | Tables_in_roundcube       |
    +---------------------------+
    | kolab_cache_configuration |
    | kolab_cache_contact       |
    | kolab_cache_event         |
    | kolab_cache_file          |
    | kolab_cache_freebusy      |
    | kolab_cache_journal       |
    | kolab_cache_note          |
    | kolab_cache_task          |
    | kolab_folders             |
    +---------------------------+
    9 rows in set (0.00 sec)
    

    The only thing is that I'm installing in a systemd-nspawn container build from a minimal install. So there might be some dependencies missing, but there are some db and tables created so the problem should be in the script itself...
    For the install I stuck with https://docs.kolab.org/installation-guide/centos-7.html

    Any ideas?



  • So I just checked with a full minimal centos7 and the same problem occured...


Log in to reply