nextcloud / unsplash

πŸ“ΈπŸ”€β˜οΈ Random Nextcloud log in background from Unsplash
https://apps.nextcloud.com/apps/unsplash
GNU Affero General Public License v3.0
92 stars 23 forks source link

NC 28 still not working #142

Closed CrazyWolf13 closed 1 week ago

CrazyWolf13 commented 1 week ago

use GitHub reactions πŸ‘ to show that you are affected by the same issue. Please don't comment if you have no relevant information to add!

Describe the bug: For me it still does not show any unsplash background.

To Reproduce: Steps to reproduce the behavior:

  1. Install 3.0.0 of Splash
  2. Enable Splash
  3. Go to theming and configure splash to use unsplash as source
  4. Still see the blue background, but the unsplash i for info I guess
  5. See a lot of errors in log:

Expected behavior: I expect a working background.

Screenshots: Logs: grafik Info section, bottom right grafik

Server:

Additional Information:

newhinton commented 1 week ago

Please switch to a different provider. Unsplash (the non api-variant is non working, and will be removed in the close future)

CrazyWolf13 commented 1 week ago

Oh I see, I couldn't find that info anywhere, thanks for clarification!

I've just registered an app on Unsplash, but seems like it needs all manual review, is that correct?

newhinton commented 1 week ago

If i remember correctly, no. You should be able to get the token and use it. You might need to click the refresh button above the provider selector.

Though i can check this in the evening if you like

CrazyWolf13 commented 1 week ago

Okay, thanks it worked now, it was a bit confusing which token to use, as it's called access key and there is also a secret key.

However now it's getting the correct description and preview is working, however the image is still blue: grafik There are no log entries.

EDIT: Login-Screen is working, dashboard not, but I have both turned on: grafik

CrazyWolf13 commented 1 week ago

@newhinton

So I just looked at this again today, and surprisingly the image was changed on the dashboard now. I tried to reboot, log-in/out etc. I stayed blue, today morning it just worked. But I noticed an blue color all over it so disabled the vibrat color or so, but it does not seem to apply.

Could there be some sort off apply mechanic not working on the dashboard image?

Because chaning the cached image changes the image jut fine on the login screen, but dashboard just stays the same, and will most likely be changed during night or so?

newhinton commented 1 week ago

It is likely that this is a caching issue. For "unsplash-api" and "wikimedia pic of the day" we fetch the image once a day, and then just serve that. However, browsers usually cache the css files, so that they dont get the update immediately. I'll have to look into that if i want to change that.

CrazyWolf13 commented 1 week ago

It is likely that this is a caching issue. For "unsplash-api" and "wikimedia pic of the day" we fetch the image once a day, and then just serve that. However, browsers usually cache the css files, so that they dont get the update immediately. I'll have to look into that if i want to change that.

That could be very well possible, I thought about caching.

So checking in now, it seems to display correctly, so possibly it just needs that daily refresh-fetch to apply the settings.

desentizised commented 1 week ago

Not trying to complain or vent I just came across this app by browsing through the catalog on a fresh NC 29 FPM install (dockerized) and it made my login-screen Error 500 after installing.

I didn't check whether there were some administrative settings (I think I saw mention of an api-key around here) which I should've attended to before unbeknownst locking myself out of the web interface (was trying to switch user). If this is expected behavior on 28/29 because the final release isn't there yet this comment may be disregarded. Just trying to add to the conversation since OP's description doesn't seem to talk about a complete breakage of the login-page.

Unsplash was listed as an untested app for me so I don't blame anyone but myself.

newhinton commented 1 week ago

v3.0.1 should fix all those issues. The old unsplash has been removed and replaced by wikimedia as a fallback.

newhinton commented 1 week ago

@desentizised This is a known issue, 3.0.0 simply does not work on 29. (Though, 3.0.1 does work)

CrazyWolf13 commented 1 week ago

Thanks!