So I tried to create a new app then I tried to fix it by following some instructions on the forum which you can see in the terminal text below.
frappe-user@ali-Inspiron-5570:~/frappe-bench$ bench new-app idea_management
App Title [Idea Management]:
App Description: Idea Management System
App Publisher: Ali Hassan
App Email: ali.hassan@labsystems.sa
App License [MIT]:
Create GitHub Workflow action for unittests [y/N]: N
'idea_management' created at /home/frappe-user/frappe-bench/apps/idea_management
Installing idea_management
$ /home/frappe-user/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe-user/frappe-bench/apps/idea_management
$ bench build --app idea_management
Linking /home/frappe-user/frappe-bench/apps/frappe/frappe/public to ./assets/frappe Linking /home/frappe-user/frappe-bench/apps/frappe/node_modules to ./assets/frappe/node_modules Linking /home/frappe-user/frappe-bench/apps/erpnext/erpnext/public to ./assets/erpnext Linking /home/frappe-user/frappe-bench/apps/erpnext/node_modules to ./assets/erpnext/node_modules Linking /home/frappe-user/frappe-bench/apps/payments/payments/public to ./assets/payments Linking /home/frappe-user/frappe-bench/apps/idea_management/idea_management/public to ./assets/idea_management Linking /home/frappe-user/frappe-bench/apps/ecommerce_integrations/ecommerce_integrations/public to ./assets/ecommerce_integrations ✔ Application Assets Linked
yarn run v1.22.19
$ node esbuild --production --apps idea_management --run-build-command
File Size
DONE Total Build Time: 433.922ms
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
Done in 0.91s.
$ supervisorctl restart frappe:
error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
ERROR:
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/cli.py", line 127, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 181, in new_app
new_app(app_name, no_git)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 541, in new_app
install_app(app, bench_path=bench_path)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 589, in install_app
bench.reload()
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 151, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 304, in restart_supervisor_processes
bench.run(f"{sudo}supervisorctl restart {group}")
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 155, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
frappe-user@ali-Inspiron-5570:~/frappe-bench$ bench new-app idea_management
App Title [Idea Management]:
App Description:
App Description: Idea Management System
App Publisher: Ali Hassan
App Email: ali.hassan@labsystems.sa
App License [MIT]:
Create GitHub Workflow action for unittests [y/N]: N
'idea_management' created at /home/frappe-user/frappe-bench/apps/idea_management
Installing idea_management
$ /home/frappe-user/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe-user/frappe-bench/apps/idea_management
$ bench build --app idea_management
Linking /home/frappe-user/frappe-bench/apps/frappe/frappe/public to ./assets/frappe Linking /home/frappe-user/frappe-bench/apps/frappe/node_modules to ./assets/frappe/node_modules Linking /home/frappe-user/frappe-bench/apps/erpnext/erpnext/public to ./assets/erpnext Linking /home/frappe-user/frappe-bench/apps/erpnext/node_modules to ./assets/erpnext/node_modules Linking /home/frappe-user/frappe-bench/apps/payments/payments/public to ./assets/payments Linking /home/frappe-user/frappe-bench/apps/idea_management/idea_management/public to ./assets/idea_management Linking /home/frappe-user/frappe-bench/apps/ecommerce_integrations/ecommerce_integrations/public to ./assets/ecommerce_integrations ✔ Application Assets Linked
yarn run v1.22.19
$ node esbuild --production --apps idea_management --run-build-command
File Size
DONE Total Build Time: 363.887ms
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
Done in 0.75s.
$ supervisorctl restart frappe:
error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
ERROR:
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/cli.py", line 127, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 181, in new_app
new_app(app_name, no_git)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 541, in new_app
install_app(app, bench_path=bench_path)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 589, in install_app
bench.reload()
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 151, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 304, in restart_supervisor_processes
bench.run(f"{sudo}supervisorctl restart {group}")
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 155, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
frappe-user@ali-Inspiron-5570:~/frappe-bench$ bench find .
/home/frappe-user/frappe-bench is a bench directory!
frappe-user@ali-Inspiron-5570:~/frappe-bench$ chmod -R o+rx /home/frappe-user/frappe-bench
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/redis-queue.error.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/redis-cache.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/redis-queue.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/redis-socketio.error.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/node-socketio.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/web.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/redis-socketio.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/worker.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/web.error.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/redis-cache.error.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/node-socketio.error.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/schedule.error.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/worker.error.log': Operation not permitted
chmod: changing permissions of '/home/frappe-user/frappe-bench/logs/schedule.log': Operation not permitted
frappe-user@ali-Inspiron-5570:~/frappe-bench$ sudo chmod -R o+rx /home/frappe-user/frappe-bench
[sudo] password for frappe-user:
frappe-user@ali-Inspiron-5570:~/frappe-bench$ sudo nano /etc/supervisor/supervisord.conf
frappe-user@ali-Inspiron-5570:~/frappe-bench$ bench new-app idea_management
App Title [Idea Management]:
App Description: Idea Management System
App Publisher: Ali Hassan
App Email: ali.hassan@labsystems.sa
App License [MIT]:
Create GitHub Workflow action for unittests [y/N]: N
'idea_management' created at /home/frappe-user/frappe-bench/apps/idea_management
Installing idea_management
$ /home/frappe-user/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe-user/frappe-bench/apps/idea_management
$ bench build --app idea_management
✔ Application Assets Linked
yarn run v1.22.19
$ node esbuild --production --apps idea_management --run-build-command
File Size
DONE Total Build Time: 358.986ms
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
Done in 0.75s.
$ supervisorctl restart frappe:
error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
ERROR:
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/cli.py", line 127, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 181, in new_app
new_app(app_name, no_git)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 541, in new_app
install_app(app, bench_path=bench_path)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 589, in install_app
bench.reload()
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 151, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 304, in restart_supervisor_processes
bench.run(f"{sudo}supervisorctl restart {group}")
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 155, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
frappe-user@ali-Inspiron-5570:~/frappe-bench$ sudo bench new-app idea_management
App Title [Idea Management]:
App Description: Idea Management System
App Publisher: Ali Hassan
App Email: ali.hassan@labsystems.sa
App License [MIT]:
Create GitHub Workflow action for unittests [y/N]: N
'idea_management' created at /home/frappe-user/frappe-bench/apps/idea_management
Installing idea_management
$ /home/frappe-user/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe-user/frappe-bench/apps/idea_management
$ bench build --app idea_management
✔ Application Assets Linked
⚠️ Please update your node version to 14
yarn run v1.22.19
error frappe-framework@: The engine "node" is incompatible with this module. Expected version ">=14". Got "12.22.9"
error Commands cannot run with an incompatible environment.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 109, in <module>
main()
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/frappe-user/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/home/frappe-user/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/home/frappe-user/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/frappe-user/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/frappe-user/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/frappe-user/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/commands/utils.py", line 82, in build
bundle(mode, apps=apps, hard_link=hard_link, verbose=verbose, skip_frappe=skip_frappe)
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/build.py", line 257, in bundle
frappe.commands.popen(command, cwd=frappe_app_path, env=get_node_env(), raise_err=True)
File "/home/frappe-user/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 98, in popen
raise subprocess.CalledProcessError(return_, command)
subprocess.CalledProcessError: Command 'yarn run production --apps idea_management --run-build-command' returned non-zero exit status 1.
ERROR:
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/cli.py", line 127, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 181, in new_app
new_app(app_name, no_git)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 541, in new_app
install_app(app, bench_path=bench_path)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 586, in install_app
build_assets(bench_path=bench_path, app=app)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 330, in build_assets
exec_cmd(command, cwd=bench_path, env={"BENCH_DEVELOPER": "1"})
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 155, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
frappe-user@ali-Inspiron-5570:~/frappe-bench$ ls
apps config env logs patches.txt Procfile sites
frappe-user@ali-Inspiron-5570:~/frappe-bench$ cd apps/
frappe-user@ali-Inspiron-5570:~/frappe-bench/apps$ ls
ecommerce_integrations erpnext frappe hrms idea_management payments
frappe-user@ali-Inspiron-5570:~/frappe-bench/apps$ sudo -A systemctl restart supervisor
frappe-user@ali-Inspiron-5570:~/frappe-bench/apps$ bench new-app idea_management
App Title [Idea Management]:
App Description: Idea Management System
App Publisher: Ali Hassan
App Email: ali.hassan@labsystems.sa
App License [MIT]:
Create GitHub Workflow action for unittests [y/N]: N
'idea_management' created at /home/frappe-user/frappe-bench/apps/idea_management
Installing idea_management
$ /home/frappe-user/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe-user/frappe-bench/apps/idea_management
$ bench build --app idea_management
Linking /home/frappe-user/frappe-bench/apps/frappe/frappe/public to ./assets/frappe Linking /home/frappe-user/frappe-bench/apps/frappe/node_modules to ./assets/frappe/node_modules Linking /home/frappe-user/frappe-bench/apps/erpnext/erpnext/public to ./assets/erpnext Linking /home/frappe-user/frappe-bench/apps/erpnext/node_modules to ./assets/erpnext/node_modules Linking /home/frappe-user/frappe-bench/apps/payments/payments/public to ./assets/payments Linking /home/frappe-user/frappe-bench/apps/idea_management/idea_management/public to ./assets/idea_management Linking /home/frappe-user/frappe-bench/apps/ecommerce_integrations/ecommerce_integrations/public to ./assets/ecommerce_integrations ✔ Application Assets Linked
yarn run v1.22.19
$ node esbuild --production --apps idea_management --run-build-command
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
File Size
DONE Total Build Time: 367.425ms
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
Done in 3.81s.
$ supervisorctl restart frappe:
unix:///var/run/supervisor.sock no such file
ERROR:
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/cli.py", line 127, in cli
bench_command()
File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 181, in new_app
new_app(app_name, no_git)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 541, in new_app
install_app(app, bench_path=bench_path)
File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 589, in install_app
bench.reload()
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 151, in reload
restart_supervisor_processes(bench_path=self.name, web_workers=web)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 304, in restart_supervisor_processes
bench.run(f"{sudo}supervisorctl restart {group}")
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 155, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
frappe-user@ali-Inspiron-5570:~/frappe-bench/apps$ ls
ecommerce_integrations erpnext frappe hrms idea_management payments
frappe-user@ali-Inspiron-5570:~/frappe-bench/apps$ cd ..
frappe-user@ali-Inspiron-5570:~/frappe-bench$ ls
apps config env logs patches.txt Procfile sites
frappe-user@ali-Inspiron-5570:~/frappe-bench$ bench start
14:07:17 system | redis_cache.1 started (pid=104738)
14:07:17 system | redis_socketio.1 started (pid=104741)
14:07:17 system | redis_queue.1 started (pid=104746)
14:07:17 system | web.1 started (pid=104749)
14:07:17 system | socketio.1 started (pid=104753)
14:07:17 system | worker_short.1 started (pid=104760)
14:07:17 worker_short.1 | /bin/sh: 1: cannot create logs/worker.log: Permission denied
14:07:17 system | worker_short.1 stopped (rc=2)
14:07:17 redis_socketio.1 | 104745:C 01 Nov 2022 14:07:17.577 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14:07:17 redis_cache.1 | 104742:C 01 Nov 2022 14:07:17.577 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14:07:17 redis_socketio.1 | 104745:C 01 Nov 2022 14:07:17.577 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=104745, just started
14:07:17 redis_cache.1 | 104742:C 01 Nov 2022 14:07:17.577 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=104742, just started
14:07:17 redis_socketio.1 | 104745:C 01 Nov 2022 14:07:17.577 # Configuration loaded
14:07:17 redis_cache.1 | 104742:C 01 Nov 2022 14:07:17.577 # Configuration loaded
14:07:17 redis_socketio.1 | 104745:M 01 Nov 2022 14:07:17.578 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:07:17 redis_cache.1 | 104742:M 01 Nov 2022 14:07:17.577 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:07:17 redis_socketio.1 | 104745:M 01 Nov 2022 14:07:17.578 * Running mode=standalone, port=12000.
14:07:17 redis_socketio.1 | 104745:M 01 Nov 2022 14:07:17.578 # Server initialized
14:07:17 redis_socketio.1 | 104745:M 01 Nov 2022 14:07:17.578 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
14:07:17 redis_socketio.1 | 104745:M 01 Nov 2022 14:07:17.578 * Ready to accept connections
14:07:17 redis_cache.1 | 104742:M 01 Nov 2022 14:07:17.578 * Running mode=standalone, port=13000.
14:07:17 redis_cache.1 | 104742:M 01 Nov 2022 14:07:17.578 # Server initialized
14:07:17 redis_cache.1 | 104742:M 01 Nov 2022 14:07:17.578 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
14:07:17 redis_cache.1 | 104742:M 01 Nov 2022 14:07:17.578 * Ready to accept connections
14:07:17 redis_queue.1 | 104748:C 01 Nov 2022 14:07:17.578 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
14:07:17 system | worker_long.1 started (pid=104772)
14:07:17 redis_queue.1 | 104748:C 01 Nov 2022 14:07:17.578 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=104748, just started
14:07:17 worker_long.1 | /bin/sh: 1: cannot create logs/worker.log: Permission denied
14:07:17 redis_queue.1 | 104748:C 01 Nov 2022 14:07:17.578 # Configuration loaded
14:07:17 redis_queue.1 | 104748:M 01 Nov 2022 14:07:17.578 * Increased maximum number of open files to 10032 (it was originally set to 1024).
14:07:17 redis_queue.1 | 104748:M 01 Nov 2022 14:07:17.579 * Running mode=standalone, port=11000.
14:07:17 redis_queue.1 | 104748:M 01 Nov 2022 14:07:17.579 # Server initialized
14:07:17 redis_queue.1 | 104748:M 01 Nov 2022 14:07:17.579 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
14:07:17 redis_queue.1 | 104748:M 01 Nov 2022 14:07:17.579 * Ready to accept connections
14:07:17 system | worker_long.1 stopped (rc=2)
14:07:17 system | schedule.1 started (pid=104759)
14:07:17 system | watch.1 started (pid=104764)
14:07:17 system | worker_default.1 started (pid=104786)
14:07:17 system | sending SIGTERM to redis_cache.1 (pid 104738)
14:07:17 system | sending SIGTERM to redis_socketio.1 (pid 104741)
14:07:17 system | sending SIGTERM to redis_queue.1 (pid 104746)
14:07:17 system | sending SIGTERM to web.1 (pid 104749)
14:07:17 system | sending SIGTERM to socketio.1 (pid 104753)
14:07:17 system | sending SIGTERM to watch.1 (pid 104764)
14:07:17 system | sending SIGTERM to schedule.1 (pid 104759)
14:07:17 system | sending SIGTERM to worker_default.1 (pid 104786)
14:07:17 worker_default.1 | /bin/sh: 1: cannot create logs/worker.log: Permission denied
14:07:17 system | worker_default.1 stopped (rc=2)
14:07:17 redis_cache.1 | 104742:signal-handler (1667308037) Received SIGTERM scheduling shutdown...
14:07:17 redis_queue.1 | 104748:signal-handler (1667308037) Received SIGTERM scheduling shutdown...
14:07:17 redis_socketio.1 | 104745:signal-handler (1667308037) Received SIGTERM scheduling shutdown...
14:07:17 system | watch.1 stopped (rc=-15)
14:07:17 system | web.1 stopped (rc=-15)
14:07:17 system | schedule.1 stopped (rc=-15)
14:07:17 system | socketio.1 stopped (rc=-15)
14:07:17 redis_queue.1 | 104748:M 01 Nov 2022 14:07:17.680 # User requested shutdown...
14:07:17 redis_queue.1 | 104748:M 01 Nov 2022 14:07:17.680 * Removing the pid file.
14:07:17 redis_queue.1 | 104748:M 01 Nov 2022 14:07:17.680 # Redis is now ready to exit, bye bye...
14:07:17 redis_cache.1 | 104742:M 01 Nov 2022 14:07:17.680 # User requested shutdown...
14:07:17 redis_socketio.1 | 104745:M 01 Nov 2022 14:07:17.680 # User requested shutdown...
14:07:17 redis_socketio.1 | 104745:M 01 Nov 2022 14:07:17.681 * Removing the pid file.
14:07:17 redis_socketio.1 | 104745:M 01 Nov 2022 14:07:17.681 # Redis is now ready to exit, bye bye...
14:07:17 redis_cache.1 | 104742:M 01 Nov 2022 14:07:17.681 * Removing the pid file.
14:07:17 redis_cache.1 | 104742:M 01 Nov 2022 14:07:17.681 # Redis is now ready to exit, bye bye...
14:07:17 system | redis_queue.1 stopped (rc=-15)
14:07:17 system | redis_socketio.1 stopped (rc=-15)
14:07:17 system | redis_cache.1 stopped (rc=-15)
frappe-user@ali-Inspiron-5570:~/frappe-bench$
And now I get the following 404 in my browser:
Please guide