Erreur lors de l'installation des dépendances Elixir/NodeJS

Bonjour !

J’ai récemment tenté de faire des grosses mises à jour de mon instance Mobilizon, qui était en 1.1.2 (je crois)

Le passage à la 1.3.2 n’a pas posé de problème, mais c’est pour la 2.0.2 qu’il y a eu un couac… Impossible de faire tourner la commande « MIX_ENV=prod mix deps.get » :

Output
MIX_ENV=prod mix deps.get
18:52:56.494 [error] Task #PID<0.175.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
    (ssl 10.6.1) :ssl.cipher_suites(:openssl)
    (hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
    (hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
    (hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
    (hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
    (hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
    Args: []
18:52:56.494 [error] Task #PID<0.176.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
    (ssl 10.6.1) :ssl.cipher_suites(:openssl)
    (hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
    (hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
    (hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
    (hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
    (hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
    Args: []
18:52:56.494 [error] Task #PID<0.177.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
    (ssl 10.6.1) :ssl.cipher_suites(:openssl)
    (hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
    (hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
    (hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
    (hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
    (hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
    Args: []
18:52:56.494 [error] Task #PID<0.178.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
    (ssl 10.6.1) :ssl.cipher_suites(:openssl)
    (hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
    (hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
    (hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
    (hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
    (hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
    Args: []
18:52:56.494 [error] Task #PID<0.179.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
    (ssl 10.6.1) :ssl.cipher_suites(:openssl)
    (hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
    (hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
    (hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
    (hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
    (hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
    Args: []
18:52:56.494 [error] Task #PID<0.180.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
    (ssl 10.6.1) :ssl.cipher_suites(:openssl)
    (hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
    (hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
    (hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
    (hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
    (hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
    Args: []
18:52:56.494 [error] Task #PID<0.181.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
    (ssl 10.6.1) :ssl.cipher_suites(:openssl)
    (hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
    (hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
    (hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
    (hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
    (hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
    Args: []
18:52:56.494 [error] Task #PID<0.182.0> started from :hex_fetcher terminating
** (UndefinedFunctionError) function :ssl.cipher_suites/1 is undefined or private
    (ssl 10.6.1) :ssl.cipher_suites(:openssl)
    (hex 0.20.6) lib/hex/http/ssl.ex:124: Hex.HTTP.SSL.filter_ciphers/1
    (hex 0.20.6) lib/hex/http/ssl.ex:66: Hex.HTTP.SSL.ssl_opts/1
    (hex 0.20.6) lib/hex/http.ex:41: Hex.HTTP.build_http_opts/2
    (hex 0.20.6) lib/hex/http.ex:16: Hex.HTTP.request/5
    (hex 0.20.6) lib/hex/registry/server.ex:306: anonymous fn/3 in Hex.Registry.Server.prefetch_online/2
    (elixir 1.13.0) lib/task/supervised.ex:89: Task.Supervised.invoke_mfa/2
    (elixir 1.13.0) lib/task/supervised.ex:34: Task.Supervised.reply/4
Function: #Function<17.79564921/0 in Hex.Registry.Server.prefetch_online/2>
    Args: []
** (exit) exited in: GenServer.call(Hex.Registry.Server, {:versions, "hexpm", "ex_cldr_numbers"}, 60000)
    ** (EXIT) time out
    (elixir 1.13.0) lib/gen_server.ex:1030: GenServer.call/3
    (hex 0.20.6) lib/hex/remote_converger.ex:466: Hex.RemoteConverger.verify_dep/3
    (elixir 1.13.0) lib/enum.ex:942: anonymous fn/3 in Enum.each/2
    (stdlib 3.17) maps.erl:410: :maps.fold_1/3
    (elixir 1.13.0) lib/enum.ex:2408: Enum.each/2
    (hex 0.20.6) lib/hex/remote_converger.ex:40: Hex.RemoteConverger.converge/2
    (mix 1.13.0) lib/mix/dep/converger.ex:95: Mix.Dep.Converger.all/4
    (mix 1.13.0) lib/mix/dep/converger.ex:51: Mix.Dep.Converger.converge/4

Mes versions de Erlang/Elixir sont :

elixir -v
Erlang/OTP 24 [erts-12.2.1] [source] [64-bit] [smp:1:1] [ds:1:1:10] [async-threads:1] [jit]
Elixir 1.13.0 (compiled with Erlang/OTP 24)

Pour l’instant, j’ai essayé :

  • réinstaller les dépendances en suivant la documentation (j’ai une install « Source »)
  • faire tourner ‹ MIX_ENV=prod mix clean › et ‹ MIX_ENV=prod mix compile ›

Mais sans effet.

Est-ce que quelqu’un a une idée ?

Merci de m’avoir lu jusqu’ici :pray:

Bonjour !

Normalement ça devrait être résolu en installant la dernière version de l’outil hex:

mix local.hex
1 Like

Bonjour, merci pour ton message !
En effet, cette commande m’a débloqué sur ce point.

Par contre, je bute un peu plus loin, lors de la compilation d’une dépendance.

mobilizon@mobilizon:~/live$ MIX_ENV=prod mix compile
===> Fetching rebar3_hex v6.10.1
===> Version cached at /home/mobilizon/.cache/rebar3/hex/hexpm/packages/rebar3_hex-6.10.1.tar is up to date, reusing it
escript: exception error: undefined function erlang:get_stacktrace/0
  in function  rebar3:main/1 (/tmp/cirrus-ci-build/src/rebar3.erl, line 72)
  in call from escript:run/2 (escript.erl, line 750)
  in call from escript:start/1 (escript.erl, line 277)
  in call from init:start_em/1 
  in call from init:do_boot/3 
** (Mix) Could not compile dependency :sleeplocks, "/home/mobilizon/.mix/rebar3 bare compile --paths /home/mobilizon/live/_build/prod/lib/*/ebin" command failed. Errors may have been logged above. You can recompile this dependency with "mix deps.compile sleeplocks", update it with "mix deps.update sleeplocks" or clean it with "mix deps.clean sleeplocks"

Recompiler la dépendance uniquement ne change pas le résultat, l’update ne change rien non plus, et le clean pose problème au moment de la compilation du tout.
Est-ce que ça te parle ?

Arf, il faut aussi faire:

mix local.rebar
1 Like

Merci, en effet j’ai pu tout compiler après ça :slight_smile:

Mais je suis pas au bout de mes peines… Quand je démarre le service, il plante en boucle :

Feb 25 12:07:09 mobilizon systemd[1]: Started Mobilizon Service.
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.215 [info] Source for database :city not found: "priv/data/GeoLite2-City.mmdb"
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.576 [notice] Application sentry exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.591 [notice] Application ex_cldr_languages exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.592 [notice] Application remote_ip exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.592 [notice] Application sitemapper exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.592 [notice] Application tesla exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.593 [notice] Application ecto_shortuuid exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.593 [notice] Application shortuuid exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.593 [notice] Application ueberauth_gitlab_strategy exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.593 [notice] Application ueberauth_keycloak_strategy exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.593 [notice] Application ueberauth_google exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.594 [notice] Application ueberauth_discord exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.594 [notice] Application ueberauth_facebook exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.594 [notice] Application ueberauth_github exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.594 [notice] Application oauth2 exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.594 [notice] Application ueberauth_twitter exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.594 [notice] Application oauther exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.594 [notice] Application httpoison exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.595 [notice] Application ueberauth exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.595 [notice] Application fast_sanitize exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.596 [notice] Application fast_html exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.597 [notice] Application nimble_pool exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.597 [notice] Application ip_reserved exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.597 [notice] Application inet_cidr exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.597 [notice] Application floki exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.597 [notice] Application html_entities exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.598 [notice] Application oban exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.598 [notice] Application progress_bar exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.598 [notice] Application ex_optimizer exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.598 [notice] Application file_info exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.598 [notice] Application mimetype_parser exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.598 [notice] Application ex_cldr_dates_times exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.599 [notice] Application ex_cldr_calendars exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.599 [notice] Application ex_cldr_numbers exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.599 [notice] Application ex_cldr_currencies exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.599 [notice] Application tools exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.599 [notice] Application ex_cldr exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.599 [notice] Application cldr_utils exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.600 [notice] Application ex_unit exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.600 [notice] Application http_signatures exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.600 [notice] Application linkify exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.600 [notice] Application mogrify exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.600 [notice] Application geohax exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.601 [notice] Application atomex exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.601 [notice] Application xml_builder exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.601 [notice] Application plug_cowboy exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.601 [notice] Application cowboy_telemetry exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.602 [notice] Application dataloader exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.602 [notice] Application absinthe_phoenix exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.602 [notice] Application absinthe_plug exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.602 [notice] Application absinthe exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.602 [notice] Application nimble_parsec exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.602 [notice] Application geolix_adapter_mmdb2 exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.602 [notice] Application mmdb2_decoder exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.603 [notice] Application bamboo_smtp exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.603 [notice] Application gen_smtp exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.603 [notice] Application bamboo_phoenix exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.603 [notice] Application ex_ical exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.603 [notice] Application ecto_enum exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.603 [notice] Application jason exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.603 [notice] Application exgravatar exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.604 [notice] Application icalendar exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.604 [notice] Application timex exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.604 [notice] Application combine exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.608 [notice] Application tzdata exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.609 [notice] Application geo_postgis exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.609 [notice] Application geo exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.609 [notice] Application ecto_autoslug_field exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.609 [notice] Application slugger exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.610 [notice] Application cors_plug exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.610 [notice] Application argon2_elixir exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.610 [notice] Application comeonin exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.610 [notice] Application guardian_phoenix exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.610 [notice] Application guardian_db exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.611 [notice] Application ecto_sql exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.611 [notice] Application cowboy exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.612 [notice] Application ranch exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.612 [notice] Application cowlib exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.613 [notice] Application phoenix_live_view exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.613 [notice] Application phoenix_html exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.613 [notice] Application postgrex exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.614 [notice] Application db_connection exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.614 [notice] Application connection exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.615 [notice] Application phoenix_ecto exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.615 [notice] Application ecto exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.616 [notice] Application decimal exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.616 [notice] Application phoenix exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.617 [notice] Application phoenix_view exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.617 [notice] Application phoenix_pubsub exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.618 [notice] Application cachex exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.618 [notice] Application sleeplocks exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.618 [notice] Application jumper exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.618 [notice] Application eternal exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.618 [notice] Application unsafe exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.619 [notice] Application geolix exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.619 [notice] Application bamboo exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.620 [notice] Application hackney exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.620 [notice] Application metrics exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.620 [notice] Application ssl_verify_fun exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.620 [notice] Application parse_trans exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.621 [notice] Application syntax_tools exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.621 [notice] Application certifi exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.621 [notice] Application mimerl exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.621 [notice] Application idna exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.621 [notice] Application unicode_util_compat exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.622 [notice] Application plug exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.622 [notice] Application telemetry exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.623 [notice] Application plug_crypto exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.623 [notice] Application mime exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.623 [notice] Application eex exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.623 [notice] Application guardian exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.624 [notice] Application jose exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: 12:07:12.624 [notice] Application runtime_tools exited: :stopped
Feb 25 12:07:12 mobilizon mobilizon[200221]: ** (Mix) Could not start application xmerl: could not find application file: xmerl.app
qFeb 25 12:07:14 mobilizon systemd[1]: mobilizon.service: Main process exited, code=exited, status=1/FAILURE
Feb 25 12:07:14 mobilizon systemd[1]: mobilizon.service: Failed with result 'exit-code'.

J’ai peur que ce soit moi qui ai fait une mauvaise manip’ plus tôt : à un moment j’ai voulu passer l’install de « source » à « release » pour simplifier les mises à jour, mais comme ça ne réglait pas mon problème, je suis revenu à « source »… et j’ai peur d’avoir oublié des trucs au passage.

À priori il manque une dependence d’Erlang.

Mais de manière générale si vous n’avez pas besoin de faire des modifications dans les sources je recommande vivement de passer à l’installation de type release. :blush:

1 Like

OK, je pense effectivement que passer en « release » serait sans doute plus adapté à l’usage que j’en ai :slight_smile:

J’ai donc suivi la documentation pour la migration mais j’arrive à un point bloquant au moment de lancer une migration de database :

mobilizon@mobilizon:/opt/mobilizon$sudo -u mobilizon /opt/mobilizon/bin/mobilizon_ctl migrate
sudo: /opt/mobilizon/bin/mobilizon_ctl: command not found

J’ai cherché un peu et je me rend compte que bin/mobilizon_ctl est situé dans /opt/mobilizon/rel/overlays/bin/mobilizon_ctl
Donc est-ce un oubli de la documentation ?

Pour contourner le problème, j’ai créé un dossier /opt/mobilizon/bin et j’y ai déplacé mobilizon_ctl .

Ce qui m’amène à l’erreur suivante :

mobilizon@mobilizon:/opt/mobilizon$ sudo -u mobilizon /opt/mobilizon/bin/mobilizon_ctl migrate
/opt/mobilizon/bin/mobilizon_ctl: 44: /opt/mobilizon/bin/mobilizon: not found

J’ai l’impression qu’il manque encore quelque chose pour faire cette migration, mais quoi ?

Hmm, l’installation semble étrange.

Si tu regardes l’archive depuis https://joinmobilizon.org/latest-package tu devrais constater que bin/ contient bien les fichiers mobilizon_ctl et mobilizon, donc tu ne devrais pas avoir ces soucis.