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 Seems the max value is hard coded, so you’ll have to wait until tomorrow
@phenomlab sure, i have enabled CF cache but the response time is still slow should i enable redis cache ?
@Hari Redis cache isn’t the “saviour” everyone thinks it is - most of files and assets required to access the site initially will be served from the CF edge networks, although CF won’t have any impact on the database.
Something like Flarum’s ReCache
is suggested here - I know that the developer of this product has since left the Flarum team, so I’m not sure if this is still an active product.
@Hari its working without adding this lines
@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.