Error installing woocommerceconnector app on Ubuntu 22.04 (problem with supervisorctl restart frappe)

Hi guys,

I just installed V13 on a clean VM Ubuntu 22.04 following this tutorial in production mode.

Now I am trying to install woocommerceconnector

When running this:

bench get-app https://github.com/libracore/woocommerceconnector.git

I get the following error:

error: <class 'PermissionError'>, [Errno 13] Permission denied: file: /usr/lib/python3/dist-packages/supervisor/xmlrpc.py line: 560

I see that the last command executed is:

$ supervisorctl restart frappe:

If I try to run the same command as the user “frappe”, I get the same error.
I can read that file as the user “frappe” so I don’t understand where this problem is coming from.

sudo su - frappe
cd frappe
sudo service supervisor stop
sudo service nginx stop
bench start

OPEN NEW SESSION

sudo su - frappe
cd frappe

bench get-app chat
make sure bench is runing in other terminal

bench get-app https://github.com/libracore/woocommerceconnector.git
make sure bench is runing in other terminal

bench --site site1.local install-app chat
make sure bench is runing in other terminal

bench --site site1.local install-app woocommerceconnector
make sure bench is runing in other terminal

bench use site1.local
bench migrate
sudo service supervisor start
sudo service nginx start
bench --site site1.local clear-website-cache

===============================
chat app just a refference if you dont want. dont install chat. go through only with woocommerce only.
if you wnat to install any other app. just go through the whole setup again.