# Akkoma stable 2022.07 - the curse begins

**URL:** <https://meta.akkoma.dev/t/akkoma-stable-2022-07-the-curse-begins/29>\
**Category:** Releases\
**Created:** [16 July 2022 15:26 UTC](https://meta.akkoma.dev/t/akkoma-stable-2022-07-the-curse-begins/29 "2022-07-16T15:26:31Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FloatingGhost](https://meta.akkoma.dev/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@FloatingGhost](https://meta.akkoma.dev/u/FloatingGhost)\
**Post date:** [16 July 2022 15:26 UTC](https://meta.akkoma.dev/t/akkoma-stable-2022-07-the-curse-begins/29/1 "2022-07-16T15:26:31Z")

</div>

well, it’s finally time for this i suppose

after a few weeks of hacking around on the akkoma codebase, it’s finally in a state where i can put a pin in it and say “this is the starting point for the project”

 

changes include:

- removing _ALL_ of the precompiled javascript; from-source people will be particularly happy that you won’t get 123891238391 files changing every pull. want no frontend? you can do that too!
- adding support for misskey markdown! you can make weird animating art now if you’re so inclined. or you can just see what those misskey guys are up to instead of seeing _italics_

 ![image](https://meta-uploads.akkoma.dev/original/1X/16c4079cd6018962c1731020d03dcbedc80bdbd7.png)

- adding custom emoji reactions!!! we can :hanaPog: at eachother now! it’s truly a christmas miracle

 ![image](https://meta-uploads.akkoma.dev/original/1X/682388eb95afe30f0280546abf92df65cffe7d35.png)

- ripping out of poorly maintained features that were added as… april fools’ day jokes? who to heck even merges those?
- pluggable search systems! you can replace the inbuilt pleroma database search with akkoma’s shiny new elasticsearch integration if you’re so inclined
- numerous bugfixes that were sat as PRs on pleroma for months finally got merged!
- oh, and finch is now used as the HTTP adapter. hooray.

# upgrade notes

## before install

ALL frontend js has been extracted from the project, so you need to be sure of a few things

### if you used adminFE

make sure the primary/admin settings are set at /pleroma/admin/#/settings/frontend - they should say `name: "pleroma-fe" reference: "stable"` and `name: "admin-fe" reference: "stable"` _BEFORE_ you run the upgrade. it’s possible for you to run into a weird issue involving configuration if you don’t do this!

### if you used the .exs file

you’ll be fine, no action.

## install

### otp

#### i’m already using akkoma

update yourself to the stable branch - if you want to stay on develop you can omit the `--branch` option

```bash
./bin/pleroma_ctl update --branch stable

```

#### i’m on pleroma and want to migrate

follow the docs here → [Migrating to Akkoma - Akkoma Documentation](https://docs.akkoma.dev/stable/installation/migrating_to_akkoma)

### source

```bash
git pull
export MIX_ENV=prod
mix deps.get
mix compile

```

## after install

### otp

```bash
./bin/pleroma_ctl migrate
./bin/pleroma_ctl frontend install pleroma-fe
./bin/pleroma_ctl frontend install admin-fe

```

### source

```bash
mix ecto.migrate
mix pleroma.frontend install pleroma-fe
mix pleroma.frontend install admin-fe

```

## FAQ

### help me it just shows “welcome to akkoma”!!!

you’ve got a mismatch in your frontend options. check, in this order:

- that you ran the `frontend install` task
- that `./bin/pleroma_ctl config dump | grep :frontends` either says “you don’t have DB config enabled”, or returns something like `[admin: %{"name" => "admin-fe", "ref" => "develop"}, primary: %{"name" => "pleroma-fe", "ref" => "stable"}]`
- if you don’t have config DB enabled (i.e the above command does not work), that your `config.exs` does not override `:frontends`. if it does, make sure the `ref` matches what you’ve got in your `instance_dir/frontends/` directory.

## Known issues

OTP still doesn’t work on redhat-based distributions, and void linux users need to use a special flavour → [Migrating to Akkoma - Akkoma Documentation](https://docs.akkoma.dev/stable/installation/migrating_to_akkoma/#from-otp)

follow state can get confused if you use the block function, mitigated in 3.0.1

## thankies

go to everyone whomst has contributed to getting this up and running

extra bigge thankies to sfr for FE stuff and enduring misskey, norm for doing what i’d inevitably forget to and update all of the little things, and everyone over at foundkey

## documentation

is now here → [Akkoma Documentation](https://docs.akkoma.dev/stable/)

---

<div class="post-metadata">

**Author:** ![FloatingGhost](https://meta.akkoma.dev/letter_avatar_proxy/v4/letter/f/d07c76/32.png) [@FloatingGhost](https://meta.akkoma.dev/u/FloatingGhost)\
**Post date:** [23 July 2022 19:26 UTC](https://meta.akkoma.dev/t/akkoma-stable-2022-07-the-curse-begins/29/3 "2022-07-23T19:26:30Z")

</div>

patch stable 3.0.1 released, backports the follow state bugfix

from upstream, pleroma occasionally loses track of follow state and can say “following” when you’re really not

this mostly happens when you’ve used the block function at some point, which hasn’t correctly severed all relationships

akkoma has been hotfixed to fix this  
to update, either `./bin/pleroma_ctl update` or `git pull`, then restart

if you or a user on your instance is in a bad follow state (i.e it’s saying something that doesn’t make sense), you can run  
`./bin/pleroma_ctl user fix_follow state <local_user> <remote_user>`  
or  
`mix pleroma.user fix_follow_state <local> <remote>`

(e.g `mix pleroma.use fix_follow_state floatingghost floatingghost@otp.akkoma.dev` in my state - the remote user should have the full @ tag)
