!PgmWmLWvqTiYOoGkJp:matrix.org

Bonfire Technical Chat

81 Members
Room for technical discussions about Bonfire, to complement the issue tracker: https://github.com/bonfire-networks/bonfire-app/milestones?direction=asc&sort=due_date&state=open24 Servers

Load older messages


SenderMessageTime
23 May 2024
@adrigen:matrix.orgadrigen joined the room.11:39:57
@mayel:matrix.orgMayel

@adrigen:matrix.orgdid you run just config before looking for the .env? as that should create it

11:40:57
@adrigen:matrix.orgadrigenno i certainly did not 😅. 11:43:23
@adrigen:matrix.orgadrigenThanks11:43:27
@mayel:matrix.orgMayelSure thing11:43:50
@adrigen:matrix.orgadrigenTo start docker I need an image name yeah? How do I determine that?11:49:12
@mayel:matrix.orgMayelNo, in dev mode it builds a local image11:49:44
@mayel:matrix.orgMayel

The just commands handle it all for you in any case

11:50:00
@adrigen:matrix.orgadrigen'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:matrix.orgadrigen * '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:matrix.orgMayelI see “Cannot connect to the Docker daemon“ - do you have it installed and running?12:02:11
@mayel:matrix.orgMayel

(FYI ELIXIR_DOCKER_IMAGE is only used in prod, not dev)

12:03:28
@pierre:matrix.asso-fare.frpierre joined the room.14:24:28
26 May 2024
@biobrotmithonig:haecceity.ccbiobrotmithonig ⚡️ joined the room.10:05:17
@bluegreensandbox:kde.orgCieloTierra joined the room.14:54:39
28 May 2024
@adrigen:matrix.orgadrigen

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:matrix.orgadrigen *

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:matrix.orgadrigen *

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:matrix.orgMayel If you've installed elixir, I'd recommend using WITH_DOCKER=partial instead  06:50:02
@adrigen:matrix.orgadrigen 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:matrix.orgadrigenRedacted or Malformed Event07:38:46
@mayel:matrix.orgMayelAh what elixir version do you have? Seems like it may be too old08:23:27
@adrigen:matrix.orgadrigen
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:matrix.orgMayelOh yeah it needs 1.13 to 1.1708:26:15
@mayel:matrix.orgMayel
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:matrix.orgMayelSince I’ve changed the config from 1.16 to 1.17rc08:28:29
@adrigen:matrix.orgadrigen
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:matrix.orgMayelWell yes it builds a custom image (Dockerfile.dev) but that just pulls in the elixir docker image and adds some extra deps08:40:00
@mayel:matrix.orgMayel
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:matrix.orgMayel

But just setup-dev should do it all for you

08:40:57

Show newer messages


Back to Room ListRoom Version: 9