# Optimize never works: undefined failed items

**URL:** <https://forums.plex.tv/t/optimize-never-works-undefined-failed-items/196028>\
**Category:** General Discussions\
**Created:** [June 16, 2017, 7:11pm UTC](https://forums.plex.tv/t/optimize-never-works-undefined-failed-items/196028 "2017-06-16T19:11:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BitCollider](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/bitcollider/32/151297_2.png) [@BitCollider](https://forums.plex.tv/u/BitCollider)\
**Post date:** [June 16, 2017, 7:11pm UTC](https://forums.plex.tv/t/optimize-never-works-undefined-failed-items/196028/1 "2017-06-16T19:11:33Z")

</div>

Hi!

When I try to optimize media, it always immediately fails. It appears in the Optimized Versions tab as “undefined failed item”. Curiously, if I try to Optimize the same thing again, it then reports that “The media version already exists”, although it does not. Sync with transcoding works–I can use my iPad to get a “Low” quality synced copy and it will transcode and then eventually transfer.

When I manually inspect the filesystem where Plex should be storing the optimized versions, I do not see _any_ optimized versions, including media for which Plex shows “The media version already exists” error.

I’ve glanced through the logs and must be missing something, because I don’t see a relevant error message. In the attached logs, I tried to Optimize “Mad Max: Fury Road” just moments before downloading the logs.

I’m running Plex Media Server 3.9.1 in a jail on a FreeNAS machine. Other functions of Plex seem to work correctly.

Can someone please point out the relevant logs to me? Even better, can someone tell me what I’m doing wrong?

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [January 7, 2020, 11:25pm UTC](https://forums.plex.tv/t/optimize-never-works-undefined-failed-items/196028/2 "2020-01-07T23:25:11Z")

</div>


