Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion docs/admin/resources/common-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,25 @@ This can pose a security risk in shared or multi-user environments. Make sure to

:::

Ensure you apply this to all relevant folders that are mounted into your containers. This will grant the Docker container the necessary permissions to access and write to these directories.
Ensure you apply this to all relevant folders that are mounted into your containers. This will grant the Docker container the necessary permissions to access and write to these directories.

---

### Change Admin-Passwort in .env file

If you set an admin password in the .env file during the initial setup of OpenCloud, you CANNOT simply change it in the file again.<br/>
There are two ways to change the password:

#### 1. Web UI
The admin can change the password in the web UI if the admin password is known.
If the password is unknown or the user does not want to make the change in the web UI, there is still the option via the terminal.

#### 2. Terminal
If the admin password has been forgotten or you want to make the change via the terminal, you must enter the following command in the terminal to reset the password:

**Example for Docker:**
```bash
sudo docker run -it --rm \ -v < opencloud-data-path>:/var/lib/opencloud \ -v <opencloud-config-path>:/etc/opencloud \ opencloudeu/opencloud:<opencloud-version> idm resetpassword
```

Once the command has been successfully executed in the terminal and the password has been reset, it can be reassigned in the .env file.