Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

Reset password from nextcloud app

Scheduled Pinned Locked Moved Solved Nextcloud
9 Posts 5 Posters 426 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • andres.moyaA Offline
    andres.moyaA Offline
    andres.moya
    wrote on last edited by
    #1

    In my cloudron setup, at the login screen of the nextcloud app there is a "Forgot password" link. It would be useful for people that directly go to this app, without navigating first to the cloudron panel (a very common usage in my organization), and don't remember their Cloudron password.

    But currently this link navigates to https://my.site.org/api/v1/session/password/resetRequest.html, and this url does not exist and generates a 404 error.

    I have found that, in the file /app/code/config/config.php I can change the parameter lost_password_link to change the url to navigate to change password. I'd like to redirect to the reset password page of the Cloudron box, but I've found that this page has no url. If you go to https://my.site.org/login.html, there is a "Reset password" link, but it shows the form in the same page.

    Is there a way to navigate from outside the box directly to the reset password form? Thanks.

    nebulonN 1 Reply Last reply
    2
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    replied to andres.moya on last edited by
    #2

    @andres-moya as far as I can see, the package does not set this password reset url by default. Also you are right, that url is the old removed one and the login.html is the new and correct url.
    To jump directly to password reset, just append ?passwordReset.

    As an example the url then would be:

    https://my.example.com/login.html?passwordReset

    jdaviescoatesJ 1 Reply Last reply
    2
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to nebulon on last edited by
    #3

    @nebulon perhaps the Cloudron Nextcloud app have lost_password_link in /app/code/config/config.php pre-configured to be https://my.example.com/login.html?passwordReset ? (although I guess people using it without LDAP wouldn't want that).

    At the very least I think instructions for how to edit lost_password_link in /app/code/config/config.php to make it https://my.example.com/login.html?passwordReset ought to be added to the Cloudron Nextcloud docs at https://docs.cloudron.io/apps/nextcloud/

    Thanks!

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
  • nebulonN Offline
    nebulonN Offline
    nebulon Staff
    wrote on last edited by
    #4

    Yes I was thinking the same, however then I saw that this used to be the case actually and got removed with https://git.cloudron.io/cloudron/nextcloud-app/-/commit/b84aa70403aa8363bfedfb4088a4f62839e575ae @girish do you remember the reason?

    Also this is likely the root cause why @andres-moya sees the old url, most likely the app instance is quite old then.

    girishG 1 Reply Last reply
    1
  • girishG Offline
    girishG Offline
    girish Staff
    replied to nebulon on last edited by
    #5

    @nebulon Yes, the password reset link does not work without LDAP. Even with LDAP, it does not work for local users (since nextcloud allows multiple auth sources).

    andres.moyaA 1 Reply Last reply
    0
  • andres.moyaA Offline
    andres.moyaA Offline
    andres.moya
    replied to girish on last edited by
    #6

    @girish Thanks, it works now with ?passwordReset.

    For me the problem is solved. You are true, my nextcloud installation si some years old. Don't know why did you remove it, but yes, think that will be useful to talk about it in nextcloud app documentation.

    jdaviescoatesJ 1 Reply Last reply
    0
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    replied to andres.moya on last edited by
    #7

    @andres-moya said in Reset password from nextcloud app:

    Don't know why did you remove it,

    Cloudron have no access to your server so they can't remove anything.

    But perhaps you used to subscribe to Cloudron and now don't (and hence why your Nextcloud has not updated)?

    I use Cloudron with Gandi & Hetzner

    fbartelsF 1 Reply Last reply
    0
  • fbartelsF Offline
    fbartelsF Offline
    fbartels App Dev
    replied to jdaviescoates on last edited by
    #8

    @jdaviescoates I think you misunderstood. Its removed from the configuration for new app installations. But if you have installed the Nextcloud app before february 2020, then your app is still configured with the old link.

    Nothing was changed on an already installed app (seeing this thread I also manually updated the link to the new password reset).

    1 Reply Last reply
    3
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #9

    I added doc for this - https://docs.cloudron.io/apps/nextcloud/#password-reset-link

    1 Reply Last reply
    2

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.