Author Topic: Upgrade from 0.7.2 to 0.8 fails  (Read 4332 times)

Offline thomas_g

  • Jr. Member
  • **
  • Posts: 19
Upgrade from 0.7.2 to 0.8 fails
« on: August 09, 2012, 11:57:07 AM »
Hello,

I also posted this question in the German Board, but nobody probably knows how to solve the problem.
I wanted to upgrade my existing RC installation 0.7.2 to 0.8 using the shell script. But when I start the script, the following error message occurs

Quote
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imap.ini on line 1 in Unknown on line 0
PHP Warning:  Directive 'safe_mode' is deprecated in PHP 5.3 and greater in Unknown on line 0
No valid Roundcube installation found at /var/www/***/webmail

The path to RC is correct (I did check it several times!). Hence the question: What went wrong? What is to do? I'm thankful for every hint!
If you need more data or other information, please ask!

Greetings
Thomas

Offline pepsey

  • Newbie
  • *
  • Posts: 3
Re: Upgrade from 0.7.2 to 0.8 fails
« Reply #1 on: August 09, 2012, 04:27:17 PM »
Hi there Thomas,

maybe you used the wrong script or anything? I just upgraded from 0.7.1 and there was no problem at all. I ran it like this:
./bin/installto.sh /var/www/roundcube/

The script takes the version number from the iniset.php in the program dir, so try this:

Code: [Select]
grep RCMAIL_VERSION roundcube/program/include/iniset.phpshould show something like that:
Code: [Select]
define('RCMAIL_VERSION', '0.7.1');
kind regards
Daniel

Offline thomas_g

  • Jr. Member
  • **
  • Posts: 19
Re: Upgrade from 0.7.2 to 0.8 fails
« Reply #2 on: August 09, 2012, 05:02:27 PM »
Using this command I get
Code: [Select]
define('RCMAIL_VERSION', '0.7.2');

It seems to be ok and it's like expected.

I thought that I have done the steps according to the upgrading instructions: I loaded the RC files to a temporary location and from there I ran
Code: [Select]
./bin/installto.sh var/www/***some_other_stuff***/webmail
just as you did.

By the way: When I try the command above (grep RCMAIL_VERSION ...) in the temporary location, it shows
Code: [Select]
define('RCMAIL_VERSION', '0.8.0');
which is also correct.


I'm somewhat clueless :-\

Offline pepsey

  • Newbie
  • *
  • Posts: 3
Re: Upgrade from 0.7.2 to 0.8 fails
« Reply #3 on: August 09, 2012, 05:09:15 PM »
Just to make sure, the way you wrote the command now it probably won't work. You are in the temporary location and trying to access the live one without a beginning slash.

Code: [Select]
./bin/installto.sh /var/www/***some_other_stuff***/webmail

Offline thomas_g

  • Jr. Member
  • **
  • Posts: 19
Re: Upgrade from 0.7.2 to 0.8 fails
« Reply #4 on: August 09, 2012, 05:37:55 PM »
Sorry, I should just use "copy and paste"...
I did enter
Quote
./bin/installto.sh /var/www/***some_other_stuff***/webmail

I used the tab button for completing the folder names, so they must be correct and existing

Offline pepsey

  • Newbie
  • *
  • Posts: 3
Re: Upgrade from 0.7.2 to 0.8 fails
« Reply #5 on: August 09, 2012, 05:40:49 PM »
Hmm, that's really a strange one..

I have another server to upgrade, let's see how that one goes for me =)

// Update: I just upgraded an installation from version 0.5.1. The script recognized the correct version and the upgrade ran through perfectly.

Maybe you should do the manual upgrade and hope that with the next upgrade you can use the script. Or, but I really don't think this could work, but try to download a fresh iniset.php file from the 0.7.2 package and replace it with the one in your install. Maybe there are some kind of encoding or formatting errors in the file. But i think the script wouldn't even care about that. That's what I would try now, even though the chance of success is pretty small =)
« Last Edit: August 09, 2012, 06:17:11 PM by pepsey »

Offline thomas_g

  • Jr. Member
  • **
  • Posts: 19
Re: Upgrade from 0.7.2 to 0.8 fails
« Reply #6 on: August 10, 2012, 04:12:43 AM »
Now I did it manually and there were no problems.
But thanks for your help!