Page 1 of 1

Error 500, partial loss of library

PostPosted: Thu Apr 03, 2014 12:53 pm
by Jimbob
I had been reinstalling serviio a few times around a different issue.

I have gone to play a video, and the one I wanted is no longer in the library, along with many others now missing.

An example of a missing file from the log is :
2014-04-03 13:09:01,389 WARN [LibraryUpdatesCheckerThread] Cannot update file Doctor Who 2005 - 1x00 - Christmas Invasion (Xmas special 2005) in library because of an unexpected error. Message: No enum constant org.serviio.library.local.metadata.MPAARating.Unknown
java.lang.IllegalArgumentException: No enum constant org.serviio.library.local.metadata.MPAARating.Unknown
at java.lang.Enum.valueOf(Unknown Source)
at org.serviio.library.local.metadata.MPAARating.valueOf(MPAARating.java:16)
at org.serviio.library.dao.VideoDAOImpl.initVideo(VideoDAOImpl.java:1334)
at org.serviio.library.dao.VideoDAOImpl.mapSingleResult(VideoDAOImpl.java:1257)
at org.serviio.library.dao.VideoDAOImpl.read(VideoDAOImpl.java:169)
at org.serviio.library.dao.VideoDAOImpl.read(VideoDAOImpl.java:53)
at org.serviio.library.local.service.VideoService.getVideo(VideoService.java:326)
at org.serviio.library.local.service.VideoService.updateVideoInLibrary(VideoService.java:214)
at org.serviio.library.local.metadata.LibraryUpdatesCheckerThread.updateMetadata(LibraryUpdatesCheckerThread.java:269)
at org.serviio.library.local.metadata.LibraryUpdatesCheckerThread.run(LibraryUpdatesCheckerThread.java:113)

The serviio interface also gives the message An unexpected error occured (500) check the log
which shows
2014-04-03 13:49:37,082 WARN [ServiioStatusService] IllegalArgumentException occured. Returning error code 500 to the REST layer. Message: No enum constant org.serviio.library.local.metadata.MPAARating.Unknown


Any ideas?

Re: Error 500, partial loss of library

PostPosted: Thu Apr 03, 2014 5:15 pm
by zip
It looks like you possibly downgraded? If that's the case, it's not supported and will break your installation. You'd have to install it again from scratch.

Re: Error 500, partial loss of library

PostPosted: Fri Apr 04, 2014 12:47 pm
by Jimbob
Yes, had downgraded, upgraded, generally swapped versions like hell.

Anyway, fully removed, rebooted, reinstalled,

Full media library is back, and working correctlt, including time search functions..

Thanks