Closed ttronslien closed 3 years ago
Destroyed the vagrant and recreated the box. Resolved the CP problem but still have the "cannot access '/home/vagrant/magento/bin/magento'" issue. The folder is not created.
New error: local.magento2: /tmp/vagrant-shell: line 38: 17301 Killed sudo -u vagrant COMPOSER_MEMORY_LIMIT=-1 composer install -d "$PROJECT_BUILD" --no-progress --no-interaction --no-suggest
Looks like all sorted out eventually. Last issue was related to having lowered the default memory from '4096' to 2056 . Destroying the vagrant and changing the memory resolved the last issue.
The issue that started this was applying the correct magento keys as username and password.
It's my first time installing Magento and I have tackled challenge by challenge but this one is stumping me a bit.
I'm getting permission issues when getting to the point of installing Magento.
Editorially cleaned up I'm getting something like local.magento2: - Installing magento/project-community-edition (2.4.2): local.magento2: Downloading local.magento2: [RuntimeException] local.magento2: Could not delete /home/vagrant/magento/: local.magento2: Composer could not find a composer.json file in /home/vagrant/magento local.magento2: To initialize a project, please create a composer.json file as described in the https://getcomposer.org/ "Getting Started" section local.magento2: cp: local.magento2: cannot create regular file '/home/vagrant/magento/auth.json' local.magento2: : Permission denied local.magento2: chmod: local.magento2: cannot access '/home/vagrant/magento/bin/magento' local.magento2: : No such file or directory local.magento2: sudo local.magento2: /home/vagrant/magento/bin/magento: command not found local.magento2: sudo local.magento2: /home/vagrant/magento/bin/magento: command not found local.magento2: Could not open input file: /home/vagrant/magento/bin/magento local.magento2: sudo local.magento2: /home/vagrant/magento/bin/magento: command not found
The permission in as follows drwxr-xr-x 2 vagrant vagrant 4096 May 9 02:38 extra drwxr-xr-x 2 501 www-data 64 May 9 14:45 magento drwxr-xr-x 2 vagrant vagrant 4096 May 9 03:30 .nano
The magento folder is empty
the auth.json file is in /home/vagrant
in my config yaml I have mount: 'nfs' path: '/var/www/magento' provision: 'magento'
Any idea of what needs to happen?