Hi,
I found the official upgrade directions here:
http://trac.roundcube.net/wiki/Howto_Upgrade http://trac.roundcube.net/browser/github/UPGRADING
which goes mentions using the installto.sh script to handle upgrades. However I installed from Git and so far haven't had problems. To upgrade to v1.0 I ran:
cd /path/to/my/roundcube/install/dir git fetch git checkout 1.0.0
From what I can tell I'm done, but I wanted to check and see if there is a post-upgrade step I'm missing. Looking over the upgrade guide I don't see mention of any database upgrade steps like MediaWiki or WordPress uses. Am I missing anything?
For reference this is what I see in the "About" (upper left-hand corner):
Roundcube Webmail 1.0.0 [GIT 20140405.0225]
Thanks!
P.S.
Sending this from a Roundcube Webmail 1.0.0 installation. Thanks to the devs for all of their hard work!
On 04/16/2014 04:44 AM, deoren wrote:
which goes mentions using the installto.sh script to handle upgrades. However I installed from Git and so far haven't had problems. To upgrade to v1.0 I ran:
cd /path/to/my/roundcube/install/dir git fetch git checkout 1.0.0
You can use release-1.0 branch, which should be stable.
From what I can tell I'm done, but I wanted to check and see if there is a post-upgrade step I'm missing. Looking over the upgrade guide I don't see mention of any database upgrade steps like MediaWiki or WordPress uses. Am I missing anything?
It depends from which version did you upgrade. You should run bin/updatedb.sh script.
On 4/16/2014 1:06 AM, A.L.E.C wrote:
It depends from which version did you upgrade. You should run bin/updatedb.sh script.
Thanks for the reply. I originally did a fresh install from Git v1.0rc and then switched to the release-1.0 branch to apply more recent fixes (which included the fix for the repeat drag & drop failures). Last night is when I fetched changes to the repo and ran git checkout 1.0.0.
I followed these steps to run the script:
cd /path/to/my/roundcube/install/dir
bin/updatedb.sh
and got back this error message:
ERROR: Database schema directory not specified (--dir).
After Googling for "roundcube updatedb.sh" I came across this forum thread that looked relevant:
www.roundcubeforum.net/index.php/topic,11110.msg43871.html#msg43871
Since I'm on the 1.0.0 tag, I ran this command:
bin/updatedb.sh --package roundcube --version=1.0.0 --dir=./SQL
and it appeared to have completed successfully since no output was given.
I looked through installto.sh and update.sh and I see why you recommend in your official docs to just run installto.sh. That appears to take care of migrating content and also updating the db schema if necessary. Looking over the upgrade docs again it's starting to sound like if I am going to use Git instead of the release tarballs I should clone the repo to one directory and use the bin/installto.sh script to maintain an active installation in another?
Thanks for your help.