Page 1 of 1
Media Files Not Visible / Your browse data was not received from the server
Posted: Tue Aug 04, 2026 4:07 am
by NeilHoskins
Tried version 15.8.0 on my PiOS server and it seemed to go OK but all my media files became invisible to UMS (they're still there on the drive). Tried all the usual things, deleted the database, checked permissions, deleted then re-added the share locations in UMS. Nothing. Went back to 15.7.0 and the same. Tried everything again. Tried moving the actual media files to my home folder with wide-open permissions, still nothing. Media is still invisible to VLC on my phone and to my LGTV. Tried the local player on <ipaddress>:9002 and it gives the error "Your browse data was not received from the server". Very disappointed bunny because this has been working fine for months for all our music and photos and has been in use almost every day. Logs attached (hopefully).
Re: Media Files Not Visible / Your browse data was not received from the server
Posted: Tue Aug 04, 2026 5:44 am
by mik_s
There are many database errors as it failed to update. this is just an example
Code: Select all
TRACE 2026-08-03 16:42:37.493 [main] net.pms.database.DatabaseHelper Execute Update with SQL "CREATE ALIAS IF NOT EXISTS FTL_INIT FOR 'net.pms.database.lucene.UmsFullTextLucene.init';"
ERROR 2026-08-03 16:42:37.513 [main] net.pms.database.MediaTableFiles SQL error while (re)initializing tables: Exception calling user-defined function: "createIndex(conn6: url=jdbc:default:connection user=SA, PUBLIC, FILES, ONLYFILENAME): Could not initialize class org.apache.lucene.store.MMapDirectory"; SQL statement:
CALL FTL_CREATE_INDEX('PUBLIC', 'FILES', 'ONLYFILENAME') [90105-240]
TRACE 2026-08-03 16:42:37.513 [main] net.pms.database.MediaTableFiles
org.h2.jdbc.JdbcSQLNonTransientException: Exception calling user-defined function: "createIndex(conn6: url=jdbc:default:connection user=SA, PUBLIC, FILES, ONLYFILENAME): Could not initialize class org.apache.lucene.store.MMapDirectory"; SQL statement:
CALL FTL_CREATE_INDEX('PUBLIC', 'FILES', 'ONLYFILENAME') [90105-240]
at org.h2.message.DbException.getJdbcSQLException(DbException.java:566)
at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
at org.h2.message.DbException.get(DbException.java:212)
at org.h2.message.DbException.convertInvocation(DbException.java:436)
at org.h2.schema.FunctionAlias$JavaMethod.execute(FunctionAlias.java:508)
at org.h2.schema.FunctionAlias$JavaMethod.getValue(FunctionAlias.java:345)
at org.h2.expression.function.JavaFunction.getValue(JavaFunction.java:40)
at org.h2.command.dml.Call.query(Call.java:70)
at org.h2.command.CommandContainer.query(CommandContainer.java:222)
at org.h2.command.Command.executeQuery(Command.java:198)
at org.h2.jdbc.JdbcStatement.executeInternal(JdbcStatement.java:257)
at org.h2.jdbc.JdbcStatement.execute(JdbcStatement.java:231)
at com.zaxxer.hikari.pool.ProxyStatement.execute(ProxyStatement.java:95)
at com.zaxxer.hikari.pool.HikariProxyStatement.execute(HikariProxyStatement.java)
at net.pms.database.DatabaseHelper.execute(DatabaseHelper.java:655)
at net.pms.database.MediaTableFiles.createTable(MediaTableFiles.java:613)
at net.pms.database.MediaTableFiles.upgradeTable(MediaTableFiles.java:551)
at net.pms.database.MediaTableFiles.checkTable(MediaTableFiles.java:209)
at net.pms.database.MediaDatabase.checkTables(MediaDatabase.java:90)
at net.pms.database.MediaDatabase.onOpening(MediaDatabase.java:58)
at net.pms.database.Database.init(Database.java:98)
at net.pms.database.MediaDatabase.init(MediaDatabase.java:216)
at net.pms.PMS.init(PMS.java:259)
at net.pms.PMS.createInstance(PMS.java:1011)
at net.pms.PMS.main(PMS.java:962)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.apache.lucene.store.MMapDirectory
at org.apache.lucene.store.FSDirectory.open(FSDirectory.java:161)
at org.apache.lucene.store.FSDirectory.open(FSDirectory.java:156)
at net.pms.database.lucene.UmsFullTextLucene.getIndexAccess(UmsFullTextLucene.java:308)
at net.pms.database.lucene.UmsFullTextLucene$FullTextTrigger.init(UmsFullTextLucene.java:516)
at net.pms.database.lucene.UmsFullTextLucene.indexExistingRows(UmsFullTextLucene.java:361)
at net.pms.database.lucene.UmsFullTextLucene.createIndex(UmsFullTextLucene.java:152)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at org.h2.schema.FunctionAlias$JavaMethod.execute(FunctionAlias.java:495)
... 20 common frames omitted
Caused by: java.lang.ExceptionInInitializerError: Exception java.lang.LinkageError: MemorySegmentIndexInputProvider is missing in Lucene JAR file [in thread "main"]
at org.apache.lucene.store.MMapDirectory.lookupProvider(MMapDirectory.java:547)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:319)
at org.apache.lucene.store.MMapDirectory.doPrivileged(MMapDirectory.java:485)
at org.apache.lucene.store.MMapDirectory.<clinit>(MMapDirectory.java:563)
at org.apache.lucene.store.FSDirectory.open(FSDirectory.java:161)
at org.apache.lucene.store.FSDirectory.open(FSDirectory.java:156)
at net.pms.database.lucene.UmsFullTextLucene.getIndexAccess(UmsFullTextLucene.java:308)
at net.pms.database.lucene.UmsFullTextLucene$FullTextTrigger.init(UmsFullTextLucene.java:516)
at org.h2.schema.TriggerObject.load(TriggerObject.java:90)
at org.h2.schema.TriggerObject.setTriggerAction(TriggerObject.java:149)
at org.h2.schema.TriggerObject.setTriggerClassName(TriggerObject.java:131)
at org.h2.command.ddl.CreateTrigger.update(CreateTrigger.java:123)
at org.h2.engine.MetaRecord.prepareAndExecute(MetaRecord.java:74)
at org.h2.engine.Database.executeMeta(Database.java:680)
at org.h2.engine.Database.executeMeta(Database.java:670)
at org.h2.engine.Database.<init>(Database.java:361)
at org.h2.engine.Engine.openSession(Engine.java:92)
at org.h2.engine.Engine.openSession(Engine.java:222)
at org.h2.engine.Engine.createSession(Engine.java:201)
at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:350)
at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:124)
at org.h2.Driver.connect(Driver.java:59)
at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:144)
at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:373)
at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:210)
at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:488)
at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:576)
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:97)
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:111)
at net.pms.database.Database.getConnection(Database.java:71)
at net.pms.database.Database.open(Database.java:108)
at net.pms.database.Database.init(Database.java:96)
... 4 common frames omitted
I recently ran the build script I was given to try the latest versions and the tests failed with similar errors. I just made an
issue about it on Github.
I can get it to compile skipping tests but I got those database errors too.
I can't remember exactly how I fixed it for me as I tried several things, but I think I deleted the database after backing it up so a fresh one is created that does not need to be updated.
I think I used the new backup options to preserve played status and then restored that once all my filed had been scanned.
If you go back a version you probably would need a fresh database as yours may be too different for that version to use now.
Delete
/home/neil/.config/UMS/database/medias when UMS is not running and a new one will be built when UMS is started.
Try the backup option first to at least preserve the unique data so you can restore it once it is fixed.
I'll link to this post in that issue so the devs can look into this.
Re: Media Files Not Visible / Your browse data was not received from the server
Posted: Tue Aug 04, 2026 7:53 am
by NeilHoskins
Thanks. Yes, I've deleted the database loads of times so that it will start from scratch. Doesn't make any difference.
Re: Media Files Not Visible / Your browse data was not received from the server
Posted: Tue Aug 04, 2026 7:15 pm
by ikrahne@hotmail.com
Please make sure to use JDK17.
Re: Media Files Not Visible / Your browse data was not received from the server
Posted: Sat Aug 29, 2026 10:05 am
by SubJunk
Yeah like ikrahne said, you are using JDK v21 which might be the problem. We are designed for Java 17.
15.8.1 fixes one of the incompatibility problems with JDK 21+ though so it might work. I will DM you a link so you can try it