how to modify the workspace name #5181

Closed
opened 2026-02-21 18:09:46 -05:00 by yindo · 2 comments
Owner

Originally created by @fzhou223 on GitHub (Aug 22, 2024).

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

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?

  • I am interested in contributing to this feature.
Originally created by @fzhou223 on GitHub (Aug 22, 2024). ### Self Checks - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [X] Please do not modify this template :) and fill in all the required fields. ### 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? - [X] I am interested in contributing to this feature.
yindo added the 💪 enhancement🙋‍♂️ question labels 2026-02-21 18:09:46 -05:00
yindo closed this issue 2026-02-21 18:09:46 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Aug 22, 2024):

@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.

@dosubot[bot] commented on GitHub (Aug 22, 2024): <!-- Greeting --> @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. <!-- Answer --> I found a similar closed issue that addresses how to rename a workspace in Dify <sup>[[1]](https://github.com/langgenius/dify/issues/3943)</sup>. 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` <sup>[[2]](https://github.com/langgenius/dify/blob/main/api/migrations/versions/64b051264f32_init.py)</sup>. If you prefer to reset the whole Dify setup to start from the beginning, follow these steps: 1. Stop and remove all running containers: ```bash docker compose down ``` 2. Remove the existing Docker volumes to delete all data: ```bash docker volume prune ``` 3. Pull the latest changes from the repository: ```bash git pull origin main ``` 4. Start the setup process again: ```bash docker compose up -d ``` Finally, access [http://localhost/install](http://localhost/install) to reconfigure Dify from the beginning <sup>[[3]](https://github.com/langgenius/dify-docs/blob/main/en/getting-started/install-self-hosted/docker-compose.md)</sup><sup>[[4]](https://github.com/langgenius/dify-docs/blob/main/en/getting-started/install-self-hosted/install-faq.md)</sup>. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
Author
Owner

@crazywoola commented on GitHub (Aug 22, 2024):

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

@crazywoola commented on GitHub (Aug 22, 2024): This feature is not supported yet. We plan to add this later.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#5181