Cannot install on a new Arch box #85

Open
opened 2022-11-17 05:15:59 +00:00 by danieljaouen · 2 comments
Member

I am seeing the following error on a new Arch install:

[root@localhost pleroma]# su pleroma -s $SHELL -c 'MIX_ENV=prod mix pleroma.instance gen'
warning: `config/prod.secret.exs` not found. You may want to create one by running `mix pleroma.instance gen`

==> prometheus_ex
Compiling 19 files (.ex)

== Compilation error in file lib/prometheus/registry.ex ==
** (UndefinedFunctionError) function Kernel.Utils.defdelegate/2 is undefined or private. Did you mean:

     * defdelegate_all/3
     * defdelegate_each/2
		
(elixir 1.14.0) Kernel.Utils.defdelegate({:exists, [line: 21], [{:name, [line: 21], nil}]}, [])
			    lib/prometheus/registry.ex:21: (module)
				could not compile dependency :prometheus_ex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile prometheus_ex", update it with "mix deps.update prometheus_ex" or clean it with "mix deps.clean prometheus_ex"
				[]

Any help is greatly appreciated. Thanks in advance!

I am seeing the following error on a new Arch install: ``` [root@localhost pleroma]# su pleroma -s $SHELL -c 'MIX_ENV=prod mix pleroma.instance gen' warning: `config/prod.secret.exs` not found. You may want to create one by running `mix pleroma.instance gen` ==> prometheus_ex Compiling 19 files (.ex) == Compilation error in file lib/prometheus/registry.ex == ** (UndefinedFunctionError) function Kernel.Utils.defdelegate/2 is undefined or private. Did you mean: * defdelegate_all/3 * defdelegate_each/2 (elixir 1.14.0) Kernel.Utils.defdelegate({:exists, [line: 21], [{:name, [line: 21], nil}]}, []) lib/prometheus/registry.ex:21: (module) could not compile dependency :prometheus_ex, "mix compile" failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile prometheus_ex", update it with "mix deps.update prometheus_ex" or clean it with "mix deps.clean prometheus_ex" [] ``` Any help is greatly appreciated. Thanks in advance!
Member

Downgrade elixir to 1.13.4-1.

Downgrade elixir to 1.13.4-1.
Member

Encountering installation errors on a fresh Arch setup can be frustrating. Seems like a dependency issue with prometheus_ex. While troubleshooting, maybe take a break and explore something lighter. Have you tried Pokerogue? It’s a fun game with a Pokerogue and Pokerogue Dex , giving a fresh spin to familiar monster-collecting mechanics. Perhaps a little monster battling will clear your head before tackling the error logs again!

Encountering installation errors on a fresh Arch setup can be frustrating. Seems like a dependency issue with prometheus_ex. While troubleshooting, maybe take a break and explore something lighter. Have you tried Pokerogue? It’s a fun game with a [Pokerogue](https://playpokerogue.com) and [Pokerogue Dex](https://wiki.playpokerogue.com) , giving a fresh spin to familiar monster-collecting mechanics. Perhaps a little monster battling will clear your head before tackling the error logs again!
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
pleroma/pleroma-support#85
No description provided.