hashbangcode / vlad

Vlad - Vagrant LAMP Ansible Drupal
173 stars 53 forks source link

Folders and files disappear after logout when installed with composer #361

Closed gitressa closed 8 years ago

gitressa commented 8 years ago

After I logout, many folders and files mysteriously disappear, see the images:

Before logout (a copy I made)

composer-missing-files-dirs-1

After logout

composer-missing-files-dirs-2

philipnorton42 commented 8 years ago

I take it from these screenshots that you are using Ubuntu? I've not seen composer delete files before... I wonder what's going on?

gitressa commented 8 years ago

Yes, I am using Ubuntu 14.04. I'll try to recreate it, but hopefully it was freak a event.

gitressa commented 8 years ago

On another note, does it also takes your machine around 15 minutes for composer to download drupal 8? This is what happens after composer create-project drupal-composer/drupal-project:8.x-dev comp_d8 --stability dev --no-interaction (NOTE: see https://github.com/hashbangcode/vlad/issues/361#issuecomment-227375566)

23.31 - Starts up, downloads a lot of stuff, and then hangs at this step:

- Installing drupal/core (8.1.3)
Loading from cache

23.41 - continues 23.45 - finished

philipnorton42 commented 8 years ago

Are you using the vlad_drupal_install variable at all?

gitressa commented 8 years ago

I don't think I am using vlad_drupal_install. Where would I set it?

philipnorton42 commented 8 years ago

It's set to be false as a default, but you can set it to true in the settings.yml files in order to get Vlad to install Drupal for you when the box provisions. It's set to install Drupal 7 as a default, which looks like what it's done for you.

gitressa commented 8 years ago

Sorry! It was very late when I posted the download question... (https://github.com/hashbangcode/vlad/issues/361#issuecomment-227282714).

This is the command (download with composer) I should have posted, not the drush install-command: composer create-project drupal-composer/drupal-project:8.x-dev comp_d8 --stability dev --no-interaction.

I have updated the command to the correct composer one in the download question.

For this project I would like to use Composer, both in development and production, so unfortunately using vlad_drupal_install is not an option.

gitressa commented 8 years ago

Hi Phil, Nevermind with the Composer question. I think I will be using drush make in stead to download my Drupal 8 modules - it seems less complicated than composer.