I am currently running OP 7.x-1.0-alpha8 on Linux. Tonight I attempted to upgrade to alpha9, using drush, and the upgrade failed with this error:

The openpublish directory could not be found within the modules
directory at
/path/to/drupal/root/profiles/openpublish,
perhaps the project is enabled but has been deleted from disk.

There never was an openpublish directory inside that modules directory.

There are two other possibly related warnings:

Unknown path for openpublish_starterkit module. [2.85 sec, 31.79 MB] [warning]
Unknown path for frame module. [2.85 sec, 31.8 MB] [warning]

Frame is located in profiles/openpublish/themes/openpublish-themes/frame, but there is no openpublish_starterkit module. It's openpublish-starterkit, located in profiles/openpublish/themes/openpublish-themes/starterkits/openpublish-starterkit.

Comments

jec006’s picture

Hi, What drush command are you using to update? drush up openpublish?
It appears this isn't working properly - The themes issue is probably because they don't have the type set to theme, which I can fix.

The openpublish one seems odd - I get the same error, but the openpublish directory is indeed there, it is simply not a module. It may be that drush doesn't have full support for updating profiles that contain core updates.

I would recommend doing the update by hand - that is:
(Be careful and take a db backup and a code backup prior to doing this so you can roll back if something goes wrong)

  • Download the package from d.o and extract it.
  • Copy your sites directory outside of the current setup
  • Then copy the downloaded package over top of the old drupal install.
  • Once that is done, move your site directory back over top of the default one (the one that came in the new download).
  • You'll then need to run update.php and clear cache.
jec006’s picture

Status: Active » Closed (cannot reproduce)

Since we're well past this release and there was no feedback I'm just going to close