dakboard / Cloud-Platform

Feature requests, enhancements and anything you'd like to see in DAKboard!
https://dakboard.com
168 stars 39 forks source link

Dakboard Photo Block Not Refreshing from OneDrive Source #2130

Closed TexasDanger closed 5 months ago

TexasDanger commented 5 months ago

I have created a Photo Block with Source = OneDrive. After successfully linking the OneDrive account and selecting a folder of pictures to display in the Photo block, I cannot change or update anything once this action is taken. In my OneDrive folder called test, I placed three photos which successfully load into the Photo Block. However, subsequent testing revealed that I cannot add photos to the same folder. I cannot delete the photos and replace with new photos to show. I cannot change the underlying folder structure (ex: rename folder test to something else). There is no way to undo the initial action and update photos. Deleting the block and adding a new one just comes back with the same identical photos loaded (despite them being deleted) and the same identical (old) folder structure.

Steps to reproduce the behavior:

  1. Add a photo block and source it to OneDrive folder with pictures. Rotate them every 10 seconds
  2. Delete the pictures from the OneDrive folder and add new pictures. Photo block still displays old photos
  3. Delete the Photo Block and recreate it pointing to same folder with new photos. Photo block still displays old photos
  4. Delete the folder and create a new folder. Point Photo Block to the OneDrive account. Folder structure does not update to new structure and Photo block still displays old photos
  5. Revoke Authorization using Managed Authorized Accounts for the OneDrive account
  6. Repeat steps 2-5. Photo block still displays old photos
  7. Create a new Screen and add a new Photo block and repeat steps 2-6. Photo block still displays old photos

Expected behavior: There should be a way to refresh the connection to the onedrive folder. There should be a way to make it forget the previous configuration. There should be a way to add new pictures to the folder and have them display. There should be a way to delete photos from the folder and have them no longer display.

Desktop (please complete the following information):

TexasDanger commented 5 months ago

I just recreated the exact same issue using an Instagram block. Same things happening with not seeing new posts/images and not seeing being able to refresh it in any way.

cocarrig commented 5 months ago

Hi @TexasDanger,

Thanks for reaching out, and sorry for the confusion on this. Onedrive cache has a 1 hour TTL, this is account ID specific and not authorization specific. This would account for your experiences you are seeing, and these changes would eventually take place that you completed. Similarly Instagram cache will have an 8 hour TTL and is similarly account ID specific cache.

For faster integration options, we would recommend using Dropbox, which will use a webhook to update its contents much faster, or the DAKboard Media Library which can update in realtime.

If you're encountering any other issues feel free to reopen this, or reach out to the support team at dakboard.com/support and we would be glad to help.

TexasDanger commented 5 months ago

Thank you for the response. I see the 24-hour delay in the Instagram block and I agree that it works properly and refreshes every day.

However, my OneDrive block has not refreshed and is still displaying images that I have since deleted from the linked folder. OneDrive is not updating at all.

Can you please reopen the ticket and investigate OneDrive?

Thanks.

-----Original Message----- From: "Corey Carrigan" @.> Sent: Wednesday, June 12, 2024 1:52pm To: "dakboard/Cloud-Platform" @.> Cc: "TexasDanger" @.>, "Mention" @.> Subject: Re: [dakboard/Cloud-Platform] Dakboard Photo Block Not Refreshing from OneDrive Source (Issue #2130)

Hi @TexasDanger,

Thanks for reaching out, and sorry for the confusion on this. Onedrive cache has a 1 hour TTL, this is account ID specific and not authorization specific. This would account for your experiences you are seeing, and these changes would eventually take place that you completed. Similarly Instagram cache will have an 8 hour TTL and is similarly account ID specific cache.

For faster integration options, we would recommend using Dropbox, which will use a webhook to update its contents much faster, or the DAKboard Media Library which can update in realtime.

If you're encountering any other issues feel free to reopen this, or reach out to the support team at dakboard.com/support and we would be glad to help.

-- Reply to this email directly or view it on GitHub: https://github.com/dakboard/Cloud-Platform/issues/2130#issuecomment-2163603854 You are receiving this because you were mentioned.

Message ID: @.***>

cocarrig commented 5 months ago

Hi @TexasDanger,

Reopening this, we will try and recreate this issue and determine the root cause.

cocarrig commented 5 months ago

@TexasDanger any chance you could reach out and make a support ticket referencing this github case and let us know your username? That will be helpful in getting to the bottom of this: https://dakboard.freshdesk.com/support/tickets/new

TexasDanger commented 5 months ago

I believe I have created it. Please confirm

-----Original Message----- From: "Corey Carrigan" @.> Sent: Thursday, June 13, 2024 2:41pm To: "dakboard/Cloud-Platform" @.> Cc: "TexasDanger" @.>, "Mention" @.> Subject: Re: [dakboard/Cloud-Platform] Dakboard Photo Block Not Refreshing from OneDrive Source (Issue #2130)

@TexasDanger any chance you could reach out and make a support ticket referencing this github case and let us know your username? That will be helpful in getting to the bottom of this: https://dakboard.freshdesk.com/support/tickets/new

-- Reply to this email directly or view it on GitHub: https://github.com/dakboard/Cloud-Platform/issues/2130#issuecomment-2166533151 You are receiving this because you were mentioned.

Message ID: @.***>

cocarrig commented 5 months ago

@TexasDanger yes got it, thanks.

TexasDanger commented 5 months ago

I tried... but I didn't get a ticket # provided back to me as a confirmation and I cannot find the ticket I created when searching.

-----Original Message----- From: "Corey Carrigan" @.> Sent: Thursday, June 13, 2024 2:41pm To: "dakboard/Cloud-Platform" @.> Cc: "TexasDanger" @.>, "Mention" @.> Subject: Re: [dakboard/Cloud-Platform] Dakboard Photo Block Not Refreshing from OneDrive Source (Issue #2130)

@TexasDanger any chance you could reach out and make a support ticket referencing this github case and let us know your username? That will be helpful in getting to the bottom of this: https://dakboard.freshdesk.com/support/tickets/new

-- Reply to this email directly or view it on GitHub: https://github.com/dakboard/Cloud-Platform/issues/2130#issuecomment-2166533151 You are receiving this because you were mentioned.

Message ID: @.***>

cocarrig commented 5 months ago

I tried... but I didn't get a ticket # provided back to me as a confirmation and I cannot find the ticket I created when searching. -----Original Message----- From: "Corey Carrigan" @.> Sent: Thursday, June 13, 2024 2:41pm To: "dakboard/Cloud-Platform" @.> Cc: "TexasDanger" @.>, "Mention" @.> Subject: Re: [dakboard/Cloud-Platform] Dakboard Photo Block Not Refreshing from OneDrive Source (Issue #2130) @TexasDanger any chance you could reach out and make a support ticket referencing this github case and let us know your username? That will be helpful in getting to the bottom of this: https://dakboard.freshdesk.com/support/tickets/new -- Reply to this email directly or view it on GitHub: #2130 (comment) You are receiving this because you were mentioned. Message ID: @.***>

I replied to your first ticket and you should see an email from me, specifically asking for the username actually :-)

Separately I'm reproducing these steps with a test account, hope to know more soon.

cocarrig commented 5 months ago

Through conversation, this appears to have possibly been workstation cache and is resolved now. We will be closing this for now but will reopen if necessary if reported again from the client.