Skip to content
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

Enabling image caching results in no images on Snap #3170

Closed
1 task done
malcolmradelet opened this issue Dec 18, 2022 · 3 comments · Fixed by #3302
Closed
1 task done

Enabling image caching results in no images on Snap #3170

malcolmradelet opened this issue Dec 18, 2022 · 3 comments · Fixed by #3302

Comments

@malcolmradelet
Copy link

Description

I get errors as soon as I turn this feature on and click save. The images do not load from any device or platform (I've tested a few). I also tried sudo snap refresh

Version

1.31.0

Steps to Reproduce

  1. Click Settings
  2. Check "Enable Image Caching"
  3. Click Save Changes

Screenshots

No response

Logs

2022-12-18T22:36:00.467Z [debug][Image Cache]: Something went wrong caching image.{"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1514/config/cache'"}

2022-12-18T22:36:00.467Z [error]: Failed to proxy image{"errorMessage":"Failed to load image","imagePath":"/t/p/w1920_and_h800_multi_faces//rAZj3toS3GErvpRgoK4R4fFaGFq.jpg"}

Platform

desktop

Device

Any device

Operating System

Any OS

Browser

Chrome

Additional Context

No response

Code of Conduct

  • I agree to follow Overseerr's Code of Conduct
@johnistheman
Copy link

I am having the same problem however I do not see any errors in the log.

@danshilm danshilm changed the title Enabling image cachine results in no images Enabling image caching results in no images on Snap Jan 14, 2023
@maraouf
Copy link

maraouf commented Jan 28, 2023

Hello,

I have same issue and the log is showing the following

I pasted some of it as an example, all images are rendering the same issue

Logs

2023-01-28T14:53:14+02:00 overseerr.daemon[1846734]: See more info here: https://nextjs.org/docs/messages/large-page-data
2023-01-28T14:53:17+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:17.830Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:17+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:17.831Z [error]: Failed to proxy image {"imagePath":"/t/p/w300_and_h450_face/iiCY2QIGSnmtVkIdjkKAfwDs0KF.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.009Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.009Z [error]: Failed to proxy image {"imagePath":"/t/p/w300_and_h450_face/x5E4TndwASNkaK2hwgeYfsIVo2x.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.013Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.013Z [error]: Failed to proxy image {"imagePath":"/t/p/w600_and_h900_bestv2/iiCY2QIGSnmtVkIdjkKAfwDs0KF.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.126Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.127Z [error]: Failed to proxy image {"imagePath":"/t/p/w300_and_h450_face/6numIZH6uR3NlJgY9m7nGH0jhs.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.575Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.576Z [error]: Failed to proxy image {"imagePath":"/t/p/w300_and_h450_face/t79ozwWnwekO0ADIzsFP1E5SkvR.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.600Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.600Z [error]: Failed to proxy image {"imagePath":"/t/p/w1920_and_h800_multi_faces//c9yVIqnrD6fyYhNzNcvAoU6CFG.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.608Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.608Z [error]: Failed to proxy image {"imagePath":"/t/p/w300_and_h450_face/d9nBoowhjiiYc4FBNtQkPY7c11H.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.654Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.655Z [error]: Failed to proxy image {"imagePath":"/t/p/w600_and_h900_bestv2/x5E4TndwASNkaK2hwgeYfsIVo2x.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.716Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.716Z [error]: Failed to proxy image {"imagePath":"/t/p/w1920_and_h800_multi_faces//41neXsH222hV2zrsTyw8h7javon.jpg","errorMessage":"Failed to load image"}
2023-01-28T14:53:18+02:00 overseerr.daemon[1846734]: 2023-01-28T12:53:18.776Z [debug][Image Cache]: Something went wrong caching image. {"errorMessage":"ENOENT: no such file or directory, mkdir '/snap/overseerr/1596/config/cache'"}


Version

Overseerr Version 1.32.2
snap 2.58
snapd 2.58
series 16
debian 11
kernel 5.10.0-20-amd64

Additional Context

when I go to the path with the issue, I found all the paths up to this directory
/snap/overseerr/1596/config/

But I cannot find the cache directory
when I try to create it manually, I face this error

/snap/overseerr/1596/config$ sudo mkdir cache
mkdir: cannot create directory ‘cache’: Read-only file system

This is because snap is working in a confined sandbox system which I cannot modify directly

@github-actions
Copy link

🎉 This issue has been resolved in version 1.32.5 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants