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

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

Open
freedog96150 opened this issue Oct 19, 2017 · 1 comment
Open

Comments

@freedog96150
Copy link

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?

@progcode
Copy link

I got the same issue on Ubuntu16.04

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