On clicking any button error box is appearing as "Resource not found". I am not able to access page of /admin also.
I am using nginx to deploy flarum. I thought the issue might be due to config.php file so changed it's access permissions also, but nothing seemed to work.
On running php flarum info
I am getting the following output:
Flarum core: 1.8.9
PHP version: 8.0.30
MySQL version: 8.0.36
Loaded extensions: Core, bcmath, calendar, ctype, date, filter, hash, iconv, json, SPL, pcre, random, readline, Reflection, session, standard, mysqlnd, tokenizer, zlib, libxml, dom, PDO, bz2, SimpleXML, xml, xmlreader, xmlwriter, openssl, curl, fileinfo, gd, gettext, mbstring, exif, mysqli, pdo_mysql, pdo_sqlite, Phar, ftp
+----------------------+---------+--------+
| 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-subscriptions | v1.8.1 | |
| flarum-sticky | v1.8.2 | |
| flarum-statistics | v1.8.1 | |
| flarum-mentions | v1.8.5 | |
| flarum-markdown | v1.8.1 | |
| flarum-lock | v1.8.2 | |
| flarum-likes | v1.8.1 | |
| flarum-lang-english | v1.8.0 | |
| flarum-emoji | v1.8.1 | |
| flarum-bbcode | v1.8.0 | |
+----------------------+---------+--------+
Base URL: http://localhost/flarum_npd
Installation path: /usr/share/nginx/html/userForum
Queue driver: sync
Session driver: file
Mail driver: mail
Debug mode: off
I am not able to find the solution how to make flarum access DB and /admin module.