Cannot proceed after install.
After pressing install button it shows "An error occurred while trying to load this page.", in browser console it returns 500 error code. Output from ./storage/logs:
[2023-12-05 22:13:19] flarum.ERROR: DOMException: Not Found Error in /var/www/flarum/vendor/s9e/sweetdom/src/NodeTraits/MagicMethods.php:44
Stack trace:
#0 /var/www/flarum/vendor/s9e/sweetdom/src/NodeTraits/MagicMethods.php(44): DOMElement->replaceWith()
#1 /var/www/flarum/vendor/s9e/sweetdom/src/NodeTraits/PolyfillMethods.php(35): s9e\SweetDOM\Element->magicMethodsCall()
#2 /var/www/flarum/vendor/s9e/sweetdom/src/NodeTraits/DeprecatedMethods.php(48): s9e\SweetDOM\Element->polyfillMethodsCall()
#3 /var/www/flarum/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/DeoptimizeIf.php(27): s9e\SweetDOM\Element->__call()
#4 /var/www/flarum/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/AbstractNormalization.php(119): s9e\TextFormatter\Configurator\TemplateNormalizations\DeoptimizeIf->normalizeElement()
#5 /var/www/flarum/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizations/AbstractNormalization.php(48): s9e\TextFormatter\Configurator\TemplateNormalizations\AbstractNormalization->normalizeNode()
#6 /var/www/flarum/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizer.php(146): s9e\TextFormatter\Configurator\TemplateNormalizations\AbstractNormalization->normalize()
#7 /var/www/flarum/vendor/s9e/text-formatter/src/Configurator/Items/Template.php(165): s9e\TextFormatter\Configurator\TemplateNormalizer->normalizeTemplate()
#8 /var/www/flarum/vendor/s9e/text-formatter/src/Configurator/TemplateNormalizer.php(124): s9e\TextFormatter\Configurator\Items\Template->normalize()
#9 /var/www/flarum/vendor/s9e/text-formatter/src/Plugins/BBCodes/Configurator.php(162): s9e\TextFormatter\Configurator\TemplateNormalizer->normalizeTag()
#10 /var/www/flarum/vendor/s9e/text-formatter/src/Plugins/BBCodes/Configurator.php(140): s9e\TextFormatter\Plugins\BBCodes\Configurator->addFromConfig()
#11 /var/www/flarum/vendor/flarum/bbcode/src/Configure.php(31): s9e\TextFormatter\Plugins\BBCodes\Configurator->addFromRepository()
#12 /var/www/flarum/vendor/flarum/bbcode/src/Configure.php(18): Flarum\BBCode\Configure->addTagsFromRepositories()
#13 /var/www/flarum/vendor/flarum/core/src/Foundation/ContainerUtil.php(30): Flarum\BBCode\Configure->__invoke()
#14 /var/www/flarum/vendor/flarum/core/src/Formatter/Formatter.php(177): Flarum\Foundation\ContainerUtil::Flarum\Foundation\{closure}()
#15 /var/www/flarum/vendor/flarum/core/src/Formatter/Formatter.php(213): Flarum\Formatter\Formatter->getConfigurator()
#16 /var/www/flarum/vendor/illuminate/cache/Repository.php(426): Flarum\Formatter\Formatter->Flarum\Formatter\{closure}()
#17 /var/www/flarum/vendor/flarum/core/src/Formatter/Formatter.php(212): Illuminate\Cache\Repository->rememberForever()
#18 /var/www/flarum/vendor/flarum/core/src/Formatter/Formatter.php(257): Flarum\Formatter\Formatter->getComponent()
#19 /var/www/flarum/vendor/flarum/core/src/Forum/ForumServiceProvider.php(112): Flarum\Formatter\Formatter->getJs()
#20 [internal function]: Flarum\Forum\ForumServiceProvider->Flarum\Forum\{closure}()
#21 /var/www/flarum/vendor/flarum/core/src/Frontend/Compiler/Source/StringSource.php(38): call_user_func()
#22 /var/www/flarum/vendor/flarum/core/src/Frontend/Compiler/Source/StringSource.php(49): Flarum\Frontend\Compiler\Source\StringSource->getContent()
#23 /var/www/flarum/vendor/flarum/core/src/Frontend/Compiler/RevisionCompiler.php(174): Flarum\Frontend\Compiler\Source\StringSource->getCacheDifferentiator()
#24 /var/www/flarum/vendor/flarum/core/src/Frontend/Compiler/RevisionCompiler.php(71): Flarum\Frontend\Compiler\RevisionCompiler->calculateRevision()
#25 /var/www/flarum/vendor/flarum/core/src/Frontend/Compiler/RevisionCompiler.php(111): Flarum\Frontend\Compiler\RevisionCompiler->commit()
#26 /var/www/flarum/vendor/flarum/core/src/Frontend/Content/Assets.php(118): Flarum\Frontend\Compiler\RevisionCompiler->getUrl()
#27 [internal function]: Flarum\Frontend\Content\Assets->Flarum\Frontend\Content\{closure}()
#28 /var/www/flarum/vendor/flarum/core/src/Frontend/Content/Assets.php(117): array_map()
#29 /var/www/flarum/vendor/flarum/core/src/Frontend/Content/Assets.php(92): Flarum\Frontend\Content\Assets->getUrls()
#30 /var/www/flarum/vendor/flarum/core/src/Frontend/Content/Assets.php(66): Flarum\Frontend\Content\Assets->addAssetsToDocument()
#31 /var/www/flarum/vendor/flarum/core/src/Frontend/Frontend.php(62): Flarum\Frontend\Content\Assets->__invoke()
#32 /var/www/flarum/vendor/flarum/core/src/Frontend/Frontend.php(54): Flarum\Frontend\Frontend->populate()
#33 /var/www/flarum/vendor/flarum/core/src/Frontend/Controller.php(32): Flarum\Frontend\Frontend->document()
#34 /var/www/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Frontend\Controller->handle()
#35 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#36 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
#37 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/ContentTypeOptionsHeader.php(21): Laminas\Stratigility\Next->handle()
#38 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ContentTypeOptionsHeader->process()
#39 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/ReferrerPolicyHeader.php(30): Laminas\Stratigility\Next->handle()
#40 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ReferrerPolicyHeader->process()
#41 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/FlarumPromotionHeader.php(30): Laminas\Stratigility\Next->handle()
#42 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\FlarumPromotionHeader->process()
#43 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php(57): Laminas\Stratigility\Next->handle()
#44 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ShareErrorsFromSession->process()
#45 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(36): Laminas\Stratigility\Next->handle()
#46 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
#47 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#48 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
#49 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#50 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
#51 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#52 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
#53 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#54 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
#55 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#56 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
#57 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php(46): Laminas\Stratigility\Next->handle()
#58 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CollectGarbage->process()
#59 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#60 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
#61 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#62 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
#63 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#64 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
#65 /var/www/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#66 /var/www/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#67 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
#68 /var/www/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(99): Laminas\Stratigility\Next->handle()
#69 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
#70 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#71 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
#72 /var/www/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#73 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
#74 /var/www/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#75 /var/www/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
#76 /var/www/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#77 /var/www/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
#78 /var/www/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle()
#79 /var/www/flarum/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#80 /var/www/flarum/public/index.php(26): Flarum\Http\Server->listen()
#81 {main} ```
Flarum information
Flarum core: 1.8.3
PHP version: 8.2.7
MySQL version: 10.11.4-MariaDB-1~deb12u1
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, apcu, bcmath, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, intl, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, soap, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, Zend OPcache
+----------------------+---------+--------+
| Flarum Extensions | | |
+----------------------+---------+--------+
| ID | Version | Commit |
+----------------------+---------+--------+
| flarum-flags | v1.8.0 | |
| flarum-approval | v1.8.1 | |
| flarum-tags | v1.8.0 | |
| flarum-suspend | v1.8.1 | |
| flarum-subscriptions | v1.8.0 | |
| flarum-sticky | v1.8.0 | |
| flarum-statistics | v1.8.0 | |
| flarum-mentions | v1.8.2 | |
| flarum-markdown | v1.8.0 | |
| flarum-lock | v1.8.0 | |
| flarum-likes | v1.8.0 | |
| flarum-lang-english | v1.8.0 | |
| flarum-emoji | v1.8.0 | |
| flarum-bbcode | v1.8.0 | |
+----------------------+---------+--------+
Base URL: http://somedomain.com/
Installation path: /var/www/flarum
Queue driver: sync
Session driver: file
Mail driver: mail
Debug mode: off