Error on bootstrap.php after update 4.2 => 4.3.1

Issue #72 resolved
Xuo created an issue

Hi,

I’ve just updated RoundCube webmail and after the install, I’ve run :

php composer.phar update --no-dev

and I get the following error message :

Updating boressoft/ident_switch (4.2 => 4.3.1): Downloading (100%)
Updating database schema for ident_switch
PHP Warning:  require(/usr/share/roundcubemail-1.4.8/vendor/composer/../symfony/polyfill-ctype/bootstrap.php): failed to open stream: No such file or directory in /usr/share/roundcubemail-1.4.8/vendor/composer/autoload_real.php on line 73
PHP Fatal error:  require(): Failed opening required '/usr/share/roundcubemail-1.4.8/vendor/composer/../symfony/polyfill-ctype/bootstrap.php' (include_path='/usr/share/roundcubemail-1.4.8/vendor/pear/auth_sasl:/usr/share/roundcubemail-1.4.8/vendor/pear/console_commandline:/usr/share/roundcubemail-1.4.8/vendor/pear/console_getopt:/usr/share/roundcubemail-1.4.8/vendor/pear/crypt_gpg:/usr/share/roundcubemail-1.4.8/vendor/pear/mail_mime:/usr/share/roundcubemail-1.4.8/vendor/pear/net_idna2:/usr/share/roundcubemail-1.4.8/vendor/pear/net_ldap2:/usr/share/roundcubemail-1.4.8/vendor/pear/net_smtp:/usr/share/roundcubemail-1.4.8/vendor/pear/net_socket:/usr/share/roundcubemail-1.4.8/vendor/pear/pear-core-minimal/src:/usr/share/roundcubemail-1.4.8/vendor/pear/pear_exception:/usr/share/roundcubemail-1.4.8/program/lib:.:/usr/lib64/php/:/usr/share/pear/:/usr/share/php/') in /usr/share/roundcubemail-1.4.8/vendor/composer/autoload_real.php on line 73

Do you know how to solve this issue ?

Regards.

Xuo.

Comments (3)

  1. Xuo reporter

    Hi,

    I did the following :

    cd plugins
    rm -rf ident_switch
    cd ..
    php composer.phar install
    php composer.phar update
    mysql --user=xuo --password=myPassword roundcubemail < plugins/ident_switch/SQL/mysql.initial.sql
    

    But I get the following error message :

    DB Error: [1054] Unknown column 'drafts_mbox' in 'field list' (SQL Query: SELECT imap_host, flags, imap_port, imap_delimiter, drafts_mbox, sent_mbox, junk_mbox, trash_mbox, username, password, iid FROM ident_switch WHERE id = '1' AND user_id = '1') in /usr/share/roundcubemail-1.4.8/program/lib/Roundcube/rcube_db.php on line 543 (POST /?_task=mail&_action=plugin.ident_switch.switch)
    

    Is it the RC database which is wrong or the ident_switch one ?

    Regards.

    Xuo.

  2. Xuo reporter

    Hi,

    I’ve removed the ident_switch part of the RC database and re-launched again :

    mysql --user=xuo --password=myPassword roundcubemail < plugins/ident_switch/SQL/mysql.initial.sql

    I’ve re-entered again all the configurations. I can see the emails of each identity. I’ll check tomorrow if I can send and receive emails.

    Regards.

    Xuo.

  3. Log in to comment