Skip to content

Failed when I create the second site on vps #318

@whitecatpro

Description

@whitecatpro

This issue tracker is only for issues related to Frappe-Manager. Please use https://github.com/rtcamp/frappe-manager/discussions for support questions.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Run command
    **fm create demo.xhuman.vn \

--apps erpnext:version-15
--environment dev**

  1. See error
    **"⚡ Created all required directories.
    ⚡ Started bench services.
    ⚡ Configured common_site_config.json
    ⚡ Configured frappe server
    ⚡ Configured supervisor configs
    ⚡ Configured frappe app's branch -> version-15
    ⚡ global-db is available after 0 seconds
    ⚡ redis-cache is available after 0 seconds
    ⚡ redis-queue is available after 0 seconds
    ⚡ Removed prebaked app hrms
    ⚡ Skipped installation of prebaked app erpnext -> version-15.
    ⛔ Error Occured: demo.xhuman.vn : Failed to create site demo.xhuman.vn.
    ╭ Error command output
    │ Usage: bench new-site [OPTIONS] SITE
    │ Try 'bench new-site --help' for help.

    │ Error: Missing argument 'SITE'.
    │ /bin/bash: line 2: --db-name: command not found

⛔ There has been some error creating/starting the bench.
🔍 Please check the logs at /home/frappe/frappe/logs/fm.log
🤔 Do you want to remove 'demo.xhuman.vn' [yes/no]: yes
"**
Expected behavior
A clear and concise description of what you expected to happen.

System information (please complete the following information):

  • [18 ] fm --version
  • [No LSB modules are available. ] lsb_release -a
  • [ 28.5.1] docker version
  • [ v2.40.3] docker-compose version or docker compose version

Attach log
Please attach logs from ~/frappe/logs/fm.log for faster resolution.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions