-
Notifications
You must be signed in to change notification settings - Fork 1
Troubleshooting
If you're using macOS and you see this error when starting a project, it means your DNS port is in use, likely caused by mDNSResponder
:
ERROR: for dns-external Cannot start service dns-external: driver failed programming external connectivity on endpoint tribe-dns-external (ca1560ce424d0921cec48a87f87b3af10c9d10584423e5a20214d5326bf4c52a): Error starting userland proxy: listen tcp4 0.0.0.0:53: bind: address already in use
Run the following command in terminal to fix it:
curl -s -L https://gist.github.com/defunctl/525a6666ab211c7bfa2acd66063efe00/raw/60c24a08c792e32bae97dae4e91c607358c95561/docker-compose.override.yml -o ~/.config/squareone/global/docker-compose.override.yml && so global:stop-all && so global:start
The fix allows the dns-external
container to bind any ports available on the host and still appears to resolve internal .tribe
addresses.
[UnexpectedValueException] Your github oauth token for github.com contains invalid characters: "ghp_xxxxxxxxxxxxxxxxxxx"
GitHub changed their token format, so you need to rebuild your docker image to get the latest version of composer's v1 branch.
See the notes in this PR: https://github.com/moderntribe/square-one/pull/695
Note: this is an experimental docker feature and you should only switch over to test it.
You can safely ignore this warning for now, as it's not yet feature complete. However, if you'd like to test it, create a ~/.config/squareone/squareone.yml
file and placing the following in it:
docker:
compose-binary: "docker compose"
ERROR: Can't find a suitable configuration file in this directory or any parent. Are you in the right directory?
Supported filenames: docker-compose.yml, docker-compose.yaml
Affected: Linux and WSL (Windows Subsystem for Linux) and macOS.
This happens on old versions of Ubuntu or WSL where the docker-compose
binary is out of date.
Debian Linux/WSL
Follow the instructions under the Linux
tab to upgrade to the most recent version: https://docs.docker.com/compose/install/#install-compose
macOS
Download the latest version of Docker for Desktop here: https://docs.docker.com/desktop/mac/release-notes/
Arch/Manjaro
so global:stop-all
sudo pamac remove docker-compose
-
rm -rf ~/.local/bin/docker-compose
(don't worry if this says file not found) sudo pamac install docker-compose-bin
docker network prune