Author Topic: [RESOLVED] How to rerun upgrade  (Read 2955 times)

Offline jmanko

  • Jr. Member
  • **
  • Posts: 11
[RESOLVED] How to rerun upgrade
« 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:

Code: [Select]
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:
Code: [Select]
/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.
« Last Edit: October 15, 2014, 12:51:03 PM by jmanko »

Offline jmanko

  • Jr. Member
  • **
  • Posts: 11
Re: How to rerun upgrade
« Reply #1 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:
Code: [Select]
define('RCMAIL_VERSION', '1.0.3');
then run:
Code: [Select]
PATH=/path/to/proper/php/bin:$PATH ~/roundcubemail-1.0.3/bin/installto.sh [TARGET_PATH]