The issue
Howdy!
I'm not sure if this is the correct place to ask, but I can't seem to find a solution to this, so here I am. I've searched all over and the error I'm getting right after install is
Something
went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error.` Apparently that's a pretty common issue, but I can't find any that are experiencing that issue specifically in regard to the Unraid docker container.
This container is the only one on the Unraid Community Apps, so I can't really test it against another, but I can't seem to get past the whole "Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error." error. Here's what I've tried so far:
php flarum cache:clear
php flare migrate
- No errors in
/var/log/nginx/error.log
/storage/logs
is empty
- The container is talking to MariaDB
Yet, I'm still stuck at Something went wrong while trying to load the full version of this site. Try hard-refreshing this page to fix the error."
Again, this is a Docker install using the only one available in Unraid - this one. Early apologies if this is the wrong place to ask π
Any ideas? Thanks!
Flarum information
/opt/flarum # php flarum info
Flarum core: 1.8.9
PHP version: 8.3.15
MySQL version: 11.6.2-MariaDB-ubu2404
Loaded extensions: Core, date, libxml, pcre, zlib, filter, hash, json, random, readline, Reflection, SPL, session, ctype, curl, dom, fileinfo, gd, gmp, iconv, intl, mbstring, openssl, PDO, standard, SimpleXML, sodium, tokenizer, xml, xmlwriter, zip, exif, mysqlnd, Phar, pdo_mysql, uuid, Zend OPcache
+-------------------+---------+--------+
| Flarum Extensions | | |
+-------------------+---------+--------+
| ID | Version | Commit |
+-------------------+---------+--------+
Base URL: http://ip:8000
Installation path: /opt/flarum
Queue driver: sync
Session driver: file
Mail driver: mail
Debug mode: ON
Don't forget to turn off debug mode! It should never be turned on in a production system.
config.php
is as follows:
'debug' => true,
'database' =>
array (
'driver' => 'mysql', # I actually use the MariaDB, obviously, so this doesn't matter
'host' => 'my.internal.ip,
'port' => 3306,
'database' => 'flarum',
'username' => 'flarum',
'password' => 'REDACTED',
'charset' => 'utf8mb4',
'collation' => 'utf8mb4_unicode_ci',
'prefix' => 'flarum_',
'strict' => false,
'engine' => 'InnoDB',
'prefix_indexes' => true,
),
'url' => 'http://IP:8000', #I've tried setting this to the actual IP, same issue
'paths' =>
array (
'api' => 'api',
'admin' => 'admin',
),
'headers' =>
array (
'poweredByHeader' => true,
'referrerPolicy' => 'same-origin',
),
'cookie' =>
array (
'samesite' => 'lax',
),
);```