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. Wekan
  3. Due date email notifications

Due date email notifications

Scheduled Pinned Locked Moved Solved Wekan
wekanemailnotifications
14 Posts 3 Posters 3.4k Views 3 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.
  • girishG Offline
    girishG Offline
    girish
    Staff
    wrote on last edited by
    #5

    I published a new package now to add new env vars in /app/data/env if you want to play around with different values.

    1 Reply Last reply
    1
    • girishG girish

      @MarchinBunny Can you check if email itself is working in Wekan? You can do this in Wekan's Admin Panel -> Email -> Send test mail.

      It seems https://github.com/wekan/wekan/commit/5084cddf37ba16ce0855f8575c39f5e62d1b7f67#diff-3254677a7917c6c01f55212f86c57fbf is the commit that introduced the feature. The defaults are as you pointed out already. So, it's probably an upstream bug if it doesn't work. Can you ask them how to test this feature?

      MarchinBunnyM Offline
      MarchinBunnyM Offline
      MarchinBunny
      wrote on last edited by
      #6

      @girish said in Due date email notifications:

      @MarchinBunny Can you check if email itself is working in Wekan? You can do this in Wekan's Admin Panel -> Email -> Send test mail.

      It seems https://github.com/wekan/wekan/commit/5084cddf37ba16ce0855f8575c39f5e62d1b7f67#diff-3254677a7917c6c01f55212f86c57fbf is the commit that introduced the feature. The defaults are as you pointed out already. So, it's probably an upstream bug if it doesn't work. Can you ask them how to test this feature?

      Yes, I have verified that sending a test email does work. I will mess with the env file and see if that works. With that said, I noticed you added "NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2" when it should be "NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2,0"

      There was a commit that changed it so you can specify multiple days. For example, the 2 is for 2 days before it's due, and the 0 is on the day it's due. It's explained here.
      https://github.com/wekan/wekan/commit/e60926f8471c05f50877f46568554e7b2f24815a#diff-4e5e90c6228fd48698d074241c2ba760

      I already edited it myself so I will let you know if it works or not. Sadly since I can only specify the hour the email is sent out, it means I can really only test it once every hour XD. Hopefully it works the first time. Crossing my fingers lol.

      If it doesn't I will check with them and see what's up.

      1 Reply Last reply
      1
      • MarchinBunnyM Offline
        MarchinBunnyM Offline
        MarchinBunny
        wrote on last edited by
        #7

        Ok, so it didn't work. I wrote an issue report on their github.

        1 Reply Last reply
        1
        • MarchinBunnyM Offline
          MarchinBunnyM Offline
          MarchinBunny
          wrote on last edited by
          #8

          Ok last reply for this issue as I think you can mark it solved. The environment variables do seem to be working now from what I can tell. I guess my initial tests just for some reason didn't work. But I did get an email today. So it works.

          Thanks for the help. Appreciate it.

          1 Reply Last reply
          1
          • jdaviescoatesJ Offline
            jdaviescoatesJ Offline
            jdaviescoates
            wrote on last edited by
            #9

            I'm not getting these emails.

            How do I find and edit the env file?

            And could a default working env file not be added to the package?

            Thanks!

            I use Cloudron with Gandi & Hetzner

            jdaviescoatesJ 1 Reply Last reply
            0
            • jdaviescoatesJ jdaviescoates

              I'm not getting these emails.

              How do I find and edit the env file?

              And could a default working env file not be added to the package?

              Thanks!

              jdaviescoatesJ Offline
              jdaviescoatesJ Offline
              jdaviescoates
              wrote on last edited by
              #10

              @jdaviescoates said in Due date email notifications:

              How do I find and edit the env file?

              As per https://docs.cloudron.io/apps/wekan/

              Custom env vars can be added in /app/data/env. Be sure to restart the app after editing this file.

              /me goes to have a look and see what I can see...

              I use Cloudron with Gandi & Hetzner

              jdaviescoatesJ 1 Reply Last reply
              0
              • jdaviescoatesJ jdaviescoates

                @jdaviescoates said in Due date email notifications:

                How do I find and edit the env file?

                As per https://docs.cloudron.io/apps/wekan/

                Custom env vars can be added in /app/data/env. Be sure to restart the app after editing this file.

                /me goes to have a look and see what I can see...

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #11

                @jdaviescoates said in Due date email notifications:

                As per https://docs.cloudron.io/apps/wekan/

                Custom env vars can be added in /app/data/env. Be sure to restart the app after editing this file.

                /me goes to have a look and see what I can see...

                OK, so this is what I see:

                # Add custom environment variables in this file
                # export NOTIFY_DUE_AT_HOUR_OF_DAY=8
                # export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2
                

                @MarchinBunny what did you do? Just edit out the # at the beginning and at ,0 at the end of that line? (I'll try that...)

                Thanks!

                @girish be good to have due date emails working out of the box, no?

                I use Cloudron with Gandi & Hetzner

                girishG 1 Reply Last reply
                0
                • jdaviescoatesJ jdaviescoates

                  @jdaviescoates said in Due date email notifications:

                  As per https://docs.cloudron.io/apps/wekan/

                  Custom env vars can be added in /app/data/env. Be sure to restart the app after editing this file.

                  /me goes to have a look and see what I can see...

                  OK, so this is what I see:

                  # Add custom environment variables in this file
                  # export NOTIFY_DUE_AT_HOUR_OF_DAY=8
                  # export NOTIFY_DUE_DAYS_BEFORE_AND_AFTER=2
                  

                  @MarchinBunny what did you do? Just edit out the # at the beginning and at ,0 at the end of that line? (I'll try that...)

                  Thanks!

                  @girish be good to have due date emails working out of the box, no?

                  girishG Offline
                  girishG Offline
                  girish
                  Staff
                  wrote on last edited by
                  #12

                  @jdaviescoates I guess we can uncomment those lines by default. No harm done.

                  jdaviescoatesJ 1 Reply Last reply
                  1
                  • girishG girish

                    @jdaviescoates I guess we can uncomment those lines by default. No harm done.

                    jdaviescoatesJ Offline
                    jdaviescoatesJ Offline
                    jdaviescoates
                    wrote on last edited by
                    #13

                    @girish said in Due date email notifications:

                    I guess we can uncomment those lines by default.

                    And perhaps add the ,0 as suggested by @MarchinBunny too? 🙂

                    I use Cloudron with Gandi & Hetzner

                    1 Reply Last reply
                    0
                    • girishG Offline
                      girishG Offline
                      girish
                      Staff
                      wrote on last edited by
                      #14

                      yup, i have pushed the change for next wekan release.

                      1 Reply Last reply
                      1
                      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