# Pleroma frontend: internal server error

**URL:** https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936
**Category:** Support apps
**Tags:** pleroma, english
**Created:** [November 11, 2024, 4:20am UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936 "2024-11-11T04:20:19Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![matlag](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/cab0a1/32.png) [@matlag](https://forum.yunohost.org/u/matlag)
#### Post date: [November 11, 2024, 4:20am UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/1 "2024-11-11T04:20:19Z")

</div>

**What type of hardware are you using** : Other(?)  
**What YunoHost version are you running** : 11.3.0  
**What app is this about** : Pleroma

### Describe your issue

When I try to use the pleroma instance frontend, I get:  
{“errors”:{“detail”:“Internal server error”}}

Other clients work, so it seems to be a front-end only issue.

And yes: I DID mess with the frontend. I must have botched the installation of Mangane. But now I can’t access the frontend, nor the old admin-panel, all return “Internal server error”. Deleting the Mangane directory did not fix it.

Unfortunately, I couldn’t find any useful log other than that 500 code.

### Share relevant logs or error messages

{my IPv6 address} - - [11/Nov/2024:03:50:44 +0000] “GET / HTTP/2.0” 500 45 “-” “Mozilla/5.0 (X11; Linux x86\_64; rv:131.0) Gecko/20100101 Firefox/131.0”

---

<div class="post-metadata">

### Author: ![aris](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aris/32/7234_2.png) [@aris](https://forum.yunohost.org/u/aris)
#### Post date: [November 15, 2024, 9:38am UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/2 "2024-11-15T09:38:46Z")

</div>

Have you tried to turn back to default frontend?  
If it’s the case, have you still the error?

---

<div class="post-metadata">

### Author: ![aris](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aris/32/7234_2.png) [@aris](https://forum.yunohost.org/u/aris)
#### Post date: [November 15, 2024, 9:40am UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/3 "2024-11-15T09:40:11Z")

</div>

Look at this doc, it can help… But in French.

> **[Installer Mangane pour Pleroma sur Yunohost - HedgeDoc](https://pad.tmprs.net/yuPUXErjS0SOQaSYJM9YgQ#)**

In short :

```auto
sudo su pleroma -s $SHELL -lc "/var/www/pleroma/live/bin/pleroma_ctl frontend install mangane --ref dist --build-url https://github.com/BDX-town/Mangane/releases/latest/download/static.zip"

```

Done

---

<div class="post-metadata">

### Author: ![matlag](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/cab0a1/32.png) [@matlag](https://forum.yunohost.org/u/matlag)
#### Post date: [November 16, 2024, 9:53am UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/4 "2024-11-16T09:53:09Z")

</div>

That’s my issue: how do I get back to the default front-end?  
The doc uses the admin FE to do so, but I can’t access that either.

---

<div class="post-metadata">

### Author: ![aris](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aris/32/7234_2.png) [@aris](https://forum.yunohost.org/u/aris)
#### Post date: [November 18, 2024, 12:18pm UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/5 "2024-11-18T12:18:21Z")

</div>

Try to stop and restart Pleroma from the YNH admin…

---

<div class="post-metadata">

### Author: ![aris](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aris/32/7234_2.png) [@aris](https://forum.yunohost.org/u/aris)
#### Post date: [November 18, 2024, 12:30pm UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/6 "2024-11-18T12:30:37Z")

</div>

You can also remove Mangane manualy from the CLI.

Command:

```auto
sudo rm -fr /home/yunohost.app/pleroma/static/frontends/mangane/

```

This does’nt modify Pleroma, just remove the Mangane files…

---

<div class="post-metadata">

### Author: ![matlag](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/cab0a1/32.png) [@matlag](https://forum.yunohost.org/u/matlag)
#### Post date: [November 22, 2024, 1:31am UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/7 "2024-11-22T01:31:01Z")

</div>

I tried both of the above (already tried restarting the service with systemctl before), still no luck.

---

<div class="post-metadata">

### Author: ![aris](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aris/32/7234_2.png) [@aris](https://forum.yunohost.org/u/aris)
#### Post date: [November 24, 2024, 10:45am UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/8 "2024-11-24T10:45:39Z")

</div>

Have you tried to visit your instance in `private mode` and/or do a `ctrl-cap-R` (to empty the cache of your browser?

---

<div class="post-metadata">

### Author: ![matlag](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/m/cab0a1/32.png) [@matlag](https://forum.yunohost.org/u/matlag)
#### Post date: [November 25, 2024, 9:18pm UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/9 "2024-11-25T21:18:42Z")

</div>

Sooo! Not sure what did it but after a system upgrade (regular, not Yuno 12), I actually tried to access the old admin panel from a different browser (Chromium, usually I’m on FF), and it worked!

There, I saw that somewhat the default Pleroma-FE was proposed for… installation!!  
I clicked “install”, and that fixed it!

What I think happened: after botching the Mangane installation, I must have accidentally deleted the default front-end, thus no way to recover it except from the admin panel. Access to the admin FE was not working but probably because of a cache issue.

I didn’t suspect the 2 would fail for a different reason, so I may have skipped some basic checks! But all in all, it was a cache issue, just not where I thought.

So thank you!

---

<div class="post-metadata">

### Author: ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)
#### Post date: [December 10, 2024, 9:19pm UTC](https://forum.yunohost.org/t/pleroma-frontend-internal-server-error/31936/10 "2024-12-10T21:19:28Z")

</div>

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
