Redis socketio failing on new Debian9 ERPnext install

Hello - this is the errors I keep getting with ERpnext on benchstart, after carefully following this guide for Debian 9 : https://www.howtoforge.com/tutorial/how-to-install-erpnext-on-debian/#comments

Help much appreciated!

bench start
14:28:58 system | redis_socketio.1 started (pid=2582)

14:28:58 redis_socketio.1 | 2594:C 24 Oct 14:28:58.670 # Fatal error, can’t open config file ‘config/redis_socketio.conf’

14:28:58 system | redis_socketio.1 stopped (rc=1)
14:28:58 system | watch.1 started (pid=2586)
14:28:58 system | redis_queue.1 started (pid=2590)
14:28:58 system | worker_long.1 started (pid=2585)
14:28:58 system | socketio.1 started (pid=2596)

14:28:58 redis_queue.1 | 2599:C 24 Oct 14:28:58.687 # Fatal error, can’t open config file ‘config/redis_queue.conf’

14:28:58 system | worker_default.1 started (pid=2602)
14:28:58 system | redis_queue.1 stopped (rc=1)
14:28:58 system | web.1 started (pid=2592)
14:28:58 system | schedule.1 started (pid=2588)
14:28:58 system | redis_cache.1 started (pid=2601)

14:28:58 redis_cache.1 | 2613:C 24 Oct 14:28:58.690 # Fatal error, can’t open config file ‘config/redis_cache.conf’

14:28:58 system | redis_cache.1 stopped (rc=1)
14:28:58 system | worker_short.1 started (pid=2608)
14:28:58 system | sending SIGTERM to worker_long.1 (pid 2585)
14:28:58 system | sending SIGTERM to watch.1 (pid 2586)
14:28:58 system | sending SIGTERM to web.1 (pid 2592)
14:28:58 system | sending SIGTERM to schedule.1 (pid 2588)
14:28:58 system | sending SIGTERM to worker_default.1 (pid 2602)
14:28:58 system | sending SIGTERM to socketio.1 (pid 2596)
14:28:58 system | sending SIGTERM to worker_short.1 (pid 2608)
14:28:58 system | watch.1 stopped (rc=-15)
14:28:58 system | web.1 stopped (rc=-15)
14:28:58 system | socketio.1 stopped (rc=-15)
14:28:58 system | schedule.1 stopped (rc=-15)
14:28:58 system | worker_default.1 stopped (rc=-15)
14:28:58 system | worker_long.1 stopped (rc=-15)
14:28:58 system | worker_short.1 stopped (rc=-15)

Thank you

Also:

bench@erpnext:/home/rootuser$ bench setup redis
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/home/bench/bench-repo/bench/cli.py”, line 40, in cli
bench_command()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/home/bench/bench-repo/bench/commands/setup.py”, line 41, in setup_redis
generate_config(‘.’)
File “/home/bench/bench-repo/bench/config/redis.py”, line 15, in generate_config
ports[key] = urlparse(config[key]).port
KeyError: ‘redis_cache’

You should be in the frappe-bench subdir for the install

cd ~/frappe-bench
…YOUR_COMMANDS

thank you - so this may be the reason I am unable to access the start wizard in my erpnext installation on debian 9? It loads the login tile and I can use Administration account with password I set in installation and I get “success” and hangs a bit, loads desktop but is empty, but it never gave me the start wizard with time settings, location, etc. I get access to what looks like most of erp, but no way to add anything and frequent errors. It never spawned the start wizard with setup … I am ready to nuke it and reinstall. I get the menu on the left in Administration account, it says login Success, takes me to bllank screen with lone ‘E’ icon. I can go to ‘Account’ and it is populated with what appears to be a clinic template, but there is no way to add anything, ot make changes. Most of the links are blank white pages.
I have tried everything and cant get past this. Thanks for your help. I followed this: https://www.howtoforge.com/tutorial/how-to-install-erpnext-on-debian

Some error on bench start:
13:37:00 web.1 | INFO:werkzeug:192.168.2.34 - - [31/Oct/2018 13:37:00 ] “POST / HTTP/1.1” 200 -
13:37:01 web.1 | fatal: Needed a single revision
13:37:01 web.1 | fatal: Needed a single revision
13:37:03 web.1 | fatal: Needed a single revision
13:37:03 web.1 | fatal: Needed a single revision
13:37:03 web.1 | Traceback (most recent call last):
13:37:03 web.1 | File “/home/benchuser/erpnext/apps/frappe/fr appe/website/context.py”, line 48, in update_controller_context
13:37:03 web.1 | ret = module.get_context(context)
13:37:03 web.1 | File “/home/benchuser/erpnext/apps/frappe/fr appe/www/desk.py”, line 39, in get_context
13:37:03 web.1 | “build_version”: get_build_version(),
13:37:03 web.1 | File “/home/benchuser/erpnext/apps/frappe/fr appe/www/desk.py”, line 83, in get_build_version
13:37:03 web.1 | return str(os.path.getmtime(os.path.join(frappe. local.sites_path, ‘.build’)))
13:37:03 web.1 | File “/home/benchuser/erpnext/env/lib/python 2.7/genericpath.py”, line 62, in getmtime
13:37:03 web.1 | return os.stat(filename).st_mtime
13:37:03 web.1 | OSError: [Errno 2] No such file or directory: ‘./.bu ild’

This one is better…

Otherwise, I have created a similar post on my personal website which is here

ok thanks - I seem to get hung up on either the weird maria db mysql thing with unix_socket, or permission to the db, or else something in Nodejs perhaps being installed into a difficult directory perhaps in the wrong user account? After 4-5 manual attempts in Debian 9 it always loads a partial site and no startup wizard, but I can generally see the site itself, just stripped down like it cant access libraries. I dont get the startup wizard, but I do get the administration login, the menu on the left side, but many blank white pages and no options to add anything