Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: jmanko on October 15, 2014, 10:47:59 AM

Title: [RESOLVED] How to rerun upgrade
Post by: jmanko on October 15, 2014, 10:47:59 AM
When I ran the upgrade script to upgrade 1.0.0 to 1.0.3, the script picked up php 5.2, and ended/failed with the following:

Running update script at target...
WARNING: File type detection doesn't work properly!
Please check the 'mime_magic' config option or the finfo functions of PHP and run this script again.
Executing database schema update.
ERROR: MySQL driver requires PHP >= 5.3, current version is 5.2.17All done.


Trying to rerun the script with php 5.4:
/usr/local/bin/php-5.4 ./installto.sh TARGET
ERROR: Installation at target location is up-to-date!


so, I'm stuck.  Any suggestions?  Here is the version set in RC.  I'm thinking that if I reset it in the target then I should be able to rerun.
Title: Re: How to rerun upgrade
Post by: jmanko on October 15, 2014, 12:50:11 PM
ok, fixed.  For anyone else who need to rerun the install:

change the version in [TARGET]/program/include/iniset.php to a previous version:
define('RCMAIL_VERSION', '1.0.3');

then run:
PATH=/path/to/proper/php/bin:$PATH ~/roundcubemail-1.0.3/bin/installto.sh [TARGET_PATH]