@crazycells I know that Flarum has (or had) an extension that lists the users. That wasn’t even in the core - as basic as that is.
installing flarum with plesk
-
@Hari Hi, it’s not that i do not want to continue this conversation here , i just found something meanwhile i don’t want to disturb you sir so i have deleted temporarily
somehow i figured out proper way to install plesk is really confusing during the initial setup
i have used pcokethold to download and install
https://github.com/UvUno/pockethold
https://discuss.flarum.org/d/25320-plesk-installing-guide/
just now i have installed flarum using Plesk i am searching to change nginx setting but it’s pretty hard still searching where to define flarum path
where and how do i find this file in plesk?
edit: looks like i need to use SHFTP or FTP to view these file. unable to view in plesk file manager
-
still trying to edit nginx file
-
@Hari the reason why you get that message is because the target directory isn’t empty. Remove all contents, and try again.
-
@phenomlab should i need to try to access from root or my domain directory?
how to check my plesk is using ngix or apache?
-
-
i have installed it but for some reason, DNS is not getting updated
flarumtest.tk i will check this later after 24hr
deleted old domain flatest.tk
-
@Hari Flarum will 100% work on Plesk, but as I alluded to in a previous thread, it’s not a simple exercise. Installing Flarum using Pocket Hold isn’t necessary as you should be able to complete the entire installation process using SSH without issue.
Plesk will use Apache and also leverage NGINX as a reverse proxy. For some time, I ran a Flarum installation using Plesk, but it’s very limiting in the sense that you have very little control over NGINX itself.
-
@phenomlab I completely agree, as i can see how complicated it is. i just want to test, explore and learn
it’s not detecting flarum i need to include flarum path, i did not understand earlier suggestions at the same time bit confused too, could you rephrase and tell me where can i go and do changes?
-
now i understood, the great plesk
index.html
file not letting to load the flarum after deleting it flarum got loaded without doing any Nginx or apache settings -
-
-
finally got it running but i am getting these errors how to fix them?
root@amazing-hellman:/var/www/vhosts/test.tk/httpdocs# php flarum info PHP Fatal error: Uncaught PDOException: could not find driver in /var/www/vhosts/test.tk/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:40 Stack trace: #0 /var/www/vhosts/test.tk/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(40): PDO->__construct() #1 /var/www/vhosts/test.tk/httpdocs/vendor/illuminate/database/Connectors/Connector.php(67): Doctrine\DBAL\Driver\PDOConnection->__construct() #2 /var/www/vhosts/test.tk/httpdocs/vendor/illuminate/database/Connectors/Connector.php(46): Illuminate\Database\Connectors\Connector->createPdoConnection() #3 /var/www/vhosts/test.tk/httpdocs/vendor/illuminate/database/Connectors/MySqlConnector.php(24): Illuminate\Database\Connectors\Connector->createConnection() #4 /var/www/vhosts/test.tk/httpdocs/vendor/illuminate/database/Connectors/ConnectionFactory.php(184): Illuminate\Database\Connectors\MySqlConnector->connect() #5 [internal function]: Illuminate\Database\Connectors\ConnectionFactory->Illuminate\Database\Connector in /var/www/vhosts/test.tk/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php on line 18 root@amazing-hellman:/var/www/vhosts/test.tk/httpdocs#
-
@Hari That looks like the
php-mysql
extension is not installed, or not loaded for the PHP version you are using. -
i want to learn these things
-
change PHP version to 8 at the server level and also for my domain in Plesk using SSH
-
instead of maria DB i want to use MySQL as default, how can i do that? is it really possible? without a docker or any other things (since i am getting those SQL errors as shown in the earlier reply want to switch to MySQL from MariaDB)
-
update composer to v2 for my domain via SSH.
@phenomlab said in installing flarum with plesk:
@Hari Flarum will 100% work on Plesk, but as I alluded to in a previous thread, it’s not a simple exercise. Installing Flarum using Pocket Hold isn’t necessary as you should be able to complete the entire installation process using SSH without issue.
i don’t know the reason but i am unable to install any extensions or flarum using SSH that is the reason i had to use pocket hold
-
-
-
@Hari My responses below
change PHP version to 8 at the server level and also for my domain in Plesk using SSH
PHP 8.x has been available in Plesk since October 2021. There’s no need to change this using SSH, and it’s actually not recommended. The entire point of Plesk is to manage this using the portal - see below
https://support.plesk.com/hc/en-us/articles/115000769793
instead of maria DB i want to use MySQL as default, how can i do that? is it really possible? without a docker or any other things (since i am getting those SQL errors as shown in the earlier reply want to switch to MySQL from MariaDB)
Possible, yes - although it’s usually the other way round in the sense that people want to replace MySQL with MariaDB
https://www.plesk.com/blog/product-technology/mysql-vs-mariadb/
update composer to v2 for my domain via SSH.
You should take the same route as is advertised here
-
@phenomlab oh i see in that case i think my old backup is causing the issues regarding MySQL and PHP versions. i will try fresh installation now.
-
@Hari Ok. Let me know.
-
i have installed and set my project settings to PHP 8 but CLI is not updating to 8.0
should i try this?
https://talk.plesk.com/threads/set-default-php-version-for-command-line.345940/
-
@Hari What version of Plesk do you have ? You should be able to install this using the links I posted earlier ?
-
-
@Hari What’s the output of
php -v
from CLI ? -
i just sent logins, please teach me what changes i need to make i really want to learn this setup process … i want to do a youtube video on this too