rahy
May 26, 2021, 11:20am
8
I don’t know if this is related, but I run sudo systemctl status *
and get these:
Unit apps.service could not be found.
Unit archived_sites.service could not be found.
Unit config.service could not be found.
Unit env.service could not be found.
Unit logs.service could not be found.
Unit patches.txt.service could not be found.
Unit Procfile.service could not be found.
Unit sites.service could not be found.
I wonder how you have resolved this, as I’m facing the same problem.
rahy
January 12, 2022, 4:26pm
10
I forgot. But I think I enabled and started each services one by one manually with
sudo systemctl enable (or start) servicename
2 Likes
Imtiyaz
September 27, 2022, 2:03pm
11
@aymangabir Hi… how did you solved this error, I have the same error. Do you have any idea?
adam26d
December 5, 2022, 12:51pm
12
These commands helped me
bench setup socketio
bench setup supervisor
bench setup redis
sudo supervisorctl reload
18 Likes
I am also facing same issue.
tried these command but not working.
This worked for me too. Thanks
Are you still facing the issue?
lyf
August 28, 2023, 11:51am
17
I am also facing the same issue.
While doing bench restart getting bellow error.
ERROR: supervisorctl restart frappe-bench-workers: frappe-bench-web:
subprocess.CalledProcessError: Command 'supervisorctl restart frappe-bench-workers: frappe-bench-web:' returned non-zero exit status 7.
bench --site all list-apps
ModuleNotFoundError: No module named 'hospitality'
It has worked for me. Execute above all 4 commands inside erpnext installation directory with erpnext (user using which it has been setup) user.
14 Likes
Love you man! Thanks it worked for me
2 Likes
thanks a lot.worked for me also
1 Like
Hetvi
June 1, 2024, 6:23pm
23
It worked for me, thank you so much.
1 Like
what is the fix for this? I’m using a kvm from hostinger and I tried everything but still i have an error only when I run
bench restart
ERROR: supervisorctl restart frappe-bench-web:
subprocess.CalledProcessError: Command 'supervisorctl restart frappe-bench-web:' returned non-zero exit status 7.
@seif_khelifi [quote=“seif_khelifi, post:24, topic:75995”]
what is the fix for this?
[/quote]
Here’s the fix:
bench setup socketio
bench setup supervisor
bench setup redis
sudo supervisorctl reload
Worked, Thanks. Kindly mark this as solution.
rahy
September 2, 2024, 6:58am
27
Also seems related (if I’m not mistaken) is the RAM of the server. Needs at least 4MB