FAQ  •  Register  •  Login

Pbm with indexing files

<<

mib182

Serviio newbie

Posts: 10

Joined: Wed Jul 23, 2014 12:07 pm

Post Thu Apr 21, 2016 8:08 pm

Pbm with indexing files

Hello,

On my Nas Synology DS414, I updated Serviio fron 1.5.X (don't rember exactly the version) to 1.6.0-0029.
From this update I have many problem with the auto update library : some times juste an error in logs, sometims it's lock and I have to restart Serviio.

I tried to clean all the db library (with backup before), but was not working.
After I tried to uninstall Serviio and ré-installed it, but With all the library/db/cache empty it started to index files. I saw the same errors.
So I stop Serviio and I restored the backup.

This is the versions of the software :
Nas Synology DS414 : DSM 6.0-7321 update 2
Serviio 1.6.0-0029
Java SE Embedded 8 (1.8.0_77-0038)

ffmpeg version 2.7.1 Copyright (c) 2000-2015 the FFmpeg developers
built with gcc 4.9.3 (crosstool-NG 1.20.0) 20150311 (prerelease)
configuration: --prefix=/usr --incdir='${prefix}/include/ffmpeg' --arch=arm --target-os=linux --cross-prefix=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- --enable-cross-compile --enable-optimizations --enable-pic --enable-gpl --enable-shared --disable-static --enable-version3 --enable-nonfree --enable-libfaac --enable-encoders --enable-pthreads --disable-bzlib --disable-protocol=rtp --disable-muxer=image2 --disable-muxer=image2pipe --disable-swscale-alpha --disable-ffserver --disable-ffplay --disable-devices --disable-bzlib --disable-altivec --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libmp3lame --disable-vaapi --disable-decoder=amrnb --disable-encoder=zmbv --disable-encoder=dca --disable-encoder=ac3 --disable-encoder=ac3_fixed --disable-encoder=eac3 --disable-decoder=dca --disable-decoder=eac3 --disable-decoder=truehd --cc=/usr/local/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-ccache-gcc
libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100

Here is the derby.log :
----------------------------------------------------------------
Thu Apr 21 13:48:33 CEST 2016:
Booting Derby version The Apache Software Foundation - Apache Derby - 10.12.1.1 - (1704137): instance a816c00e-0154-38a6-7003-ffffb1df
299e
on database directory /volume1/@appstore/Serviio/library/db with class loader sun.misc.Launcher$AppClassLoader@647e05
Loaded from file:/volume1/@appstore/Serviio/lib/derby.jar
java.vendor=Oracle Corporation
java.runtime.version=1.8.0_77-b03
user.dir=/
os.name=Linux
os.arch=arm
os.version=3.2.40
derby.system.home=/var/packages/Serviio/target/library
derby.stream.error.file=../log/derby.log
Database Class Loader started - derby.database.classpath=''

Serviio.log :
Java HotSpot(TM) Embedded Client VM warning: G1 GC is disabled in this release.
2016-04-21 13:48:30,145 INFO [MediaServer] ------------------------------------------------------------------------
2016-04-21 13:48:30,161 INFO [MediaServer] Serviio DLNA media streaming server v 1.6 (rev. 9a1458ed77db)
2016-04-21 13:48:30,162 INFO [MediaServer] Petr Nejedly 2009-2015
2016-04-21 13:48:30,162 INFO [MediaServer] http://www.serviio.org
2016-04-21 13:48:30,162 INFO [MediaServer]
2016-04-21 13:48:30,163 INFO [MediaServer] Java 1.8.0_77-Oracle Corporation arm
2016-04-21 13:48:30,163 INFO [MediaServer] OS Linux 3.2.40
2016-04-21 13:48:30,163 INFO [MediaServer] File encoding: UTF-8
2016-04-21 13:48:30,479 INFO [MediaServer] Headless mode enabled: true
2016-04-21 13:48:30,480 INFO [MediaServer] User: root
2016-04-21 13:48:30,480 INFO [MediaServer] User home dir: /root
2016-04-21 13:48:30,481 INFO [MediaServer] Temp dir: /tmp
2016-04-21 13:48:30,481 INFO [MediaServer] ------------------------------------------------------------------------
2016-04-21 13:48:31,406 INFO [WebServer] Socket buffer set to 65535 bytes
2016-04-21 13:48:31,408 INFO [RestletServer] Starting Restlet server (/console) exposed on port 23423
2016-04-21 13:48:31,423 INFO [RestletServer] Starting Restlet server (/rest) exposed on port 23423
2016-04-21 13:48:31,723 INFO [RestletServer] Starting Restlet server (/cds) exposed on port 23424
2016-04-21 13:48:31,724 INFO [RestletServer] Starting Restlet server (/mediabrowser) exposed on port 23424
2016-04-21 13:48:31,773 INFO [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2016-04-21 13:48:31,800 INFO [DatabaseManager] Using DERBY database language
2016-04-21 13:48:40,908 INFO [Device] Created UPnP Device with UUID: c49f9efb-8240-3ab0-8a73-08bc133ecad0, bound address: 192.168.3.253
2016-04-21 13:48:41,521 INFO [FileDeltaWatcher] Using 'sun.nio.fs.LinuxWatchService' for delta scan
2016-04-21 13:48:41,641 INFO [MediaServer] ------------------------------------------------------------------------
2016-04-21 13:48:41,642 INFO [MediaServer] License: FREE
2016-04-21 13:48:41,642 INFO [MediaServer] ------------------------------------------------------------------------
2016-04-21 13:48:44,433 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2016-04-21 13:48:44,705 INFO [ProfilesDefinitionParser] Added profile 'Generic DLNA profile' (id=1)
2016-04-21 13:48:44,732 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (B-series)' (id=2)
2016-04-21 13:48:44,740 INFO [ProfilesDefinitionParser] Added profile 'Xbox 360' (id=3)
2016-04-21 13:48:44,748 INFO [ProfilesDefinitionParser] Added profile 'Playstation 3' (id=4)
2016-04-21 13:48:44,761 INFO [ProfilesDefinitionParser] Added profile 'Playstation 4' (id=ps4)
2016-04-21 13:48:44,764 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV (A-series)' (id=5)
2016-04-21 13:48:44,773 INFO [ProfilesDefinitionParser] Added profile 'DirecTV HD-DVR' (id=6)
2016-04-21 13:48:45,011 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (H-series)' (id=sam_h)
2016-04-21 13:48:45,016 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (J-series)' (id=sam_j)
2016-04-21 13:48:45,025 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (E/F-series)' (id=sam_ef)
2016-04-21 13:48:45,027 INFO [ProfilesDefinitionParser] Added profile 'Samsung TV / player (C/D-series)' (id=7)
2016-04-21 13:48:45,029 INFO [ProfilesDefinitionParser] Added profile 'LG TV / player' (id=8)
2016-04-21 13:48:45,036 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012)' (id=sony2012)
2016-04-21 13:48:45,052 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2013/14)' (id=sony2013)
2016-04-21 13:48:45,055 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx100 (2013)' (id=bdp2013)
2016-04-21 13:48:45,057 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx90 (2012)' (id=bdp2012)
2016-04-21 13:48:45,069 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010)' (id=bdp2010)
2016-04-21 13:48:45,071 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx70/SMP-N100 (2010) - US' (id=bdp2010us)
2016-04-21 13:48:45,073 INFO [ProfilesDefinitionParser] Added profile 'Sony BDP-Sx80/SMP-N200 (2011)' (id=bdp2011)
2016-04-21 13:48:45,074 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA' (id=13)
2016-04-21 13:48:45,076 INFO [ProfilesDefinitionParser] Added profile 'Toshiba REGZA 2012-' (id=tosh2012)
2016-04-21 13:48:45,080 INFO [ProfilesDefinitionParser] Added profile 'WDTV Live' (id=14)
2016-04-21 13:48:45,081 INFO [ProfilesDefinitionParser] Added profile 'LaCie LaCinema Media Player' (id=15)
2016-04-21 13:48:45,082 INFO [ProfilesDefinitionParser] Added profile 'Manta WIFI Centre' (id=16)
2016-04-21 13:48:45,083 INFO [ProfilesDefinitionParser] Added profile 'Pure Flow' (id=17)
2016-04-21 13:48:45,084 INFO [ProfilesDefinitionParser] Added profile 'Sharp Aquos' (id=18)
2016-04-21 13:48:45,085 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011)' (id=sony2011)
2016-04-21 13:48:45,086 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2010)' (id=sony2010)
2016-04-21 13:48:45,088 INFO [ProfilesDefinitionParser] Added profile 'Philips (2010-)' (id=plps2010)
2016-04-21 13:48:45,089 INFO [ProfilesDefinitionParser] Added profile 'Philips (2009)' (id=20)
2016-04-21 13:48:45,091 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2009)' (id=sony2009)
2016-04-21 13:48:45,093 INFO [ProfilesDefinitionParser] Added profile 'Denon AVR' (id=22)
2016-04-21 13:48:45,095 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2013)' (id=viera2013)
2016-04-21 13:48:45,096 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera G/GT/DT/UT/VT (2011/2012)' (id=viera2011a)
2016-04-21 13:48:45,097 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera E/S/ST/VT (2011)' (id=viera2011)
2016-04-21 13:48:45,098 INFO [ProfilesDefinitionParser] Added profile 'Panasonic Viera (2010)' (id=viera2010)
2016-04-21 13:48:45,099 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2012) - US' (id=sony2012us)
2016-04-21 13:48:45,100 INFO [ProfilesDefinitionParser] Added profile 'Sony Bravia TV (2011) - US' (id=sony2011us)
2016-04-21 13:48:45,102 INFO [ProfilesDefinitionParser] Added profile 'Sony AVReceiver STR' (id=SonySTR)
2016-04-21 13:48:45,103 INFO [ProfilesDefinitionParser] Added profile 'Sony Audio CMT' (id=SonyCMT)
2016-04-21 13:48:45,104 INFO [ProfilesDefinitionParser] Added profile 'Vizio TV' (id=viziotv)
2016-04-21 13:48:45,107 INFO [ProfilesDefinitionParser] Added profile 'Windows 8/RT' (id=win8metro)
2016-04-21 13:48:45,109 INFO [ProfilesDefinitionParser] Added profile 'Panasonic BD player' (id=panasonicBDT220)
2016-04-21 13:48:45,110 INFO [ProfilesDefinitionParser] Added profile 'Philips NP Streamium' (id=philips_streamium)
2016-04-21 13:48:45,112 INFO [ProfilesDefinitionParser] Added profile 'Chaneru' (id=roku)
2016-04-21 13:48:45,116 INFO [ProfilesDefinitionParser] Added profile 'Roku Media Player' (id=RokuMPApp)
2016-04-21 13:48:45,117 INFO [ProfilesDefinitionParser] Added profile 'Yamaha BD-A1020/BD-A1010' (id=YamBD)
2016-04-21 13:48:45,119 INFO [ProfilesDefinitionParser] Added profile 'Telenet Yelo TV' (id=TNDC)
2016-04-21 13:48:45,121 INFO [ProfilesDefinitionParser] Added profile 'Xbox One' (id=xbox_one)
2016-04-21 13:48:45,123 INFO [ProfilesDefinitionParser] Added profile 'Raumfeld' (id=raumfeld)
2016-04-21 13:48:45,224 INFO [ProfilesDefinitionParser] Parsing Profiles definition
2016-04-21 13:48:45,227 INFO [ProfilesDefinitionParser] Added profile 'Flash player' (id=flv_player)
2016-04-21 13:48:45,230 INFO [ProfilesDefinitionParser] Added profile 'iOS' (id=ios)
2016-04-21 13:48:45,231 INFO [ProfilesDefinitionParser] Added profile 'HTML5' (id=html5)
2016-04-21 13:48:45,233 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Standard)' (id=serviigo_standard)
2016-04-21 13:48:45,234 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Legacy Devices)' (id=serviigo)
2016-04-21 13:48:45,236 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (HLS)' (id=serviigo_hls)
2016-04-21 13:48:45,238 INFO [ProfilesDefinitionParser] Added profile 'ServiiGo (Google TV)' (id=serviigo_gtv)
2016-04-21 13:48:45,240 INFO [ProfilesDefinitionParser] Added profile 'Google Cast' (id=googlecast)
2016-04-21 13:48:45,242 INFO [ProfilesDefinitionParser] Added profile 'Chromecast' (id=chromecast)
2016-04-21 13:48:45,244 INFO [ProfilesDefinitionParser] Added profile 'Windows Phone 8' (id=wp8)
2016-04-21 13:48:45,327 INFO [PluginCompilerThread] Looking for plugins at /volume1/public/serviio/plugins
2016-04-21 13:48:45,331 INFO [PluginCompilerThread] Started looking for plugins
2016-04-21 13:48:45,345 INFO [UpdateChecker] Checking if a new version is available
2016-04-21 13:48:45,852 INFO [FFMPEGWrapper] Found FFmpeg: ffmpeg version 2.7.1-compiled_by_patters_for_Serviio Copyright (c) 2000-2015 the FFmpeg developers
2016-04-21 13:48:45,943 INFO [AbstractAVTranscodingDeliveryEngine] Cleaning transcode engine and its data
2016-04-21 13:48:46,006 INFO [WebServer] WebServer starting on port 8895
2016-04-21 13:48:46,007 INFO [Device] Updated bound IP address of Device with UUID: c49f9efb-8240-3ab0-8a73-08bc133ecad0, bound address: 192.168.3.253
2016-04-21 13:48:46,046 INFO [EventSubscriptionExpirationChecker] Starting EventSubscriptionExpirationChecker
2016-04-21 13:48:46,048 INFO [EventDispatcher] Starting EventDispatcher
2016-04-21 13:48:46,054 INFO [DiscoverySSDPMessageListener] Starting DiscoverySSDPMessageListener using interface bond0 (bond0) and address 192.168.3.253, timeout = 0
2016-04-21 13:48:46,061 INFO [DiscoveryAdvertisementNotifier] Starting DiscoveryAdvertisementNotifier
2016-04-21 13:48:46,065 INFO [RendererSearchSender] Searching for Renderer devices
2016-04-21 13:48:46,066 INFO [RendererExpirationChecker] Starting RendererExpirationChecker
2016-04-21 13:49:12,161 INFO [FeedUpdaterWorker] Started looking for information about online resources
2016-04-21 13:49:12,171 INFO [RepositoriesStatusCoordinator$RepositoriesStatusThread] Started checking repositories status
2016-04-21 13:53:41,917 INFO [MediaFileIndexer] Updated [...]
[...]
2016-04-21 13:54:01,731 WARN [MediaFileIndexer] Cannot update file file1 in library because of anunexpected error. Message: Malformed input or input contains unmappable characters: /volume1/@appstore/Serviio/library/search/_1nqm.cfs
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /volume1/@appstore/Serviio/library/search
/_1nqm.cfs
at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
at java.io.File.toPath(File.java:2234)
at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:81)
at org.apache.lucene.store.CompoundFileDirectory.<init>(CompoundFileDirectory.java:104)
at org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:274)
at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:107)
at org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:145)
at org.apache.lucene.index.ReadersAndUpdates.getReadOnlyClone(ReadersAndUpdates.java:239)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:109)
at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:421)
at org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:297)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
at org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:171)
at org.serviio.library.search.Searcher.openReader(Searcher.java:192)
at org.serviio.library.search.Searcher.searchDocs(Searcher.java:95)
at org.serviio.library.search.SearchManager.updateDoc(SearchManager.java:125)
at org.serviio.library.local.service.SearchService.updateStockTailValue(SearchService.java:57)
at org.serviio.library.local.stacking.StackingManager.updateSearchDataForStack(StackingManager.java:146)
at org.serviio.library.local.stacking.StackingManager.lambda$updateStackForANewFile$66(StackingManager.java:94)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.stacking.StackingManager.updateStackForANewFile(StackingManager.java:86)
at org.serviio.library.local.service.VideoService.updateVideoInLibrary(VideoService.java:328)
at org.serviio.library.local.indexing.MediaFileIndexer.updateMediaFile(MediaFileIndexer.java:150)
at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileUpdated(DefaultLibraryMonitor.java:65)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:175)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
at java.lang.Thread.run(Thread.java:745)
2016-04-21 13:54:27,573 WARN [MediaFileIndexer] Cannot update file File2 in library because of an unexpected error. Message: 0
java.lang.ArrayIndexOutOfBoundsException: 0
at sun.nio.cs.UTF_8$Encoder.encode(UTF_8.java:716)
at java.lang.StringCoding$StringEncoder.encode(StringCoding.java:304)
at java.lang.StringCoding.encode(StringCoding.java:344)
at java.lang.String.getBytes(String.java:918)
at java.io.UnixFileSystem.getLastModifiedTime(Native Method)
at java.io.File.lastModified(File.java:943)
at org.serviio.util.FileUtils.getLastModifiedDate(FileUtils.java:126)
at org.serviio.library.local.metadata.extractor.embedded.EmbeddedMetadataExtractor.retrieveMetadata(EmbeddedMetadataExtractor.java:147)
at org.serviio.library.local.metadata.extractor.MetadataExtractor.extract(MetadataExtractor.java:47)
at org.serviio.library.local.MetadataExtractionCoordinator.extractMetadata(MetadataExtractionCoordinator.java:68)
at org.serviio.library.local.indexing.MediaFileIndexer.updateMediaFile(MediaFileIndexer.java:139)
at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileUpdated(DefaultLibraryMonitor.java:65)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:175)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
at java.lang.Thread.run(Thread.java:745)
2016-04-21 13:55:50,284 WARN [MediaFileIndexer] Cannot update file File3 in library because of an unexpected error. Message: Malformed input or input contains unmappable characters: /volume1/@appstore/Serviio/library/search/_1nqn.cfs
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /volume1/@appstore/Serviio/library/search/_1nqn.cfs
at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
at java.io.File.toPath(File.java:2234)
at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:81)
at org.apache.lucene.store.CompoundFileDirectory.<init>(CompoundFileDirectory.java:104)
at org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:274)
at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:107)
at org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:145)
at org.apache.lucene.index.ReadersAndUpdates.getReadOnlyClone(ReadersAndUpdates.java:239)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:109)
at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:421)
at org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:297)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
at org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:171)
at org.serviio.library.search.Searcher.openReader(Searcher.java:192)
at org.serviio.library.search.Searcher.searchDocs(Searcher.java:95)
at org.serviio.library.search.SearchManager.updateDoc(SearchManager.java:125)
at org.serviio.library.local.service.SearchService.updateStockTailValue(SearchService.java:57)
at org.serviio.library.local.stacking.StackingManager.updateSearchDataForStack(StackingManager.java:146)
at org.serviio.library.local.stacking.StackingManager.lambda$updateStackForANewFile$66(StackingManager.java:94)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.stacking.StackingManager.updateStackForANewFile(StackingManager.java:86)
at org.serviio.library.local.service.VideoService.updateVideoInLibrary(VideoService.java:328)
at org.serviio.library.local.indexing.MediaFileIndexer.updateMediaFile(MediaFileIndexer.java:150)
at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileUpdated(DefaultLibraryMonitor.java:65)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:175)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
at java.lang.Thread.run(Thread.java:745)
2016-04-21 13:55:53,548 WARN [MediaFileIndexer] Cannot update file File4 in library because of an une
xpected error. Message: Malformed input or input contains unmappable characters: /volume1/@appstore/Serviio/library/search/_1nqo.cfs
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /volume1/@appstore/Serviio/library/search
/_1nqo.cfs
at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
at java.io.File.toPath(File.java:2234)
at org.apache.lucene.store.NIOFSDirectory.openInput(NIOFSDirectory.java:81)
at org.apache.lucene.store.CompoundFileDirectory.<init>(CompoundFileDirectory.java:104)
at org.apache.lucene.index.SegmentReader.readFieldInfos(SegmentReader.java:274)
at org.apache.lucene.index.SegmentReader.<init>(SegmentReader.java:107)
at org.apache.lucene.index.ReadersAndUpdates.getReader(ReadersAndUpdates.java:145)
at org.apache.lucene.index.ReadersAndUpdates.getReadOnlyClone(ReadersAndUpdates.java:239)
at org.apache.lucene.index.StandardDirectoryReader.open(StandardDirectoryReader.java:109)
at org.apache.lucene.index.IndexWriter.getReader(IndexWriter.java:421)
at org.apache.lucene.index.StandardDirectoryReader.doOpenFromWriter(StandardDirectoryReader.java:297)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:272)
at org.apache.lucene.index.StandardDirectoryReader.doOpenIfChanged(StandardDirectoryReader.java:262)
at org.apache.lucene.index.DirectoryReader.openIfChanged(DirectoryReader.java:171)
at org.serviio.library.search.Searcher.openReader(Searcher.java:192)
at org.serviio.library.search.Searcher.searchDocs(Searcher.java:95)
at org.serviio.library.search.SearchManager.updateDoc(SearchManager.java:125)
at org.serviio.library.local.service.SearchService.updateStockTailValue(SearchService.java:57)
at org.serviio.library.local.stacking.StackingManager.updateSearchDataForStack(StackingManager.java:146)
at org.serviio.library.local.stacking.StackingManager.lambda$updateStackForANewFile$66(StackingManager.java:94)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.stacking.StackingManager.updateStackForANewFile(StackingManager.java:86)
at org.serviio.library.local.service.VideoService.updateVideoInLibrary(VideoService.java:328)
at org.serviio.library.local.indexing.MediaFileIndexer.updateMediaFile(MediaFileIndexer.java:150)
at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileUpdated(DefaultLibraryMonitor.java:65)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$9(PipeManager.java:175)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
at java.lang.Thread.run(Thread.java:745)

Here is the informations about the files with errors :
file File1.avi
Folder/File1.avi: RIFF (little-endian) data, AVI, 640 x 352, 25.00 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

file File2.avi
Folder/File2.avi: RIFF (little-endian) data, AVI, 640 x 352, 25.00 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

file File3.avi
Folder/File3.avi: RIFF (little-endian) data, AVI, 624 x 352, 25.00 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

file File4.avi
Folder/File4.avi: RIFF (little-endian) data, AVI, 624 x 352, 25.00 fps, video: XviD, audio: MPEG-1 Layer 3 (stereo, 48000 Hz)

Do I have something wrong in my configuration ? Or there is a (little) problem ?

Thanks.
<<

mib182

Serviio newbie

Posts: 10

Joined: Wed Jul 23, 2014 12:07 pm

Post Sat Apr 23, 2016 7:38 pm

Re: Pbm with indexing files

UP!
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16495

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Sat Apr 23, 2016 8:26 pm

Re: Pbm with indexing files

Did you add the serviio installation folder itself to the shared folders?
<<

mib182

Serviio newbie

Posts: 10

Joined: Wed Jul 23, 2014 12:07 pm

Post Sun Apr 24, 2016 6:39 pm

Re: Pbm with indexing files

Hi,

No, Serviio is installed in his default directory : /volume1/@appstore/Serviio

My medias path are :
/volume1/media/serie
/volume1/media/films
/volume1/media/...

And no user problem, Serviio is started by root.

Any ideas ?
Thanks.
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 16495

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Mon Apr 25, 2016 10:38 am

Re: Pbm with indexing files

Not sure. Might be a bug in Java, but it looks like it cannot update the search index due to the characters in the file path (of where Serviio is installed). It looks like Java is a bit broken on SYnology recently, so maybe look around here on the other threads.
<<

waclaw66

Serviio newbie

Posts: 1

Joined: Fri Sep 01, 2017 9:50 pm

Post Fri Sep 01, 2017 9:54 pm

Re: Pbm with indexing files

Same problem here. Serviio 1.9 cannot handle some Czech characters...
java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: /mnt/data/video/ke smazání/video.mp4
at sun.nio.fs.UnixPath.encode(UnixPath.java:147)
at sun.nio.fs.UnixPath.<init>(UnixPath.java:71)
at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281)
at java.io.File.toPath(File.java:2234)
at org.serviio.library.local.indexing.PendingFilesCache.path(PendingFilesCache.java:70)
at org.serviio.library.local.indexing.PendingFilesCache.remove(PendingFilesCache.java:63)
at org.serviio.library.local.indexing.MediaFileIndexer.removeMediaFile(MediaFileIndexer.java:126)
at org.serviio.library.local.indexing.DefaultLibraryMonitor.lambda$fileDeleted$156(DefaultLibraryMonitor.java:81)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.indexing.DefaultLibraryMonitor.fileDeleted(DefaultLibraryMonitor.java:81)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.lambda$run$28(PipeManager.java:176)
at java.util.Optional.ifPresent(Optional.java:159)
at org.serviio.library.local.indexing.pipe.PipeManager$PipeProcessingConsumer.run(PipeManager.java:169)
at java.lang.Thread.run(Thread.java:748)

After this event scanning stopped, server is running, but scanning continues until after restart.
Serviio runs as a systemd service under Mageia 5 x64 server, Java 1.8.0_141-b16.

Return to NAS installation

Who is online

Users browsing this forum: No registered users and 3 guests

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