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
[BUG] Makefile don't work on OSX #994
Comments
|
I'm not using the setup provided by this repo so this is just an assumption based on provided logs: try running |
|
It's a docker based environment, you cannot "run composer install" in your terminal before the containers works 😁 But thanks |
|
Run composer install locally, not in the docker container. I think current setup assumes that you have everything prepared locally and then just packages that to container. Therefore this is not an issue at all, maybe just a bad design |
|
The docker file will run the composer install for you. In the log output you attached, it shows docker is building the images from cache, so it's not going to run the setup script again (which is what does the composer install). Can you try building the images again? Either by deleting the images or running the docker build commands directly with |
|
Even deleting the image it takes from cache because the docker commands are : |
|
@clawfire the first docker build command doesn't have a cache flag, since it's building the base image. This is the important one because it will run the set up script. Try running
And then run the other two from the build step in the Makefile. |
|
I runned a |
|
Hum ... sadly it didn't work |
|
Can reproduce this exact issue in macOS 10.15.7 with a fresh Attendize install. Also ran |
|
Thanks @johannac for the reply :) I think there's an update available, so I'll try to update. |
|
On my side I have |
|
I just realized what the issue is. All the docker images (base, worker and web) contain the Lines 9 to 11 in a2aadf7
Lines 25 to 27 in a2aadf7
Thus, if the |
|
hum ... how could it be fixed? I'm not enough skilled with docker for now to seek an alternative solution |
So basically my first thought was correct, run Edit: Or you mean if there's an actual fix for this issue so this won't happen? |
Yup, indeed! I didn't see your message before, sorry :( The only thing is
I'd change the volumes lists to only bind directories where persistent data is saved, instead of the whole |
That's not an ideal solution because:
Best solution would be:
|
|
I might post my docker setup some day as a separate repo. But my solution has one problem is that it runs on swoole both in prod and dev and currently swoole is very painful in dev. |
|
Any one successful to run this on Mac ? I am on macOS Big Sur [ 11.6.1] |
|
I had problems running on Mac M1 as well (Ventura 13.5.2). Here's how I got it working with attendize's latest branch (the one that runs on
brew install composerThis will install brew tap shivammathur/php
brew install shivammathur/php/php@7.4Now you need to unlink
And this should work now! If it doesn't, try running |
Describe the bug
Error while running
make setupTo Reproduce
Steps to reproduce the behavior:
make setupExpected behavior
A clear and concise description of what you expected to happen.
Logs
You can see the logs here https://pastebin.com/KbTQfSUs
Environment the bug happens in (Desktop, Mobile, CLI) (please complete the following information):
Version of Attendize you are using
The text was updated successfully, but these errors were encountered: