Unable to launch Pleroma on stable or develop branch
Hi,
I have just tried to update my installation to the latest stable version. I made a git pull, I launched the mix deps.get and ecto.activate, then restarted the service. Then, the service won't start, because I get errors saying my dependencies are out of date for nearly all dependencies :
May 5 10:47:36 mix[17904]: * bbcode_pleroma (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * syslog (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * ex_syslogger (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * jason (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * floki (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * prometheus (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * earmark (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * ex_aws (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * db_connection (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * ecto (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * tesla (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * plug (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * plug_cowboy (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * phoenix (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * phoenix_html (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: * ueberauth (Hex package)
May 5 10:47:36 mix[17904]: lock mismatch: the dependency is out of date. To fetch locked version run "mix deps.get"
May 5 10:47:36 mix[17904]: ** (Mix) Can't continue due to errors on dependencies
I try to move the deps folder, to force the update of the depencies, and of courses a hundred time the mix deps.get, without any change in the error. So, I decided to try to reinstall my instance from scratch, keeping juste the config.
So I cloned the develop branch, on commit c297667f, but it won't start either, and I get the following error :
May 5 13:56:06 systemd[1]: Started Pleroma social network.
May 5 13:56:10 mix[20641]: 13:56:10.730 [info] Application web_push_encryption exited: :stopped
May 5 13:56:10 mix[20641]: 13:56:10.925 [info] Running Pleroma.Web.Endpoint with cowboy 2.7.0 at 127.0.0.1:4000 (http)
May 5 13:56:10 mix[20641]: 13:56:10.926 [info] Access Pleroma.Web.Endpoint at https://xxx
May 5 13:56:10 mix[20641]: 13:56:10.926 [info] Gopher server disabled
May 5 13:56:16 mix[20641]: 13:56:16.201 request_id=Fgwf1tdK9B62_lYAAAwE [error] Internal server error: %BadBooleanError{operator: :and, term: nil}
May 5 13:56:16 mix[20641]: 13:56:16.201 request_id=Fgwf1tdK9B62_lYAAAwE [info] Converted error {:badbool, :and, nil} to 500 response
May 5 13:56:16 mix[20641]: 13:56:16.208 [error] #PID<0.969.0> running Pleroma.Web.Endpoint (connection #PID<0.968.0>, stream id 1) terminated
May 5 13:56:16 mix[20641]: Server: xxx:80 (http)
May 5 13:56:16 mix[20641]: Request: GET /api/v1/timelines/public?only_media=false&limit=20&with_muted=true
May 5 13:56:16 mix[20641]: ** (exit) an exception was raised:
May 5 13:56:16 mix[20641]: ** (BadBooleanError) expected a boolean on left-side of "and", got: nil
To be honest, the issue about the develop version is not my main concern: is there any way to fix the stable install ? thanks a lot for your help !