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

Unable to drush make --prepare-install #1926

Open
AlexCreamer opened this issue Aug 24, 2018 · 3 comments
Open

Unable to drush make --prepare-install #1926

AlexCreamer opened this issue Aug 24, 2018 · 3 comments

Comments

@AlexCreamer
Copy link

Below is the message my terminal is giving me. I even tried removing /home/onix/Projects from the beginning of the directory for the file used.

~/Projects/drupal$ drush make --prepare-install --yes /home/onix/Projects/drupal/profiles/wetkit/drupal-org.make
Make new site in the current directory? (y/n): y
file_get_contents(/home/onix/Projects/drupal/profiles/wetkit/drupal-org.make): failed to open stream: No such file or directory make.utilities.inc:577                                           [warning]
Invalid or empty make file: /home/onix/Projects/drupal/profiles/wetkit/drupal-org.make                                                                                                           [error]
Beginning to build /home/onix/Projects/drupal/profiles/wetkit/drupal-org.make.                                                                                                                   [ok]
No core project specified.                                                                                                                                                                       [error]
Drush Make failed to download all projects. See the log above for the specific errors. 
@joejoseph00
Copy link
Member

says that this file is invalid or empty
/home/onix/Projects/drupal/profiles/wetkit/drupal-org.make

perhaps permissions issue.

Aside from that, you're better off downloading the fully built distribution from
https://drupal.org/project/wetkit

the way the make is put together for wetkit it's quite complicated

if you want a simpler make , see media_dev
https://drupal.org/project/media_dev

easily get the drush make going with media_dev
speaking of which , it's due for an update soon.
I will update have to update media_dev soon.

@AlexCreamer
Copy link
Author

The user owns the files (based on the files I checked). If I were to go with the pre-built version, is there recommended method I should use for a multi-site platform?

@joejoseph00
Copy link
Member

wetkit is multisite capable, standard drupal multisite.
create a sites.php file place it in your sites folder
follow instructions online.
If you want to override wetkit modules, install them in sites/all/modules or by site in sites/xyz/modules/ clear caches and that module will override the wetkit version, just note that some of the modules included in wetkit are heavily patched so some of them you want to be aware of that. Overall the modules included in the latest wetkit are pretty much up to date and you shouldn't have to change them. For your custom stuff you should be using the drupal hook system accordingly , your custom stuff should be in your custom module(s) or in the theme preprocessing and templates.

lots of great documentation available online.

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

No branches or pull requests

2 participants