Error while installing frappe "bench init frappe-bench --frappe-branch version-15"

Hi,

May we know the operating environment , including memory and disk space available?

It may also help to say which instructions were followed to install Frappe.

Refer this Check this. i hope it will solve

Hello guys,
i have solved the disk space problem but now i am getting below error when run bench restart commad

See if this is helpful:

Bench restart - error sub process - #8 by Ramki_Marichamy

Hello @smino,

I have done the command bench build but still same error on the bench restart` command

Can you provide the last few commands you ran?

cd /home/frappe/frappe-bench

bench setup socketio
bench setup supervisor
bench setup redis
sudo supervisorctl reload

bench build

This done also

  • Manually created a file at /etc/supervisor/conf.d/ using sudo nano /etc/supervisor/conf.d/frappe-bench.conf
  • Manually copied the contents of frappe-bench/config/supervisor.conf into /etc/supervisor/conf.d/frappe-bench.conf
  • The do sudo service supervisor restart to restart supervisor will all the required processes of frappe

Again, where is this hosted, how was it installed and how much RAM ?

@smino

What does supervisorctl status return?

@smino nothing return

image

Seee what journalctl -u supervisor.service --since 00:00 (or some other time value) reports

the output of : id to see what groups , and sudo apt install -s supervisor redis-server to make sure they are installed.

Review the installation procedure and make sure the system requirements have been met , karani’s page might be helpful.

@smino all things are updated as mentioned in karani’s page

sudo systemctl status redis

sudo systemctl status supervisor

ubuntu version
image

Python version
image

pip version
image

mariadb version

Node.js version
image

yarn version
image

Here’s some output from a working Ubuntu 22/python3.10 instance, note the id output and the commands are run without sudo.

https://dpaste.org/860QU

Do bench setup requirements/redis/supervisor (no sudo) all complete without errors?

@smino not understand what are you talking about?

In the terminal type: id , and compare the groups to the ones in the id output in the dpaste.

Are you able to run systemctl commands without sudo?

Do bench setup requirements, bench setup redis and bench setup supervisor all complete without errors?

@smino
bench setup requirements
bench setup redis
bench setup supervisor

These commands ran successfully without sudo and errors.

If the bench restart command returns the same error, it suggests a permissions problem. I don’t know what instructions were followed to install , and I’m not sure Ubuntu 24/python12 are supported officially. There are other posts in the forum relating to those platforms. For example: Can I install ERPNext v15 on ubuntu 24?

If I can think of anything else to try I’ll post it here.