langgenius / dify

Dify is an open-source LLM app development platform. Dify's intuitive interface combines AI workflow, RAG pipeline, agent capabilities, model management, observability features and more, letting you quickly go from prototype to production.
https://dify.ai
Other
45.3k stars 6.36k forks source link

how to modify the workspace name #7561

Open fzhou223 opened 3 weeks ago

fzhou223 commented 3 weeks ago

Self Checks

1. Is this request related to a challenge you're experiencing? Tell me about your story.

once I install the Dify using docker, and set up a user information. but I set a wrong workspace name, how to modify it?

or is it any way to reset the whole Dify, so that I can set it from begining.

2. Additional context or comments

No response

3. Can you help us with this feature?

dosubot[bot] commented 3 weeks ago

@fzhou223 Hello there! I'm here to help you with any bugs, questions, or contribute to the project. I'm a bot designed to assist you while you wait for a human maintainer.

I found a similar closed issue that addresses how to rename a workspace in Dify [1].

To modify the workspace name after setting it up with Docker, you need to update the tenants table in the database. Here are the steps:

  1. Access your database and locate the tenants table.
  2. Modify the workspace name directly in the tenants table. The column that holds the workspace name is name [2].

If you prefer to reset the whole Dify setup to start from the beginning, follow these steps:

  1. Stop and remove all running containers:

    docker compose down
  2. Remove the existing Docker volumes to delete all data:

    docker volume prune
  3. Pull the latest changes from the repository:

    git pull origin main
  4. Start the setup process again:

    docker compose up -d

Finally, access http://localhost/install to reconfigure Dify from the beginning [3][4].

To continue talking to Dosu, mention @dosu.

crazywoola commented 3 weeks ago

This feature is not supported yet. We plan to add this later.