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

    Unsolved Extend duration of token?

    Wallabag
    4
    7
    68
    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.
    • scooke
      scooke last edited by

      I've followed steps suggested here: https://github.com/wallabag/wallabag/issues/4292

      but the tokens remain valid still for just one hour. I don't recall this from before; it seems to me they lasted almost indefinitely.

      How do we change the duration for a Cloudron Wallabag please?

      A life lived in fear is a life half-lived

      robi girish 2 Replies Last reply Reply Quote 0
      • robi
        robi @scooke last edited by

        @scooke is there a .env file?

        Life of Advanced Technology

        scooke 1 Reply Last reply Reply Quote 0
        • scooke
          scooke @robi last edited by

          @robi It seems so, but reachable through the Terminal, not the File Manager. I edited it according to that github link, aling with the php command, and an app restart, but nothing changed.

          A life lived in fear is a life half-lived

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

            @scooke It seems per https://github.com/wallabag/doc/pull/121, we have to make the parameters file configurable. Let me fix up the package.

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

              @girish Thank you!

              A life lived in fear is a life half-lived

              1 Reply Last reply Reply Quote 0
              • nebulon
                nebulon Staff last edited by

                The latest package release has this now set to 1 year expiration.

                The reason why a custom setting didn't work, was that all configs are dynamically generated during app startup. Since that config file does not really have much useful options to be set by the user, I decided to just fixup the token expiration instead of trying to merging user and system settings on every startup.

                scooke 1 Reply Last reply Reply Quote 1
                • Topic has been marked as a question  nebulon nebulon 
                • scooke
                  scooke @nebulon last edited by scooke

                  @nebulon How do I get this update to be visible? My current version is 2.4.1, but the app store lists that version is 2.5.2, but that doesn't show up when I press Check for Updates.

                  NM. I found the notice from A YEAR AGO! https://forum.cloudron.io/post/23720

                  A life lived in fear is a life half-lived

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post
                  Powered by NodeBB