flow_notifications icon indicating copy to clipboard operation
flow_notifications copied to clipboard

No notification when a file is created

Open c-juenemann opened this issue 4 years ago • 7 comments
trafficstars

i set up two rules: Screenshot abläufe The same test-tag is beeing used. When I (using a shared link of a tagged folder) delete a file I get the push notification to my phone and the bell in the webgui lights up too - so far so good. If i create a file I sadly dont get the notification pushed to my phone, the webgui "bell" works.

Any insight/help would be much appreciated.

System details: NC version: 20.0.8 Flow Notifications version: 1.0.3

Client details: iOS version: 14.4.1 Nextcloud app version: 3.3.0

Sincerly Calvin

c-juenemann avatar Mar 29 '21 15:03 c-juenemann

→ https://github.com/nextcloud/flow_notifications/issues/15#issuecomment-786540605 ?

blizzz avatar Mar 29 '21 19:03 blizzz

I am aware of that. I used a shared folder to test. The user which is doing the actions in this case is the "remote user". The notification bell is working, but i never got a file created message pushed to my phone.

c-juenemann avatar Mar 30 '21 07:03 c-juenemann

Can anybody help me? I have not found any solution yet and really need the option to push notifiy users

c-juenemann avatar Apr 07 '21 09:04 c-juenemann

Update: It still doesnt work, but I found out that this does not only apply to group folders, but normal folders as well.

I am still getting a notification when a file is deleted, but not when a file is created. Also tested this in one rule (trigger file is created + deleted in the same rule to be sure i didnt missconfigure it.

Any ideas/workarounds would mean a lot.

c-juenemann avatar Apr 14 '21 15:04 c-juenemann

Maybe this is because of the rule itself? A file in creating process has no tag, it is tagged after creating. So this condition is never true.

You should use the trigger for "file tagged" instead of "file created".

Edit: I tested the trigger "file tagged" in a group folder that is tagged. I don't get a notification from creating a new file, so this solution isn't working too.

I use an other solution for get notified on files creation. Maybe this will help you.: Trigger : "file created" Rule: "file name" "is like" "/.*FolderName.*/"

msi-tl avatar Jun 02 '21 16:06 msi-tl

I only got the bell but could not at all get the push to ios working. Instead i now call:

php /config/www/nextcloud/occ user:list | sed 's/.*- \(.*\):.*/\1/' | xargs -I STR php /config/www/nextcloud/occ notification:generate STR "MESSAGE"

With workflow_script each time a tag has been assigned. This triggers push on the phone.

Inspired by: https://github.com/nextcloud/notifications/issues/121#issuecomment-567952529

wiegell avatar Jun 20 '21 09:06 wiegell

@wiegell this is not connected to this issue, is it?

blizzz avatar Oct 22 '21 19:10 blizzz