Git Product home page Git Product logo

Comments (9)

Plopix avatar Plopix commented on June 17, 2024

I was off for 3 weeks (👶 -> 🍼 )
I'll have a look next week.

The best way would still be for me to get an M1 ;-) (https://github.com/sponsors/Plopix)

from launchpad.

YohannsMonnier avatar YohannsMonnier commented on June 17, 2024

dear @Plopix ,

still on M1, ~/ez command does not find system env variables anymore.

I don't know if this a problem on my computer or if this is a problem with the way env variables are set in the last version of ezlaunchpad.

I have tried to update ezlaunchpad and to init a new launchpad env to check before posting :

docker-compose -p yohanntestlaunchpad -f /Users/yohann/Projects/test_launchpad/provisioning/dev/docker-compose.yml -f /Users/yohann/Projects/test_launchpad/provisioning/dev/docker-compose-osx.yml exec --user www-data engine /var/www/html/project/composer_install.bash
WARN[0000] The PROJECTCOMPOSEPATH variable is not set. Defaulting to a blank string.
WARN[0000] The PROVISIONINGFOLDERNAME variable is not set. Defaulting to a blank string.
WARN[0000] The PROJECTCOMPOSEPATH variable is not set. Defaulting to a blank string.
WARN[0000] The PROJECTMAPPINGFOLDER variable is not set. Defaulting to a blank string.
WARN[0000] The HOST_COMPOSER_CACHE_DIR variable is not set. Defaulting to a blank string.
WARN[0000] The COMPOSER_CACHE_DIR variable is not set. Defaulting to a blank string.
WARN[0000] The PROJECTCOMPOSEPATH variable is not set. Defaulting to a blank string.
WARN[0000] The PROVISIONINGFOLDERNAME variable is not set. Defaulting to a blank string.
WARN[0000] The PROJECTPORTPREFIX variable is not set. Defaulting to a blank string.
services.engine.volumes array items[1,2] must be unique

Best regards,
Yohann

from launchpad.

Plopix avatar Plopix commented on June 17, 2024

Hello your docker-compose command cannot work like that. You need env vars. Run ez ps and at the top you will fine the full docker command.

You can also just do: ez ps c ;-)

from launchpad.

YohannsMonnier avatar YohannsMonnier commented on June 17, 2024

Understood ! Thank You Sébastien !

In fact I got an error, but trying to type the docker compose command without env variables cause it to fail before

Yohann

from launchpad.

YohannsMonnier avatar YohannsMonnier commented on June 17, 2024

Indeed, my command was faulty because it lacked the env variables.

My real error is :

ez enter -v
www-data@47846dc7cb6a:~/html$ read /dev/stderr: bad file descriptor

from launchpad.

sklimaszewski avatar sklimaszewski commented on June 17, 2024

I can confirm that the above issue is related not only to M1 Macs. I'm having same issue on i7 MacBook after running ez enter:
www-data@d6921704a8e3:~/html$ read /dev/stderr: bad file descriptor

I think it may be related to the newest docker-compose update. Docker for Mac has updated my docker-compose:
Docker Compose version v2.0.0-beta.6

from launchpad.

YohannsMonnier avatar YohannsMonnier commented on June 17, 2024

@sklimaszewski I confirm your assumption.

I have deactivated this experimental feature and I have no more bad file descriptor.

Yohann

from launchpad.

hubformation avatar hubformation commented on June 17, 2024

@sklimaszewski and @YohannsMonnier thank you for the tip. I deactivated the experimental feature and it fixed the problem. I too am on an i7 MacBook and had the "bad file descriptor" when doing ez enter. I also was not able to do ez init anymore...

from launchpad.

Plopix avatar Plopix commented on June 17, 2024

close in favor or #107

from launchpad.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.