Closed (duplicate)
Project:
Drush
Version:
All-versions-4.x-dev
Component:
PM (dl, en, up ...)
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 May 2011 at 15:26 UTC
Updated:
4 Nov 2011 at 12:50 UTC
i have a problem updating the core to 6.22 vie drush.
i get the following messages:
Unable to copy !<em>/var/customers/webs/webuser1/myproject/drupal-6.22</em> to !<em>/root/drush-backups/webuser1sql1/20110526150243/drupal</em>. [error]
Unable to move !<em>/var/customers/webs/webuser1/myproject/drupal-6.22</em> to !<em>/root/drush-backups/webuser1sql1/20110526150243/drupal</em>. [error]
Failed to backup project directory /var/customers/webs/webuser1/myproject/drupal-6.22 to /root/drush-backups/webuser1sql1/20110526150243/drupal [error]
I changed some foldernames ( for security reasons) in the code above but the structure of the error messages are the same.
It seems to me, that drush tries to move a subfolder(?) with drupal-6.22 in it, and wants to backup that.
But i do not know why, drush should backup the drupal installation layin in the 'myproject' folder and not the new version.
So it seems to me, there are bigger problems with drush and the update to 6.22
Can somebody help?
Comments
Comment #1
themusician commentedI get the same error using drush 4.2.
Upon doing a self-update I am given
bash: /home/ausername/drush/drush: Permission denied
I was able to do the update successfully on my test server so perhaps it is a config issue per server. I will keep digging around.
Comment #2
bradspry commentedSomething is odd...
drush up drupal
Project drupal was updated successfully. Installed version is now 6.22.
--
drush core-status
Drupal version : 6.20
--
I was running drush 4.2, and did a self-update to get to 4.4. That process was more painful than usual too.
Usually updates like this are no-brainers, simple stuff. Not this time...
--debug:
drush up drupal --debug
Bootstrap to phase 0. [0.03 sec, 1.38 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [0.03 sec, 1.52 MB] [bootstrap]
Bootstrap to phase 6. [0.07 sec, 3.57 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [0.07 sec, [bootstrap]
3.57 MB]
Initialized Drupal 6.20 root directory at /path [0.08 sec, [notice]
4.13 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [0.08 sec, [bootstrap]
4.14 MB]
Initialized Drupal site default at sites/default [0.08 sec, 4.14 MB] [notice]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [0.09[bootstrap]
sec, 4.14 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [0.09 sec,[bootstrap]
4.17 MB]
Successfully connected to the Drupal database. [0.09 sec, 4.17 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [0.1 sec, 4.41[bootstrap]
MB]
Drush bootstrap phase : _drush_bootstrap_drupal_login() [0.45 sec, [bootstrap]
23.11 MB]
Successfully logged into Drupal as Anonymous (uid=0) [0.46 sec, 23.13[bootstrap]
MB]
Found command: pm-update (commandfile=pm) [0.46 sec, 23.13 MB] [bootstrap]
Initializing drush commandfile: user [0.46 sec, 23.13 MB] [bootstrap]
Including /usr/local/share/drush/commands/pm/updatecode.pm.inc [0.46 [bootstrap]
sec, 23.14 MB]
Executing: wget --version
Update information last refreshed: Thu, 05/26/2011 - 17:28
Update status information on all installed and enabled Drupal projects:
Name Installe Proposed Status
d version
version
Administration 6.x-1.6 6.x-1.6 Up to date
menu
Advanced help 6.x-1.2 6.x-1.2 Up to date
Drupal core 6.20 6.22 SECURITY UPDATE available
AHAH helper 6.x-2.1 6.x-2.1 Up to date
Backup and 6.x-2.4 6.x-2.4 Up to date
Migrate
BeautyTips 6.x-2.0 6.x-2.0 Up to date
Block Node 6.x-1.0 6.x-1.0 Up to date
Visibility
Calendar 6.x-2.4 6.x-2.4 Up to date
Calendar 6.x-1.9 6.x-1.9 Up to date
Tooltips
CKEditor - 6.x-1.3 6.x-1.3 Up to date
WYSIWYG HTML
editor
Content 6.x-2.9 6.x-2.9 Up to date
Construction Kit
(CCK)
CSS Injector 6.x-1.4 6.x-1.4 Up to date
Chaos tool suite 6.x-1.8 6.x-1.8 Up to date
Date 6.x-2.7 6.x-2.7 Up to date
Repeating Date 6.x-1.x- 6.x-1.x- Up to date
Presets dev dev
Diff 6.x-2.1 6.x-2.1 Up to date
DraggableViews 6.x-3.5 6.x-3.5 Up to date
Elysia Cron 6.x-1.2 6.x-1.2 Up to date
Email Field 6.x-1.2 6.x-1.2 Up to date
FileField 6.x-3.10 6.x-3.10 Up to date
FileField Paths 6.x-1.4 6.x-1.4 Up to date
getID3() 6.x-1.4 6.x-1.4 Up to date
Group Admin 6.x-2.1 6.x-2.1 Up to date
Hierarchical 6.x-3.7 6.x-3.7 Up to date
Select
ImageAPI 6.x-1.10 6.x-1.10 Up to date
ImageCache 6.x-2.0- 6.x-2.0- Up to date
beta12 beta12
ImageField 6.x-3.10 6.x-3.10 Up to date
IMCE 6.x-2.1 6.x-2.1 Up to date
IMCE Mkdir 6.x-1.1 6.x-1.1 Up to date
IMCE Rename 6.x-1.2 6.x-1.2 Up to date
jQuery UI 6.x-1.4 6.x-1.4 Up to date
LDAP integration 6.x-1.0- 6.x-1.0- Up to date
beta2 beta2
Libraries API 6.x-1.0 6.x-1.0 Up to date
Link 6.x-2.9 6.x-2.9 Up to date
Login 6.x-2.12 6.x-2.12 Up to date
Destination
Masquerade 6.x-1.6 6.x-1.6 Up to date
Menu attributes 6.x-2.0- 6.x-2.0- Up to date
beta1 beta1
Menu token 6.x-1.x- 6.x-1.x- Up to date
dev dev
Messaging 6.x-2.4 6.x-2.4 Up to date
MimeDetect 6.x-1.3 6.x-1.3 Up to date
ModuleInfo 6.x-1.2 6.x-1.2 Up to date
Node Adoption 6.x-1.0 6.x-1.0 Up to date
Notifications 6.x-2.3 6.x-2.3 Up to date
Organic groups 6.x-2.1 6.x-2.1 Up to date
Automatic Group 6.x-1.0- 6.x-1.0- Up to date
Assignment for beta1 beta1
Organic Groups
OG Menu 6.x-2.4 6.x-2.4 Up to date
OG User Roles 6.x-4.1 6.x-4.1 Up to date
OG Vocabulary 6.x-1.1 6.x-1.1 Up to date
Panels 6.x-3.9 6.x-3.9 Up to date
Prepopulate 6.x-2.x- 6.x-2.x- Up to date
dev dev
Profile 6.x-1.2 6.x-1.2 Up to date
Checkboxes
Profile 6.x-1.2 6.x-1.2 Up to date
permission
Secure Login 6.x-1.x- 6.x-1.x- Up to date
dev dev
Tab Tamer 6.x-1.1 6.x-1.1 Up to date
Token 6.x-1.16 6.x-1.16 Up to date
Upgrade Status 6.x-1.1 6.x-1.1 Up to date
Vertical Tabs 6.x-1.0- 6.x-1.0- Up to date
rc1 rc1
Views 6.x-2.12 6.x-2.12 Up to date
Views Bulk 6.x-1.10 6.x-1.10 Up to date
Operations (VBO)
Views clone 6.x-1.1 6.x-1.1 Up to date
display
Views Slideshow 6.x-2.3 6.x-2.3 Up to date
Webform 6.x-3.11 6.x-3.11 Up to date
Workflow 6.x-1.5 6.x-1.5 Up to date
Workspace 6.x-1.3 6.x-1.3 Up to date
Blueprint 6.x-1.7 6.x-2.0 Installed version not supported
Downloading release history from [notice]
http://updates.drupal.org/release-history/drush/6.x [1.02 sec, 27.31
MB]
drush self-update check: drush 4.4 is up-to-date. [1.95 sec, 27.45 [notice]
MB]
Code updates will be made to drupal core.
WARNING: Updating core will discard any modifications made to Drupal core files, most noteworthy among these are .htaccess and robots.txt. If you have made any modifications to these files, please back them up before updating so that you can re-create your modifications in the updated version of the file.
Note: Updating core can potentially break your site. It is NOT recommended to update production sites without prior testing.
Do you really want to continue? (y/n): y
Executing: mkdir '/path/drupal-6.22'
Calling is_readable(/path/UPGRADE.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/UPGRADE.txt, /path/drupal-6.22/UPGRADE.txt)
Calling is_readable(/path/xmlrpc.php)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/xmlrpc.php, /path/drupal-6.22/xmlrpc.php)
Calling is_readable(/path/cron.php)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/cron.php, /path/drupal-6.22/cron.php)
Calling is_readable(/path/COPYRIGHT.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/COPYRIGHT.txt, /path/drupal-6.22/COPYRIGHT.txt)
Calling is_readable(/path/install.php)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/install.php, /path/drupal-6.22/install.php)
Calling is_readable(/path/INSTALL.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/INSTALL.txt, /path/drupal-6.22/INSTALL.txt)
Calling is_readable(/path/index.php)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/index.php, /path/drupal-6.22/index.php)
Calling is_readable(/path/bak)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/bak, /path/drupal-6.22/bak)
Calling is_readable(/path/robots.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/robots.txt, /path/drupal-6.22/robots.txt)
Calling is_readable(/path/update.php)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/update.php, /path/drupal-6.22/update.php)
Calling is_readable(/path/MAINTAINERS.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/MAINTAINERS.txt, /path/drupal-6.22/MAINTAINERS.txt)
Calling is_readable(/path/INSTALL.mysql.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/INSTALL.mysql.txt, /path/drupal-6.22/INSTALL.mysql.txt)
Calling is_readable(/path/INSTALL.pgsql.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/INSTALL.pgsql.txt, /path/drupal-6.22/INSTALL.pgsql.txt)
Calling is_readable(/path/xmlrpc.off)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/xmlrpc.off, /path/drupal-6.22/xmlrpc.off)
Calling is_readable(/path/CHANGELOG.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/CHANGELOG.txt, /path/drupal-6.22/CHANGELOG.txt)
Calling is_readable(/path/dev)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/dev, /path/drupal-6.22/dev)
Calling is_readable(/path/.htaccess)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/.htaccess, /path/drupal-6.22/.htaccess)
Calling is_readable(/path/LICENSE.txt)
Calling is_writable(/path/drupal-6.22)
Calling rename(/path/LICENSE.txt, /path/drupal-6.22/LICENSE.txt)
Verifying signature for svn version control engine. [16.83 sec, 27.42 [debug]
MB]
Executing: svn info '/path/drupal-6.22'
sh: svn: command not found
Verifying signature for bzr version control engine. [16.83 sec, 27.42 [debug]
MB]
Executing: bzr root '/path/drupal-6.22'
sh: bzr: command not found
Executing: mkdir '/home/***/drush-backups/drupal/20110526213156'
Calling is_readable(/path/drupal-6.22)
Calling is_writable(/home/***/drush-backups/drupal/20110526213156)
Calling rename(/path/drupal-6.22, /home/***/drush-backups/drupal/20110526213156/drupal)
Calling chdir(/path)
Executing: wget -P . 'http://ftp.drupal.org/files/projects/drupal-6.22.tar.gz'
--2011-05-26 17:32:13-- http://ftp.drupal.org/files/projects/drupal-6.22.tar.gz
Resolving ftp.drupal.org... 140.211.166.134
Connecting to ftp.drupal.org|140.211.166.134|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1100999 (1.0M) [application/x-gzip]
Saving to: `./drupal-6.22.tar.gz'
0K .......... .......... .......... .......... .......... 4% 191K 5s
50K .......... .......... .......... .......... .......... 9% 281K 4s
100K .......... .......... .......... .......... .......... 13% 566K 3s
150K .......... .......... .......... .......... .......... 18% 562K 3s
200K .......... .......... .......... .......... .......... 23% 557K 2s
250K .......... .......... .......... .......... .......... 27% 107M 2s
300K .......... .......... .......... .......... .......... 32% 551K 2s
350K .......... .......... .......... .......... .......... 37% 663K 1s
400K .......... .......... .......... .......... .......... 41% 3.06M 1s
450K .......... .......... .......... .......... .......... 46% 633K 1s
500K .......... .......... .......... .......... .......... 51% 3.95M 1s
550K .......... .......... .......... .......... .......... 55% 665K 1s
600K .......... .......... .......... .......... .......... 60% 3.11M 1s
650K .......... .......... .......... .......... .......... 65% 722K 1s
700K .......... .......... .......... .......... .......... 69% 9.22M 0s
750K .......... .......... .......... .......... .......... 74% 2.97M 0s
800K .......... .......... .......... .......... .......... 79% 731K 0s
850K .......... .......... .......... .......... .......... 83% 2.19M 0s
900K .......... .......... .......... .......... .......... 88% 128M 0s
950K .......... .......... .......... .......... .......... 93% 759K 0s
1000K .......... .......... .......... .......... .......... 97% 2.45M 0s
1050K .......... .......... ..... 100% 118M=1.3s
2011-05-26 17:32:15 (803 KB/s) - `./drupal-6.22.tar.gz' saved [1100999/1100999]
Downloading drupal-6.22.tar.gz was successful. [18.42 sec, 27.44 MB] [notice]
Calling md5_file(drupal-6.22.tar.gz)
Md5 checksum of drupal-6.22.tar.gz verified. [18.43 sec, 27.44 MB] [notice]
Executing: gzip -d 'drupal-6.22.tar.gz'
Executing: tar -xf 'drupal-6.22.tar'
Executing: tar -tf 'drupal-6.22.tar'
drupal-6.22/
drupal-6.22/MAINTAINERS.txt
drupal-6.22/xmlrpc.php
drupal-6.22/INSTALL.pgsql.txt
drupal-6.22/includes/
drupal-6.22/includes/xmlrpcs.inc
drupal-6.22/includes/module.inc
drupal-6.22/includes/lock.inc
drupal-6.22/includes/menu.inc
drupal-6.22/includes/database.mysql-common.inc
drupal-6.22/includes/theme.maintenance.inc
drupal-6.22/includes/session.inc
drupal-6.22/includes/install.mysql.inc
drupal-6.22/includes/theme.inc
drupal-6.22/includes/database.pgsql.inc
drupal-6.22/includes/bootstrap.inc
drupal-6.22/includes/unicode.inc
drupal-6.22/includes/install.pgsql.inc
drupal-6.22/includes/path.inc
drupal-6.22/includes/cache.inc
drupal-6.22/includes/batch.inc
drupal-6.22/includes/mail.inc
drupal-6.22/includes/install.mysqli.inc
drupal-6.22/includes/database.mysqli.inc
drupal-6.22/includes/database.mysql.inc
drupal-6.22/includes/actions.inc
drupal-6.22/includes/language.inc
drupal-6.22/includes/image.gd.inc
drupal-6.22/includes/xmlrpc.inc
drupal-6.22/includes/file.inc
drupal-6.22/includes/form.inc
drupal-6.22/includes/install.inc
drupal-6.22/includes/database.inc
drupal-6.22/includes/tablesort.inc
drupal-6.22/includes/unicode.entities.inc
drupal-6.22/includes/image.inc
drupal-6.22/includes/locale.inc
drupal-6.22/includes/cache-install.inc
drupal-6.22/includes/pager.inc
drupal-6.22/includes/common.inc
drupal-6.22/modules/
drupal-6.22/modules/profile/
drupal-6.22/modules/profile/profile.info
drupal-6.22/modules/profile/profile-block.tpl.php
drupal-6.22/modules/profile/profile.admin.inc
drupal-6.22/modules/profile/profile-wrapper.tpl.php
drupal-6.22/modules/profile/profile.pages.inc
drupal-6.22/modules/profile/profile.module
drupal-6.22/modules/profile/profile-listing.tpl.php
drupal-6.22/modules/profile/profile.install
drupal-6.22/modules/profile/profile.css
drupal-6.22/modules/profile/profile.js
drupal-6.22/modules/forum/
drupal-6.22/modules/forum/forum.css
drupal-6.22/modules/forum/forum-topic-navigation.tpl.php
drupal-6.22/modules/forum/forum-list.tpl.php
drupal-6.22/modules/forum/forum.admin.inc
drupal-6.22/modules/forum/forum.module
drupal-6.22/modules/forum/forum.info
drupal-6.22/modules/forum/forum-rtl.css
drupal-6.22/modules/forum/forums.tpl.php
drupal-6.22/modules/forum/forum-icon.tpl.php
drupal-6.22/modules/forum/forum-topic-list.tpl.php
drupal-6.22/modules/forum/forum.pages.inc
drupal-6.22/modules/forum/forum.install
drupal-6.22/modules/forum/forum-submitted.tpl.php
drupal-6.22/modules/menu/
drupal-6.22/modules/menu/menu.info
drupal-6.22/modules/menu/menu.install
drupal-6.22/modules/menu/menu.module
drupal-6.22/modules/menu/menu.admin.inc
drupal-6.22/modules/system/
drupal-6.22/modules/system/block.tpl.php
drupal-6.22/modules/system/system.module
drupal-6.22/modules/system/maintenance-page.tpl.php
drupal-6.22/modules/system/admin-rtl.css
drupal-6.22/modules/system/system-rtl.css
drupal-6.22/modules/system/system.install
drupal-6.22/modules/system/system.admin.inc
drupal-6.22/modules/system/box.tpl.php
drupal-6.22/modules/system/defaults-rtl.css
drupal-6.22/modules/system/system.js
drupal-6.22/modules/system/system.css
drupal-6.22/modules/system/system.info
drupal-6.22/modules/system/admin.css
drupal-6.22/modules/system/page.tpl.php
drupal-6.22/modules/system/maintenance.css
drupal-6.22/modules/system/defaults.css
drupal-6.22/modules/system/system-menus-rtl.css
drupal-6.22/modules/system/system-menus.css
drupal-6.22/modules/locale/
drupal-6.22/modules/locale/locale.install
drupal-6.22/modules/locale/locale.info
drupal-6.22/modules/locale/locale.css
drupal-6.22/modules/locale/locale.module
drupal-6.22/modules/upload/
drupal-6.22/modules/upload/upload.info
drupal-6.22/modules/upload/upload.install
drupal-6.22/modules/upload/upload.module
drupal-6.22/modules/upload/upload.admin.inc
drupal-6.22/modules/node/
drupal-6.22/modules/node/node.info
drupal-6.22/modules/node/content_types.inc
drupal-6.22/modules/node/node-rtl.css
drupal-6.22/modules/node/node.module
drupal-6.22/modules/node/node.css
drupal-6.22/modules/node/node.install
drupal-6.22/modules/node/node.tpl.php
drupal-6.22/modules/node/node.pages.inc
drupal-6.22/modules/node/node.admin.inc
drupal-6.22/modules/comment/
drupal-6.22/modules/comment/comment-wrapper.tpl.php
drupal-6.22/modules/comment/comment.info
drupal-6.22/modules/comment/comment.install
drupal-6.22/modules/comment/comment.tpl.php
drupal-6.22/modules/comment/comment.admin.inc
drupal-6.22/modules/comment/comment.pages.inc
drupal-6.22/modules/comment/comment.css
drupal-6.22/modules/comment/comment-folded.tpl.php
drupal-6.22/modules/comment/comment-rtl.css
drupal-6.22/modules/comment/comment.module
drupal-6.22/modules/comment/comment.js
drupal-6.22/modules/blog/
drupal-6.22/modules/blog/blog.info
drupal-6.22/modules/blog/blog.module
drupal-6.22/modules/blog/blog.pages.inc
drupal-6.22/modules/README.txt
drupal-6.22/modules/color/
drupal-6.22/modules/color/color.info
drupal-6.22/modules/color/color.module
drupal-6.22/modules/color/color.css
drupal-6.22/modules/color/color.js
drupal-6.22/modules/color/images/
drupal-6.22/modules/color/images/hook-rtl.png
drupal-6.22/modules/color/images/lock.png
drupal-6.22/modules/color/images/hook.png
drupal-6.22/modules/color/color.install
drupal-6.22/modules/color/color-rtl.css
drupal-6.22/modules/trigger/
drupal-6.22/modules/trigger/trigger.info
drupal-6.22/modules/trigger/trigger.admin.inc
drupal-6.22/modules/trigger/trigger.install
drupal-6.22/modules/trigger/trigger.module
drupal-6.22/modules/filter/
drupal-6.22/modules/filter/filter.install
drupal-6.22/modules/filter/filter.info
drupal-6.22/modules/filter/filter.pages.inc
drupal-6.22/modules/filter/filter.admin.inc
drupal-6.22/modules/filter/filter.module
drupal-6.22/modules/user/
drupal-6.22/modules/user/user.module
drupal-6.22/modules/user/user.pages.inc
drupal-6.22/modules/user/user.css
drupal-6.22/modules/user/user-profile.tpl.php
drupal-6.22/modules/user/user.admin.inc
drupal-6.22/modules/user/user.install
drupal-6.22/modules/user/user-profile-category.tpl.php
drupal-6.22/modules/user/user-rtl.css
drupal-6.22/modules/user/user.js
drupal-6.22/modules/user/user.info
drupal-6.22/modules/user/user-picture.tpl.php
drupal-6.22/modules/user/user-profile-item.tpl.php
drupal-6.22/modules/openid/
drupal-6.22/modules/openid/openid.install
drupal-6.22/modules/openid/openid.inc
drupal-6.22/modules/openid/openid.js
drupal-6.22/modules/openid/login-bg.png
drupal-6.22/modules/openid/openid.css
drupal-6.22/modules/openid/openid.info
drupal-6.22/modules/openid/xrds.inc
drupal-6.22/modules/openid/openid.module
drupal-6.22/modules/openid/openid.pages.inc
drupal-6.22/modules/throttle/
drupal-6.22/modules/throttle/throttle.info
drupal-6.22/modules/throttle/throttle.admin.inc
drupal-6.22/modules/throttle/throttle.module
drupal-6.22/modules/syslog/
drupal-6.22/modules/syslog/syslog.module
drupal-6.22/modules/syslog/syslog.info
drupal-6.22/modules/syslog/syslog.install
drupal-6.22/modules/ping/
drupal-6.22/modules/ping/ping.info
drupal-6.22/modules/ping/ping.module
drupal-6.22/modules/book/
drupal-6.22/modules/book/book.module
drupal-6.22/modules/book/book-export-html.tpl.php
drupal-6.22/modules/book/book.info
drupal-6.22/modules/book/book.css
drupal-6.22/modules/book/book-node-export-html.tpl.php
drupal-6.22/modules/book/book-rtl.css
drupal-6.22/modules/book/book.pages.inc
drupal-6.22/modules/book/book.admin.inc
drupal-6.22/modules/book/book-all-books-block.tpl.php
drupal-6.22/modules/book/book.install
drupal-6.22/modules/book/book-navigation.tpl.php
drupal-6.22/modules/block/
drupal-6.22/modules/block/block.js
drupal-6.22/modules/block/block.install
drupal-6.22/modules/block/block.info
drupal-6.22/modules/block/block.admin.inc
drupal-6.22/modules/block/block.module
drupal-6.22/modules/block/block-admin-display-form.tpl.php
drupal-6.22/modules/block/block.css
drupal-6.22/modules/php/
drupal-6.22/modules/php/php.module
drupal-6.22/modules/php/php.info
drupal-6.22/modules/php/php.install
drupal-6.22/modules/help/
drupal-6.22/modules/help/help.admin.inc
drupal-6.22/modules/help/help.css
drupal-6.22/modules/help/help-rtl.css
drupal-6.22/modules/help/help.module
drupal-6.22/modules/help/help.info
drupal-6.22/modules/dblog/
drupal-6.22/modules/dblog/dblog-rtl.css
drupal-6.22/modules/dblog/dblog.css
drupal-6.22/modules/dblog/dblog.module
drupal-6.22/modules/dblog/dblog.info
drupal-6.22/modules/dblog/dblog.admin.inc
drupal-6.22/modules/dblog/dblog.install
drupal-6.22/modules/search/
drupal-6.22/modules/search/search.install
drupal-6.22/modules/search/search-result.tpl.php
drupal-6.22/modules/search/search-theme-form.tpl.php
drupal-6.22/modules/search/search.css
drupal-6.22/modules/search/search-results.tpl.php
drupal-6.22/modules/search/search.module
drupal-6.22/modules/search/search.pages.inc
drupal-6.22/modules/search/search.info
drupal-6.22/modules/search/search.admin.inc
drupal-6.22/modules/search/search-rtl.css
drupal-6.22/modules/search/search-block-form.tpl.php
drupal-6.22/modules/translation/
drupal-6.22/modules/translation/translation.pages.inc
drupal-6.22/modules/translation/translation.module
drupal-6.22/modules/translation/translation.info
drupal-6.22/modules/blogapi/
drupal-6.22/modules/blogapi/blogapi.info
drupal-6.22/modules/blogapi/blogapi.module
drupal-6.22/modules/blogapi/blogapi.install
drupal-6.22/modules/tracker/
drupal-6.22/modules/tracker/tracker.pages.inc
drupal-6.22/modules/tracker/tracker.css
drupal-6.22/modules/tracker/tracker.module
drupal-6.22/modules/tracker/tracker.info
drupal-6.22/modules/path/
drupal-6.22/modules/path/path.admin.inc
drupal-6.22/modules/path/path.module
drupal-6.22/modules/path/path.info
drupal-6.22/modules/taxonomy/
drupal-6.22/modules/taxonomy/taxonomy.pages.inc
drupal-6.22/modules/taxonomy/taxonomy.info
drupal-6.22/modules/taxonomy/taxonomy.admin.inc
drupal-6.22/modules/taxonomy/taxonomy.js
drupal-6.22/modules/taxonomy/taxonomy.css
drupal-6.22/modules/taxonomy/taxonomy.module
drupal-6.22/modules/taxonomy/taxonomy.install
drupal-6.22/modules/update/
drupal-6.22/modules/update/update.settings.inc
drupal-6.22/modules/update/update.compare.inc
drupal-6.22/modules/update/update.module
drupal-6.22/modules/update/update.install
drupal-6.22/modules/update/update-rtl.css
drupal-6.22/modules/update/update.css
drupal-6.22/modules/update/update.report.inc
drupal-6.22/modules/update/update.info
drupal-6.22/modules/update/update.fetch.inc
drupal-6.22/modules/poll/
drupal-6.22/modules/poll/poll.install
drupal-6.22/modules/poll/poll.css
drupal-6.22/modules/poll/poll.info
drupal-6.22/modules/poll/poll-rtl.css
drupal-6.22/modules/poll/poll.module
drupal-6.22/modules/poll/poll-results.tpl.php
drupal-6.22/modules/poll/poll.pages.inc
drupal-6.22/modules/poll/poll-bar-block.tpl.php
drupal-6.22/modules/poll/poll-vote.tpl.php
drupal-6.22/modules/poll/poll-results-block.tpl.php
drupal-6.22/modules/poll/poll-bar.tpl.php
drupal-6.22/modules/aggregator/
drupal-6.22/modules/aggregator/aggregator.pages.inc
drupal-6.22/modules/aggregator/aggregator-feed-source.tpl.php
drupal-6.22/modules/aggregator/aggregator-summary-item.tpl.php
drupal-6.22/modules/aggregator/aggregator.info
drupal-6.22/modules/aggregator/aggregator.install
drupal-6.22/modules/aggregator/aggregator-rtl.css
drupal-6.22/modules/aggregator/aggregator.css
drupal-6.22/modules/aggregator/aggregator.admin.inc
drupal-6.22/modules/aggregator/aggregator.module
drupal-6.22/modules/aggregator/aggregator-wrapper.tpl.php
drupal-6.22/modules/aggregator/aggregator-summary-items.tpl.php
drupal-6.22/modules/aggregator/aggregator-item.tpl.php
drupal-6.22/modules/statistics/
drupal-6.22/modules/statistics/statistics.info
drupal-6.22/modules/statistics/statistics.admin.inc
drupal-6.22/modules/statistics/statistics.module
drupal-6.22/modules/statistics/statistics.install
drupal-6.22/modules/statistics/statistics.pages.inc
drupal-6.22/modules/contact/
drupal-6.22/modules/contact/contact.info
drupal-6.22/modules/contact/contact.install
drupal-6.22/modules/contact/contact.pages.inc
drupal-6.22/modules/contact/contact.module
drupal-6.22/modules/contact/contact.admin.inc
drupal-6.22/themes/
drupal-6.22/themes/chameleon/
drupal-6.22/themes/chameleon/common-rtl.css
drupal-6.22/themes/chameleon/style-rtl.css
drupal-6.22/themes/chameleon/background.png
drupal-6.22/themes/chameleon/logo.png
drupal-6.22/themes/chameleon/chameleon.info
drupal-6.22/themes/chameleon/style.css
drupal-6.22/themes/chameleon/common.css
drupal-6.22/themes/chameleon/marvin/
drupal-6.22/themes/chameleon/marvin/style-rtl.css
drupal-6.22/themes/chameleon/marvin/logo.png
drupal-6.22/themes/chameleon/marvin/style.css
drupal-6.22/themes/chameleon/marvin/druplicon-watermark-rtl.png
drupal-6.22/themes/chameleon/marvin/bullet.png
drupal-6.22/themes/chameleon/marvin/screenshot.png
drupal-6.22/themes/chameleon/marvin/druplicon-watermark.png
drupal-6.22/themes/chameleon/marvin/marvin.info
drupal-6.22/themes/chameleon/chameleon.theme
drupal-6.22/themes/chameleon/screenshot.png
drupal-6.22/themes/bluemarine/
drupal-6.22/themes/bluemarine/block.tpl.php
drupal-6.22/themes/bluemarine/style-rtl.css
drupal-6.22/themes/bluemarine/comment.tpl.php
drupal-6.22/themes/bluemarine/logo.png
drupal-6.22/themes/bluemarine/style.css
drupal-6.22/themes/bluemarine/box.tpl.php
drupal-6.22/themes/bluemarine/node.tpl.php
drupal-6.22/themes/bluemarine/bluemarine.info
drupal-6.22/themes/bluemarine/page.tpl.php
drupal-6.22/themes/bluemarine/screenshot.png
drupal-6.22/themes/garland/
drupal-6.22/themes/garland/minnelli/
drupal-6.22/themes/garland/minnelli/color/
drupal-6.22/themes/garland/minnelli/color/base.png
drupal-6.22/themes/garland/minnelli/color/preview.png
drupal-6.22/themes/garland/minnelli/color/color.inc
drupal-6.22/themes/garland/minnelli/logo.png
drupal-6.22/themes/garland/minnelli/minnelli.css
drupal-6.22/themes/garland/minnelli/minnelli.info
drupal-6.22/themes/garland/minnelli/screenshot.png
drupal-6.22/themes/garland/block.tpl.php
drupal-6.22/themes/garland/style-rtl.css
drupal-6.22/themes/garland/maintenance-page.tpl.php
drupal-6.22/themes/garland/print.css
drupal-6.22/themes/garland/fix-ie.css
drupal-6.22/themes/garland/color/
drupal-6.22/themes/garland/color/base.png
drupal-6.22/themes/garland/color/preview.css
drupal-6.22/themes/garland/color/preview.png
drupal-6.22/themes/garland/color/color.inc
drupal-6.22/themes/garland/fix-ie-rtl.css
drupal-6.22/themes/garland/garland.info
drupal-6.22/themes/garland/comment.tpl.php
drupal-6.22/themes/garland/logo.png
drupal-6.22/themes/garland/style.css
drupal-6.22/themes/garland/template.php
drupal-6.22/themes/garland/images/
drupal-6.22/themes/garland/images/bg-navigation-item-hover.png
drupal-6.22/themes/garland/images/menu-leaf.gif
drupal-6.22/themes/garland/images/bg-navigation-item.png
drupal-6.22/themes/garland/images/menu-collapsed.gif
drupal-6.22/themes/garland/images/menu-collapsed-rtl.gif
drupal-6.22/themes/garland/images/bg-tab.png
drupal-6.22/themes/garland/images/bg-content-right.png
drupal-6.22/themes/garland/images/bg-bar-white.png
drupal-6.22/themes/garland/images/task-list.png
drupal-6.22/themes/garland/images/body.png
drupal-6.22/themes/garland/images/gradient-inner.png
drupal-6.22/themes/garland/images/bg-bar.png
drupal-6.22/themes/garland/images/bg-content.png
drupal-6.22/themes/garland/images/menu-expanded.gif
drupal-6.22/themes/garland/images/bg-content-left.png
drupal-6.22/themes/garland/images/bg-navigation.png
drupal-6.22/themes/garland/node.tpl.php
drupal-6.22/themes/garland/page.tpl.php
drupal-6.22/themes/garland/screenshot.png
drupal-6.22/themes/README.txt
drupal-6.22/themes/pushbutton/
drupal-6.22/themes/pushbutton/logo-background.jpg
drupal-6.22/themes/pushbutton/logo-background-rtl.jpg
drupal-6.22/themes/pushbutton/logo-hover.jpg
drupal-6.22/themes/pushbutton/tabs-option-on.png
drupal-6.22/themes/pushbutton/logo-active.jpg
drupal-6.22/themes/pushbutton/header-b-rtl.jpg
drupal-6.22/themes/pushbutton/arrow-next-visited-rtl.png
drupal-6.22/themes/pushbutton/block.tpl.php
drupal-6.22/themes/pushbutton/pushbutton.info
drupal-6.22/themes/pushbutton/tabs-off.png
drupal-6.22/themes/pushbutton/style-rtl.css
drupal-6.22/themes/pushbutton/arrow-up.png
drupal-6.22/themes/pushbutton/arrow-next-rtl.png
drupal-6.22/themes/pushbutton/icon-comment.png
drupal-6.22/themes/pushbutton/arrow-up-visited.png
drupal-6.22/themes/pushbutton/icon-block-rtl.png
drupal-6.22/themes/pushbutton/logo-hover-rtl.jpg
drupal-6.22/themes/pushbutton/background.png
drupal-6.22/themes/pushbutton/comment.tpl.php
drupal-6.22/themes/pushbutton/arrow-next-visited.png
drupal-6.22/themes/pushbutton/tabs-on-rtl.png
drupal-6.22/themes/pushbutton/header-c.png
drupal-6.22/themes/pushbutton/logo.png
drupal-6.22/themes/pushbutton/icon-block.png
drupal-6.22/themes/pushbutton/arrow-up-hover.png
drupal-6.22/themes/pushbutton/style.css
drupal-6.22/themes/pushbutton/box.tpl.php
drupal-6.22/themes/pushbutton/arrow-prev-visited.png
drupal-6.22/themes/pushbutton/forum-container-rtl.jpg
drupal-6.22/themes/pushbutton/arrow-next.png
drupal-6.22/themes/pushbutton/arrow-prev-hover-rtl.png
drupal-6.22/themes/pushbutton/arrow-prev-hover.png
drupal-6.22/themes/pushbutton/tabs-on.png
drupal-6.22/themes/pushbutton/node.tpl.php
drupal-6.22/themes/pushbutton/arrow-next-hover.png
drupal-6.22/themes/pushbutton/forum-link.png
drupal-6.22/themes/pushbutton/tabs-option-hover.png
drupal-6.22/themes/pushbutton/header-a.jpg
drupal-6.22/themes/pushbutton/logo-active-rtl.jpg
drupal-6.22/themes/pushbutton/tabs-option-hover-rtl.png
drupal-6.22/themes/pushbutton/arrow-prev.png
drupal-6.22/themes/pushbutton/page.tpl.php
drupal-6.22/themes/pushbutton/tabs-option-off.png
drupal-6.22/themes/pushbutton/forum-container.jpg
drupal-6.22/themes/pushbutton/arrow-prev-visited-rtl.png
drupal-6.22/themes/pushbutton/arrow-prev-rtl.png
drupal-6.22/themes/pushbutton/tabs-off-rtl.png
drupal-6.22/themes/pushbutton/icon-comment-rtl.png
drupal-6.22/themes/pushbutton/screenshot.png
drupal-6.22/themes/pushbutton/arrow-next-hover-rtl.png
drupal-6.22/themes/pushbutton/forum-link-rtl.png
drupal-6.22/themes/pushbutton/header-b.jpg
drupal-6.22/themes/pushbutton/tabs-option-off-rtl.png
drupal-6.22/themes/engines/
drupal-6.22/themes/engines/phptemplate/
drupal-6.22/themes/engines/phptemplate/phptemplate.engine
drupal-6.22/COPYRIGHT.txt
drupal-6.22/UPGRADE.txt
drupal-6.22/robots.txt
drupal-6.22/LICENSE.txt
drupal-6.22/INSTALL.txt
drupal-6.22/sites/
drupal-6.22/sites/all/
drupal-6.22/sites/all/README.txt
drupal-6.22/sites/default/
drupal-6.22/sites/default/default.settings.php
drupal-6.22/install.php
drupal-6.22/scripts/
drupal-6.22/scripts/code-clean.sh
drupal-6.22/scripts/cron-lynx.sh
drupal-6.22/scripts/drupal.sh
drupal-6.22/scripts/cron-curl.sh
drupal-6.22/scripts/code-style.pl
drupal-6.22/profiles/
drupal-6.22/profiles/default/
drupal-6.22/profiles/default/default.profile
drupal-6.22/update.php
drupal-6.22/index.php
drupal-6.22/INSTALL.mysql.txt
drupal-6.22/misc/
drupal-6.22/misc/powered-gray-80x15.png
drupal-6.22/misc/throbber.gif
drupal-6.22/misc/arrow-asc.png
drupal-6.22/misc/jquery.js
drupal-6.22/misc/batch.js
drupal-6.22/misc/print-rtl.css
drupal-6.22/misc/textarea.js
drupal-6.22/misc/powered-blue-88x31.png
drupal-6.22/misc/farbtastic/
drupal-6.22/misc/farbtastic/wheel.png
drupal-6.22/misc/farbtastic/mask.png
drupal-6.22/misc/farbtastic/marker.png
drupal-6.22/misc/farbtastic/farbtastic.js
drupal-6.22/misc/farbtastic/farbtastic.css
drupal-6.22/misc/forum-hot-new.png
drupal-6.22/misc/watchdog-error.png
drupal-6.22/misc/forum-new.png
drupal-6.22/misc/draggable.png
drupal-6.22/misc/powered-black-80x15.png
drupal-6.22/misc/print.css
drupal-6.22/misc/tree.png
drupal-6.22/misc/powered-blue-80x15.png
drupal-6.22/misc/favicon.ico
drupal-6.22/misc/watchdog-warning.png
drupal-6.22/misc/druplicon.png
drupal-6.22/misc/arrow-desc.png
drupal-6.22/misc/drupal.js
drupal-6.22/misc/forum-sticky.png
drupal-6.22/misc/grippie.png
drupal-6.22/misc/jquery.form.js
drupal-6.22/misc/menu-collapsed-rtl.png
drupal-6.22/misc/tableselect.js
drupal-6.22/misc/menu-expanded.png
drupal-6.22/misc/forum-closed.png
drupal-6.22/misc/forum-hot.png
drupal-6.22/misc/progress.gif
drupal-6.22/misc/tableheader.js
drupal-6.22/misc/form.js
drupal-6.22/misc/teaser.js
drupal-6.22/misc/powered-black-88x31.png
drupal-6.22/misc/blog.png
drupal-6.22/misc/forum-default.png
drupal-6.22/misc/powered-black-135x42.png
drupal-6.22/misc/powered-gray-135x42.png
drupal-6.22/misc/xml.png
drupal-6.22/misc/powered-gray-88x31.png
drupal-6.22/misc/menu-leaf.png
drupal-6.22/misc/autocomplete.js
drupal-6.22/misc/powered-blue-135x42.png
drupal-6.22/misc/ahah.js
drupal-6.22/misc/progress.js
drupal-6.22/misc/menu-collapsed.png
drupal-6.22/misc/tree-bottom.png
drupal-6.22/misc/watchdog-ok.png
drupal-6.22/misc/collapse.js
drupal-6.22/misc/feed.png
drupal-6.22/misc/tabledrag.js
drupal-6.22/.htaccess
drupal-6.22/CHANGELOG.txt
drupal-6.22/cron.php
Calling unlink(drupal-6.22.tar)
Calling chdir(/path)
Calling is_readable(/path/drupal-6.22/UPGRADE.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/UPGRADE.txt, /path/UPGRADE.txt)
Calling is_readable(/path/drupal-6.22/xmlrpc.php)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/xmlrpc.php, /path/xmlrpc.php)
Calling is_readable(/path/drupal-6.22/cron.php)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/cron.php, /path/cron.php)
Calling is_readable(/path/drupal-6.22/COPYRIGHT.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/COPYRIGHT.txt, /path/COPYRIGHT.txt)
Calling is_readable(/path/drupal-6.22/install.php)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/install.php, /path/install.php)
Calling is_readable(/path/drupal-6.22/INSTALL.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/INSTALL.txt, /path/INSTALL.txt)
Calling is_readable(/path/drupal-6.22/index.php)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/index.php, /path/index.php)
Calling is_readable(/path/drupal-6.22/robots.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/robots.txt, /path/robots.txt)
Calling is_readable(/path/drupal-6.22/update.php)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/update.php, /path/update.php)
Calling is_readable(/path/drupal-6.22/MAINTAINERS.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/MAINTAINERS.txt, /path/MAINTAINERS.txt)
Calling is_readable(/path/drupal-6.22/INSTALL.mysql.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/INSTALL.mysql.txt, /path/INSTALL.mysql.txt)
Calling is_readable(/path/drupal-6.22/INSTALL.pgsql.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/INSTALL.pgsql.txt, /path/INSTALL.pgsql.txt)
Calling is_readable(/path/drupal-6.22/CHANGELOG.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/CHANGELOG.txt, /path/CHANGELOG.txt)
Calling is_readable(/path/drupal-6.22/.htaccess)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/.htaccess, /path/.htaccess)
Calling is_readable(/path/drupal-6.22/LICENSE.txt)
Calling is_writable(/path)
Calling rename(/path/drupal-6.22/LICENSE.txt, /path/LICENSE.txt)
Calling is_readable(/home/***/drush-backups/drupal/20110526213156/drupal/bak)
Calling is_writable(/path)
Calling rename(/home/***/drush-backups/drupal/20110526213156/drupal/bak, /path/bak)
Calling is_readable(/home/***/drush-backups/drupal/20110526213156/drupal/xmlrpc.off)
Calling is_writable(/path)
Calling rename(/home/***/drush-backups/drupal/20110526213156/drupal/xmlrpc.off, /path/xmlrpc.off)
Calling is_readable(/home/***/drush-backups/drupal/20110526213156/drupal/dev)
Calling is_writable(/path)
Calling rename(/home/***/drush-backups/drupal/20110526213156/drupal/dev, /path/dev)
Project drupal was updated successfully. Installed version is now 6.22.
Backups were saved into the directory [ok]
/home/***/drush-backups/drupal/20110526213156/drupal. [18.74
sec, 27.52 MB]
Running: /usr/bin/php /usr/local/share/drush/drush.php [command]
--php='/usr/bin/php' --root='/path' --uri='http://default'
updatedb --backend 2>&1 [18.75 sec, 24.02 MB]
Bootstrap to phase 0. [23.11 sec, 24.05 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drush() [23.11 sec, 24.05 [bootstrap]
MB]
Bootstrap to phase 2. [23.11 sec, 24.05 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_root() [23.11 sec, [bootstrap]
24.05 MB]
Initialized Drupal 6.20 root directory at /path [23.11 sec, [notice]
24.05 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_site() [23.11 sec, [bootstrap]
24.06 MB]
Initialized Drupal site default at sites/default [23.11 sec, 24.06 [notice]
MB]
Found command: updatedb (commandfile=core) [23.11 sec, 24.06 MB] [bootstrap]
Initializing drush commandfile: user [23.11 sec, 24.06 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_configuration() [bootstrap]
[23.11 sec, 24.06 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_database() [23.11 [bootstrap]
sec, 24.06 MB]
Successfully connected to the Drupal database. [23.11 sec, 24.06 MB] [bootstrap]
Drush bootstrap phase : _drush_bootstrap_drupal_full() [23.11 sec, [bootstrap]
24.06 MB]
Drush bootstrap phase : _drush_bootstrap_drupal_login() [23.11 sec, [bootstrap]
24.06 MB]
Successfully logged into Drupal as *** (uid=1) [23.11 sec, [bootstrap]
24.06 MB]
No database updates required [23.11 sec, 24.06 MB] [success]
Including /usr/local/share/drush/commands/core/clear.cache.inc [23.11[bootstrap]
sec, 24.07 MB]
'all' cache was cleared [23.11 sec, 24.07 MB] [success]
Finished performing updates. [23.11 sec, 24.07 MB] [ok]
Command dispatch complete [23.11 sec, 24.07 MB] [notice]
Peak memory usage was 42.23 MB [23.11 sec, 24.07 MB] [memory]
Command dispatch complete [23.11 sec, 24.02 MB] [notice]
Timer Cum (sec) Count Avg (msec)
page 23.024 1 23024.46
Peak memory usage was 30.39 MB [23.11 sec, 24.02 MB] [memory]
***@***:/path$ drush core-status
Drupal version : 6.20
Drush version : 4.4
Comment #3
greg.1.anderson commentedI have not had a chance to do a 6.22 upgrade myself yet, but I have heard anecdotally from a colleague that it works.
Comment #4
parkview commentedI am getting the same error msg when trying to upgrade from 6.20 to 6.22. I am using Drush 4.4. Checked the directory permissions and all looked fine. I used the same update method with 6.19 to 6.20, so it should have worked.
Here is the relevant section from the 'drush @website up --debug' command:
[note: directory paths have been modified]
Calling copy(/DrupalRoot/drupal-6.22/files, /Path/drush-backups/artgeo/20110527063303/drupal/files)
Unable to copy !/DrupalRoot/drupal-6.22 to !/Path/drush-backups/artgeo/20110527063303/drupal. [14.58 sec, 19.19 MB] [error]
Unable to move !/DrupalRoot/drupal-6.22 to !/Path/drush-backups/artgeo/20110527063303/drupal. [14.58 sec, 19.19 MB] [error]
Failed to backup project directory /DrupalRoot/drupal-6.22 to /Path/drush-backups/artgeo/20110527063303/drupal [14.58 sec, 19.19 MB] [error]
Calling is_readable(/DrupalRoot/drupal-6.22/support)
Calling is_writable(/DrupalRoot)
Calling rename(/DrupalRoot/drupal-6.22/support, /DrupalRoot/support)
Calling is_readable(/DrupalRoot/drupal-6.22/includes)
Calling is_writable(/DrupalRoot)
Calling rename(/DrupalRoot/drupal-6.22/includes, /DrupalRoot/includes)
Calling is_readable(/DrupalRoot/drupal-6.22/.htaccess)
Calling is_writable(/DrupalRoot)
Calling rename(/DrupalRoot/drupal-6.22/.htaccess, /DrupalRoot/.htaccess)
Calling is_readable(/DrupalRoot/drupal-6.22/CHANGELOG.txt)
Calling is_writable(/DrupalRoot)
Calling rename(/DrupalRoot/drupal-6.22/CHANGELOG.txt, /DrupalRoot/CHANGELOG.txt)
Calling is_readable(/DrupalRoot/drupal-6.22/COPYRIGHT.txt)
Calling is_writable(/DrupalRoot)
Calling rename(/DrupalRoot/drupal-6.22/UPGRADE.txt, /DrupalRoot/UPGRADE.txt)
Calling is_readable(/DrupalRoot/drupal-6.22/MAINTAINERS.txt)
Calling is_writable(/DrupalRoot)
Calling rename(/DrupalRoot/drupal-6.22/MAINTAINERS.txt, /DrupalRoot/MAINTAINERS.txt)
Calling is_readable(/DrupalRoot/drupal-6.22/cron.php)
Calling is_writable(/DrupalRoot)
Calling is_readable(/DrupalRoot/drupal-6.22/themes)
Calling is_writable(/DrupalRoot)
Calling rename(/DrupalRoot/drupal-6.22/themes, /DrupalRoot/themes)
Calling is_readable(/DrupalRoot/drupal-6.22/files)
Source directory /DrupalRoot/drupal-6.22/files is not readable or does not exist. [14.59 sec, 17.93 MB] [error]
Calling is_readable(/DrupalRoot/drupal-6.22/files.bak)
Calling is_writable(/DrupalRoot)
Calling is_readable(/DrupalRoot/drupal-6.22/robots.txt.orig)
Calling is_writable(/DrupalRoot)
Calling rename(/DrupalRoot/drupal-6.22/robots.txt.orig, /DrupalRoot/robots.txt.orig)
WD php: rmdir(/DrupalRoot/drupal-6.22): Directory not empty in /usr/local/drush/includes/drush.inc on line 1437. [14.6 sec, 17.95 MB] [error]
rmdir(/DrupalRoot/drupal-6.22): Directory not empty in /usr/local/drush/includes/drush.inc on line 1437. [14.6 sec, 17.94 MB] [warning]
Changes made in drush_pm_updatecode have been rolled back. [14.6 sec, 17.94 MB] [rollback]
Command dispatch complete [14.6 sec, 17.92 MB] [notice]
Timer Cum (sec) Count Avg (msec)
page 14.526 1 14526.46
Peak memory usage was 19.99 MB [14.6 sec, 17.92 MB]
Comment #5
jonhattanI was also able to perform the update in a live site. It seems to me your having a problem with permissions of /files/ directory.
btw in my setup I'm the owner of the files dir and I did the update with a non-privileged user.
Comment #6
brunorios1 commentedi'm having problems too:
Comment #7
greg.1.anderson commentedI was able to upgrade to Drupal 6.22 with no problems using drush-5.x-dev (today's head). There is a problem with today's drush-4.x-dev (see #1171182: File arg on drush_print_table should not have been removed on the 4.x branch.), but it should work in drush-4.4. The problems above must be related to permissions, etc.
Comment #8
mdlueck commented@#7 greg.1.anderson
I think this is related to my report here:
"Upgrade from D6.20 to 6.22 breaks Drush's ability to run core-cron"
http://drupal.org/node/1169110
I upgraded to the stable release of drush-7.x-4.4.tar.gz and running core-cron still exhibits the same errors I had reported in 1169110. So no change. I will update 1169110 as well.
Comment #9
funcrunch commentedI was able to update Drupal from 6.20 to 6.22 successfully using the latest stable version of Drush (4.4), but first I had to get all of my Drupal core files up to date with my local SVN repository. I had previously been updating Drupal core via CVS, up through version 6.20.
Comment #10
bradspry commentedIf it's a file system permission problem, can someone tell me how to debug properly? Should I expect drush --debug to alert on permission issue?
Comment #11
frankfarm commentedI encountered this problem with Drush 4.4 trying to update Drupal 6.20 to 6.22 and I resolved it by deleting
drupal-6.22in my home folder then logging in as root and runningdrush upfrom the root folder of my Drupal installation.Comment #12
tarzadon commentedAfter using drush to update from 6.20 to 6.22, drush no longer worked:
I was using Drush version 6.x-3.3.
After updating to the current version: 7.x-4.4, drush was able to work again, although I'm experiencing some issues with Drupal modules being listed in admin/build/modules after using drush to download and enable the module.
Comment #13
bradspry commentedRunning drush as root works, if you can become root. In a hosted environment, you probably can't do that.
Comment #14
mdlueck commented@#13 bradspry,
Why would drush suddenly need to be run as root due to Drupal updating from 6.20 to 6.22?
I just tried running drush cron as root via sudo, and I see the same error messages.
This is with drush-6.x-3.3.tar.gz which had consistently been working very well PRIOR to the 6.20 to 6.22 upgrade.
I install via the .tar.gz packages which I unpack right on the web server.
I even re-verified the correct perms on all Drupal files this morning and still get the errors and warnings trying to run cron with drush.
Ubuntu 8.04, Drupal 6.22, the above drush version, running with php-cli 5.2.4.
Comment #15
bradspry commented@#14 mdlueck,
I arrived here when drush failed to update from 6.20 to 6.22. I've updated drupal many times without ever encountering this issue. I posted a full debug above. @#11 frankfarm recommended running drush as root to alleviate permission problems.
I wish 'drush up drupal --debug' would output permission errors, but I just don't see them. I asked for another set of eyeballs to see if a permission problem is revealed in the debug, but nobody has responded.
I understand there are files and directories owned by the user the web server is running as. If that's the case, I understand the permission problem when not root. Files can be owned by a mixture of users.
I have root access on my servers, but people in virtual hosting environments probably don't. Therein lies my last concern about this issue.
Comment #16
greg.1.anderson commentedFile permissions are beyond the scope of drush, but I will tell you what I do.
First, I do not update the live site; I update a dev site. On the live site, my Drupal files are owned by root, or more often, some other admin user called 'www-admin' or something like that. On the dev site, my files are owned by the user I log in as. I set the group of the Drupal files to a group that the web server is a member of, and make files and directories group writable if the web server is writable.
In my drushrc.php, I add:
See
man rsyncfor details on the flags, but the long and the short of it is that rsync will preserve the permissions, but not the owner of the files when I transfer them. This means that when I am doing adrush upon my dev machine, I have complete control over ownership issues and do not have to worry so much about stepping on my webserver permissions or issues like that.There is one side effect when I rsync the updated code back to live, and that is that user-added content (e.g. file uploads) are owned by 'www-data' instead of 'www-admin', so the rsync fails to overwrite any of these files in the transfer. I sort of consider this a feature, but if you want to be able to overwrite user-generated content with drush rsync, you could always run the sync as the 'www-data' user instead of 'www-admin'. I usually rsync from dev to stage before going to live, where stage is another instance of the site on the same server. This lets me fix any unusual perm issues by hand and test a second time in the same environment as the live server before actually bringing the changes live (this time usually using 'mode' => 'az').
Your permissions strategy may vary, but it is a good idea to make a plan about how you are going to manage permissions and what implications that has on the security of your system. It is hard for other people to solve your permissions problems, and the advice of "just run everything as root" is not really a good substitute for understanding how permissions work.
In any event, I am sorry that the existing drush debug output is not currently helping you find the cause of your problem. Add additional debug log statements or permissions checks to drush might help out here; if you add any that you find to be useful, please consider touching them up a bit so that they are silent when everything is working right, and contribute them back to drush in a patch to help other people who end up going down the same path.
Comment #18
mdlueck commentedI just saw a post at CiviCRM complaining of the same thing with Drupal 6.22, and the suggestion was to drop back to 6.20. It seems to me that the features they tried to give us have a bug someplace.
Look at all of the posts racked up...
http://www.google.com/search?client=firefox-a&rls=org.mozilla%3Aen-US%3A...
Comment #19
parkview commentedInteresting that I could use drush to upgrade all the other modules. It still fails on upgrading Drupal from 6.20 to 6.22. It does look like it's trying to backup my 6GB files directory. It seems to get to around 1.7GB before it fails! I have tried increasing the php.ini script timeout, but it still seems to fail at the around the same time/place.
When the drush upgrade script runs, it deletes every file and directories except the '/sites' directory. It creates it's own: /drupal-6.22/ directory. Luckily when it fails, it rolls back the missing files, so the site is usable again after the upgrade attempt. Although one time I have had it fail to do so. Backups are always handy to have!
Does anyone know how I can have the drush upgrade script exclude backing up and removing the /files/ directory?
Comment #20
parkview commentedok, sometimes it pays to type out a problem :-)
Thinking about #19 above, I moved my files directory somewhere else, and set a sym link to the new location. The site worked ok. To successfully complete the upgrade, I deleted the 'files' sym link, quickly ran the drush upgrade, then put the 'files' sym link back into place. The upgrade only took a few seconds to complete and the process could easily be scripted.
Just a thought for future drush script enhancements:
1) how about having an ability to exclude a directory from being backed up/touched by the 'drush upgrade' script? I can run my own website backup script so that I am then comfortable in upgrading. This way I could say something like: drush @alias up --exclude "files"
2) how about trying to catch and log filesystem drush errors. I presume there must be a way to log the actual filename or directory that is causing the error?
Reading through the above posts, it looks like there could be multiple problems that are blocking the D 6.20 to 6.22 upgrade process. Thanks everyone.
Comment #21
decibel.places commentedI also got "permission denied" after self-updating to Drush 5.x-dev - I could not even execute drush from its own directory
I had to go back to 4.5-dev and it also fixed the /tmp/cache.inc "permission denied" issue I was getting with pm-download on 4.0
w00t
(this is on LAMP, not Windows - I run Drush on both in different environments)
Comment #22
mdlueck commentedIndeed: http://drupal.org/node/1174496#comment-4629384 resolved this error for us.
I think this issue may safely be closed now.
Comment #23
greg.1.anderson commentedMarking as a duplicate of #1169110: Upgrade from D6.20 to 6.22 breaks some drush functions due to filter-xss bug
Comment #24
Manuel commentedHi,
I have the same problem even after updating drush from v3.3 to v4.4.
I'm working with Drupal v6.22