23 May 2024 |
| adrigen joined the room. | 11:39:57 |
Mayel | @adrigen:matrix.orgdid you run just config before looking for the .env ? as that should create it
| 11:40:57 |
adrigen | no i certainly did not 😅. | 11:43:23 |
adrigen | Thanks | 11:43:27 |
Mayel | Sure thing | 11:43:50 |
adrigen | To start docker I need an image name yeah? How do I determine that? | 11:49:12 |
Mayel | No, in dev mode it builds a local image | 11:49:44 |
Mayel | The just commands handle it all for you in any case
| 11:50:00 |
adrigen | 'just setup'?
It presents a wall of unhappiness 😮💨https://pastebin.com/46QrXMvLhttps://pastebin.com/46QrXMvL
I will grep this ELIXIR_DOCKER_IMAGE (I didnt think I was using elixir) when I get the courage to come back to this. Thanks. | 12:00:52 |
adrigen | * 'just setup'?
It presents a wall of unhappiness 😮💨https://pastebin.com/46QrXMvL
I will grep this ELIXIR_DOCKER_IMAGE (I didnt think I was using elixir) when I get the courage to come back to this. Thanks. | 12:01:14 |
Mayel | I see “Cannot connect to the Docker daemon“ - do you have it installed and running? | 12:02:11 |
Mayel | (FYI ELIXIR_DOCKER_IMAGE is only used in prod, not dev)
| 12:03:28 |
| pierre joined the room. | 14:24:28 |
26 May 2024 |
| biobrotmithonig ⚡️ joined the room. | 10:05:17 |
| CieloTierra joined the room. | 14:54:39 |
28 May 2024 |
adrigen | Ive managed to run 'just setup-dev' whihc seemed mostly successful, but there were a few warning that Im hoping someone could shed light on (and the instance exits):
WARN[0000] /home/a-pantz/Develop/bonfire/docker-compose.yml: version is obsolete
So I have read that versions in .yml are now obsolete, so Ill remove this but maybe it's an indication that my file is out of date?
But it really seems to fall over with regards to hex:
Mix requires the Hex package manager to fetch dependencies Shall I install Hex? (if running non-interactively, use "mix local.hex --force") [Yn] Y ** (File.Error) could not make directory (with -p) "/opt/app/.mix/archives/hex-2.1.1": no such file or directory (elixir 1.16.2) lib/file.ex:345: File.mkdir_p!/1 (mix 1.16.2) lib/mix/tasks/archive.install.ex:122: Mix.Tasks.Archive.Install.install/3 (mix 1.16.2) lib/mix/local/installer.ex:107: Mix.Local.Installer.local_install/3 (mix 1.16.2) lib/mix/dep/loader.ex:188: Mix.Dep.Loader.with_scm_and_app/5 (mix 1.16.2) lib/mix/dep/loader.ex:141: Mix.Dep.Loader.to_dep/4 (elixir 1.16.2) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (elixir 1.16.2) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (mix 1.16.2) lib/mix/dep/loader.ex:364: Mix.Dep.Loader.mix_children/3 error: Recipe cmd failed on line 782 with exit code 1 error: Recipe mix failed on line 813 with exit code 1 error: Recipe deps-clean-data failed on line 364 with exit code 1 error: Recipe setup-dev failed on line 144 with exit code 1
Is this familiar to anyone? I have installed elixir, despite hearing that elixir is not required...
| 04:53:12 |
adrigen | * Ive managed to run 'just setup-dev' whihc seemed mostly successful, but there were a few warning that Im hoping someone could shed light on (and the instance exits):
WARN[0000] /home/a-pantz/Develop/bonfire/docker-compose.yml: version is obsolete
So I have read that versions in .yml are now obsolete, so Ill remove this but maybe it's an indication that my file is out of date?
But it really seems to fall over with regards to hex:
Mix requires the Hex package manager to fetch dependencies Shall I install Hex? (if running non-interactively, use "mix local.hex --force") [Yn] Y ** (File.Error) could not make directory (with -p) "/opt/app/.mix/archives/hex-2.1.1": no such file or directory (elixir 1.16.2) lib/file.ex:345: File.mkdir_p!/1 (mix 1.16.2) lib/mix/tasks/archive.install.ex:122: Mix.Tasks.Archive.Install.install/3 (mix 1.16.2) lib/mix/local/installer.ex:107: Mix.Local.Installer.local_install/3 (mix 1.16.2) lib/mix/dep/loader.ex:188: Mix.Dep.Loader.with_scm_and_app/5 (mix 1.16.2) lib/mix/dep/loader.ex:141: Mix.Dep.Loader.to_dep/4 (elixir 1.16.2) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (elixir 1.16.2) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (mix 1.16.2) lib/mix/dep/loader.ex:364: Mix.Dep.Loader.mix_children/3 error: Recipe cmd failed on line 782 with exit code 1 error: Recipe mix failed on line 813 with exit code 1 error: Recipe deps-clean-data failed on line 364 with exit code 1 error: Recipe setup-dev failed on line 144 with exit code 1
Is this familiar to anyone? I have installed elixir, despite hearing that elixir is not required... thanks!!
| 04:53:28 |
adrigen | * Ive managed to run 'just setup-dev' whihc seemed mostly successful, but there were a few warning that Im hoping someone could shed light on (and the instance exits):
WARN[0000] /home/a-pantz/Develop/bonfire/docker-compose.yml: version is obsolete
So I have read that versions in .yml are now obsolete, so Ill remove this but maybe it's an indication that my file is out of date?
But it really seems to fall over with regards to hex:
Mix requires the Hex package manager to fetch dependencies Shall I install Hex? (if running non-interactively, use "mix local.hex --force") [Yn] Y ** (File.Error) could not make directory (with -p) "/opt/app/.mix/archives/hex-2.1.1": no such file or directory (elixir 1.16.2) lib/file.ex:345: File.mkdir_p!/1 (mix 1.16.2) lib/mix/tasks/archive.install.ex:122: Mix.Tasks.Archive.Install.install/3 (mix 1.16.2) lib/mix/local/installer.ex:107: Mix.Local.Installer.local_install/3 (mix 1.16.2) lib/mix/dep/loader.ex:188: Mix.Dep.Loader.with_scm_and_app/5 (mix 1.16.2) lib/mix/dep/loader.ex:141: Mix.Dep.Loader.to_dep/4 (elixir 1.16.2) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (elixir 1.16.2) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (mix 1.16.2) lib/mix/dep/loader.ex:364: Mix.Dep.Loader.mix_children/3 error: Recipe cmd failed on line 782 with exit code 1 error: Recipe mix failed on line 813 with exit code 1 error: Recipe deps-clean-data failed on line 364 with exit code 1 error: Recipe setup-dev failed on line 144 with exit code 1
Is this familiar to anyone? I have installed elixir, despite hearing that elixir is not required... thanks!!
| 04:53:46 |
Mayel | If you've installed elixir, I'd recommend using WITH_DOCKER=partial instead | 06:50:02 |
adrigen | Thanks, I have changed it, I still get a similar(?) error. bonfire_web Run mix bonfire.deps.clean.data ** (SyntaxError) lib/mix/mixer.ex:321: syntax error before: '/' (elixir) lib/code.ex:240: Code.eval_string/3 mix.exs:2: (file) error: Recipe cmd failed on line 782 with exit code 1 error: Recipe mix failed on line 813 with exit code 1 error: Recipe deps-clean-data failed on line 364 with exit code 1 error: Recipe setup-dev failed on line 144 with exit code 1 | 07:28:57 |
adrigen | Redacted or Malformed Event | 07:38:46 |
Mayel | Ah what elixir version do you have? Seems like it may be too old | 08:23:27 |
adrigen | In reply to @mayel:matrix.org Ah what elixir version do you have? Seems like it may be too old 1.9.1 | 08:25:12 |
Mayel | Oh yeah it needs 1.13 to 1.17 | 08:26:15 |
Mayel | In reply to @adrigen:matrix.org
Ive managed to run 'just setup-dev' whihc seemed mostly successful, but there were a few warning that Im hoping someone could shed light on (and the instance exits):
WARN[0000] /home/a-pantz/Develop/bonfire/docker-compose.yml: version is obsolete
So I have read that versions in .yml are now obsolete, so Ill remove this but maybe it's an indication that my file is out of date?
But it really seems to fall over with regards to hex:
Mix requires the Hex package manager to fetch dependencies Shall I install Hex? (if running non-interactively, use "mix local.hex --force") [Yn] Y ** (File.Error) could not make directory (with -p) "/opt/app/.mix/archives/hex-2.1.1": no such file or directory (elixir 1.16.2) lib/file.ex:345: File.mkdir_p!/1 (mix 1.16.2) lib/mix/tasks/archive.install.ex:122: Mix.Tasks.Archive.Install.install/3 (mix 1.16.2) lib/mix/local/installer.ex:107: Mix.Local.Installer.local_install/3 (mix 1.16.2) lib/mix/dep/loader.ex:188: Mix.Dep.Loader.with_scm_and_app/5 (mix 1.16.2) lib/mix/dep/loader.ex:141: Mix.Dep.Loader.to_dep/4 (elixir 1.16.2) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (elixir 1.16.2) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2 (mix 1.16.2) lib/mix/dep/loader.ex:364: Mix.Dep.Loader.mix_children/3 error: Recipe cmd failed on line 782 with exit code 1 error: Recipe mix failed on line 813 with exit code 1 error: Recipe deps-clean-data failed on line 364 with exit code 1 error: Recipe setup-dev failed on line 144 with exit code 1
Is this familiar to anyone? I have installed elixir, despite hearing that elixir is not required... thanks!!
If you prefer to try again with docker, could you git pull and see if the same error occurs?
| 08:28:01 |
Mayel | Since I’ve changed the config from 1.16 to 1.17rc | 08:28:29 |
adrigen | In reply to @mayel:matrix.org Since I’ve changed the config from 1.16 to 1.17rc ok, and I have to build it yeah? The packages only go to 1.16 | 08:38:32 |
Mayel | Well yes it builds a custom image (Dockerfile.dev) but that just pulls in the elixir docker image and adds some extra deps | 08:40:00 |
Mayel | In reply to @mayel:matrix.org
(FYI ELIXIR_DOCKER_IMAGE is only used in prod, not dev)
Looks like I was wrong about this | 08:40:14 |
Mayel | But just setup-dev should do it all for you
| 08:40:57 |