Hello,
Is someone know why my site is not opening properly after production setup?
Thanks for quick response.
I just tried these steps, site successfully migrated but issue not resolved.
Try using this command first
bench update
If not then create another site,
I hope it will work
Thank You!
Hello @umarless,
Pls check on few things:
bench add-to-hosts
bench build
You can also try with setup requirements using command bench setup requirements
Thanks a lot for replying…
I tried all steps as you said above, but still facing same issue.
I found “log_format main” error in nginx configuration file after running below command.
sudo nginx -t
Which I solved as guided here
but still I am getting below “warning”
nginx: [warn] conflicting server name “sitename.com” on 0.0.0.0:80, ignored
Is this causing for below error.
Also, Please check below SS after bench start
Which says…
clean: postcss.plugin was deprecated. Migration guide:
Browserslist: caniuse-lite is outdated. Please run:
Thanks in advance.
It seems site is running in development mode. Did you setup production using command?
bench setup production [user]
Yes. Setup production is done successfully.
But when I do “bench restart” its shows below error.
Here is a SS for supervisor.conf
yeah me too experienced this. Did what Daizy suggest, but problem not fixed.
Update: MY PROBLEM SOLVED
Check this thread: Web UI not loading properly - #24 by kholidraf