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

Resetting password using command line fails

Scheduled Pinned Locked Moved Solved Miniflux
3 Posts 2 Posters 174 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.
  • 32463 Offline
    32463 Offline
    3246
    wrote on last edited by nebulon
    #1

    Trying to run 'miniflux -reset-password' from the commandline inside the app and getting this error:

    root@aa237b3e-8124-4b1b-8148-60d6d07ba20a:/app/code# ./miniflux -reset-password
    [INFO] The default value for DATABASE_URL is used
    [FATAL] Unable to connect to the database: dial tcp [::1]:5432: connect: connection refused
    

    Please help 😢

    Visit https://www.bebravernow.com for more

    girishG 1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to 3246 on last edited by
    #2

    @3246 I think setting that env first and then running the command would work.

    export DATABASE_URL="${CLOUDRON_POSTGRESQL_URL}?sslmode=disable"
    

    Then, run the reset command.

    32463 1 Reply Last reply
    1
  • 32463 Offline
    32463 Offline
    3246
    replied to girish on last edited by
    #3

    @girish thank you! That did the trick 🙂

    Visit https://www.bebravernow.com for more

    1 Reply Last reply
    0
  • nebulonN nebulon marked this topic as a question on
  • nebulonN nebulon has marked this topic as solved on

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