Use this code
git fetch # Grab the latest code from the NodeBB repository git checkout v3.x git reset --hard origin/v3.xAnd you will have the latest version without specifying it
https://docs.nodebb.org/configuring/upgrade/
@Hari You need to add this to the Flarum .nginx.conf
file, like the below
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /sitemap.xml {
try_files $uri $uri/ /index.php?$query_string;
}
So just outside of the default location /
block
@phenomlab for now sitemap is loading should i still add these lines in nginx? (thinking to ignore adding these)
i rebooted the server and the composer is not found
should i need to install composer again?
cd /home/ask/public_html
[root@ask public_html]# composer require fof/best-answer:"*"
sh: 1: composer: not found
[root@ask public_html]# composer require fof/best-answer:"*"
sh: 1: composer: not found
[root@ask public_html]# locate composer
[root@ask public_html]#
@Hari Seems to work fine for me ?
@phenomlab sir, which terminal are you using?
i just realized there was a special character when i was trying earlier
@Hari I use the basic Windows CMD or Bash Shell depending on the OS I boot into.
Personnaly, I like Zsh for linux or the last Windows Terminal because is fully customisable
@Hari @crazycells I think I finally fixed the upvoting limit
@phenomlab said in Issues getting Flarum to work on new host:
@Hari @crazycells I think I finally fixed the upvoting limit
thanks it looks like it is fixed but right now I am getting this error:
@crazycells huh. Thanks. Will need to check that as well.