D-codE
GitHub on Aug 19, 2022
https://github.com/D-codE-Hub/Guide-to-Install-Frappe-ERPNext-in-Ubuntu-22.04-LTS
youtube 27.04.2022
https://www.youtube.com/watch?v=59Zu-S5QXn0
How can i check my mistake?
How can i remove ERPNext 14?
How can i get ERPNext 13?
Thank’s
jannis
Again, now:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 68, in init
init(
File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 105, in wrapper_fn
return fn(*args, **kwargs)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/system.py", line 65, in init
bench.setup.env(python=python)
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 361, in env
self.run(f"{venv} env", cwd=self.bench.name)
File "/usr/local/lib/python3.10/dist-packages/bench/bench.py", line 48, in run
return exec_cmd(cmd, cwd=cwd or self.cwd, _raise=_raise)
File "/usr/local/lib/python3.10/dist-packages/bench/utils/__init__.py", line 158, in exec_cmd
raise CommandFailedError
bench.exceptions.CommandFailedError
ERROR: There was a problem while creating frappe-bench
Do you want to rollback these changes? [y/N]:
etplace.css
✔ Built css-rtl/erpnext-web.css
✔ Built js/marketplace.min.js
✨ Done in 14.624s
Done in 15.77s.
WARN: restart failed: Couldn't find supervisorctl in PATH
jannis@ubu2204:~$
than
sudo apt-get -y install supervisor
Error
Done in 13.95s.
$ supervisorctl restart frappe:
error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
WARN: restarting supervisor failed. Use `bench restart` to retry.
zxz@ubu2204:~$
Browserslist: caniuse-lite is outdated. Please run:
npx browserslist@latest --update-db
Browserslist: caniuse-lite is outdated. Please run next command yarn upgrade caniuse-lite browserslist
Done in 13.99s
Done in 15.19s.
$ supervisorctl restart frappe:
error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560
WARN: restarting supervisor failed. Use `bench restart` to retry.
sudo apt install nginx
than
bench start
WARN: Command not being executed in bench directory
2023-01-12 12:32:08 [3148] [ERROR] Procfile does not exist or is not a file
jannis@ubu2204:~$ cd erpnext-bench_8
jannis@ubu2204:~/erpnext-bench_8$ bench start
12:32:30 system | redis_cache.1 started (pid=3156)
12:32:30 redis_cache.1 | 3158:C 12 Jan 2023 12:32:30.124 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:32:30 redis_cache.1 | 3158:C 12 Jan 2023 12:32:30.124 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=3158, just started
12:32:30 redis_cache.1 | 3158:C 12 Jan 2023 12:32:30.124 # Configuration loaded
12:32:30 redis_cache.1 | 3158:M 12 Jan 2023 12:32:30.125 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:32:30 redis_cache.1 | 3158:M 12 Jan 2023 12:32:30.126 * Running mode=standalone, port=13006.
12:32:30 redis_cache.1 | 3158:M 12 Jan 2023 12:32:30.126 # Server initialized
12:32:30 redis_cache.1 | 3158:M 12 Jan 2023 12:32:30.126 # 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.
12:32:30 redis_cache.1 | 3158:M 12 Jan 2023 12:32:30.126 * Ready to accept connections
12:32:30 system | redis_socketio.1 started (pid=3160)
12:32:30 redis_socketio.1 | 3170:C 12 Jan 2023 12:32:30.128 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:32:30 redis_socketio.1 | 3170:C 12 Jan 2023 12:32:30.128 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=3170, just started
12:32:30 redis_socketio.1 | 3170:C 12 Jan 2023 12:32:30.128 # Configuration loaded
12:32:30 system | web.1 started (pid=3165)
12:32:30 redis_socketio.1 | 3170:M 12 Jan 2023 12:32:30.130 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:32:30 redis_socketio.1 | 3170:M 12 Jan 2023 12:32:30.131 * Running mode=standalone, port=12006.
12:32:30 redis_socketio.1 | 3170:M 12 Jan 2023 12:32:30.132 # Server initialized
12:32:30 redis_socketio.1 | 3170:M 12 Jan 2023 12:32:30.132 # 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.
12:32:30 redis_socketio.1 | 3170:M 12 Jan 2023 12:32:30.132 * Ready to accept connections
12:32:30 system | worker.1 started (pid=3179)
12:32:30 system | socketio.1 started (pid=3178)
12:32:30 system | redis_queue.1 started (pid=3164)
12:32:30 redis_queue.1 | 3166:C 12 Jan 2023 12:32:30.132 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
12:32:30 redis_queue.1 | 3166:C 12 Jan 2023 12:32:30.132 # Redis version=6.0.16, bits=64, commit=00000000, modified=0, pid=3166, just started
12:32:30 redis_queue.1 | 3166:C 12 Jan 2023 12:32:30.132 # Configuration loaded
12:32:30 redis_queue.1 | 3166:M 12 Jan 2023 12:32:30.133 * Increased maximum number of open files to 10032 (it was originally set to 1024).
12:32:30 redis_queue.1 | 3166:M 12 Jan 2023 12:32:30.133 * Running mode=standalone, port=11006.
12:32:30 redis_queue.1 | 3166:M 12 Jan 2023 12:32:30.133 # Server initialized
12:32:30 redis_queue.1 | 3166:M 12 Jan 2023 12:32:30.134 # 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.
12:32:30 redis_queue.1 | 3166:M 12 Jan 2023 12:32:30.134 * Ready to accept connections
12:32:30 system | watch.1 started (pid=3189)
12:32:30 system | schedule.1 started (pid=3187)
12:32:30 socketio.1 | listening on *: 9006
12:32:30 schedule.1 | /home/jannis/erpnext-bench_8/apps/frappe/frappe/build.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
12:32:30 schedule.1 | from distutils.spawn import find_executable
12:32:30 watch.1 | /home/jannis/erpnext-bench_8/apps/frappe/frappe/build.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
12:32:30 watch.1 | from distutils.spawn import find_executable
12:32:31 web.1 | /home/jannis/erpnext-bench_8/apps/frappe/frappe/build.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
12:32:31 web.1 | from distutils.spawn import find_executable
12:32:31 watch.1 | yarn run v1.22.19
12:32:31 web.1 | * Running on http://0.0.0.0:8006/ (Press CTRL+C to quit)
12:32:31 web.1 | * Restarting with inotify reloader
12:32:31 watch.1 | $ node rollup/watch.js
12:32:31 web.1 | /home/jannis/erpnext-bench_8/apps/frappe/frappe/build.py:7: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives
12:32:31 web.1 | from distutils.spawn import find_executable
12:32:31 web.1 | * Debugger is active!
12:32:31 web.1 | * Debugger PIN: 228-095-862
12:32:31 web.1 | /home/jannis/erpnext-bench_8/env/lib/python3.10/site-packages/werkzeug/_reloader.py:335: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead
12:32:31 web.1 | t.setDaemon(True)
12:32:32 watch.1 |
12:32:32 watch.1 | Rollup Watcher Started
12:32:32 watch.1 |
12:32:32 watch.1 | Watching...
12:32:33 watch.1 | Browserslist: caniuse-lite is outdated. Please run:
12:32:33 watch.1 | npx browserslist@latest --update-db
12:32:34 watch.1 | Rebuilding frappe-web-b4.css
12:32:34 watch.1 | Rebuilding frappe-recorder.min.js
12:32:36 watch.1 | Rebuilding checkout.min.js
12:32:36 watch.1 | Rebuilding frappe-web.min.js
12:32:39 watch.1 | Rebuilding bootstrap-4-web.min.js
12:32:39 watch.1 | Rebuilding control.min.js
12:32:43 watch.1 | Rebuilding dialog.min.js
12:32:45 watch.1 | Rebuilding desk.min.css
12:32:46 watch.1 | Rebuilding printview.css
12:32:46 watch.1 | Rebuilding desk.min.js
12:32:52 watch.1 | Rebuilding form.min.js
12:32:57 watch.1 | Rebuilding list.min.js
12:32:57 watch.1 | Rebuilding report.min.css
12:32:57 watch.1 | Rebuilding report.min.js
12:32:59 watch.1 | Rebuilding web_form.min.js
12:32:59 watch.1 | Rebuilding web_form.css
12:32:59 watch.1 | Rebuilding email.css
12:32:59 watch.1 | Rebuilding barcode_scanner.min.js
12:33:00 watch.1 | Rebuilding user_profile_controller.min.js
12:33:00 watch.1 | Rebuilding login.css
12:33:00 watch.1 | Rebuilding data_import_tools.min.js
12:33:02 watch.1 | Rebuilding frappe-web-b4.css
12:33:03 watch.1 | Rebuilding desk.min.css
12:33:03 watch.1 | Rebuilding printview.css
12:33:03 watch.1 | Rebuilding report.min.css
12:33:03 watch.1 | Rebuilding web_form.css
12:33:03 watch.1 | Rebuilding email.css
12:33:03 watch.1 | Rebuilding login.css
12:33:04 watch.1 | Rebuilding erpnext.css
12:33:04 watch.1 | Rebuilding marketplace.css
12:33:04 watch.1 | Rebuilding erpnext-web.min.js
12:33:04 watch.1 | Rebuilding erpnext-web.css
12:33:04 watch.1 | Rebuilding marketplace.min.js
12:33:06 watch.1 | Rebuilding erpnext.min.js
12:33:07 watch.1 | Rebuilding item-dashboard.min.js
12:33:07 watch.1 | Rebuilding point-of-sale.min.js
12:33:07 watch.1 | Rebuilding bank-reconciliation-tool.min.js
12:33:07 watch.1 | Rebuilding e-commerce.min.js
12:33:07 watch.1 | Rebuilding hierarchy-chart.min.js
12:33:08 watch.1 | Rebuilding erpnext.css
12:33:08 watch.1 | Rebuilding marketplace.css
12:33:08 watch.1 | Rebuilding erpnext-web.css