@lanodan Halp! I updated elixir and compiling Pleroma was broken. So I downgraded elixir, mix clean —all, etc., and everything is still broken. The error seems to be with sleeplocks. It won’t compile.

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, "/var/lib/pleroma/.mix/rebar3 bare compile --paths="/opt/pleroma/_build/prod/lib/*/ebin"" command failed. 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"

I don’t understand why because I’m now back to the environment I was previously.

@pasture @lanodan Well switching to nightly allowed it to compile but now I’m getting this in my logs and everything is broken:

May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: ** (exit) an exception was raised: May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: ** (UndefinedFunctionError) function :crypto.hmac/3 is undefined or private May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (crypto 5.0) :crypto.hmac/3 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (plug_crypto 1.2.0) lib/plug/crypto/key_generator.ex:81: Plug.Crypto.KeyGenerator.generate/7 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (plug_crypto 1.2.0) lib/plug/crypto/key_generator.ex:67: Plug.Crypto.KeyGenerator.with_cache/3 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (plug_crypto 1.2.0) lib/plug/crypto/key_generator.ex:51: Plug.Crypto.KeyGenerator.generate/6 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (plug 1.10.4) lib/plug/session/cookie.ex:96: Plug.Session.COOKIE.get/3 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (plug 1.10.4) lib/plug/session.ex:71: anonymous fn/5 in Plug.Session.fetch_session/1 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (pleroma 2.3.50-6960-geac0b775) Pleroma.Web.Router.base_api/2 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (pleroma 2.3.50-6960-geac0b775) Pleroma.Web.Router.no_auth_or_privacy_expectations_api/2 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: 17:12:45.984 request_id=Fn8VE8bAzv_ykiUAAD2j [error] Elixir.Pleroma.Web.MastodonAPI.NotificationView failed to render {Pleroma.Web.MastodonAPI.NotificationView, "show.json"} May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: ** (UndefinedFunctionError) function :crypto.hmac/3 is undefined or private May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (crypto 5.0) :crypto.hmac(:sha, "4BkvloEAIFfqgQMKCeRKw7tTOOtqOzDRbGTIB8d/txe8VkIFs4Yqkkcp1EiaoMOU", "aHR0cHM6Ly9wb2Euc3QvbWVkaWEvMGU4MGFlNDM4YWZmMzg0NGEwZDJiNTMyYmIxMmFkN2YzOWVkOGUxZTNjYmVhNGE5NDdlM2NjYmQwZDYyMWE5Mi5wbmc") May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (pleroma 2.3.50-6960-geac0b775) lib/pleroma/web/media_proxy.ex:97: Pleroma.Web.MediaProxy.base64_sig64/1 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (pleroma 2.3.50-6960-geac0b775) lib/pleroma/web/media_proxy.ex:104: Pleroma.Web.MediaProxy.encode_url/1 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (pleroma 2.3.50-6960-geac0b775) lib/pleroma/web/mastodon_api/views/account_view.ex:184: Pleroma.Web.MastodonAPI.AccountView.do_render/2 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (pleroma 2.3.50-6960-geac0b775) lib/pleroma/web/mastodon_api/views/notification_view.ex:89: Pleroma.Web.MastodonAPI.NotificationView.render/2 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (pleroma 2.3.50-6960-geac0b775) lib/pleroma/web/mastodon_api/views/notification_view.ex:6: Pleroma.Web.MastodonAPI.NotificationView.safe_render/3 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (elixir 1.10.4) lib/enum.ex:1396: Enum."-map/2-lists^map/1-0-"/2 May 14 17:12:45 neckbeard.shittyurl.org mix[21532]: (pleroma 2.3.50-6960-geac0b775) lib/pleroma/web/mastodon_api/views/notification_view.ex:6: Pleroma.Web.MastodonAPI.NotificationView.safe_render_many/4

@pasture @lanodan Seriously, what the fuck happened? How do I downgrade everything to a working state? What the fuck is "upgraded" that's causing all of this?
@sjw @sjw @pasture @lanodan
can you not engage frantech image backup? tho if you have any other stuff running it might fuck it up
@Lumeinshin @sjw @pasture @lanodan Eh, last backup was a while ago and because of the way my disks are setup I'd lose several hours of content which I'd rather not do unless I have to aas a last resort.
Sign in to participate in the conversation
Game Liberty Mastodon

Mainly gaming/nerd instance for people who value free speech. Everyone is welcome.