@alex I will once I'm able to ssh back into my server. Something happened after a restart and I'm trying to figure it out. Thank you for your assistance.
@alex Hi alex, I updated my instance and vps, and now my instance doesn't federate or allow posting. It's like it's frozen at where I did the update about 30 minutes ago.
I can log in, and see the TL from when I ran the update. If I try to post anything, I get an unexpected error. Would you like to see my journalctl entries?
@alex Thank you for your help today, but I must go to bed now as I am in euro time. If you have any further ideas please let me know and I will take a crack at them in the morning.
@alex Hi Alex, again thank you for your help. I confirmed via ‘asdf current’ that I am running the right version of erlang and elixir. I nuked the _build directory, and started to compile again and got some errors again.
_build/default/plugins/rebar3_archive_plugin/src/rebar3_archive_plugin.erl:27:1: Warning: missing specification for function do/1
* (Mix) Could not compile dependency :accept, “/var/lib/pleroma/.asdf/installs/elixir/1.13/.mix/rebar3 bare compile –paths /opt/pleroma/_build/prod/lib//ebin” command failed. Errors may have been logged above. You can recompile this dependency with “mix deps.compile accept”, update it with “mix deps.update accept” or clean it with “mix deps.clean accept”
Is this a permissions issue? I confirmed that pleroma owns everything in the /opt/pleroma directory.
@alex Got this error, did I not set up some of the fixes correctly?
** (Mix) Could not compile dependency :parse_trans, "/var/lib/pleroma/.asdf/installs/elixir/1.11/.mix/rebar3 bare compile --paths="/opt/pleroma/_build/prod/lib/*/ebin"" command failed. You can recompile this dependency with "mix deps.compile parse_trans", update it with "mix deps.update parse_trans" or clean it with "mix deps.clean parse_trans"
09:57:40.061 [error] beam/beam_load.c(1879): Error loading module prometheus_htt p: This BEAM file was compiled for a later version of the run-time system than 23 . To fix this, please recompile this module with an 23 compiler. (Use of opcode 178; this emulator supports only up to 170.)
In the comments of your code snippets, someone recommends deleting the _build directory and then trying it again. Should I try that?
@alex Thank you for your patience, I everything has changed ownership to pleroma now, and I got a new error that is telling me I need to recompile some BEAM files with a 23 compiler.
This is where I go back to your original fix right? Do I need to run these commands again?
@alex Sorry I have a meeting to go to right now, I will get back to you in two hours. I appreciate your patience Alex. I will return soon. ‘’’ ** (File.Error) could not remove files and directories recursively from “/opt/pleroma/_build/prod/lib/captcha”: permission denied mix[273119]: (elixir 1.11.4) lib/file.ex:1291: File.rm_rf!/1 mix[273119]: (mix 1.11.4) lib/mix/tasks/deps.compile.ex:81: anonymous fn/4 in Mix.Tasks.Deps.Compile.compile/2 mix[273119]: (elixir 1.11.4) lib/enum.ex:1411: Enum.”-map/2-lists^map/1-0-“/2 mix[273119]: (mix 1.11.4) lib/mix/tasks/deps.compile.ex:79: Mix.Tasks.Deps.Compile.compile/2 mix[273119]: (mix 1.11.4) lib/mix/tasks/deps.loadpaths.ex:89: Mix.Tasks.Deps.Loadpaths.deps_check/2 mix[273119]: (mix 1.11.4) lib/mix/tasks/deps.loadpaths.ex:28: Mix.Tasks.Deps.Loadpaths.run/1 mix[273119]: (mix 1.11.4) lib/mix/task.ex:394: anonymous fn/3 in Mix.Task.run_task/3 mix[273119]: (mix 1.11.4) lib/mix/task.ex:437: Mix.Task.get_task_or_run/3 systemd[1]: pleroma.service: Main process exited, code=exited, status=1/FAILURE systemd[1]: pleroma.service: Failed with result ‘exit-code’. ‘’’
@alex I'm in the middle of updating my instance, and made the mistake of updating Elrang, which caused everything to crash. I found your fix on here: gitlab.com/-/snippets/2121092
I finally didn't have any issues with the installation that I was getting before. I'm getting a new error when I checked the status of the pleroma service after finishing your guide.
''' Active: failed (Result: exit-code) since Tue 2022-11-15 02:33:30 PST; 35s ago Process: 269338 ExecStart=/var/lib/pleroma/.asdf/shims/mix phx.server (code=exited, status=1/FAILURE) ''' I had some issues with mix deps.get step, but I saw a comment further down that recommended deleting the _build directory and going through it again.
When following your fix, I noticed that .tool-versions and pleroma.service were already updated, so I didn't make any changes to them other than confirming they were already fixed.
I'm clueless when it comes to a lot of this stuff, so you require more information I'm happy to provide it. I've been digging around for a while online trying out different fixes, and I'm worried one of my attempts may have messed everything up. I tried a few things before I found your fix.