My YunoHost server
Hardware: VPS bought online
YunoHost version: 11.2.5 (stable)
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If yes, please explain: -
If your request is related to an app, specify its name and version: lemmy 0.18.2~ynh1
Description of my issue
It ist not possible to upload pictures ( icon, banner, pictures in posts, …).
Following error when trying to upload pictures:
SyntaxError: Unexpected token ‘R’, “Request er”… is not valid JSON
Can you help me?
thx
wbk
November 6, 2023, 1:35pm
2
Hi Hollosch,
Welcome to the forums!
Searching “lemmy SyntaxError: Unexpected token ‘R’, … is not valid JSON” lead me to a bug report on Github , where your problem is mentioned.
Another bug is linked there. Maybe you can find help or a workaround there.
Good luck, and let us know!
1 Like
How can i do this for my case?
opened 09:33PM - 22 Jun 23 UTC
bug
area: media
### Requirements
- [X] Is this a bug report? For questions or discussions use h… ttps://lemmy.ml/c/lemmy_support
- [X] Did you check to see if this issue already exists?
- [X] Is this only a single bug? Do not put multiple bugs in one issue.
- [ ] Is this a server side (not related to the UI) issue? Use the [Lemmy back end](https://github.com/LemmyNet/lemmy) repo.
### Summary
Unable to upload images, as community icon, banner, or to attach to a post. When attaching an image to a new post, a red box appears a few seconds later with the error message:
`SyntaxError: Unexpected token 'R', "Request er"... is not valid JSON`
images of errors:
https://imgur.com/a/SG8Zh4D
Using Brave web browser.
### Steps to Reproduce
1. Press 'Create Post'
2. Press the upload image icon.
3. Choose an image and start the upload
### Technical Details
![Screenshot from 2023-06-22 15-27-55](https://github.com/LemmyNet/lemmy-ui/assets/9522981/70505044-fb42-4612-b97e-d1bcf4486074)
### Version
BE: 0.17.4
### Lemmy Instance URL
https://lemmy.fmhy.ml/
Anyone have an idea how I can change the permissions?
Where can i get help for this problem ?
Mamie
November 21, 2023, 11:08am
8
system
Closed
December 6, 2023, 11:08am
9
This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.