No process on media uploading (POST /api/v1/media)

Hi! I’ve migrated from Docker to host today (8afc3bee7a last commit for ‘develop’ branch) and uploading doesn’t work anymore. Only error i see is “no process”

тра 31 11:26:16 fedora mix[4060833]: 11:26:16.849 request_id=F9SFWWA7-o2ZpMsAAIhg [error] Internal server error: {:noproc, {:gen_statem, :call, [#PID<0.3234.0>, {:perform, "/tmp/plug-1717-UtLL/multipart-1717143976-627835895905-97"}, 30000]}}
тра 31 11:26:16 fedora mix[4060833]: 11:26:16.850 [error] #PID<0.3809.0> running Pleroma.Web.Endpoint (connection #PID<0.3808.0>, stream id 1) terminated
тра 31 11:26:16 fedora mix[4060833]: Server: pl.m0e.space:80 (http)
тра 31 11:26:16 fedora mix[4060833]: Request: POST /api/v1/media
тра 31 11:26:16 fedora mix[4060833]: ** (exit) exited in: :gen_statem.call(#PID<0.3234.0>, {:perform, "/tmp/plug-1717-UtLL/multipart-1717143976-627835895905-97"}, 30000)
тра 31 11:26:16 fedora mix[4060833]:     ** (EXIT) no process: the process is not alive or there's no process currently associated with the given name, possibly because its application isn't started

the likely reason for this would be a mismatch between docker library versions and on-system versions

what you could do is:

export MIX_ENV=prod
mix clean
mix deps.clean --all
mix deps.get
mix compile

which should force everything to recompile itself, incuding binaries build as part of the dependency system

1 Like

Thanks a lot! Works perfectly