Skip to content

bench setup production <user> doesn't create symlink for supervisor.conf #1613

@Mutantpenguin

Description

@Mutantpenguin

Issue: Bug report

Do the checklist before filing an issue:

  • Can you replicate the issue on the supported bench versions?
  • Is this something you can debug and fix? Send a pull request! Bug fixes and documentation fixes are welcome

Describe the bug 📉
When running bench setup production <user>, the symlink for supervisor.conf doesn't get created. Running it a second time creates the symlink.

I mean this symlink, as described in the documentation:

To Reproduce 📃
Steps to reproduce the behavior:

  1. install a bench
  2. run sudo bench setup production <user>
  3. directory /etc/supervisor/conf.d/ is empty
  4. run it again
  5. symlink got created

Expected behavior 📈
I expect the symlink to be created on the first run.

OS (please complete the following information): 🌀

  • Linux: Ubuntu 24.04.1
  • macOS: version
  • Windows version
  • Others? haros:distro:version

Version Information

Can be found out by running bench version in your respective bench folder.

  • Bench Branch: 5.23.0
  • Frappe Version: 15.51.1
  • ERPNext Version: not installed

Additional context 📄
Yeah I know I can do this by hand, but the documentation states that this command automates the manual steps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions