-
Notifications
You must be signed in to change notification settings - Fork 81
Error running locally #23
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
Comments
Can you provide a little bit more information? |
I've just cloned the repo, set the variables in the .env, and did docker-compose up -d |
The setup works fine on Linux and older Mac systems. However, there are errors on newer Macs because Docker primarily supports AMD64 architecture, while newer Macs use ARM64. I tested it on a Mac with an M1 chip, and it failed. |
I had another Odoo Docker framework ( Doodba ) running fine on a arm system. Maybe this helps.. resolving the issue here.. |
@bosd Is there a way we can integrate this option into Odoocker? |
@nelsonvega Is not clear for me what's actually failing in your build. |
I have ran into the same issue on windows, and it was due to the formatting of the clone-addons.sh file, the carriage returns were not properly formatted (not sure why) I went and ran this on the file and was able to get past that error, I have another error now but was able to atleast start the cloning process. cd C:\path\to\your\clone\odoo Edit: you could also use dos2unix formatter to make life a bit easier as well. I have ran into this countless times when doing cross system automations. |
"The main difference between Windows and Linux carriage returns is that Windows uses a carriage return and line feed ("\r\n") to terminate a line, while Linux uses only a line feed ("\n")." |
Hi
BUT THEN, the docker compose would tell me clone-addons.sh depends on /bin/bash.... So I took the route of WSL2 since docker desktop on windows uses it. I installed the ubuntu 20.04 LTS WSL image then cloned the repo inside that wsl container and executed commands of the getting started section without issue:
Now the odoocker container is running and showing up in my windows docker console :) Hope this help |
The text was updated successfully, but these errors were encountered: