There was an error loading this page on one show

Sonarr version (exact version): 3.0.0.348
Mono version (if Sonarr is not running on Windows): 6.8.0.105
OS: ubuntu
Debug logs: https://hy-cld-05.hypernet.ca/s/MbxnaN8JJP8FHyb

I have a show that crashes with “There was an error loading this page” when I go to it. I have deleted the show (and all files) and added it back and it does not correct the problem. What is interesting is when I add the show “one” show up in the queue however nothing shows up when I go there so somewhere there is a connection. There is nothing on my downloader waiting to be downloaded.

Any idea how I can flush this show or correct this problem?

Here is the “details” on the webpage.

TypeError: Cannot read property ‘id’ of undefined

in Connect(EpisodeStatusConnector)
in td
in TableRowCell
in tr
in TableRow
in EpisodeRow
in Connect(EpisodeRow)
in tbody
in TableBody
in table
in div
in Scroller
in Table
in div
in div
in div
in SeriesDetailsSeason
in SeriesDetailsSeasonConnector
in Connect(SeriesDetailsSeasonConnector)
in div
in div
in div
in div
in div
in Scrollbars
in OverlayScroller
in PageContentBody
in Connect(PageContentBody)
in div
in DocumentTitle
in SideEffect(DocumentTitle)
in ErrorBoundary
in PageContent
in SeriesDetails
in SeriesDetailsConnector
in Connect(SeriesDetailsConnector)
in SeriesDetailsPageConnector
in Connect(SeriesDetailsPageConnector)
in Route
in Switch
in Switch
in AppRoutes
in div
in div
in Page
in PageConnector
in Connect(PageConnector)
in Route
in withRouter(Connect(PageConnector))
in Router
in ConnectedRouter
in Provider
in DocumentTitle
in SideEffect(DocumentTitle)
in App

Can you reproduce the same with your browser’s developer tools open and get the error from the console? That’ll give more information including the line number where it’s failing.

index.js: 3567

TypeError: Cannot read property 'id' of undefined
    at createQueueItemSelector.js:13
    at Array.find (<anonymous>)
    at createQueueItemSelector.js:12
    at index.js:76
    at index.js:36
    at index.js:90
    at index.js:36
    at index.js:86
    at Function.mapToProps (index.js:36)
    at proxy (wrapMapToProps.js:43)
    at handleSubsequentCalls (selectorFactory.js:52)
    at selectorFactory.js:74
    at Object.run (connectAdvanced.js:26)
    at Connect.onStateChange (connectAdvanced.js:199)
    at Object.notify (Subscription.js:26)
    at Subscription.notifyNestedSubs (Subscription.js:65)
    at Connect.onStateChange (connectAdvanced.js:202)
    at Object.notify (Subscription.js:26)
    at Subscription.notifyNestedSubs (Subscription.js:65)
    at Connect.onStateChange (connectAdvanced.js:202)
    at Object.notify (Subscription.js:26)
    at Subscription.notifyNestedSubs (Subscription.js:65)
    at Connect.onStateChange (connectAdvanced.js:202)
    at Object.notify (Subscription.js:26)
    at Subscription.notifyNestedSubs (Subscription.js:65)
    at Connect.onStateChange (connectAdvanced.js:202)
    at Object.notify (Subscription.js:26)
    at Subscription.notifyNestedSubs (Subscription.js:65)
    at Connect.onStateChange (connectAdvanced.js:202)
    at Object.notify (Subscription.js:26)
    at Subscription.notifyNestedSubs (Subscription.js:65)
    at Connect.onStateChange (connectAdvanced.js:202)
    at dispatch (redux.js:220)
    at index.js:11
    at middleware.js:13
    at createSentryMiddleware.js:46
    at dispatch (redux.js:563)
    at Object.<anonymous> (createFetchHandler.js:21)
    at fire (callbacks.js:84)
    at fireWith (callbacks.js:214)
    at mightThrow (deferred.js:183)
    at process (deferred.js:192)
    at wrapped (index.js:2992)
(anonymous)	@	index.js:3563
ug	@	react-dom.production.min.js:171
Eg.d.componentDidCatch.c.callback	@	react-dom.production.min.js:180
mf	@	react-dom.production.min.js:125
lf	@	react-dom.production.min.js:125
rh	@	react-dom.production.min.js:214
Xg	@	react-dom.production.min.js:205
Yg	@	react-dom.production.min.js:204
If	@	react-dom.production.min.js:200
enqueueSetState	@	react-dom.production.min.js:130
E.setState	@	react.production.min.js:13
Connect.onStateChange	@	connectAdvanced.js:204
notify	@	Subscription.js:23
Subscription.notifyNestedSubs	@	Subscription.js:64
Connect.onStateChange	@	connectAdvanced.js:204
notify	@	Subscription.js:23
Subscription.notifyNestedSubs	@	Subscription.js:64
Connect.onStateChange	@	connectAdvanced.js:204
notify	@	Subscription.js:23
Subscription.notifyNestedSubs	@	Subscription.js:64
Connect.onStateChange	@	connectAdvanced.js:204
notify	@	Subscription.js:23
Subscription.notifyNestedSubs	@	Subscription.js:64
Connect.onStateChange	@	connectAdvanced.js:204
notify	@	Subscription.js:23
Subscription.notifyNestedSubs	@	Subscription.js:64
Connect.onStateChange	@	connectAdvanced.js:204
notify	@	Subscription.js:23
Subscription.notifyNestedSubs	@	Subscription.js:64
Connect.onStateChange	@	connectAdvanced.js:204
setTimeout (async)		
(anonymous)	@	index.js:3191
(anonymous)	@	deferred.js:228
fire	@	callbacks.js:71
fireWith	@	callbacks.js:211
fire	@	callbacks.js:221
fire	@	callbacks.js:71
fireWith	@	callbacks.js:211
done	@	ajax.js:790
(anonymous)	@	xhr.js:79
wrapped	@	index.js:2987
load (async)		
exports.fill	@	index.js:866
(anonymous)	@	index.js:3729
(anonymous)	@	index.js:3740
(anonymous)	@	index.js:3797
send	@	xhr.js:148
ajax	@	ajax.js:694
_jquery2.default.ajax	@	jquery.ajax.js:34
exports.default	@	createAjaxRequest.js:26
(anonymous)	@	createFetchHandler.js:11
(anonymous)	@	queueActions.js:214
(anonymous)	@	thunks.js:10
(anonymous)	@	index.js:6
(anonymous)	@	middleware.js:11
(anonymous)	@	createSentryMiddleware.js:43
(anonymous)	@	redux.js:448
SeriesDetailsConnector._this.populate	@	SeriesDetailsConnector.js:204
value	@	SeriesDetailsConnector.js:234
rh	@	react-dom.production.min.js:213
Xg	@	react-dom.production.min.js:205
Yg	@	react-dom.production.min.js:204
uh	@	react-dom.production.min.js:216
Hd	@	react-dom.production.min.js:85
wrapped	@	index.js:2987
Show 11 more frames

I can crash a show on-demand now and I think it has to do with the “Import” area and a path getting stored somewhere. Where

Step to Reproduce

  1. downloaded a file and was put in the root of the folder
  2. I moved it manually into the show/season folder
  3. system crashes when I click on the website for the show

Things I tried to fix it
a) i removed folder in the the import “area” (restart service)
b) I put the show back where it thought it should be and it does not fix the problem however the show now loads but page crashes when I expand the seasons
c) I delete the show before the above… then added back after. Still crash and somehow it remember the old folder that was there

Any ideas?

20-6-17 08:49:35.3|Error|DownloadedEpisodesImportService|Import failed, path does not exist or is not accessible by Sonarr: /media/plex/tv/90.Day.Fiance.What.Now.S04E00.Loren.and.Alexeis.Baby.Special.1080p.WEB.h264-KOMPOST/
2

20-6-17 08:49:35.3|Error|DownloadedEpisodesImportService|Import failed, path does not exist or is not accessible by Sonarr: /media/plex/tv/90.Day.Fiance.What.Now.S04E00.Loren.and.Alexeis.Baby.Special.1080p.WEB.h264-KOMPOST/
2

20-6-17 07:58:19.6|Error|DownloadedEpisodesImportService|Import failed, path does not exist or is not accessible by Sonarr: /media/plex/tv/Naked.and.Afraid.XL.S06E00.Clothed.and.Opinionated.Part.1.DISC.WEB-DL.AAC2.0.x264-BOOP/
20-6-17 07:58:19.6|Error|DownloadedEpisodesImportService|Import failed, path does not exist or is not accessible by Sonarr: /media/plex/tv/Naked.and.Afraid.XL.S06E00.Clothe

Is /media/plex/tv/ the location where your download client places files, as well as where sonarr moves/sorts files to?

yes that is the path it uses

So yeah, umm… don’t do that :slight_smile:

Create /media/downloads or something for your download client, and keep /media/plex/tv for sonarr.
Your download client only needs to have access in the first location, and sonarr in both (to pick up files in the first location and move/rename to the second location).

I’m not saying this will solve the weird problem you’re having, but mixing the downloads and sorted series locations is a big no-no.

I ended up uninstalling Sonarr and installing it again. This cleared up the problem not sure what was up however that fixed it if anyone else is having a problem. Also i updated as your recommended above.

Thanks for your help.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.