Hi Leute,
Bevor ich dieses Thema gepostet habe, habe ich in diesem Forum nach Themen mit demselben Problem gesucht. Ich habe das gleiche Problem gefunden, aber keine Lösungen.
Mein Problem:
Ich versuche, eine App auf ERPNext zu erstellen, aber jedes Mal erhalte ich den gleichen Bericht.
‘test_app’ created at /home/bench/frappe-bench/apps/test_app
INFO:bench.app:installing test_app
$ ./env/bin/pip install -q -U -e ./apps/test_app
WARNING: You are using pip version 20.2.2; however, version 20.2.3 is available.
You should consider upgrading via the ‘/home/bench/frappe-bench/env/bin/python3 -m pip install --upgrade pip’ command.
$ bench build --app test_app
yarn run v1.22.5
$ FRAPPE_ENV=production node rollup/build.js --app test_app
Production mode
Built js/moment-bundle.min.js
Built js/libs.min.js
Done in 0.85s.
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 11, in
load_entry_point(‘bench’, ‘console_scripts’, ‘bench’)()
File “/opt/bench/.local/lib/python3.8/site-packages/bench/cli.py”, line 41, in cli
bench_command()
File “/opt/bench/.local/lib/python3.8/site-packages/click/core.py”, line 764, in call
return self.main(*args, **kwargs)
File “/opt/bench/.local/lib/python3.8/site-packages/click/core.py”, line 717, in main
rv = self.invoke(ctx)
File “/opt/bench/.local/lib/python3.8/site-packages/click/core.py”, line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/opt/bench/.local/lib/python3.8/site-packages/click/core.py”, line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/opt/bench/.local/lib/python3.8/site-packages/click/core.py”, line 555, in invoke
return callback(*args, **kwargs)
File “/opt/bench/.local/lib/python3.8/site-packages/bench/commands/make.py”, line 69, in new_app
new_app(app_name)
File “/opt/bench/.local/lib/python3.8/site-packages/bench/app.py”, line 169, in new_app
install_app(app, bench_path=bench_path)
File “/opt/bench/.local/lib/python3.8/site-packages/bench/app.py”, line 190, in install_app
restart_supervisor_processes(bench_path=bench_path)
File “/opt/bench/.local/lib/python3.8/site-packages/bench/utils.py”, line 519, in restart_supervisor_processes
supervisor_status = subprocess.check_output([‘sudo’, ‘supervisorctl’, ‘status’], cwd=bench_path)
File “/usr/lib/python3.8/subprocess.py”, line 411, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File “/usr/lib/python3.8/subprocess.py”, line 512, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command ‘[‘sudo’, ‘supervisorctl’, ‘status’]’ returned non-zero exit status 3.
what I’ve already tried after the report:
Den Eintrag in der Textdatei apps.txt, die sich in \ sites befindet gelöscht
Das Verzeichnisses für die neue App (test_app) gelöscht
gab dem Benutzer Schreibberechtigungen für den Ordner “Apps”
und dann erneut versucht mit:
sudo bench --site [Seitenname] remove-from-installed-apps test_app
bench new-app test_app
hat sich leider nix geändert.
Weiß jemand da vielleicht weiter?
Beste Grüße