Roundcube Community Forum

 

Upgrade from 0.7.2 to 0.8 fails

Started by thomas_g, August 09, 2012, 11:57:07 AM

Previous topic - Next topic

thomas_g

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

pepsey

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:

grep RCMAIL_VERSION roundcube/program/include/iniset.php
should show something like that:
define('RCMAIL_VERSION', '0.7.1');

kind regards
Daniel

thomas_g

Using this command I get

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

./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

define('RCMAIL_VERSION', '0.8.0');

which is also correct.


I'm somewhat clueless :-\

pepsey

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.

./bin/installto.sh /var/www/***some_other_stuff***/webmail


thomas_g

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

pepsey

#5
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 =)

thomas_g

Now I did it manually and there were no problems.
But thanks for your help!