The issue
I attempted to add a logo and favicon to my forum but it errored with a 500 Internal Server Error code. I looked through all the logs (storage/logs) and there was nothing to be found, just this in the debug window that shows up when you press the debug button on the error pop up:
POST https://toki.pona.la/api/logo
<html>
<head><title>500 Internal Server Error</title></head>
<body>
<center><h1>500 Internal Server Error</h1></center>
<hr><center>nginx</center>
</body>
</html>
The logo I'm attempting to add is a 1200x1200 PNG file. If it helps, I'm running Firefox.
Flarum information
Flarum core: 1.8.1
PHP version: 8.1.14
MySQL version: 10.5.16-MariaDB
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, readline, Reflection, SPL, session, standard, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, exif, mysqlnd, PDO, Phar, SimpleXML, sockets, sqlite3, tokenizer, xml, xmlwriter, xsl, mysqli, pdo_mysql, pdo_sqlite, xmlreader, zip, Zend OPcache
+---------------------------------+---------+--------+
| Flarum Extensions | | |
+---------------------------------+---------+--------+
| ID | Version | Commit |
+---------------------------------+---------+--------+
| flarum-flags | v1.8.0 | |
| flarum-approval | v1.8.0 | |
| flarum-suspend | v1.8.0 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-tags | v1.8.0 | |
| fof-user-directory | 1.2.3 | |
| fof-follow-tags | 1.1.7 | |
| flarum-nicknames | v1.8.0 | |
| fof-pages | 1.0.7 | |
| flarum-markdown | v1.8.0 | |
| v17development-user-badges | v1.1.0 | |
| v17development-seo | v1.8.0 | |
| sycho-profile-cover | v1.3.5 | |
| michaelbelgium-discussion-views | v7.2.1 | |
| ianm-follow-users | 1.3.1 | |
| fof-username-request | 1.1.2 | |
| fof-user-bio | 1.2.0 | |
| fof-terms | 1.2.1 | |
| fof-subscribed | 1.1.3 | |
| fof-socialprofile | 1.1.5 | |
| fof-sitemap | 2.2.0 | |
| fof-recaptcha | 1.3.0 | |
| fof-reactions | 1.2.0 | |
| fof-profile-image-crop | 1.1.5 | |
| fof-nightmode | 1.5.2 | |
| fof-moderator-notes | 1.2.0 | |
| fof-links | 1.2.0 | |
| fof-frontpage | 1.1.1 | |
| fof-formatting | 1.0.3 | |
| fof-drafts | 1.2.2 | |
| fof-disposable-emails | 1.0.0 | |
| fof-ban-ips | 1.0.3 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-pusher | v1.8.0 | |
| flarum-mentions | v1.8.2 | |
| flarum-lock | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-emoji | v1.8.0 | |
| flarum-bbcode | v1.8.0 | |
| datlechin-copy-links | v0.1.1 | |
| clarkwinkelmann-circle-groups | 1.0.1 | |
| askvortsov-rich-text | v2.1.7 | |
| askvortsov-categories | v3.0.9 | |
+---------------------------------+---------+--------+
Base URL: https://toki.pona.la
Installation path: /opt/flarum
Queue driver: sync
Session driver: file
Scheduler status: Never run
Mail driver: smtp
Debug mode: off
Rocky Linux 9