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

Unable to install Magento 2.4.3 via one line command #741

Closed
jsjsvsvs opened this issue Jul 25, 2022 · 6 comments
Closed

Unable to install Magento 2.4.3 via one line command #741

jsjsvsvs opened this issue Jul 25, 2022 · 6 comments

Comments

@jsjsvsvs
Copy link

Description
I've tried installing Magento 2.4.3 with the one liner on two different laptops, but encountering an error.

Steps To Reproduce
1.

curl -s https://raw.githubusercontent.com/markshust/docker-magento/master/lib/onelinesetup | bash -s -- magento.test 2.4.3

Expected Result

completed magento 2.4.3 install

Actual Result

Package phpunit/php-token-stream is abandoned, you should avoid using it. No replacement was suggested.
Generating autoload files
124 packages you are using are looking for funding.
Use the composer fund command to find out more!
[+] Running 7/7
⠿ Container local4-db-1 Stopped 2.0s
⠿ Container vslocal4-elasticsearch-1 Stopped 2.2s
⠿ Container vslocal4-app-1 Stopped 1.5s
⠿ Container vslocal4-mailcatcher-1 Stopped 1.4s
⠿ Container vslocal4-phpfpm-1 Stopped 1.4s
⠿ Container vslocal4-redis-1 Stopped 1.4s
⠿ Container vslocal4-rabbitmq-1 Stopped 6.7s
[+] Running 7/7
⠿ Container vslocal4-rabbitmq-1 Started 0.6s
⠿ Container vslocal4-redis-1 Started 0.6s
⠿ Container vslocal4-elasticsearch-1 Started 1.4s
⠿ Container vslocal4-app-1 Started 1.4s
⠿ Container vslocal4-phpfpm-1 Started 1.3s
⠿ Container vslocal4-mailcatcher-1 Started 0.7s
⠿ Container vslocal4-db-1 Started 0.8s
chmod: cannot access 'bin/magento': No such file or directory

@myselfhimself
Copy link

This is a duplicate of #731 I recommend you try running a current PR patch for the onlinesetup script and bin/download set:

curl -s https://raw.githubusercontent.com/markshust/docker-magento/6a2fb7e0cc3d959ce7d5a383a27197ba48687d62/lib/onelinesetup | bash -s -- magento.test 2.4.3

your feedback will be appreciated

@myselfhimself
Copy link

Sorry my advised command is wrong.. it will continue pulling the master branch's bin/install script instead of the pull request's one

@jsjsvsvs
Copy link
Author

Yes I am still getting the error

@myselfhimself
Copy link

myselfhimself commented Jul 26, 2022

You may try manual steps at #731 (comment)
or in short work with a modified bin/install script like https://github.com/myselfhimself/docker-magento/blob/patch-1/compose/bin/download

Hopefully in 1-2 weeks the upstream docker-magento project will include the fix

@radub
Copy link

radub commented Dec 2, 2022

@myselfhimself any news on the permanent fix?

You may try manual steps at #731 (comment)
or in short work with a modified bin/install script like https://github.com/myselfhimself/docker-magento/blob/patch-1/compose/bin/download

Hopefully in 1-2 weeks the upstream docker-magento project will include the fix

For this workaround to work it is required to replace all occurrences of docker-compose.yml with compose.yaml in the bin/download file to prevent the following error:

sed: docker-compose.yml: No such file or directory
stat /Users/radub/Projects/m2-vanilla/docker-compose.yml: no such file or directory
Failed to start Docker services

@markshust
Copy link
Owner

I'm going to close this out as 2.4.3 is EOL, and I have no plans to support EOL versions.

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

4 participants