I tried to import a Wordpress blog via both methods, but I keep getting the error:

Could not prepare directory wordpress:// - make sure your Drupal files directory exists and is writable

The sites/files directory is there and is writable. I'm using the most current versions of the migrate pugin, this plugin, and Drupal. Any ideas?

Comments

himanshupathak3’s picture

under
configuration -> media -> file system
set:
Private file system path
as
sites/default/private

and
Default download method
as:
Private local files served by Drupal.

then save configuration
now go to : content -> wordpress migration and import from downloaded xml file of wordpress.

mikeryan’s picture

Category: bug » support
Priority: Major » Normal
Status: Active » Postponed (maintainer needs more info)

Yes, you need to be sure you set the private file system path, and make sure it's writable. You should not, however, use it as the default download method - the WordPress file should not be downloadable at all, and the rest of the files on your site should be publicly downloadable.

aanjaneyam’s picture

Hi I am having the same problem. The private files system path exists and is writable. The private files directory is being successfully used by modules like Backup and Migrate. I am using a BOA (Barracuda Octopus Aegir) System. I resaved the file system paths, ran cron and flushed caches but the error still exists. Strange!!

aanjaneyam’s picture

OK it is workig now. I enabled the modules through drush and it some how was not enabled properly or something. I disabled and uninstalled wordpress_migrate through drupal site at admin/modules and then renabled it from UI itself and it seems to work. Does it have anything to do with drush enabling??

mikeryan’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)