Can't update Zen template

Aren Cambre - November 8, 2009 - 14:50
Project:Drush
Version:All-Versions-2.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

Here's the output:

$ drush update
Refreshing update status information ...
Done.
Update information last refreshed: Sun, 2009-11-08 08:44

Update status information on all installed and enabled Drupal modules:
Name                            Installed      Proposed       Status
                                 version        version
Administration menu             6.x-1.5        6.x-1.5        Up to date
[...snippage...]
Zen                             6.x-2.x-dev    6.x-2.x-dev    Update
                                                               available

Code updates will be made to the following projects:
Zen [zen-6.x-2.x-dev]

Note: Updated modules can potentially break your site. It's not recommended to update production sites without prior testing.
Note: A backup of your package will be stored to backups directory if it is not managed by a supported version control system.
Note: If you have made any modifications to any file that belongs to one of these projects, you will have to migrate those modifications after updating.
Do you really want to continue? (y/n): y
Module zen path is not available, perhaps the module is enabled but  [error]
has been deleted from disk.
Cache cleared.
An error occurred at function : drush_core_cache_clear               [error]
An error occurred at function : drush_pm_updatecode                  [error]
An error occurred at function : drush_pm_update                      [error]
$

Important characteristics of the Zen template:

  • Not the selected template, but it's enabled.
  • Selected and enabled template is a Zen subtheme.
  • Zen master is in sites/all/templates.
  • Subtheme is in sites/[mysite]/templates

#1

rkeppner - November 17, 2009 - 04:59

I'm getting exactly the same problem updating Zen, though the versions are 6.x-1.0 and 6.x-1.1, respectively. I tried upgrading manually (replacing the zen theme directory with the new version), but I still got the same error message. Is there a workaround for this, like some way to reset Drush's database, so that I can upgrade it manually?

#2

rkeppner - November 17, 2009 - 20:05

This seems to be caused by a block of information in the .info file for the Zen sub-theme.

; Information added by drupal.org packaging script on 2009-02-13
version = "6.x-1.0"
core = "6.x"
project = "zen"
datestamp = "1234555897"

If you delete that block, you won't get the error any more. Also, it seems that the new zen-6.x-1.1 STARTERKIT doesn't include that block any more, so it shouldn't be a problem going forward.

#3

Aren Cambre - November 17, 2009 - 20:45

But I'm not trying to upgrade a subtheme. The problem is the Zen parent theme.

 
 

Drupal is a registered trademark of Dries Buytaert.