I am attempting to migrate a Drupal 7 site with another Drupal 7 site locally on my computer. Most all fields are coming over except files. Ive tried a few different settings without any avail.
While the server is running the source site I use `http://localhost:8888` as the source directory. See the image '1' for a look.
The migration says that all the files were created but when I check `public://legacy_files` theres a file called `localhost:8888` and I get the following informational warnings for every file.
Undefined property: stdClass::$value File /Users/cwahlfeldt/Sites/curb/sites/all/modules/migrate/plugins/destinations/file.inc, line 704(file: /Users/cwahlfeldt/Sites/curb/sites/all/modules/migrate/plugins/destinations/file.inc, line 704)
I have also tried using a absolute path to the source files directory. `/Users/cwahlfeldt/Sites/dev.urbanaillinois.us_D7/sites/default/files`. See the image '2' for a look.
I get both an informational and an error message for every file it tried to migrate.
Informational Undefined property: stdClass::$value File /Users/cwahlfeldt/Sites/curb/sites/all/modules/migrate/plugins/destinations/file.inc, line 704(file: /Users/cwahlfeldt/Sites/curb/sites/all/modules/migrate/plugins/destinations/file.inc, line 704)
Error The specified file /Users/cwahlfeldt/Sites/dev.urbanaillinois.us_D7/sites/default/files/ could not be copied to public://legacy_files/files: "copy(): The first argument to copy() function cannot be a directory File /Users/cwahlfeldt/Sites/curb/sites/all/modules/migrate/plugins/destinations/file.inc, line 393"Is the source directory set incorrectly? Or am I missing something else?
Cheers!
| Comment | File | Size | Author |
|---|---|---|---|
| 2.png | 52.67 KB | killwaffles | |
| 1.png | 50.46 KB | killwaffles |
Comments
Comment #2
killwaffles commentedComment #3
mcdoolz commentedDid you ever figure this out? I feel like I'm missing something dumb.