Here below are
- my VPS environmnet | 2. adjusted /etc/supervisor/supervisord.conf | 3. Error Message when running bench get-app payments
Hello All, i am new to this. any good suggestion to fix?
-
Environment
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
node 16.15.0
mariadb mariadb Ver 15.1 Distrib 10.6.12-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper
redis-server Redis server v=6.0.16 sha=00000000:0 malloc=jemalloc-5.2.1 bits=64 build=a3fdef44459b3ad6
bench 5.19.0 -
conf file
Blockquote
[unix_http_server]
file=/var/run/supervisor.sock ; (the path to the socket file)
chmod=0760 ; sockef file mode (default 0700)
chown=frappe:frappe
[supervisord]
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor ; (‘AUTO’ child log dir, default $TEMP)
; the below section must remain in the config file for RPC
; (supervisorctl/web interface) to work, additional interfaces may be
; added by defining them in separate rpcinterface: sections
[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
; The [include] section can just contain the “files” setting. This
; setting can list multiple files (separated by whitespace or
; newlines). It can also contain wildcards. The filenames are
; interpreted as relative to this file. Included files cannot
; include files themselves.
[include]
files = /etc/supervisor/conf.d/*.conf
Blockquote
- Error Message
Blockquote
frappe@srv452898:~/frappe-bench$ bench get-app payments
A directory for the application ‘payments’ already exists. Do you want to continue and overwrite it? [y/N]: y
INFO: App moved from apps/payments to archived/apps/payments-2023-12-24_4
Getting payments
$ git clone GitHub - frappe/payments: A payments app for frappe --branch develop --depth 1 --origin upstream
Cloning into ‘payments’…
remote: Enumerating objects: 109, done.
remote: Counting objects: 100% (109/109), done.
remote: Compressing objects: 100% (90/90), done.
remote: Total 109 (delta 19), reused 56 (delta 13), pack-reused 0
Receiving objects: 100% (109/109), 60.90 KiB | 1.35 MiB/s, done.
Resolving deltas: 100% (19/19), done.
Ignoring dependencies of payments. To install dependencies use --resolve-deps
Installing payments
$ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/payments
$ bench build --app payments
Application Assets Linked
yarn run v1.22.21
$ node esbuild --production --apps payments --run-build-command
File Size
DONE Total Build Time: 866.151ms
clean: postcss.plugin was deprecated. Migration guide:
clean: postcss.plugin was deprecated. Migration guide:
Done in 1.49s.
$ supervisorctl restart frappe:
frappe: ERROR (no such group)
frappe: ERROR (no such group)
WARN: restarting supervisor failed. Use bench restart
to retry.
Blockquote