X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=docs%2Fdocs%2Fadministration%2FCLI_tasks%2Fuser.md;h=b7a60751df14d90f106c10aaa26d022313147c5a;hb=f7211459efd130318e8b95619a6e6b51bea21b25;hp=0d19b5622e229722679468cae2e41d8e5b1bac91;hpb=d2a185c01385ef53c712c8d315c69d5deb044e2f;p=akkoma diff --git a/docs/docs/administration/CLI_tasks/user.md b/docs/docs/administration/CLI_tasks/user.md index 0d19b5622..b7a60751d 100644 --- a/docs/docs/administration/CLI_tasks/user.md +++ b/docs/docs/administration/CLI_tasks/user.md @@ -300,3 +300,28 @@ ```sh mix pleroma.user unconfirm_all ``` + +## Fix following state + +Sometimes the system can get into a situation where +it think you're already following someone and won't send a request +to the remote instance, or won't let you unfollow someone. This +bug was fixed, but in case you encounter these weird states: + +=== "OTP" + + ```sh + ./bin/pleroma_ctl user fix_follow_state localuser remoteuser@example.com + ``` + +=== "From Source" + + ```sh + mix pleroma.user fix_follow_state localuser remoteuser@example.com + ``` + +The first argument is the local user's nickname - if you are `myuser@myinstance`, this should be `myuser`. + +The second is the remote user, consisting of both nickname AND domain. + +If you are a weird follow state situation and cannot resolve it with the above, you may need to co-operate with the remote admin to clear the state their side too - they should provide the arguments *backwards*, i.e `fix_follow_state remote local`.