Skip to content

installing flarum with plesk

Solved Configure
78 2 38.9k 1
  • @phenomlab ok, now when i went in the domain folder and try i am getting an error

    6d1fbd06-e88e-47f6-b35a-6a46f8380331-image.png

    wrote on last edited by
    #33

    @Hari said in installing flarum with plesk:

    @phenomlab ok, now when i went in the domain folder and try i am getting an error

    6d1fbd06-e88e-47f6-b35a-6a46f8380331-image.png

    Yes, you have to understand that this expected. You cannot just run php and expect it to work like that in Plesk, because it won’t.

  • @Hari said in installing flarum with plesk:

    @phenomlab ok, now when i went in the domain folder and try i am getting an error

    6d1fbd06-e88e-47f6-b35a-6a46f8380331-image.png

    Yes, you have to understand that this expected. You cannot just run php and expect it to work like that in Plesk, because it won’t.

    wrote on last edited by
    #34

    @phenomlab ohoo, in that case, i can not run flarum commands when i am in the domain folder

    do i need to create any bash or some kind of profile for that?

    or shall i just try to install by giving exact path of my domain folder while installing flarum from root

  • @Hari said in installing flarum with plesk:

    @phenomlab ok, now when i went in the domain folder and try i am getting an error

    6d1fbd06-e88e-47f6-b35a-6a46f8380331-image.png

    Yes, you have to understand that this expected. You cannot just run php and expect it to work like that in Plesk, because it won’t.

    wrote on last edited by
    #35

    @phenomlab Seeing as this is a testing box, you could try apt install php8.0-cli and see where that takes you, but I’m guessing it’s not the silver bullet you are looking for.

  • @phenomlab ohoo, in that case, i can not run flarum commands when i am in the domain folder

    do i need to create any bash or some kind of profile for that?

    or shall i just try to install by giving exact path of my domain folder while installing flarum from root

    wrote on last edited by
    #36

    @Hari

    in that case, i can not run flarum commands when i am in the domain folder

    Yes, you can, but you have to specify the full path to PHP each time.

  • @phenomlab ohoo, in that case, i can not run flarum commands when i am in the domain folder

    do i need to create any bash or some kind of profile for that?

    or shall i just try to install by giving exact path of my domain folder while installing flarum from root

    wrote on last edited by
    #37

    @Hari said in installing flarum with plesk:

    flarum from root

    Don’t ever do that. Bad for security. You might as well set 777 on all files and folders 😕

  • @Hari

    in that case, i can not run flarum commands when i am in the domain folder

    Yes, you can, but you have to specify the full path to PHP each time.

    wrote on last edited by
    #38

    @phenomlab 😢 plesk plesk … lalala

    @phenomlab said in installing flarum with plesk:

    @phenomlab Seeing as this is a testing box, you could try apt install php8.0-cli and see where that takes you, but I’m guessing it’s not the silver bullet you are looking for.

    ad937ab6-f1d9-484f-98f1-43a2661b1b64-image.png

  • @phenomlab 😢 plesk plesk … lalala

    @phenomlab said in installing flarum with plesk:

    @phenomlab Seeing as this is a testing box, you could try apt install php8.0-cli and see where that takes you, but I’m guessing it’s not the silver bullet you are looking for.

    ad937ab6-f1d9-484f-98f1-43a2661b1b64-image.png

    wrote on last edited by
    #39

    @Hari that should in fact work !

  • @Hari said in installing flarum with plesk:

    flarum from root

    Don’t ever do that. Bad for security. You might as well set 777 on all files and folders 😕

    wrote on last edited by
    #40

    @phenomlab that is the problem, its better to use pocket hold and install and update extensions using the Plesk panel.

    but the only problem is installing Redis … is there any way to create user for domain in Plesk and set his CLI to php8 and composer version to 2

    as mentioned in docs Plesk is not using php8 cli this is weird

  • @Hari that should in fact work !

    wrote on last edited by
    #41

    @phenomlab will it work everytime i login or its only valid for this session?

  • @phenomlab will it work everytime i login or its only valid for this session?

    wrote on last edited by
    #42

    @Hari the full path ? Yes.

  • @phenomlab that is the problem, its better to use pocket hold and install and update extensions using the Plesk panel.

    but the only problem is installing Redis … is there any way to create user for domain in Plesk and set his CLI to php8 and composer version to 2

    as mentioned in docs Plesk is not using php8 cli this is weird

    wrote on last edited by
    #43

    @Hari yes. Take my advice and avoid Plesk. It’s sh**. Can’t be much plainer than that.

  • @Hari the full path ? Yes.

    wrote on last edited by
    #44

    @phenomlab the php 8 CLI

  • @phenomlab the php 8 CLI

    wrote on last edited by
    #45

    @Hari that will work every time but you still need the full path to the php binary

  • @Hari yes. Take my advice and avoid Plesk. It’s sh**. Can’t be much plainer than that.

    wrote on last edited by Hari
    #46

    @phenomlab sure, i want to run this little software with light tools - are there any other alternatives?

    someone is doing like this https://discuss.flarum.org/d/30211-gtmetrix-grade-and-stats-on-flarum/2 is it a good practice?

    i don’t think this bare bones kind of process is good for newbies

  • @phenomlab sure, i want to run this little software with light tools - are there any other alternatives?

    someone is doing like this https://discuss.flarum.org/d/30211-gtmetrix-grade-and-stats-on-flarum/2 is it a good practice?

    i don’t think this bare bones kind of process is good for newbies

    wrote on last edited by
    #47

    @Hari with Linux, less is more. You should pay attention to the advice offered by @justoverclock here

    https://discuss.flarum.org/d/30211-gtmetrix-grade-and-stats-on-flarum/10

    In VirtualMin, everything is packaged ready for you. Configuring a hardened Linux platform from scratch with little experience is very daunting and unless you are prepared to invest multiple hours researching how to get the optimum build without being willing to accept you’ll trash that same server multiple times before you get it right, then this just isn’t going to work.

  • wrote on last edited by Hari
    #48

    Summery: we can install flarum easily by using pocket hold and run it, if we need any extensions we just need to mention the extension name in Plesk composer it will automatically install. but it’s hard to run SSH commands because of Plesk limitations. and installing Redis for flarum is also a complicated process

    thanks a lot for being with me throughout this exercise

  • Summery: we can install flarum easily by using pocket hold and run it, if we need any extensions we just need to mention the extension name in Plesk composer it will automatically install. but it’s hard to run SSH commands because of Plesk limitations. and installing Redis for flarum is also a complicated process

    thanks a lot for being with me throughout this exercise

    wrote on last edited by
    #49

    @Hari no problems. It’s actually easy to install Redis in Plesk, but by the same token, Plesk as a platform is geared very differently meaning there are multiple dependencies etc which can easily fail with even minor changes, meaning Plesk won’t start and your sites won’t work.

    You essentially have to do things the “Plesk” way, or not at all.

  • @Hari no problems. It’s actually easy to install Redis in Plesk, but by the same token, Plesk as a platform is geared very differently meaning there are multiple dependencies etc which can easily fail with even minor changes, meaning Plesk won’t start and your sites won’t work.

    You essentially have to do things the “Plesk” way, or not at all.

    wrote on last edited by
    #50

    @phenomlab hi, someone at flarum want to use flarum with plesk, after all the exercise i do want to suggest how to install flarum using plesk. the one last thing that i need to learn is running Redis and flarum together. could you tell me how to create redis using docker or any other easy way and connect it to flarum.

    i want to avoid using SSH because as we know plesk is so weird running ssh commands for flarum.

  • @phenomlab hi, someone at flarum want to use flarum with plesk, after all the exercise i do want to suggest how to install flarum using plesk. the one last thing that i need to learn is running Redis and flarum together. could you tell me how to create redis using docker or any other easy way and connect it to flarum.

    i want to avoid using SSH because as we know plesk is so weird running ssh commands for flarum.

    wrote on last edited by
    #51

    @Hari

    create redis using docker or any other easy way and connect it to flarum.

    Why do you need to use Docker to run Redis ? For all the time I was using Flarum under Plesk, I never had to do this. Nor did I have any issues using SSH commands. Did you create a domain package in Plesk to use, or did you try to install everything as root ?

    If root, then this definitely will not work.

  • @Hari

    create redis using docker or any other easy way and connect it to flarum.

    Why do you need to use Docker to run Redis ? For all the time I was using Flarum under Plesk, I never had to do this. Nor did I have any issues using SSH commands. Did you create a domain package in Plesk to use, or did you try to install everything as root ?

    If root, then this definitely will not work.

    wrote on last edited by
    #52

    @phenomlab i was using it wrong, i used root ID

    Once we add domain how to login as / switch to domain user? Switching to domain user SSH will make installing flarum easy? All these days i thought using poket hold is the only easiest way to install flarum in plesk.


Did this solution help you?
Did you find the suggested solution useful? Support 💗 Sudonix with a coffee ☕
If your organisation needs deeper expertise around infrastructure, security, or technology leadership, learn more about Phenomlab Ltd. Many of the deeper technical guides behind Sudonix are published there.

Related Topics
  • Who uses Flarum?

    Chitchat flarum forum
    22
    7 Votes
    22 Posts
    8k Views
    phenomlab
    @Madchatthew I use it here. It is faster, but not sure if that extends to build times.
  • 4 Votes
    8 Posts
    5k Views
    WesleyMoura
    @phenomlab Sorry to delay in responding, yes as i mentioned above, i had to remove my redis from docker and reinstall a new image with this command docker run --name=redis -p 127.0.0.1:6379:6379 -d -t redis:alpine and now when i test my ip and port on https://www.yougetsignal.com/tools/open-ports/ the status of my redis port is closed. I think which to configure firewall in droplet digital ocean is a good idea too, and i will configure soon. Thanks for the help!
  • auto create flarum new discussions in wordpress

    Configure flarum wordpress
    2
    1 Votes
    2 Posts
    1k Views
    phenomlab
    @Hari I think you’re referring to this https://sudonix.com/topic/170/creating-posts-from-rss-feeds-in-flarum However, this code was never designed to work with WordPress, but you could leverage the WP-CLI to do something similar without too much effort.
  • Flarum SEO is worst and i still want to use it 😭

    General flarum
    15
    6 Votes
    15 Posts
    5k Views
    phenomlab
    @Hari said in Flarum SEO is worst and i still want to use it : Flarum is coded in such a way where it tells spiders not to crawl any internal links by adding nofollow tag. How stupid this is Yes, I agree this doesn’t make any sense. If you compare to WordPress, then (via a plugin of course) you can set the attribute as you wish. It doesn’t make any sense to take a blanket approach. I guess I unerstand why they are doing this, but it’s not an optimum SEO methodology. @Hari said in Flarum SEO is worst and i still want to use it : For few minutes i thought i should register a domain called flarumSEOsucks.com They’d probably sue you for using the Flarum name in a URL
  • move out from flarum to wordpress

    WordPress wordpress flarum migration
    87
    52 Votes
    87 Posts
    45k Views
    phenomlab
    @Hari Glad to see this went so well, and that you’ve finally departed the Flarum ecosystem
  • Flarum

    General flarum
    4
    0 Votes
    4 Posts
    2k Views
    JAC
    @jac said in Flarum: @phenomlab said in Flarum: @jac yes, but they are lacking severely in the sense that they still do not have a functional GDPR extension. In addition, Flarum uses PHP as it’s backend infrastructure meaning it’s going to be so much slower than NodeBB will ever be. Absolutely, I hope Node up their game . Certainly plugin wise anyway
  • Blomstra Realtime issues on ubuntu server

    Solved Linux
    26
    1 Votes
    26 Posts
    11k Views
    phenomlab
    Just checked this thread on Discuss. It’s effectively not stable yet. My suggestion would be to use kyrne/websocket
  • help me configuring cron job for fof/sitemap - flarum

    Solved Configure
    36
    18 Votes
    36 Posts
    13k Views
    DownPW
    you are too fast