Thumbnails look broken on my own instance #46
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I'm running my own local instance with nginx and my thumbnails/preview icons are broken, I can only see the generic icon
Please open the network tab, and reload the page. Inspect the headers of an image, you should see an
X-Error
header with more information.The X-error is "No URL(i) provided". If I click the preview the image loads tho. Also, FWIW, the broken thumbnail URL appears to be http://localhost/proxy
Weird. Why wouldn't it pass the
i
parameter to/proxy
? Do you have any weird redirects setup?Hmm actually I followed the very same steps that @bread suggests in the updated nginx guide, ofc I used "localhost" as server_name. Maybe I should add some other stuff in the configuration file? I don't really have idea of how to set redirect rules.
@Evhorizon Could you
git pull
? I'm pretty sure Will fixed it, but forgot to mention it:9c18753ec3
Slight blunder on their behalf, lol.I'm also getting something somewhat similar; I have to reload twice for searching something behind a proxy, while also having the ‘you need to click on images to load them’ fiasco. GET status is
500
, whileX-Error
is not present whatsoever.It might be my internet for the first one, but I'm not sure about the second.
Nvm bros, the latest commit fixed the issue :) @bread btw I didn't even had to use the pinned php83-sodium PKG from the AUR, I just had to install php-sodium and uncomment "; extension=sodium" in the php.ini file
The fak
Also, the imagick.ini file should have the extension=imagick line uncommented to make php load the imagick module.
And I can confirm that the curl and mbstring modules are already built in in the Arch PHP package.
Sick, but yeah sorry about that. I don't think nginx handles passing the .php extension accidentally. If you pass an extension on an apache2 build, shit just werks.
No prob @lolcat , thanks for the fast fix :) I agree that nginx is not the ideal option but setting up an apache instance on Arch is a nightmare, I couldn't even get redirect working lol.