# \[Gotify\] post install and post update notifications

**URL:** <https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663>\
**Category:** Support apps\
**Tags:** gotify, english\
**Created:** [February 22, 2024, 7:38am UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663 "2024-02-22T07:38:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [February 22, 2024, 7:38am UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663/1 "2024-02-22T07:38:32Z")

</div>

I have installed Gotify and would like to receive notifications after application install or update. And may be other interesting details. I’m not sure how to do it, any help would be appreciated. Thanks

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [February 24, 2024, 10:30pm UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663/2 "2024-02-24T22:30:25Z")

</div>

I finally got it working and it’s impressive.  
I wrote a guide how to make most hooks (I needed), essentially because sometimes I get the install or update page refreshed on phone, so I don’t know if the process finished, here it is :

> <https://github.com/jarod5001/Linux-scripts/blob/main/yunohost/Gotify%20yunohost%20notifications.md>

If you have suggestions about improvements or other hooks, don’t hesitate.

---

<div class="post-metadata">

**Author:** ![OniriCorpe](https://forum.yunohost.org/user_avatar/forum.yunohost.org/oniricorpe/32/3356_2.png) [@OniriCorpe](https://forum.yunohost.org/u/OniriCorpe)\
**Post date:** [February 24, 2024, 10:46pm UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663/3 "2024-02-24T22:46:42Z")

</div>

maybe you can add this do the package docs? ^w^

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [February 24, 2024, 11:25pm UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663/4 "2024-02-24T23:25:48Z")

</div>

Good idea. I have skipped some hooks, maybe I should add them all.  
But I’m having an issue with “10. Get notified when a successful ssh connection is established”. It works and sends me “user, ip address and port”, but from time to time I get empty notifications for an ssh connection established like in this screenshot

 ![Screenshot_2024-02-25-00-19-26-583_com.github.gotify](https://forum.yunohost.org/uploads/default/original/2X/1/184293a67fb8cb3c21e534b3111d2eb7cfd0d593.jpeg)

I avoided editing ssh config.  
And I don’t know how to fix it.

Edit :  
The backup script is not working and surely the restore

---

<div class="post-metadata">

**Author:** ![OniriCorpe](https://forum.yunohost.org/user_avatar/forum.yunohost.org/oniricorpe/32/3356_2.png) [@OniriCorpe](https://forum.yunohost.org/u/OniriCorpe)\
**Post date:** [February 25, 2024, 12:19am UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663/5 "2024-02-25T00:19:03Z")

</div>

i’m using ynh for like 5 years and i’m part of the dev team but i never touched hooks so i can’t help :")

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [February 25, 2024, 12:21am UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663/6 "2024-02-25T00:21:13Z")

</div>

I will check it next weekend. I’m sure it’s something obvious.

---

<div class="post-metadata">

**Author:** ![jarod5001](https://forum.yunohost.org/user_avatar/forum.yunohost.org/jarod5001/32/5323_2.png) [@jarod5001](https://forum.yunohost.org/u/jarod5001)\
**Post date:** [February 25, 2024, 12:22pm UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663/7 "2024-02-25T12:22:54Z")

</div>

Note that it’s the first time I use hooks and I use yunohost for about 3 years. I find them to be very useful, maybe it should be added in the webadmin as a menu.  
By the way, I understood why I was getting these multiple notifications, I have mounted my yunohost.multimedia on my laptop, so I get notified everytime it reconnects

---

<div class="post-metadata">

**Author:** ![system](https://forum.yunohost.org/uploads/default/original/2X/f/f59fe8e3ee6b100b4f574d30d6e30479c68b89f0.png) [@system](https://forum.yunohost.org/u/system)\
**Post date:** [March 11, 2024, 12:23pm UTC](https://forum.yunohost.org/t/gotify-post-install-and-post-update-notifications/28663/8 "2024-03-11T12:23:25Z")

</div>

Closed on March 11, 2024, 12:23pm UTC

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.
