-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Describe the bug
when creating a new site we get the following error:
fm create devsite --apps erpnext --environment dev
⛔ Error Occured: merchant.localhost : Failed to configure supervisor.
╭ Error command output
│ ERROR: [Errno 13] Permission denied: './config/supervisor.conf'
│ Traceback (most recent call last):
│ File "/opt/.pyenv/versions/3.12.0/bin/bench", line 8, in <module>
│ sys.exit(cli())
│ ^^^^^
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/bench/cli.p
│ bench_command()
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/click/core.
│ return self.main(*args, **kwargs)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/click/core.
│ rv = self.invoke(ctx)
│ ^^^^^^^^^^^^^^^^
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/click/core.
│ return _process_result(sub_ctx.command.invoke(sub_ctx))
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/click/core.
│ return _process_result(sub_ctx.command.invoke(sub_ctx))
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/click/core.
│ return ctx.invoke(self.callback, **ctx.params)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/click/core.
│ return callback(*args, **kwargs)
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/bench/comma
│ generate_supervisor_config(bench_path=".", user=user, yes=yes, skip_redi
│ File "/opt/.pyenv/versions/3.12.0/lib/python3.12/site-packages/bench/confi
│ with open(conf_path, "w") as f:
│ ^^^^^^^^^^^^^^^^^^^^
│ PermissionError: [Errno 13] Permission denied: './config/supervisor.conf'
note that we are using Linux Fedora 41
Metadata
Metadata
Assignees
Labels
No labels