ERPNext error bench start command

Hi,

When I want to start the service by command

      bench start

in de folder /home/frappe/frappe-bench, I get this output

system | redis_cache.1 started (pid=2206)
redis_cache.1 | Redis is starting
redis_cache.1 | Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=2208, just started
redis_cache.1 | Configuration loaded
redis_cache.1 | Increased maximum number of open files to 10032 (it was originally set to 1024)
redis_cache.1 | Creating Server TCP listening socket 127.0.0.1:13000:bind: Addresss already in use
system | redis_cache.1 stopped (rc=1)
system | redis_queue.1 started (pid=2218)
redis_cache.1 | Redis is starting
redis_cache.1 | Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=2228, just started
redis_cache.1 | Configuration loaded
redis_cache.1 | Increased maximum number of open files to 10032 (it was originally set to 1024)
redis_cache.1 | Creating Server TCP listening socket 127.0.0.1:11000:bind: Addresss already in use
system | redis_queue.1 stopped (rc=1)
system | redis_socketio.1 started (pid=2216)
redis_cache.1 | Redis is starting
redis_cache.1 | Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=2222, just started
redis_cache.1 | Configuration loaded
redis_cache.1 | Increased maximum number of open files to 10032 (it was originally set to 1024)
redis_cache.1 | Creating Server TCP listening socket 127.0.0.1:12000:bind: Addresss already in use
system | redis_socketio.1 stopped (rc=1)
system | watch.1 started (pid=2217)
system | worker_short.1 started (pid=2220)
system | schedule.1 started (pid=2219)
system | worker_default.1 started (pid=2225)
system | worker_long.1 started (pid=2226)
system | web.1 started (pid=2224)
system | socketio.1 started (pid=2221)
system | sending SIGTERM to web.1 (pid 2224)
system | sending SIGTERM to socketio.1 (pid 2221)
system | sending SIGTERM to watch.1 (pid 2217)
system | sending SIGTERM to schedule.1 (pid 2219)
system | sending SIGTERM to worker_short.1 (pid 2220)
system | sending SIGTERM to worker_long.1 (pid 2226)
system | sending SIGTERM to worker_default.1 (pid 2225)
system | web.1 stopped (rc=-15)
system | socketio.1 stopped (rc=-15)
system | worker_short.1 stopped (rc=-15)
system | watch.1 stopped (rc=-15)
system | schedule.1 stopped (rc=-15)
system | worker_long.1 stopped (rc=-15)
system | worker_default.1 stopped (rc=-15)

Data:

Erpnext= Version 12.16.2
frappe = Version 12.13.0
Bench = Version 5.0.0
Setup = Production

Please help me. Thanks

Hi,

Is this happening on your first use of frappe/bench/ERPNext of was it working properly and then the problem started after an upgrade or some other change?

Hi smino

Erpnext was working correctly. The image was downloaded from this link

      https://erpnext.org/download

I shutdown the virtual machine. The next day, when opening the virtual machine, the error appears. There was no update of any kind.

hello, so when you install frappe in production mode you dont need to do bench start because nginx web server is running on port 80, so you can visit http://localhost

Hi PyJumper

Before get in the bench start command, I entered via browser by localhost:8080. The message is

localhost refused the connection.
Try again

nginx works on port 80 so you just type http://localhost
also check if nginx work by command sudo service nginx status

Exactly, nginx works on port 80. Still not redirected to port 443 SSL, because I have not installed the certificate.

Output sudo service nginx status

nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled
Active: active (running) since Thu 2021-12-23 11:49:56
Docs: man:nginx(8)
Process: 615 ExecStart=/usr/sbin/nginx -g daemon on; master_process on; (code=exited)
.
.
.
etc

Without any errors

What does bench setup redis return? And what OS is the VM?

The VM OS is Ubuntu 18.04.5 LTS

Status redis: active: (running)
Without any errors.

sorry i could not understand, do you want to access your site with https, is port 80 work?

First I must access by http, through http: // localhost: 8080. But when entering by browser, I receive

localhost refused the connection.
Try again

Later I will try to enter via https, when installing the certificate. The problem is that the service does not start and I am using the default configuration of the ERPNext Production VM

https://erpnext.org/download