cancel
Showing results for 
Search instead for 
Did you mean: 

/var/www/html/magento/vendor/composer/34026f14 does not exist and could not be created.

SOLVED

/var/www/html/magento/vendor/composer/34026f14 does not exist and could not be created.

I am hitting problems with composer installation of Magento2 on CentOS Linux release 7.5.1804 (Core), Composer version 1.8.5 2019-04-09 17:46:47.

 

I am running the command as the magento user, which has full permissions over /var/www/html/magento

 

But when I run 

composer create-project --repository=https://repo.magento.com/ magento/project-community-edition ./

The command gets a quite long way through the process, as far as...

Installing magento/magento2-base (2.3.1): Downloading (100%)

 

...then fails with a runtime exception

[RuntimeException]
/var/www/html/magento/vendor/composer/34026f14 does not exist and could not be created.

 

I deleted all the directories, recreated them and tried again and got very similar result:

[RuntimeException]
/var/www/html/magento/vendor/composer/34026f14 does not exist and could not be created.

 

At this point the directory structure looks like this:

bash-4.2$ ls -al
total 12
drwxr-xr-x.  4 magento nginx   73 May  2 12:30 .
drwxr-xr-x.  3 root    root    21 May  2 12:26 ..
-rw-rw-rw-.  1 magento nginx 2257 Mar 15 05:12 composer.json
-rw-rw-rw-.  1 magento nginx 1395 Mar 15 05:12 .gitignore
drwxr-xr-x.  7 magento nginx  191 May  2 12:28 update
drwxr-xr-x. 44 magento nginx 4096 May  2 12:36 vendor

 

 

Any ideas what is going wrong please?

1 ACCEPTED SOLUTION

Accepted Solutions

Re: /var/www/html/magento/vendor/composer/34026f14 does not exist and could not be created.

Looks like this was caused by lack of disk space in the VM.

View solution in original post

1 REPLY 1

Re: /var/www/html/magento/vendor/composer/34026f14 does not exist and could not be created.

Looks like this was caused by lack of disk space in the VM.