Hey. I just installed a lemmy instance via YunoHost and I can’t upload images. This includes an icon and banner for the instance. I get a SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
I have exactly the same issue with a recent ynh installation. I have created the following issue: https://github.com/YunoHost-Apps/lemmy_ynh/issues/31
I tried installing Lemmy on yunohost, but wasn’t able to set it up once installed. Some kind of “user” error. Did you have any problems like that?
I had that with the previous version, but now it works for me.
I’ll have to try it again, thanks.
Have you managed to set up lemmy? And do you run into the same issue with images?
I haven’t gotten back to it yet. I’ve been pretty busy with school.
Sounds like it’s returning an HTML page with an error. Check the logs
Browser console says:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data client.js:2:1452249 handleImageUpload https://fediverse.town/static/js/client.js:2 (Async: promise callback) handleImageUpload https://fediverse.town/static/js/client.js:2 n https://fediverse.town/static/js/client.js:2 DEPRECATION NOTICE: “backgroundColor” is being deprecated. Please use the “style.background” property. client.js:2:544207