Redis caching error

After installing POS-Awesom

POS page is blank

I’m getting the below error upon submitting Delivery Note:
Pop-up error.

ImportError: cannot import name ‘redis_cache’ from ‘frappe.utils.caching’ (apps/frappe/frappe/utils/

Anyone has an idea on how to fix it?

Try by running below command

bench update --reset

Hi @GGR,

Can you build the app? if not then please apply the command and migrate it.

bench build --app posawesome
bench --site sitename migrate
bench --site sitename clear-cache
bench --site sitename clear-website-cache

Thank You!

1 Like

What is the difference between those two commands?

Run the comand but facing this error,
frappe@ubuntu:~/frappe-bench$ bench build --app posawesome Traceback (most recent call last): File "/usr/local/bin/bench", line 8, in <module> sys.exit(cli()) File "/usr/local/lib/python3.10/dist-packages/bench/", line 70, in cli cmd_from_sys = get_cmd_from_sysargv() File "/usr/local/lib/python3.10/dist-packages/bench/utils/", line 551, in get_cmd_from_sysargv if sys_argv.index(arg) == 0 and arg in Bench(".").apps: File "/usr/local/lib/python3.10/dist-packages/bench/", line 67, in __init__ self.apps = BenchApps(self) File "/usr/local/lib/python3.10/dist-packages/bench/", line 175, in __init__ self.set_states() File "/usr/local/lib/python3.10/dist-packages/bench/", line 180, in set_states self.states = json.loads( or "{}") File "/usr/lib/python3.10/json/", line 346, in loads return _default_decoder.decode(s) File "/usr/lib/python3.10/json/", line 337, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib/python3.10/json/", line 353, in raw_decode obj, end = self.scan_once(s, idx) json.decoder.JSONDecodeError: Expecting ',' delimiter: line 81 column 5 (char 2017)

posapp page is open but pop-up error

Failed to get method for command posawesome.posawesome.api.posapp.check_opening_shift with cannot import name ‘redis_cache’ from ‘frappe.utils.caching’ (/home/frappe/frappe-bench/apps/frappe/frappe/utils/

Hi @NCP,
Sir kindly check it

according to this thread, it requires frappe v14.33 to have it work, so i guess the latest version of frappe app should work.

unfortunately, i am having the same problem from updating to pos 6.1.2 and 6.1.3