Getting the following error when setting up a fresh installation of erpnext. What is the problem and the solution for this?
Hi,
It may help to say the method of installation, the host environment and dependent package versions.
Ubuntu 20.04, manual installation, and I am using the following doc to make the installation
When I execute “bench start” I am getting this error
Try:
bench setup requirements
bench setup redis
bench build
The above 3 steps were successful. However, on executing bench start, the same error reoccured
Try:
bench setup socketio
bench setup supervisor
What url does redis-cli prompt show?
May I know where or how I can check the redis-cli URL?
in a terminal: redis-cli
it should look like: 127.0.0.1:6379>
127.0.0.1:6379>
Yup this is the one that is being shown
Does bench setup nginx
complete?
What does: cat /etc/hosts
return?
No nginx setup is not done.
cat /etc/hosts
127.0.0.1 localhost.localdomain
# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
Try;
sudo pip3 install frappe-bench --upgrade
then cd frappe-bench and bench start again
the output of bench show-config
may be useful
still the same error. No change.
I have not setup any site yet, I am not able to proceed to that step. Hence there are no sites
Try changing localhost.localdomain to simply localhost in /etc/hosts
Somewhat similar to this post: https://discuss.frappe.io/t/socket-io-error-getaddrinfo-enotfound/42938