Yes! It does.
Wow! Awesome!!!
Regards,
Thanks for the confirmation anand.
As we are also put all of our customers into a single machine. Would you please help us with the configuration details of the server so that we can put all of our customers into a single machine just like you.
RAM :
Hard Disk / SSD :
CPU :
Thanks
@sdqadeer44 If you have thousands of customers like us, I would recommend going for the most powerful server you can afford with a lot of memory. If it doesnāt perform, put new customers in a separate server. And, hope you have a Sys Admin on your team!
If you have specific questions to ask, please post them on a separate thread.
Hi Mr.anand
would you please help meā¦
Error coiming when bench start position
Thanking youā¦
You seem to be using production setup. You should not be using bench start
. Else shift to development setup using: Stopping Production and starting Development Ā· frappe/bench Wiki Ā· GitHub
Ya Thank You very much Mr.Anandā¦
Hi Mr.Anand,
I need your helpā¦
http://localhost:8000 its work on only ubuntu browserā¦
But not working in our window serverā¦
How to work in our windows browser?
would u please help me sirā¦
Thanking you,
K Jiiii and thank you very muchā¦
Guys, I am getting this after the latest update. Am seriously out of ideas, have tried all the steps above but the supervisorctl status yields the following:
/frappe-bench$ sudo supervisorctl status
frappe-bench-redis:frappe-bench-redis-cache RUNNING pid 28011, uptime 0:00:10
frappe-bench-redis:frappe-bench-redis-queue RUNNING pid 28002, uptime 0:00:11
frappe-bench-redis:frappe-bench-redis-socketio RUNNING pid 28037, uptime 0:00:10
frappe-bench-web:frappe-bench-frappe-web RUNNING pid 27958, uptime 0:00:12
frappe-bench-web:frappe-bench-node-socketio RUNNING pid 28040, uptime 0:00:10
frappe-bench-workers:frappe-bench-frappe-default-worker-0 BACKOFF Exited too quickly (process log may have details)
frappe-bench-workers:frappe-bench-frappe-long-worker-0 BACKOFF Exited too quickly (process log may have details)
frappe-bench-workers:frappe-bench-frappe-schedule RUNNING pid 27903, uptime 0:00:15
frappe-bench-workers:frappe-bench-frappe-short-worker-0 BACKOFF Exited too quickly (process log may have details)
Check logs folder
worker.log and workbeat.log doesnt show anything abnormal, any other logs to look at?
No. Did you change frappe and erpnext branch to master? If yes you need to regenerate supervisor config.
I am using the develop branch, for completeness sake i regenerated the supervisor config but its still the same
When i run the following manually:
bench worker --queue default
I get this output
17:00:22 RQ worker u'rq:worker:STRERP03.26968.default' started, version 0.5.6
17:00:22
17:00:22 *** Listening on default...
which i suppose seems okā¦
my supervisorctl config for the default queue is:
[program:frappe-bench-frappe-default-worker]
command=bench worker --queue default
priority=4
autostart=true
autorestart=true
stdout_logfile=/home/test/frappe-bench/logs/worker.log
stderr_logfile=/home/test/frappe-bench/logs/worker.error.log
user=test
stopwaitsecs=1560
directory=/home/test/frappe-bench
killasgroup=true
numprocs=1
process_name=%(program_name)s-%(process_num)d
Anything else i can check?
Check if common site config had redis urls
looks ok
{
"auto_update": false,
"background_workers": 1,
"db_host": "db.test.local",
"dns_multitenant": false,
"frappe_user": "test",
"gunicorn_workers": 4,
"rebase_on_pull": false,
"redis_cache": "redis://localhost:11311",
"redis_queue": "redis://localhost:6379",
"redis_socketio": "redis://localhost:12311",
"restart_supervisor_on_update": true,
"serve_default_site": true,
"shallow_clone": true,
"socketio_port": 9000,
"update_bench_on_update": true,
"webserver_port": 8000
}
@anand after some tinkering around i get the following error in worker.error.log
"worker.error.log" [readonly] 270 lines --0%-- 1,1 Top
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/home/test/frappe-bench/apps/frappe/frappe/commands.py", line 1040, in start_worker
return ctx.invoke(self.callback, **ctx.params)
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/home/test/frappe-bench/apps/frappe/frappe/commands.py", line 1040, in start_worker
start_worker(queue)
File "/home/test/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 72, in start_worker
Worker(queues, name=get_worker_name(queue)).work()
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py", line 135, in __init__
self.validate_queues()
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py", line 179, in validate_queues
raise TypeError('{0} is not of type {1} or text type'.format(queue, self.queue_class))
TypeError: long is not of type <class 'rq.queue.Queue'> or text type
start_worker(queue)
File "/home/test/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 72, in start_worker
Worker(queues, name=get_worker_name(queue)).work()
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py", line 135, in __init__
self.validate_queues()
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py", line 179, in validate_queues
raise TypeError('{0} is not of type {1} or text type'.format(queue, self.queue_class))
TypeError: default is not of type <class 'rq.queue.Queue'> or text type
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/test/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
main()
File "/home/test/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
click.Group(commands=commands)(prog_name='bench')
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 610, in __call__
return self.main(*args, **kwargs)
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 590, in main
rv = self.invoke(ctx)
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
return callback(*args, **kwargs)
File "/home/test/frappe-bench/apps/frappe/frappe/commands.py", line 1040, in start_worker
start_worker(queue)
File "/home/test/frappe-bench/apps/frappe/frappe/utils/background_jobs.py", line 72, in start_worker
Worker(queues, name=get_worker_name(queue)).work()
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py", line 135, in __init__
self.validate_queues()
File "/home/test/frappe-bench/env/local/lib/python2.7/site-packages/rq/worker.py", line 179, in validate_queues
raise TypeError('{0} is not of type {1} or text type'.format(queue, self.queue_class))
TypeError: short is not of type <class 'rq.queue.Queue'> or text type
Any idea what is causing this? Thanks.
./env/bin/pip install --upgrade -r apps/frappe/requirements.txt
Your python rq seems old
I am using bench develop how do I update to bench v2