FAQ  •  Register  •  Login

An unexpected error occurred (500). Check the log.

<<

pingoes

Serviio newbie

Posts: 5

Joined: Tue Oct 01, 2019 5:56 pm

Post Fri Dec 03, 2021 2:29 am

An unexpected error occurred (500). Check the log.

Hello,

Ive been using Serviio V.2.1 and i recently upgraded to 2.2.
Since then, ive been experiencing some issues so i decided to delete my profile on my app data and reconfigure everything on my Windows 10 PC.

Since then, cannot add any of my hard drive folders in order to synchronize the movies.
When i go to search and add the data, i get the error message An unexpected error occurred (500). Check the log. (this happen when I try to search for my drives on my Serviio console).

I went to see the logs and i got this error:

  Code:
2021-12-02 21:22:13,066 WARN  [ServiioStatusService] UncheckedIOException occurred. Returning error code 500 to the REST layer. Message: java.nio.file.FileSystemException: U:\: Data error (cyclic redundancy check).

java.io.UncheckedIOException: java.nio.file.FileSystemException: U:\: Data error (cyclic redundancy check).

   at java.nio.file.Files$2.hasNext(Files.java:3462)
   at java.util.Iterator.forEachRemaining(Iterator.java:115)
   at java.util.Spliterators$IteratorSpliterator.forEachRemaining(Spliterators.java:1801)
   at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
   at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
   at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
   at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
   at java.util.stream.LongPipeline.reduce(LongPipeline.java:461)
   at java.util.stream.LongPipeline.sum(LongPipeline.java:419)
   at java.util.stream.ReferencePipeline.count(ReferencePipeline.java:593)
   at org.serviio.ui.resources.server.BrowseFileSystemServerResource.hasFolderChildren(BrowseFileSystemServerResource.java:80)
   at org.serviio.ui.resources.server.BrowseFileSystemServerResource.lambda$0(BrowseFileSystemServerResource.java:61)
   at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193)
   at java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:175)
   at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382)
   at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
   at java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:472)
   at java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:708)
   at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
   at java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:566)
   at org.serviio.ui.resources.server.BrowseFileSystemServerResource.loadRoots(BrowseFileSystemServerResource.java:61)
   at org.serviio.ui.resources.server.BrowseFileSystemServerResource.getFoldersForDirectory(BrowseFileSystemServerResource.java:55)
   at org.serviio.ui.resources.server.BrowseFileSystemServerResource.listFolders(BrowseFileSystemServerResource.java:34)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:511)
   at org.restlet.resource.ServerResource.get(ServerResource.java:723)
   at org.restlet.resource.ServerResource.doHandle(ServerResource.java:603)
   at org.restlet.resource.ServerResource.doNegotiatedHandle(ServerResource.java:662)
   at org.restlet.resource.ServerResource.doConditionalHandle(ServerResource.java:348)
   at org.serviio.restlet.AbstractServerResource.doConditionalHandle(AbstractServerResource.java:49)
   at org.restlet.resource.ServerResource.handle(ServerResource.java:1020)
   at org.restlet.resource.Finder.handle(Finder.java:236)
   at org.restlet.routing.Filter.doHandle(Filter.java:150)
   at org.restlet.routing.Filter.handle(Filter.java:197)
   at org.restlet.routing.Router.doHandle(Router.java:422)
   at org.restlet.routing.Router.handle(Router.java:641)
   at org.restlet.routing.Filter.doHandle(Filter.java:150)
   at org.restlet.routing.Filter.handle(Filter.java:197)
   at org.restlet.routing.Filter.doHandle(Filter.java:150)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:140)
   at org.restlet.routing.Filter.handle(Filter.java:197)
   at org.restlet.routing.Filter.doHandle(Filter.java:150)
   at org.restlet.routing.Filter.handle(Filter.java:197)
   at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)
   at org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:77)
   at org.restlet.Application.handle(Application.java:385)
   at org.restlet.routing.Filter.doHandle(Filter.java:150)
   at org.restlet.routing.Filter.handle(Filter.java:197)
   at org.restlet.routing.Router.doHandle(Router.java:422)
   at org.restlet.routing.Router.handle(Router.java:641)
   at org.restlet.routing.Filter.doHandle(Filter.java:150)
   at org.restlet.routing.Filter.handle(Filter.java:197)
   at org.restlet.routing.Router.doHandle(Router.java:422)
   at org.restlet.routing.Router.handle(Router.java:641)
   at org.restlet.routing.Filter.doHandle(Filter.java:150)
   at org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:140)
   at org.restlet.routing.Filter.handle(Filter.java:197)
   at org.restlet.routing.Filter.doHandle(Filter.java:150)
   at org.restlet.routing.Filter.handle(Filter.java:197)
   at org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)
   at org.restlet.Component.handle(Component.java:408)
   at org.restlet.Server.handle(Server.java:507)
   at org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:63)
   at org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:143)
   at org.restlet.ext.simple.internal.SimpleContainer.handle(SimpleContainer.java:74)
   at org.simpleframework.http.core.Dispatcher.dispatch(Dispatcher.java:121)
   at org.simpleframework.http.core.Dispatcher.run(Dispatcher.java:103)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.nio.file.FileSystemException: U:\: Data error (cyclic redundancy check).

   at sun.nio.fs.WindowsException.translateToIOException(WindowsException.java:86)
   at sun.nio.fs.WindowsException.asIOException(WindowsException.java:106)
   at sun.nio.fs.WindowsDirectoryStream$WindowsDirectoryIterator.readNextEntry(WindowsDirectoryStream.java:178)
   at sun.nio.fs.WindowsDirectoryStream$WindowsDirectoryIterator.hasNext(WindowsDirectoryStream.java:209)
   at java.nio.file.Files$2.hasNext(Files.java:3460)
   ... 72 more



Any orientation or suggestion on how to fix this issue ?

Thanks in advance.
<<

atc98092

User avatar

DLNA master

Posts: 5213

Joined: Fri Aug 17, 2012 10:22 pm

Location: Washington (the state)

Post Fri Dec 03, 2021 3:35 pm

Re: An unexpected error occurred (500). Check the log.

I noticed that the log is indicating a U: drive. Is this a local drive, or something on the network? Serviio runs on as a Local System user, and has limited permissions for non-local drives. The first thing I'd try is changing the user account that Serviio uses to the same user account you use to log into the computer. In Windows, you change that using the Services applet. Find Serviio and open the properties. There's a login tab that lets you change the user. Make sure you have the user name and password correct, as it doesn't validate the info when you enter it. Then restart the Serviio service and see if your problem is resolved.
Dan

LG NANO85 4K TV, Samsung JU7100 4K TV, Sony BDP-S3500, Sharp 4K Roku TV, Insignia Roku TV, Roku Ultra, Premiere and Stick, Nvidia Shield, Yamaha RX-V583 AVR.
Primary server: Intel i5-6400, 16 gig ram, Windows 10 Pro, 22 TB hard drive space | Test server Windows 10 Pro, AMD Phenom II X4 965, 8 gig ram

HOWTO: Enable debug logging HOWTO: Identify media file contents

Return to Serviio Support & Help

Who is online

Users browsing this forum: No registered users and 34 guests

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.