-
-
Notifications
You must be signed in to change notification settings - Fork 879
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Embed pictrs doesn't work #3359
Comments
These logs are being printed when upload a image:
|
See here: https://lemmy.ml/post/1509599 The reference to http://localhost:8080/image in the logs looks to me like the pictrs url isn't set up properly in the lemmy.hjson. |
@dawtmaytrikx Thanks for your response. I have a different setup than the guy in the post. He is using docker and I've build form scratch. At his scenario he is using an own pictrs instance while I have build from scratch, where I add prictrs as compile feature. |
I get following error from lemmy when starting it:
|
Fixed it by setting
in my service file and creating a pictrs folder and change the ownership to lemmy. |
I also got this error the other day when trying to upload an image that was too large. Just for others that might find this issue thread. |
@arne-fuchs You can make a pull request in lemmy-docs repo. |
Requirements
Summary
I followed these steps to install the lemmy server from scratch by using the steps below.
But after trying to upload a picture it says that it cant parse json on line 1.
If I start up a pictrs server and then try to upload a picture, lemmy server starts to talk to the pictrs instance running locally.
So the --features embed-pictrs flag has no effect.
Building without the flag has the same results.
Steps to Reproduce
Technical Details
Debian GNU/Linux trixie/sid x86_64
rustup 1.26.0 (5af9b9484 2023-04-05)
Version
0.18.0
Lemmy Instance URL
lemmy.paesserver.de
The text was updated successfully, but these errors were encountered: