The new data in docType list view doesn't update immediately

Hi, all

I just updated my local from V4 to V6. The updating seems success, but after I created a new user, I couldn’t see in User List even I clicked refresh, but if I use filter to input the ID I just created, it will be shown. I also tried in other doctype, it’s same, It seems the data is inserted into the database, but just not visible in the list immediately because if I tried to restart server, it will be shown as well.

Any reply will be appreciated.

Is there any error on console? If so please share a screen shot of console.

Here’s the help to open javascript console: web development - How do I open the JavaScript console in different browsers? - Webmasters Stack Exchange

Hi, saurabh6790

Thanks your reply. it’s my screen shot. looks everything is ok.
I suspect if it is my redis cache issue. when I’m running ‘sudo supervisorctl status’, there is just three lines which are pid frappe-web, frappe-worker and frappe-workerbeat.

Try by running, bench setup procfile then bench start

I run ‘bench setup procfile’, still same, no redis cache pid.

This is screen shot of bench start:

Is your proc file is same as,

web: bench serve
redis_async_broker: redis-server config/redis_async_broker.conf
socketio: /usr/local/bin/node apps/frappe/socketio.js
workerbeat: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app beat -s scheduler.schedule'
worker: sh -c 'cd sites && exec ../env/bin/python -m frappe.celery_app worker'
redis_cache: redis-server config/redis_cache.conf
redis: redis-server

Could you tell me Where proc file is?

frappe-bench/Procfile

web: bench serve
redis_async_broker: redis-server config/redis_async_broker.conf
socketio: None apps/frappe/socketio.js
workerbeat: sh -c ‘cd sites && exec …/env/bin/python -m frappe.celery_app beat -s scheduler.schedule’
worker: sh -c ‘cd sites && exec …/env/bin/python -m frappe.celery_app worker’
redis_cache: redis-server config/redis_cache.conf

add above line to ypur procfile and check again.

After I added this line:
frappe:frappe-web RUNNING pid 2131, uptime 0:01:09
frappe:frappe-worker RUNNING pid 2130, uptime 0:01:09
frappe:frappe-workerbeat FATAL Exited too quickly (process log may have details)

Is my socketio having some problem? In my procfile is different with yours:
socketio: None apps/frappe/socketio.js

Now socketio problem is solved. Now my procfile is
web: bench serve
redis_async_broker: redis-server config/redis_async_broker.conf
socketio: /usr/local/bin/node apps/frappe/socketio.js
workerbeat: sh -c ‘cd sites && exec …/env/bin/python -m frappe.celery_app beat -s scheduler.schedule’
worker: sh -c ‘cd sites && exec …/env/bin/python -m frappe.celery_app worker’
redis_cache: redis-server config/redis_cache.conf

When I add ‘redis: redis-server’ at the bottom manually, the result is:
frappe:frappe-web RUNNING pid 2131, uptime 0:01:09
frappe:frappe-worker RUNNING pid 2130, uptime 0:01:09
frappe:frappe-workerbeat FATAL Exited too quickly (process log may have details)

By the way, I found there isn’t a redis.conf file in the config folder. Is it normal?

Hi,saurabh6790
today my v6 again, I found error on the console. Can you help me see again?

Everything is ok after I changed to using Chrome instead of IE.