When switch to production the site not work

when switching to production the site does not work,
the nginx port is correct,
and when Stopping Production and starting Development its work
how can i fiexed?!


This site can’t be reached

took too long to respond.



sudo bench setup production $erpNextUser --yes;
bench setup nginx --yes;
bench setup supervisor --yes;
sudo systemctl restart supervisor;
sudo supervisorctl restart all;
1 Like

the same problem

You might have a bench running that is locking files (eg. the mysql DB). You need to stop those and then try the commands again

how can i do that :sweat_smile: