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

Overseerr crashes when invalid image is requested #2549

Closed
freender opened this issue Feb 14, 2022 · 2 comments
Closed

Overseerr crashes when invalid image is requested #2549

freender opened this issue Feb 14, 2022 · 2 comments
Labels

Comments

@freender
Copy link

Description

Occasionally after plex scan Overseerr fails with following exception:

Error: ENOENT: no such file or directory, open '/app/.next/cache/images/OMA003OWh5MEwwnVAW7heyUc-Bvt7ptBEe-m13F4n+k=/0.1644866200009.5NRNOyUwuj3JWZfRDjAudSz3u7q9xr2yRZrTtmXn3+M=.webp'

Seems like related to vercel/next.js#33860 and vercel/next.js#33719

Version

54b32eb

Steps to Reproduce

  1. Overseerr executes [Plex Scan]: Recently Added Scan Complete in a background
  2. Immediately after scan it fails with following exception (see logs).

Screenshots

No response

Logs

2022-02-14T04:20:00.249Z [info][Plex Scan]: Recently Added Scan Complete
node:events:368
throw er; // Unhandled 'error' event

^

Error: ENOENT: no such file or directory, open '/app/.next/cache/images/OO3letxm4JoS9G9+OATXtp8nZfZ6cirn3maX-fR9KSk=/0.1644736658530.bLabyeRduNqhQ--YnooeiBbUjE+sZy1ZXuOb5HdNHPo=.webp'

Emitted 'error' event on ReadStream instance at:

at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/app/.next/cache/images/OO3letxm4JoS9G9+OATXtp8nZfZ6cirn3maX-fR9KSk=/0.1644736658530.bLabyeRduNqhQ--YnooeiBbUjE+sZy1ZXuOb5HdNHPo=.webp'
}
error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.



2022-02-14T21:20:00.174Z [info][Plex Scan]: Recently Added Scan Complete
node:events:368
throw er; // Unhandled 'error' event

^

Error: ENOENT: no such file or directory, open '/app/.next/cache/images/OMA003OWh5MEwwnVAW7heyUc-Bvt7ptBEe-m13F4n+k=/0.1644866200009.5NRNOyUwuj3JWZfRDjAudSz3u7q9xr2yRZrTtmXn3+M=.webp'

Emitted 'error' event on ReadStream instance at:

at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21) {
errno: -2,
code: 'ENOENT',
syscall: 'open',
path: '/app/.next/cache/images/OMA003OWh5MEwwnVAW7heyUc-Bvt7ptBEe-m13F4n+k=/0.1644866200009.5NRNOyUwuj3JWZfRDjAudSz3u7q9xr2yRZrTtmXn3+M=.webp'
}
error Command failed with exit code 1.

info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
yarn run v1.22.15
$ NODE_ENV=production node dist/index.js


### Platform

desktop

### Device

not applicable

### Operating System

not applicable

### Browser

not applicable

### Additional Context

_No response_

### Code of Conduct

- [X] I agree to follow Overseerr's Code of Conduct
@github-actions
Copy link

👋 @freender, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with Overseerr.

@github-actions github-actions bot locked as off-topic and limited conversation to collaborators Feb 14, 2022
@TheCatLady
Copy link
Collaborator

The caching feature is not supported; it will be reworked at a later time but is low priority.

You can set cacheImages to false in your settings.json to resolve this issue.

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

No branches or pull requests

2 participants