Skip to content

Cannot install on a new Arch box

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!

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information