Skip to content

Install of Magento fails at composer webroot and sample data steps #23

@freedog96150

Description

@freedog96150

This seems very similar to issue #5 which is tagged as closed.

I have pulled all the latest updates from the repo. I am running as my with sudo rights and not as root/super user. Followed your setup instructions via copy and paste. This was run on a clean server instance with nothing installed except for basic updates and firewall.

Digital Ocean Ubuntu 16.04.3

Snip from install logs:

Download Magento 2.2.0 release
rm: refusing to remove '.' or '..' directory: skipping '/var/www/html/shop.masterfitinc.com/webroot/.'
rm: refusing to remove '.' or '..' directory: skipping '/var/www/html/shop.masterfitinc.com/webroot/..'
chmod: cannot access 'bin/magento': No such file or directory
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  6038  100  6038    0     0   8621      0 --:--:-- --:--:-- --:--:--  8625
ln: failed to create symbolic link '/etc/nginx/sites-enabled/shop.masterfitinc.com': File exists

CONFIGURATION: MAGENTO CONNECT KEYS
rm: cannot remove '/var/www/html/shop.masterfitinc.com/composer/auth.json': No such file or directory

INSTALLATION: MAGENTO 2 COMPOSER PROJECT
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Installing magento/project-community-edition (2.2.0)
  - Installing magento/project-community-edition (2.2.0): Downloading (100%)
Created project in .
Loading composer repositories with package information
Updating dependencies (including require-dev)
install/magento-injection.sh: line 14: 12428 Killed                  composer create-project --repository-url=https://repo.magento.com/ magento/project-community-edition . $2

INSTALLATION: THE MAGENTO 2
Could not open input file: bin/magento
Could not open input file: bin/magento
Could not open input file: bin/magento
Could not open input file: bin/magento
Could not open input file: bin/magento
chmod: cannot access 'bin/magento': No such file or directory

INSTALLATION: MAGENTO 2 SAMPLE DATA DEMO STORE
Could not open input file: bin/magento
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Updating dependencies (including require-dev)
install/magento-sample.sh: line 27: 15401 Killed                  composer update
Could not open input file: bin/magento
Could not open input file: bin/magento
Could not open input file: bin/magento
Could not open input file: bin/magento
chmod: cannot access 'bin/magento': No such file or directory

Any ideas on resolving?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions