Getting the following errors on logs very often, can't understand, how do I fix these errors?
[2023-09-18 06:49:32] flarum.ERROR: Predis\Connection\ConnectionException: Error while reading line from the server. [tcp://127.0.0.1:6379] in /www/wwwroot/domain.org/vendor/predis/predis/src/Connection/AbstractConnection.php:144
Stack trace:
#0 /www/wwwroot/domain.org/vendor/predis/predis/src/Connection/StreamConnection.php(291): Predis\Connection\AbstractConnection->onConnectionError()
#1 /www/wwwroot/domain.org/vendor/predis/predis/src/Connection/AbstractConnection.php(132): Predis\Connection\StreamConnection->read()
#2 /www/wwwroot/domain.org/vendor/predis/predis/src/Connection/AbstractConnection.php(124): Predis\Connection\AbstractConnection->readResponse()
#3 /www/wwwroot/domain.org/vendor/predis/predis/src/Client.php(381): Predis\Connection\AbstractConnection->executeCommand()
#4 /www/wwwroot/domain.org/vendor/predis/predis/src/Client.php(335): Predis\Client->executeCommand()
#5 /www/wwwroot/domain.org/vendor/illuminate/redis/Connections/Connection.php(116): Predis\Client->__call()
#6 /www/wwwroot/domain.org/vendor/illuminate/redis/Connections/Connection.php(220): Illuminate\Redis\Connections\Connection->command()
#7 /www/wwwroot/domain.org/vendor/illuminate/queue/RedisQueue.php(272): Illuminate\Redis\Connections\Connection->__call()
#8 /www/wwwroot/domain.org/vendor/illuminate/queue/RedisQueue.php(212): Illuminate\Queue\RedisQueue->retrieveNextJob()
#9 /www/wwwroot/domain.org/vendor/illuminate/queue/Worker.php(345): Illuminate\Queue\RedisQueue->pop()
#10 /www/wwwroot/domain.org/vendor/illuminate/queue/Worker.php(354): Illuminate\Queue\Worker->Illuminate\Queue\{closure}()
#11 /www/wwwroot/domain.org/vendor/illuminate/queue/Worker.php(158): Illuminate\Queue\Worker->getNextJob()
#12 /www/wwwroot/domain.org/vendor/illuminate/queue/Console/WorkCommand.php(116): Illuminate\Queue\Worker->daemon()
#13 /www/wwwroot/domain.org/vendor/illuminate/queue/Console/WorkCommand.php(100): Illuminate\Queue\Console\WorkCommand->runWorker()
#14 /www/wwwroot/domain.org/vendor/illuminate/container/BoundMethod.php(36): Illuminate\Queue\Console\WorkCommand->handle()
#15 /www/wwwroot/domain.org/vendor/illuminate/container/Util.php(40): Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
#16 /www/wwwroot/domain.org/vendor/illuminate/container/BoundMethod.php(93): Illuminate\Container\Util::unwrapIfClosure()
#17 /www/wwwroot/domain.org/vendor/illuminate/container/BoundMethod.php(35): Illuminate\Container\BoundMethod::callBoundMethod()
#18 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(653): Illuminate\Container\BoundMethod::call()
#19 /www/wwwroot/domain.org/vendor/illuminate/console/Command.php(136): Illuminate\Container\Container->call()
#20 /www/wwwroot/domain.org/vendor/symfony/console/Command/Command.php(298): Illuminate\Console\Command->execute()
#21 /www/wwwroot/domain.org/vendor/illuminate/console/Command.php(120): Symfony\Component\Console\Command\Command->run()
#22 /www/wwwroot/domain.org/vendor/symfony/console/Application.php(1058): Illuminate\Console\Command->run()
#23 /www/wwwroot/domain.org/vendor/symfony/console/Application.php(301): Symfony\Component\Console\Application->doRunCommand()
#24 /www/wwwroot/domain.org/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#25 /www/wwwroot/domain.org/vendor/flarum/core/src/Console/Server.php(42): Symfony\Component\Console\Application->run()
#26 /www/wwwroot/domain.org/flarum(22): Flarum\Console\Server->listen()
#27 {main}
[2023-09-18 09:49:52] flarum.ERROR: PDOException: SQLSTATE[HY000] [2002] No such file or directory in /www/wwwroot/domain.org/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40
Stack trace:
#0 /www/wwwroot/domain.org/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct()
#1 /www/wwwroot/domain.org/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct()
#2 /www/wwwroot/domain.org/vendor/illuminate/database/Connectors/Connector.php(45): Illuminate\Database\Connectors\Connector->createPdoConnection()
#3 /www/wwwroot/domain.org/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection()
#4 /www/wwwroot/domain.org/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect()
#5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connectors\{closure}()
#6 /www/wwwroot/domain.org/vendor/illuminate/database/Connection.php(1064): call_user_func()
#7 /www/wwwroot/domain.org/vendor/illuminate/database/Connection.php(1014): Illuminate\Database\Connection->getPdo()
#8 /www/wwwroot/domain.org/vendor/illuminate/database/Connection.php(994): Illuminate\Database\Connection->getDoctrineConnection()
#9 /www/wwwroot/domain.org/vendor/flarum/core/src/Database/Migrator.php(69): Illuminate\Database\Connection->getDoctrineSchemaManager()
#10 [internal function]: Flarum\Database\Migrator->__construct()
#11 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(917): ReflectionClass->newInstanceArgs()
#12 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#13 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#14 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(1027): Illuminate\Container\Container->make()
#15 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(947): Illuminate\Container\Container->resolveClass()
#16 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(908): Illuminate\Container\Container->resolveDependencies()
#17 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(292): Illuminate\Container\Container->build()
#18 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}()
#19 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build()
#20 /www/wwwroot/domain.org/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve()
#21 /www/wwwroot/domain.org/vendor/flarum/core/src/Extension/ExtensionServiceProvider.php(31): Illuminate\Container\Container->make()
#22 [internal function]: Flarum\Extension\ExtensionServiceProvider->Flarum\Extension\{closure}()
#23 /www/wwwroot/domain.org/vendor/flarum/core/src/Foundation/Application.php(329): call_user_func()
#24 /www/wwwroot/domain.org/vendor/flarum/core/src/Foundation/Application.php(270): Flarum\Foundation\Application->fireAppCallbacks()
#25 /www/wwwroot/domain.org/vendor/flarum/core/src/Foundation/InstalledSite.php(151): Flarum\Foundation\Application->boot()
#26 /www/wwwroot/domain.org/vendor/flarum/core/src/Foundation/InstalledSite.php(82): Flarum\Foundation\InstalledSite->bootLaravel()
#27 /www/wwwroot/domain.org/vendor/flarum/core/src/Http/Server.php(59): Flarum\Foundation\InstalledSite->bootApp()
#28 /www/wwwroot/domain.org/vendor/flarum/core/src/Http/Server.php(36): Flarum\Http\Server->safelyBootAndGetHandler()
#29 /www/wwwroot/domain.org/index.php(22): Flarum\Http\Server->listen()
#30 {main}
Flarum information
Flarum core: 1.8.1
PHP version: 8.2.8
MySQL version: 10.7.3-MariaDB-log
Loaded extensions: Core, date, libxml, openssl, pcre, sqlite3, zlib, bcmath, ctype, curl, dom, fileinfo, filter, ftp, gd, gettext, hash, iconv, intl, json, mbstring, SPL, session, pcntl, standard, mysqlnd, PDO, pdo_mysql, pdo_sqlite, Phar, posix, random, Reflection, mysqli, shmop, SimpleXML, soap, sockets, sodium, sysvsem, tokenizer, xml, xmlreader, xmlwriter, zip, redis, gmp, 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 | |
| flarum-sticky | v1.8.0 | |
| flarum-markdown | v1.8.0 | |
| afrux-forum-widgets-core | v0.1.7 | |
| fof-user-directory | 1.2.3 | |
| fof-follow-tags | 1.1.7 | |
| fof-spamblock | 1.1.0 | |
| fof-oauth | 1.5.0 | |
| fof-byobu | 1.3.2 | |
| flarumite-simple-discussion-views | 1.2.1 | |
| fof-merge-discussions | 1.4.1 | |
| zerosonesfun-direct-links | 3.1 | |
| zerosonesfun-composer-preview | 1.3 | |
| the-turk-stickiest | 3.0.1 | |
| the-turk-miserable-users | 1.0.2 | |
| the-turk-diff | 1.1.2 | |
| swaggymacro-only-starter | 0.6.6 | |
| serakoi-flarumstaffbadge | 1.2.1 | |
| rob006-last-post-avatar | 1.2.4 | |
| ramesh-dada-bbcode-alerts | 6.21 | |
| noriods-auto-more | v1.0.0 | |
| nearata-twofactor | v2.2.1 | |
| nearata-related-discussions | 1.4.0 | |
| nearata-prevent-double-posting | 1.1.0 | |
| nearata-maintenance-mode | 1.0.0 | |
| nearata-copy-code-to-clipboard | v2.2.0 | |
| mickmelon-coloured-usernames | 0.1.1 | |
| matteocontrini-imgur-upload | v3.9.1 | |
| matteociaroni-public-suspensions | v1.0.0 | |
| malago-ads | 0.3.2 | |
| justoverclock-welcomebox | 2.0.2 | |
| justoverclock-purify | 0.1.7 | |
| justoverclock-feedback | 0.1.9 | |
| justoverclock-edit-posts | 0.1.1 | |
| justoverclock-discussion-info | 0.1.5 | |
| justoverclock-country-flags | 0.2.1 | |
| justoverclock-auto-post-count-badge | 0.2.0 | |
| jslirola-login2seeplus | v0.2.1 | |
| ianm-log-viewer | 0.1.1 | |
| ianm-follow-users | 1.3.1 | |
| glowingblue-password-strength | 3.1.0 | |
| fof-username-request | 1.1.2 | |
| fof-user-bio | 1.2.2 | |
| fof-subscribed | 1.1.3 | |
| fof-stopforumspam | 1.2.3 | |
| fof-socialprofile | 1.1.5 | |
| fof-recaptcha | 1.3.0 | |
| fof-profile-image-crop | 1.1.6 | |
| fof-polls | 2.1.1 | |
| fof-pages | 1.0.7 | |
| fof-nightmode | 1.5.3 | |
| fof-moderator-notes | 1.2.0 | |
| fof-links | 1.2.0 | |
| fof-linguist | 1.1.1 | |
| fof-ignore-users | 1.2.0 | |
| fof-forum-statistics-widget | 1.1.0 | |
| fof-formatting | 1.0.3 | |
| fof-drafts | 1.2.2 | |
| fof-disposable-emails | 1.0.0 | |
| fof-default-group | 1.1.1 | |
| fof-best-answer | 1.3.2 | |
| flarum-statistics | v1.8.0 | |
| flarum-mentions | v1.8.2 | |
| 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 | |
| datlechin-title-length | v0.1.1 | |
| datlechin-signup-button | v0.1.1 | |
| datlechin-scroll-buttons | v1.1.0 | |
| datlechin-keyboard-shortcuts | v0.1.1 | |
| clarkwinkelmann-username-blacklist | 1.0.0 | |
| clarkwinkelmann-popular-discussion-badge | 1.1.1 | |
| clarkwinkelmann-no-email-notifications | 1.0.0 | |
| clarkwinkelmann-mass-actions | 1.1.2 | |
| clarkwinkelmann-mailing | 1.1.0 | |
| clarkwinkelmann-group-list | 1.0.0 | |
| clarkwinkelmann-emojionearea | 1.0.0 | |
| clarkwinkelmann-discussion-open-position | 1.1.0 | |
| clarkwinkelmann-discussion-bookmarks | 2.0.0 | |
| clarkwinkelmann-circle-groups | 1.0.1 | |
| blomstra-usercard-stats | 0.1.2 | |
| blomstra-user-filter | 0.1.4 | |
| blomstra-sort-order-toggle | 0.2.0 | |
| blomstra-flag-duplicates | 0.2.1 | |
| askvortsov-pwa | v3.3.3 | |
| askvortsov-moderator-warnings | v0.6.3 | |
| askvortsov-discussion-templates | v0.8.3 | |
| afrux-news-widget | v0.1.1 | |
| acpl-mobile-tab | 1.1.1 | |
| acpl-lscache | v2.2.0 | |
+------------------------------------------+---------+--------+
Queue driver: redis
Session driver: redis (Code override. Configured to file)
Scheduler status: Active
Mail driver: mail
Debug mode: off