Site not opening properly

Hello,

Is someone know why my site is not opening properly after production setup?

hy @umarless

Try this command

bench start
bench --site [site-name] migrate

Thank You!

1 Like

Thanks for quick response.

I just tried these steps, site successfully migrated but issue not resolved.

@umarless

Try using this command first

bench update

If not then create another site,

I hope it will work
Thank You!

1 Like

Hello @umarless,

Pls check on few things:

  1. Check nginx configuration
  2. bench add-to-hosts
  3. bench build

You can also try with setup requirements using command bench setup requirements

1 Like

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 :smiley:

Check this thread: Web UI not loading properly - #24 by kholidraf

1 Like