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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Wallabag
  3. Extend duration of token?

Extend duration of token?

Scheduled Pinned Locked Moved Unsolved Wallabag
7 Posts 4 Posters 1.1k Views 4 Watching
  • 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.
    • scookeS Offline
      scookeS Offline
      scooke
      wrote on last edited by
      #1

      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

      robiR girishG 2 Replies Last reply
      0
      • scookeS scooke

        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?

        robiR Offline
        robiR Offline
        robi
        wrote on last edited by
        #2

        @scooke is there a .env file?

        Conscious tech

        scookeS 1 Reply Last reply
        0
        • robiR robi

          @scooke is there a .env file?

          scookeS Offline
          scookeS Offline
          scooke
          wrote on last edited by
          #3

          @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
          0
          • scookeS scooke

            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?

            girishG Do not disturb
            girishG Do not disturb
            girish
            Staff
            wrote on last edited by
            #4

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

            scookeS 1 Reply Last reply
            1
            • girishG girish

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

              scookeS Offline
              scookeS Offline
              scooke
              wrote on last edited by
              #5

              @girish Thank you!

              A life lived in fear is a life half-lived

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

                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.

                scookeS 1 Reply Last reply
                1
                • nebulonN nebulon marked this topic as a question on
                • nebulonN nebulon

                  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.

                  scookeS Offline
                  scookeS Offline
                  scooke
                  wrote on last edited by scooke
                  #7

                  @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
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                    • Login

                    • Don't have an account? Register

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