# Akkoma stable 2023.08 - Secure ARMs are bookworms

**URL:** <https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545>\
**Category:** Releases\
**Created:** [5 August 2023 13:30 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545 "2023-08-05T13:30:37Z")\
**Posts on this page:** 10\
**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:** [5 August 2023 13:30 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/1 "2023-08-05T13:30:37Z")

</div>

oooooh it’s time

iiiiit’s time

i mean i usually release second saturday of the month but i’m busy next week so now it is - it’s release day!

## New stuff

### Arm64 builds!!!

oh yeah arm builds. amd64 move over, OTP releases now support the aarch64 architecture! many vps providers are starting to offer ARM servers at a reduced cost, so this may well be a nice cheap way for people to run instances.

The new flavours can be found in [the installation docs](https://docs.akkoma.dev/stable/installation/otp_en/#detecting-flavour)

### OTP Release base distributions updated

our old amd64 OTP release was built on debian bullseye, which since the last release has become oldstable. Hence, OTP releases are now built on _bookworm_ (currently debian stable)

The alpine build is also now built on 3.18 as a base

**!!IMPORTANT** if you run _ALPINE (\<3.18)_, _DEBIAN BULLSEYE (11)_, or _UBUNTU FOCAL (20)_ - you must upgrade your system to run the newest OTP builds.

ALL OTP builds now require OpenSSLv3 to run.

On the upside, Debian bookworm and Ubuntu Jammy are now compatible! you won’t have to do anything though, i’m releasing identical builds under the old amd64-ubuntu-jammy flavour for ease of transition.

### Full support for elixir 1.15

New elixir version, new fun and games. The latest release brings full support for the latest release, which should keep us nice and up to date with language-side security fixes and other such stuff. So if you build from source, feel free to update your environment. 1.14 is still entirely supported so don’t feel like you have to immediately though.

Please note that erlang OTP26 is not _officially_ supported as yet - whilst I believe it should work, due to how it changes map ordering, it fails tests and I cannot guarantee 100% that it’s fine, so if you can, try to stick to OTP25.

### A whole bunch of security-releated fixes

There’s been a few recently, huh?

The details of these fixes aren’t particularly interesting, but the cliff notes are:

- Added OnlyMedia upload filter, which will deny the upload of anything that isn’t explicitly a media file
- Added AnonymizeFilename upload filter to apply to _everything_. No more path traversal..
- Disabled any form of XML external entity loading

### Some accessiblity functionality on the frontend

The prefers-reduced-motion browser setting will be honoured in a load of places now, which should make life easier if you’re not a fan of animations all over the place.

### And more

As usual, a full list of changes can be found on the [changelog](https://akkoma.dev/AkkomaGang/akkoma/src/branch/develop/CHANGELOG.md)

## Upgrade

Same as ever! [Updating your instance - Akkoma Documentation](https://docs.akkoma.dev/stable/administration/updating/)

Please note the above comments on OTP! Debian 11, Ubuntu 20 and alpine \<3.18 users bewaaaaare!

OTP users beware! If your instance “crashes” with a runtime error, do make sure to read it, it’s telling you your config permissions are bad and tells you how to rectify that.

## Thankies

I have quite a lot to give out this month

- yukijoou, mergan and SukinoVERSΞ for fixes on the frontend! thanks!
- Mae@is.badat.dev for being the whitehat we all need
- Norm, Oneric for documentation fixes!
- ilja for the above and also letting me bounce silly things off you in IRC
- the forklift driver for being certified as ever
- people that helped co-ordinate vulnerability fixes, it’s very helpful!

---

<div class="post-metadata">

**Author:** ![chesapeake](https://meta.akkoma.dev/user_avatar/meta.akkoma.dev/chesapeake/32/293_2.png) [@chesapeake](https://meta.akkoma.dev/u/chesapeake)\
**Post date:** [6 August 2023 01:24 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/2 "2023-08-06T01:24:12Z")

</div>

the command you need to run to fix the perms is:

```auto
chmod o= /etc/akkoma/config.exs

```

btw, since it’s kinda hard to find in the crash message

---

<div class="post-metadata">

**Author:** ![snott](https://meta.akkoma.dev/user_avatar/meta.akkoma.dev/snott/32/86_2.png) [@snott](https://meta.akkoma.dev/u/snott)\
**Post date:** [7 August 2023 10:05 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/3 "2023-08-07T10:05:17Z")

</div>

it’s like the first line or something?  
Easy fix and nice work putting that in the crash message. All done and good to go agaaaaain!

---

<div class="post-metadata">

**Author:** ![Kris](https://meta.akkoma.dev/user_avatar/meta.akkoma.dev/kris/32/253_2.png) [@Kris](https://meta.akkoma.dev/u/Kris)\
**Post date:** [8 August 2023 19:00 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/4 "2023-08-08T19:00:04Z")

</div>

I think I updated correctly, but is there a way to correlate the “backend” version number that is being displayed in the akkoma-fe settings to the actual release number? It says 3.10.3 here now and has a broken link to: [https://akkoma.dev/AkkomaGang/akkoma/commit/v3.10.3](https://akkoma.dev/AkkomaGang/akkoma/commit/v3.10.3)

---

<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:** [8 August 2023 21:34 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/5 "2023-08-08T21:34:56Z")

</div>

> **[akkoma](https://akkoma.dev/AkkomaGang/akkoma/tags)**
>
> Magically expressive social media

---

<div class="post-metadata">

**Author:** ![csolisr](https://meta.akkoma.dev/user_avatar/meta.akkoma.dev/csolisr/32/270_2.png) [@csolisr](https://meta.akkoma.dev/u/csolisr)\
**Post date:** [9 August 2023 16:49 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/6 "2023-08-09T16:49:10Z")

</div>

Welp, I merrily updated my instance without reading the instructions and, since [my web app framework still doesn’t support Bookworm](https://github.com/YunoHost/issues/issues/2050), now I’m stuck with a non-working Akkoma… how do I revert to the last working version for Bullseye in the meanwhile?

---

<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:** [9 August 2023 16:50 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/7 "2023-08-09T16:50:26Z")

</div>

i gave yunohost a special build yesterday

your maintainer should be working on it iirc

REF: [Akkoma](https://ihatebeinga.live/notice/AYXAmW7tTI8nuKpkUS)

---

<div class="post-metadata">

**Author:** ![csolisr](https://meta.akkoma.dev/user_avatar/meta.akkoma.dev/csolisr/32/270_2.png) [@csolisr](https://meta.akkoma.dev/u/csolisr)\
**Post date:** [10 August 2023 18:12 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/8 "2023-08-10T18:12:11Z")

</div>

Well… about that, seems like there was one library that did build against 2.34 in that particular branch:

```auto
akkoma[3153281]: /var/www/akkoma/live/lib/majic-1.0.0/priv/libmagic_port: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /var/www/akkoma/live/lib/majic-1.0.0/priv/libmagic_port)

```

---

<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:** [10 August 2023 19:28 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/9 "2023-08-10T19:28:55Z")

</div>

I ran it on a Debian vm without issue

please ensure you selected the correct flavour when updating

---

<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 August 2023 10:10 UTC](https://meta.akkoma.dev/t/akkoma-stable-2023-08-secure-arms-are-bookworms/545/10 "2023-08-16T10:10:37Z")

</div>

Released patch 3.10.4 to prevent my own silly mistake in develop from bringing people down
