Notifications not working?
-
Hello
I set up Wallos to track my subscriptions. For most of my subscriptions, I've clicked "enable notifications for this subscription", and in my settings (username->settings->notifications), I have enabled Email notifications (and when I click "test settings", I get a "success" popup, and I receive an email with "Wallos Notification test" ok).
I've also enabled Ntfy notifications, and even set up ntfy on my Cloudron. When I click "test", I get the same "Success" popup, but I don't receive notifications on my phone.
Maybe I'm doing this wrong? Has anyone else had any success with enabling these notifications? For me, this is a big advantage of Wallos - there are several annual subscriptions I'd love to get notified about. I'd prefer Wallos to work quietly in the background and just notifify me when I need to take action.
Note: I set up a test Wallos installation, and behaviour is the same on that test version. So most likely this is an end user (me) error of some sorts (?).
Any help would be appreciated.
-
Hello
I set up Wallos to track my subscriptions. For most of my subscriptions, I've clicked "enable notifications for this subscription", and in my settings (username->settings->notifications), I have enabled Email notifications (and when I click "test settings", I get a "success" popup, and I receive an email with "Wallos Notification test" ok).
I've also enabled Ntfy notifications, and even set up ntfy on my Cloudron. When I click "test", I get the same "Success" popup, but I don't receive notifications on my phone.
Maybe I'm doing this wrong? Has anyone else had any success with enabling these notifications? For me, this is a big advantage of Wallos - there are several annual subscriptions I'd love to get notified about. I'd prefer Wallos to work quietly in the background and just notifify me when I need to take action.
Note: I set up a test Wallos installation, and behaviour is the same on that test version. So most likely this is an end user (me) error of some sorts (?).
Any help would be appreciated.
-
@odie said in Notifications not working?:
but I don't receive notifications on my phone.
Wanted to test this but are you referring to some mobile app here? I can't seem to find a mobile app for Wallos .
@joseph said in Notifications not working?:
@odie said in Notifications not working?:
but I don't receive notifications on my phone.
Wanted to test this but are you referring to some mobile app here? I can't seem to find a mobile app for Wallos .
No, the Phone app I'm referring to is the ntfy app. My ntfy server works ok and sends notifications to my ntfy app on my phone, but Wallos can't seem to send notifications to my ntfy server (and consequently, I don't receive Wallos notifications sent through my nfty server to my phone's ntfy app)
-
@odie see https://github.com/ellite/Wallos/issues/524 and https://github.com/ellite/Wallos/issues/560 . Maybe something to do with how you have provide the tokens, I am not sure. I haven't read those issues in detail
-
@odie see https://github.com/ellite/Wallos/issues/524 and https://github.com/ellite/Wallos/issues/560 . Maybe something to do with how you have provide the tokens, I am not sure. I haven't read those issues in detail
@joseph said in Notifications not working?:
@odie see https://github.com/ellite/Wallos/issues/524 and https://github.com/ellite/Wallos/issues/560 . Maybe something to do with how you have provide the tokens, I am not sure. I haven't read those issues in detail
Thanks for the link. The following header now sends test notifications from Wallos to ntfy ok (issue 524 as you linked above):
{ "Authorization": "Bearer tk_(removed)", "Title": "Subscription Notice", "Tags": "repeat" }
However, Wallos still doesn't send subscription end notifications via email, and probably not via ntfy either (I assume, since the email test worked and my wallos doesn't send email notifications).
-
@odie I found another one - https://github.com/ellite/Wallos/issues/717
It seems there is a cron job that sends these.
/app/pkg/cron.sh sendnotifications
. Does that throw anything for you in the web terminal? This notification on Cloudron runs only once a day btw - https://git.cloudron.io/packages/wallos-app/-/blob/master/CloudronManifest.json?ref_type=heads#L46 -
@odie I found another one - https://github.com/ellite/Wallos/issues/717
It seems there is a cron job that sends these.
/app/pkg/cron.sh sendnotifications
. Does that throw anything for you in the web terminal? This notification on Cloudron runs only once a day btw - https://git.cloudron.io/packages/wallos-app/-/blob/master/CloudronManifest.json?ref_type=heads#L46@joseph said in Notifications not working?:
/app/pkg/cron.sh sendnotifications
When I run this command in terminal, it gives the following output:
root@(redacted):/app/code# /app/pkg/cron.sh sendnotifications => Run cron job '' Could not open input file: /app/code/endpoints/cronjobs/.php
Also, in my log files, I get these error messages every 2nd minute:
Feb 26 11:02:02 => Run cron job '' Feb 26 11:02:02 Could not open input file: /app/code/endpoints/cronjobs/.php Feb 26 11:02:10 - - - [26/Feb/2025:10:02:10 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" Feb 26 11:02:14 => Run cron job '' Feb 26 11:02:14 Could not open input file: /app/code/endpoints/cronjobs/.php
This behaviour is consistent on both my main app installation and my test app installation.
However, if I go to the Wallos app, to the (username)->admin menu, there is an option to run Cronjobs from the GUI of the Wallos app. When I click the "send notifications" button, it sends notifications - both via email and via the ntfy service.
-
@joseph said in Notifications not working?:
/app/pkg/cron.sh sendnotifications
When I run this command in terminal, it gives the following output:
root@(redacted):/app/code# /app/pkg/cron.sh sendnotifications => Run cron job '' Could not open input file: /app/code/endpoints/cronjobs/.php
Also, in my log files, I get these error messages every 2nd minute:
Feb 26 11:02:02 => Run cron job '' Feb 26 11:02:02 Could not open input file: /app/code/endpoints/cronjobs/.php Feb 26 11:02:10 - - - [26/Feb/2025:10:02:10 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" Feb 26 11:02:14 => Run cron job '' Feb 26 11:02:14 Could not open input file: /app/code/endpoints/cronjobs/.php
This behaviour is consistent on both my main app installation and my test app installation.
However, if I go to the Wallos app, to the (username)->admin menu, there is an option to run Cronjobs from the GUI of the Wallos app. When I click the "send notifications" button, it sends notifications - both via email and via the ntfy service.
-
@girish said in Notifications not working?:
I pushed a fix but didn't test it . Can you test?
Apologies for the delay - work stuff. I updated now and tested. Notifications fires perfectly when issuing (from cli) the following command:
/app/pkg/cron.sh sendnotifications
Output:
2025-02-26 17:36:25<br /> Next payment date: 2025-02-27<br />Current date: 2025-02-26<br />Difference: 1<br />Email Notifications sent<br />Ntfy Notifications sent<br /
Also, Cloudron logs now show (every 2 mins):
Feb 26 18:38:03 => Run cron job 'sendverificationemails' Feb 26 18:38:10 - - - [26/Feb/2025:17:38:10 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" Feb 26 18:38:20 - - - [26/Feb/2025:17:38:20 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" Feb 26 18:38:30 - - - [26/Feb/2025:17:38:30 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" Feb 26 18:38:39 => Run cron job 'sendresetpasswordemails' F
I will post back if notifications fail to fire on subscriptions (when the service is running "by itself")
Another idea: Maybe these instructions could be added to the Cloudron docs. It wasn't easy to find out how to set custom headers when using a Cloudron hosted nfty-instance (ie with access restrictions and access tokens: https://forum.cloudron.io/post/102335
-
@girish said in Notifications not working?:
I pushed a fix but didn't test it . Can you test?
Apologies for the delay - work stuff. I updated now and tested. Notifications fires perfectly when issuing (from cli) the following command:
/app/pkg/cron.sh sendnotifications
Output:
2025-02-26 17:36:25<br /> Next payment date: 2025-02-27<br />Current date: 2025-02-26<br />Difference: 1<br />Email Notifications sent<br />Ntfy Notifications sent<br /
Also, Cloudron logs now show (every 2 mins):
Feb 26 18:38:03 => Run cron job 'sendverificationemails' Feb 26 18:38:10 - - - [26/Feb/2025:17:38:10 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" Feb 26 18:38:20 - - - [26/Feb/2025:17:38:20 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" Feb 26 18:38:30 - - - [26/Feb/2025:17:38:30 +0000] "GET / HTTP/1.1" 302 - "-" "Mozilla (CloudronHealth)" Feb 26 18:38:39 => Run cron job 'sendresetpasswordemails' F
I will post back if notifications fail to fire on subscriptions (when the service is running "by itself")
Another idea: Maybe these instructions could be added to the Cloudron docs. It wasn't easy to find out how to set custom headers when using a Cloudron hosted nfty-instance (ie with access restrictions and access tokens: https://forum.cloudron.io/post/102335
@odie said in Notifications not working?:
Another idea: Maybe these instructions could be added to the Cloudron docs
We try to avoid putting app specific docs into Cloudron docs. These get out of date since they are not actively monitored. Best to suggest the docs upstream where it belongs.