Hi!

After some time i wanted to update flarum with:

composer update --prefer-dist --no-plugins --no-dev -a --with-all-dependencies
php flarum migrate
php flarum cache:clear

Now I don't see any more discussions and I get the "Oops! Something went wrong. Please reload the page and try again." message.

This is in the logs:

flarum.ERROR: PDOException: SQLSTATE[HY000] [2002] No such file or directory in .../vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40

Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[HY000] [2002] No such file or directory in ../vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18

flarum.ERROR: TypeError: FoF\Upload\Adapters\Manager::instantiate(): Return value must be of type FoF\Upload\Contracts\UploadAdapter, null returned in ../vendor/fof/upload/src/Adapters>

PHP Flarum info:

Flarum core: 1.8.9
PHP version: 8.3.16
MySQL version: 10.5.26-MariaDB-0+deb11u2
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, Zend OPcache
+--------------------------------------+---------+--------+
| Flarum Extensions                    |         |        |
+--------------------------------------+---------+--------+
| ID                                   | Version | Commit |
+--------------------------------------+---------+--------+
| flarum-flags                         | v1.8.2  |        |
| flarum-approval                      | v1.8.2  |        |
| flarum-tags                          | v1.8.3  |        |
| flarum-suspend                       | v1.8.4  |        |
| flarum-markdown                      | v1.8.1  |        |
| afrux-forum-widgets-core             | v0.1.7  |        |
| fof-pages                            | 1.0.8   |        |
| fof-byobu                            | 1.3.9   |        |
| flarum-mentions                      | v1.8.5  |        |
| flarum-subscriptions                 | v1.8.1  |        |
| v17development-seo                   | v2.0.5  |        |
| therealsujitk-gifs                   | v4.1.1  |        |
| the-turk-miserable-users             | 1.0.2   |        |
| sycho-move-posts                     | v0.1.8  |        |
| rob006-last-post-avatar              | 1.2.4   |        |
| luceos-dofollow                      | v1.0    |        |
| justoverclock-welcomebox             | 2.0.2   |        |
| justoverclock-staff-members-widget   | 0.1.3   |        |
| justoverclock-popular-tags           | 0.1.3   |        |
| justoverclock-guestengagement        | 1.0.3   |        |
| justoverclock-events-countdown       | 0.1.8   |        |
| justoverclock-country-flags          | 1.0.0   |        |
| justoverclock-contactme              | 0.2.3   |        |
| ianm-twofactor                       | 1.1.3   |        |
| fof-username-request                 | 1.2.4   |        |
| fof-user-directory                   | 1.3.3   |        |
| fof-upload                           | 1.7.1   |        |
| fof-terms                            | 1.4.2   |        |
| fof-split                            | 1.1.1   |        |
| fof-sitemap                          | 2.2.1   |        |
| fof-share-social                     | 1.2.0   |        |
| fof-recaptcha                        | 1.3.4   |        |
| fof-pretty-mail                      | 1.1.2   |        |
| fof-polls                            | 2.2.12  |        |
| fof-nightmode                        | 1.6.0   |        |
| fof-merge-discussions                | 1.4.1   |        |
| fof-links                            | 1.3.0   |        |
| fof-linguist                         | 1.1.5   |        |
| fof-ignore-users                     | 1.2.1   |        |
| fof-html-errors                      | 1.1.2   |        |
| fof-forum-statistics-widget          | 1.2.1   |        |
| fof-formatting                       | 1.0.3   |        |
| fof-follow-tags                      | 1.2.7   |        |
| fof-drafts                           | 1.2.12  |        |
| fof-disposable-emails                | 1.0.0   |        |
| fof-default-user-preferences         | 1.2.1   |        |
| fof-cookie-consent                   | 1.1.3   |        |
| fof-bbcode-details                   | 1.1.2   |        |
| fof-ban-ips                          | 1.1.2   |        |
| fof-anti-spam                        | 1.1.3   |        |
| fof-analytics                        | 1.1.0   |        |
| flarum-sticky                        | v1.8.2  |        |
| flarum-statistics                    | v1.8.1  |        |
| flarum-lock                          | v1.8.2  |        |
| flarum-likes                         | v1.8.1  |        |
| flarum-lang-german                   | 1.17.0  |        |
| flarum-lang-french                   | v4.27.0 |        |
| flarum-lang-english                  | v1.8.0  |        |
| flarum-emoji                         | v1.8.1  |        |
| flarum-bbcode                        | v1.8.0  |        |
| datitisev-maintenance                | 1.1.0   |        |
| darkle-fancybox                      | 2.1.0   |        |
| clarkwinkelmann-post-bookmarks       | 1.0.0   |        |
| clarkwinkelmann-emojionearea         | 1.0.0   |        |
| clarkwinkelmann-discussion-bookmarks | 2.0.1   |        |
| clarkwinkelmann-circle-groups        | 1.0.1   |        |
| blomstra-usercard-stats              | 0.1.2   |        |
| askvortsov-moderator-warnings        | v0.6.3  |        |
| askvortsov-categories                | v3.1.0  |        |
| afrux-top-posters-widget             | v0.1.4  |        |
| afrux-online-users-widget            | v0.1.9  |        |
| acpl-mobile-tab                      | 1.4.5   |        |
+--------------------------------------+---------+--------+
Base URL: https:
Installation path: 
Queue driver: redis
Session driver: redis (Code override. Configured to file)
Scheduler status: Aktiv
Mail driver: smtp
Debug mode: off

So I had to revert to the snapshot before with flarum info:

Flarum core: 1.8.8
PHP version: 8.3.16
MySQL version: 10.5.26-MariaDB-0+deb11u2
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, pcntl, random, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, iconv, exif, mysqli, pdo_mysql, Phar, posix, readline, shmop, SimpleXML, sockets, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, Zend OPcache
+--------------------------------------+---------+--------+
| Flarum Extensions                    |         |        |
+--------------------------------------+---------+--------+
| ID                                   | Version | Commit |
+--------------------------------------+---------+--------+
| flarum-flags                         | v1.8.1  |        |
| flarum-approval                      | v1.8.2  |        |
| flarum-tags                          | v1.8.2  |        |
| flarum-suspend                       | v1.8.3  |        |
| flarum-markdown                      | v1.8.1  |        |
| afrux-forum-widgets-core             | v0.1.7  |        |
| fof-pages                            | 1.0.8   |        |
| fof-byobu                            | 1.3.8   |        |
| flarum-mentions                      | v1.8.4  |        |
| flarum-subscriptions                 | v1.8.1  |        |
| v17development-seo                   | v2.0.3  |        |
| therealsujitk-gifs                   | v4.1.1  |        |
| the-turk-miserable-users             | 1.0.2   |        |
| sycho-move-posts                     | v0.1.7  |        |
| rob006-last-post-avatar              | 1.2.4   |        |
| luceos-dofollow                      | v1.0    |        |
| justoverclock-welcomebox             | 2.0.2   |        |
| justoverclock-staff-members-widget   | 0.1.3   |        |
| justoverclock-popular-tags           | 0.1.3   |        |
| justoverclock-guestengagement        | 1.0.3   |        |
| justoverclock-events-countdown       | 0.1.8   |        |
| justoverclock-country-flags          | 1.0.0   |        |
| justoverclock-contactme              | 0.2.3   |        |
| ianm-twofactor                       | 1.1.3   |        |
| fof-username-request                 | 1.2.4   |        |
| fof-user-directory                   | 1.3.3   |        |
| fof-upload                           | 1.5.8   |        |
| fof-terms                            | 1.4.0   |        |
| fof-split                            | 1.1.1   |        |
| fof-sitemap                          | 2.2.1   |        |
| fof-share-social                     | 1.2.0   |        |
| fof-recaptcha                        | 1.3.4   |        |
| fof-pretty-mail                      | 1.1.2   |        |
| fof-polls                            | 2.2.9   |        |
| fof-nightmode                        | 1.6.0   |        |
| fof-merge-discussions                | 1.4.1   |        |
| fof-links                            | 1.3.0   |        |
| fof-linguist                         | 1.1.2   |        |
| fof-ignore-users                     | 1.2.1   |        |
| fof-html-errors                      | 1.1.2   |        |
| fof-forum-statistics-widget          | 1.2.1   |        |
| fof-formatting                       | 1.0.3   |        |
| fof-follow-tags                      | 1.2.7   |        |
| fof-drafts                           | 1.2.12  |        |
| fof-disposable-emails                | 1.0.0   |        |
| fof-default-user-preferences         | 1.2.1   |        |
| fof-cookie-consent                   | 1.1.3   |        |
| fof-bbcode-details                   | 1.1.2   |        |
| fof-ban-ips                          | 1.1.2   |        |
| fof-anti-spam                        | 1.1.2   |        |
| fof-analytics                        | 1.1.0   |        |
| flarum-sticky                        | v1.8.1  |        |
| flarum-statistics                    | v1.8.1  |        |
| flarum-lock                          | v1.8.1  |        |
| flarum-likes                         | v1.8.1  |        |
| flarum-lang-german                   | 1.16.0  |        |
| flarum-lang-french                   | v4.26.0 |        |
| flarum-lang-english                  | v1.8.0  |        |
| flarum-emoji                         | v1.8.1  |        |
| flarum-bbcode                        | v1.8.0  |        |
| datitisev-maintenance                | 1.1.0   |        |
| darkle-fancybox                      | 2.1.0   |        |
| clarkwinkelmann-post-bookmarks       | 1.0.0   |        |
| clarkwinkelmann-emojionearea         | 1.0.0   |        |
| clarkwinkelmann-discussion-bookmarks | 2.0.1   |        |
| clarkwinkelmann-circle-groups        | 1.0.1   |        |
| blomstra-usercard-stats              | 0.1.2   |        |
| askvortsov-moderator-warnings        | v0.6.3  |        |
| askvortsov-categories                | v3.1.0  |        |
| afrux-top-posters-widget             | v0.1.4  |        |
| afrux-online-users-widget            | v0.1.6  |        |
| acpl-mobile-tab                      | 1.4.4   |        |
+--------------------------------------+---------+--------+
Base URL: https://
Installation path: 
Queue driver: redis
Session driver: redis (Code override. Configured to file)
Scheduler status: Aktiv
Mail driver: smtp
Debug mode: off

Any idea what happened?

    m4v3rick if your host in your config.php for the database is localhost replace it with 127.0.0.1

      5 days later

      luceos

      Changed it, but it didn't work.
      Thanks for the support on discord.

      After disabling fof/upload it worked. So it might be an issue with fof/upload - I will ask within the extension discussion.