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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Solved Resetting password using command line fails

    Miniflux
    2
    3
    155
    Loading More Posts
    • 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.
    • 3246
      3246 last edited by nebulon

      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

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @3246 last edited by

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

        3246 1 Reply Last reply Reply Quote 1
        • 3246
          3246 @girish last edited by

          @girish thank you! That did the trick 🙂

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

          1 Reply Last reply Reply Quote 0
          • Topic has been marked as a question  nebulon nebulon 
          • Topic has been marked as solved  nebulon nebulon 
          • First post
            Last post
          Powered by NodeBB