bertaveira If anyone gets some permissiona errors or have to sudo to execute any php flarum commands just run this: sudo chmod -R 755 /var/www/flarum
Toriko Hello, bertaveria, thank you for posting this. I follow your steps in a new vultr server, after set up nginx, I visit forums.mydomain.com, I only see nginx's welcome page, not seeing flarum...
OrdinaryJellyfish Toriko Did you remove Nginx's default site? You should be able to do that by running this: sudo rm /etc/nginx/sites-enabled/default sudo service nginx restart
nadi106 Bashing my head against the wall here too... I'm getting a 502 bad gateway after configuring nginx. Any thoughts on how to fix that?
sizonov_stas nadi106 Bashing my head against the wall here too Better show logs. tail -f /var/log/nginx/error.log and ps aux | grep php
nadi106 Did some googling and got it to work. I just have a quick fix for you: bertaveira sudo rm /etc/nginx/sites.enabled/default should be sites-enabled also be sure to service php7.2-fpm start service nginx start and service mysql start Got it to finally run on a docker now I can die in peace 🤣 Thanks for your post, it helped a lot!
nadi106 Made a docker of 0.1.0-beta.8 if anyone finds it useful: https://discuss.flarum.org/d/19498-flarum-0-1-0-beta-8-docker-for-ubuntu-16-04
Palidino nadi106 Using docker was the only way I was able to get flarum working on Nginx without 405 errors, thank you
chawki if anyone see this message on flarum The /var/www/html/forums directory is not writable. The /var/www/html/forums/assets directory is not writable. The /var/www/html/forums/storage directory is not writable. run sudo chown www-data:www-data -R /var/www/
chawki huraaaay, I'm full js dev no idea about what is PHP and follow the steps and works perfectly and a virtual bbq party for you
[deleted] yardimlazim This should be a new thread as you are responding to a post from 2019 and it's off topic.