are there any issues with upgrading from 4.6.4 to 4.7?
will the upgrade include the same procedures at http://drupal.org/upgrade/tutorial-introduction?

anyone?

thanks.
susan

Comments

sjames’s picture

I started a test-site upgrade from 4.6.4 to 4.7

the drupal database dump script is giving errors.
I think it's the 'php -r' in the script that is erroring.
can someone confirm?

here's the error when I run it:

# ./drupalsqldump.sh /home/httpd/vhosts/shreemaa.org/httpdocs/drupal/sites/default/settings.php >backup.sql
Error in argument 1, char 2: option not found r
./drupalsqldump.sh: line 26: Usage:: command not found

here's the entire script as download from civicspacelabs.org

================
#!/bin/bash

# A simple script to avoid remembering database information for command line
# SQL connections.

# TODO: postgres

if [ -z "$1" ]; then
echo "usage: $0 sites/default/settings.php" >&2
exit 1
fi

if [ ! -r "$1" ]; then
echo "$1 is not readable" >&2
exit 1
fi

settings=$1
shift
args=$@

$(php -r "
include '$settings';
\$conn = parse_url(\$db_url);
print 'mysqldump -u '. \$conn['user'] .' -p'. \$conn['pass'] .' -h '. \$conn['host'] .' '. substr(\$conn['path'], 1) .' $args';
")
================

please help.
thanks!
susan

benedett’s picture

I am getting this same error. Did you ever figure it out?

sjames’s picture

I haven't figured it out.
I'm waiting for better documentation for migration from 4.6.4 to 4.7

mo6’s picture

Is your site running php in safe mode? If so, have a look at http://drupal.org/upgrade/backing-your-site-command-line

sangamreddi’s picture

Hi Sjames,

I have set up a test site and upgraded the Drupal 4.6.5 -4.7 (Latest CVS).
Only problem with the comments i got. The comments are not beiing displayed. I am going to submit a issue. Apart from that every thing seems well. Awaiting some contributed modules to get upgrade.

Sunny
www.gleez.com

sjames’s picture

here's my test-site upgrade which gives errors -->http://www.shreemaa.org/drupal47/

steps I followed:
* unpack drupal4.7
* mysqldump current drupal dbs to drupal47 dbs.
* backup drupal4.6.4 directory.
* mv new drupal4.7 directory into old-drupal.
* change new settings.php to find drupal47 dbs.

that should do it, right.
I'm getting errors on the test-site at http://www.shreemaa.org/drupal47/

the upgrade.php did run once.

please help.

thanks!
susan