Solved Ouroboros/Apprise Notifications clipped

Discussion in 'Join' started by Anastasis, Jun 9, 2019.

  1. Anastasis

    Anastasis New Member

    Joined:
    Jun 9, 2019
    Messages:
    3
    Likes Received:
    0
    I have set up ouroboros notifications (which uses apprise) via Join. It appears that all notifications I receive are clipped to just two lines.

    Example Full Notification:
    Ouroboros has updated containers!
    Host/Socket: nucleus / var/run/docker.sock
    Containers Monitored: 7
    Total Containers Updated: 2
    Containers updated this pass: 1
    netdata updated from dc98c9c176 to fc5ce746f3

    From this, I only get the title and first 2 lines only. I understand the text limit is 1000 characters, so this should not be the issue.
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi. Can you please show me how that looks like? Thanks!
     
  3. Anastasis

    Anastasis New Member

    Joined:
    Jun 9, 2019
    Messages:
    3
    Likes Received:
    0
    Hi Joao,

    This is an example I get on Pushbullet:
    upload_2019-6-12_17-39-2.png

    And this is how I get it on Join:
    upload_2019-6-12_17-41-53.png
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sorry, not sure where you are receiving those? How exactly are those created?
     
  5. Anastasis

    Anastasis New Member

    Joined:
    Jun 9, 2019
    Messages:
    3
    Likes Received:
    0
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Sorry, I'm not sure how Join would interfere there :) Join simply pushes stuff around from one place to the other. The notifications are all handled by those apps so the problem must be somewhere in the creation of the notifications themselves. Unfortunately I don't have any experience with those notification apps at all sorry!
     
  7. l2g

    l2g New Member

    Joined:
    Jul 13, 2019
    Messages:
    2
    Likes Received:
    0
    Hi, As the developer of Apprise I can confirm that there was a setting fixing the display to being limited to only 2 lines.

    I've since lifted this restriction (pull request). I can't test it at this time as my Join account has expired. I have reached out to the Devs for just temporary access to Join (even just for a day) to verify it works as anticipated. Once this is done I'll merge it.

    If you are able to check out the branch and verify for yourself, that would be awesome too! :)
     
  8. l2g

    l2g New Member

    Joined:
    Jul 13, 2019
    Messages:
    2
    Likes Received:
    0
    As an update to this, and thanks to @joaomgcd i was able to fully complete the testing of this and have since merged the changes upstream (to Apprise).

    I will be creating an official version soon (making it available on Pypi), but i think Ouroboros manages their own copy of apprise. If they grab the master branch right now, they'll have it all fixed up for you.
     
  9. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Thank you very much for the update! :)
     
  10. jalsing

    jalsing New Member

    Joined:
    Jul 29, 2019
    Messages:
    5
    Likes Received:
    0
    I found this thread as I was searching for this solution myself.

    I don't know if Ouroboros will update their image anytime soon, hopefully so, but I was able to do a manual update as follows:

    open interactive shell to ouroboros container:
    $ docker exec -it ouroboros /bin/sh

    update apprise in the container:
    /app #: pip install apprise --upgrade
    /app #: exit

    restart ouroboros container (if using docker-compose, otherwise I think just "docker restart ouroboros")
    $ docker-compose restart ouroboros
     
  11. jalsing

    jalsing New Member

    Joined:
    Jul 29, 2019
    Messages:
    5
    Likes Received:
    0

Share This Page