# Nextcloud passwords

**URL:** <https://community.umbrel.com/t/nextcloud-passwords/19187>\
**Category:** Support and Troubleshooting\
**Created:** [September 13, 2024, 6:58pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187 "2024-09-13T18:58:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielbcvv](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@danielbcvv](https://community.umbrel.com/u/danielbcvv)\
**Post date:** [September 13, 2024, 6:58pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187/1 "2024-09-13T18:58:31Z")

</div>

I’m having trouble with the Nextcloud passwords app. Does anyone know how I can get it to work properly? I managed to fix the client’s HTTPS, but the issue persists, and I couldn’t find much material on how to resolve it. I’m somewhat inexperienced, so I did find some documentation, but I was unable to understand what needs to be done.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/5/57c0206da41164eb9ed43395c5ef36e5ed4957de.png)

---

<div class="post-metadata">

**Author:** ![denny](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/denny/32/6330_2.png) [@denny](https://community.umbrel.com/u/denny)\
**Post date:** [September 13, 2024, 7:51pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187/2 "2024-09-13T19:51:49Z")

</div>

Your screenshot shows that the Nextcloud setup is facing an HTTPS detection issue. The HTTPS Setup Report indicates the following discrepancies:

1. **Nextcloud reported protocol** :

- **Actual** : HTTP
- **Expected** : HTTPS

1. **Client reported protocol** :

- **Actual** : HTTPS (This is correct).

1. **Nextcloud Proxy Settings** (overwriteprotocol, overwritecondaddr, trusted\_proxies):

- **Not set** : These fields are not set in your Nextcloud configuration, but they are crucial for configuring reverse proxies correctly.

**Solution:**

You need to configure the proxy settings in Nextcloud’s `config.php` to properly handle the HTTPS connections behind the proxy. Here’s how you can resolve this:

1. **Set `overwriteprotocol` to HTTPS** : This ensures that Nextcloud knows it is behind a proxy and should use HTTPS for internal links.
2. **Set `trusted_proxies`** : Add your proxy server’s IP “ **10.21.0.0.6** ” to the list of trusted proxies to let Nextcloud know it’s safe to trust the proxy.
3. **Configure `overwritecondaddr`** : This tells Nextcloud when to apply the overwrite settings based on the remote address (useful for proxies). You should set this to “**^10\.21\.0\.[0-9]+$**”
4. **Restart your Umbrel** : After updating the `config.php`, restart your Umbrel to apply the changes.

Do you use a Cloudflare tunnel for https?

---

<div class="post-metadata">

**Author:** ![danielbcvv](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@danielbcvv](https://community.umbrel.com/u/danielbcvv)\
**Post date:** [September 13, 2024, 7:56pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187/3 "2024-09-13T19:56:33Z")

</div>

Yes, I use the Cloudflare tunnel. Send the rest of the screenshot that didn’t appear because it didn’t fit. I’ll test what you sent me.

 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/d/d2fc9c5bfacd8931f08273850d98e6cf6b45979d.png)

---

<div class="post-metadata">

**Author:** ![denny](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/denny/32/6330_2.png) [@denny](https://community.umbrel.com/u/denny)\
**Post date:** [September 13, 2024, 8:03pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187/4 "2024-09-13T20:03:37Z")

</div>

Try the configuration I sent you. You can access the `config.php` in the terminal with the command:

```auto
sudo nano ./umbrel/app-data/nextcloud/data/nextcloud/config/config.php

```

---

<div class="post-metadata">

**Author:** ![danielbcvv](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@danielbcvv](https://community.umbrel.com/u/danielbcvv)\
**Post date:** [September 13, 2024, 8:10pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187/5 "2024-09-13T20:10:06Z")

</div>

I actually found the second configuration in this file, but not the others.  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/a/a1ccd0a452a233b88f330995cf37198fabd12cd1.png)

---

<div class="post-metadata">

**Author:** ![danielbcvv](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@danielbcvv](https://community.umbrel.com/u/danielbcvv)\
**Post date:** [September 13, 2024, 8:15pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187/6 "2024-09-13T20:15:15Z")

</div>

I added it.  
 ![image](https://canada1.discourse-cdn.com/flex030/uploads/getumbrel/original/2X/4/4e0f6a913c95bf226fd3c723ad9725fc7a83c666.png)

---

<div class="post-metadata">

**Author:** ![danielbcvv](https://avatars.discourse-cdn.com/v4/letter/d/51bf81/32.png) [@danielbcvv](https://community.umbrel.com/u/danielbcvv)\
**Post date:** [September 13, 2024, 8:16pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187/7 "2024-09-13T20:16:29Z")

</div>

It worked, thank you very much, my friend!

---

<div class="post-metadata">

**Author:** ![denny](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.umbrel.com/denny/32/6330_2.png) [@denny](https://community.umbrel.com/u/denny)\
**Post date:** [September 13, 2024, 8:31pm UTC](https://community.umbrel.com/t/nextcloud-passwords/19187/8 "2024-09-13T20:31:47Z")

</div>

I’m glad I could help you! 🕶
