Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Import #461

Closed
karudonaldson opened this issue Oct 19, 2014 · 8 comments
Closed

Remote Import #461

karudonaldson opened this issue Oct 19, 2014 · 8 comments

Comments

@karudonaldson
Copy link

I was testing remote_import by importing production sites to a local BOA 2.3.5 instance today and found that most migrations I tried were failing. 1 of 7 have successfully completed so far, where these would normally import no problem.

Below seems to be the common error:
Unknown option: --remote_import_import. See drush help hosting-import for available options. To suppress this error, add the option --strict=0.

Also, I don't think this is anything related but when I run the manual cron task:
bash /var/xdrago/run-o1
The queued tasks aren't running as expected.

Let me know if you need any further info.

@pricejn2
Copy link
Contributor

@karudonaldson
Copy link
Author

Thanks, yes I saw that. Strangely this doesn't occur every migration some actually complete successfully while others don't. Can we append the strict=0 in the task perhaps? What are the implications?

@pricejn2
Copy link
Contributor

I did this a few weeks ago, but if I recall, I only had the problem for D6 sites. As far as implications of using strict=0, I have no idea. I imported a number of sites and they are all functioning properly.

In /data/disk/o1/.drush/sys/provision/remote_import/remote_import.drush.inc, these are the changes I made to the last line:

provision_backend_invoke('@hostmaster', 'hosting-import', array($new_alias), array('remote_import_import' => TRUE, 'strict' => FALSE));

@karudonaldson
Copy link
Author

Seems to resolve the issue thanks. Are there are any side effects to be aware of?

@pricejn2
Copy link
Contributor

Good deal.

There are none that I'm aware of or have encountered thus far.

@karudonaldson
Copy link
Author

I haven't noticed any issues either, is this a candidate for being committed to stable or can any others offer their input?

@omega8cc
Copy link
Owner

This issue belong to https://www.drupal.org/project/remote_import since we don't modify it in BOA, it is used as-is so any problems should be reported in the correct project issue queue.

@omega8cc
Copy link
Owner

I have committed suggested fix (even if it is a workaround for unknown issue, probably) in our fork: omega8cc/remote_import@adf0f85

It is now added both in BOA head and stable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants