New PC = Strange Happenings

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
DJWolverine
Posts: 14
Joined: Sun Aug 30, 2015 2:38 pm

New PC = Strange Happenings

Post by DJWolverine »

setup a brand new PC about 10 days back...right away installed UMS 14.2.1, pointed it at my favorite folders
and started using it later that day with no problems. Suddenly this past Thursday when I go to any o my 3 folders, Movies;TVShows
or Music I get a 'There is no content available' message and it boots me to the Select Media button at the top of the page.
I've changed no settings or anything...also I've rechecked that the folders are correctly pointing where they should be,even
went back a few versions of UMS...always the same result?? please,if anyone has seen or knows how to fix this let me know. Thank You
Attachments
ums_dbg_2024-07-31-09-57.zip
(350.22 KiB) Downloaded 1096 times
Last edited by DJWolverine on Thu Aug 01, 2024 5:01 am, edited 1 time in total.
User avatar
mik_s
Moderator
Posts: 1445
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: New PC = Strange Happenings

Post by mik_s »

Could you post your logs (see the section in red) so I can see what is happening.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
DJWolverine
Posts: 14
Joined: Sun Aug 30, 2015 2:38 pm

Re: New PC = Strange Happenings

Post by DJWolverine »

well apparently the log file didn't help...but I have discovered that it's a Win 11 problem. I have a dual boot setup and when I booted into Win 10
to do the monthly Windows Update this past Tuesday I installed the latest version of UMS and it worked perfectly in Win 10 but once I updated and
booted back into Win 11 I get exactly the same message in UMS, 'there is no media content available'. I've tried over a dozen fixing suggestions
but nothing seems to work....so damn frustrating! but I'll keep searching and post back here if I ever do find a solution
binary512
Posts: 36
Joined: Sat Sep 30, 2017 2:10 am

Re: New PC = Strange Happenings

Post by binary512 »

I got the same error after upgrading from UMS 13.x to 14.x on a Windows 10 machine. It appeared to be a database corruption. I did a Clean installation of 14.x and the problem went away.
User avatar
mik_s
Moderator
Posts: 1445
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: New PC = Strange Happenings

Post by mik_s »

Sorry I did not see you had attached the logs to your original post.

I could not see anything odd so something must be blocking some of the network traffic for UMS.
I can see some communications to a WDTVLive and an unknown renderer on 192.168.1.254
It is the WDTVLive that is showing this issue?

I do see some information being sent to it that appears to be the list of shared folders but the <ObjectID> is missing in the reply which causes an error.

This it the content requested

Code: Select all

================================== HTTPSERVER REQUEST BEGIN =====================================
POST /dev/c0cda51b-2736-43a0-8bf3-c697a1099776/svc/upnp-org/ContentDirectory/action HTTP/1.1

HEADER:
  Host: 192.168.1.64:5001
  User-agent: INTEL_NMPR/2.1 DLNADOC/1.50 dma/3.0 alphanetworks
  Content-type: text/xml; charset="utf-8"
  Soapaction: "urn:schemas-upnp-org:service:ContentDirectory:1#Browse"
  Content-length: 455

CONTENT:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <u:Browse xmlns:u="urn:schemas-upnp-org:service:ContentDirectory:1">
            <ObjectID>null</ObjectID>
            <BrowseFlag>BrowseDirectChildren</BrowseFlag>
            <Filter>*</Filter>
            <StartingIndex>0</StartingIndex>
            <RequestedCount>64</RequestedCount>
            <SortCriteria/>
        </u:Browse>
    </s:Body>
</s:Envelope>
================================== HTTPSERVER REQUEST END =======================================
And this is the reply

Code: Select all

================================== HTTPSERVER RESPONSE BEGIN ====================================
HTTP/1.1 500 Internal Server Error

HEADER:
  Ext: 
  Server: Windows11/10.0 UPnP/1.0 UMS/14.2.1
  Content-type: text/xml;charset="utf-8"

CONTENT:
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <s:Body>
        <s:Fault>
            <faultcode>s:Client</faultcode>
            <faultstring>UPnPError</faultstring>
            <detail>
                <UPnPError xmlns="urn:schemas-upnp-org:control-1-0">
                    <errorCode>701</errorCode>
                    <errorDescription>The specified ObjectID is invalid</errorDescription>
                </UPnPError>
            </detail>
        </s:Fault>
    </s:Body>
</s:Envelope>
================================== HTTPSERVER RESPONSE END ======================================
As you have dual booted into Win10 and it works then something on your Win11 install is blocking it like the firewall or antivirus.

I remember some users have had an issue with Avast as it can block Uni/Multicast transmissions as well as UPnP.
This might be helpful if you use Avast or even something else to give a clue on what to unblock

@binary512 Good catch, I did not see anything marked as error but there is an exception related to a corrupt database.

Code: Select all

net.pms.database.Database 
org.h2.jdbc.JdbcSQLNonTransientConnectionException: File corrupted while reading record: "C:/ProgramData/UMS/database/medias.mv.db". Possible solution: use the recovery tool [90030-224]
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:690)
	at org.h2.message.DbException.getJdbcSQLException(DbException.java:489)
	at org.h2.message.DbException.get(DbException.java:212)
	at org.h2.mvstore.db.Store.convertMVStoreException(Store.java:163)
	at org.h2.mvstore.db.Store.<init>(Store.java:142)
	at org.h2.engine.Database.<init>(Database.java:326)
	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:343)
	at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:125)
	at org.h2.Driver.connect(Driver.java:59)
	at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:137)
	at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:360)
	at com.zaxxer.hikari.pool.PoolBase.newPoolEntry(PoolBase.java:202)
	at com.zaxxer.hikari.pool.HikariPool.createPoolEntry(HikariPool.java:461)
	at com.zaxxer.hikari.pool.HikariPool.checkFailFast(HikariPool.java:550)
	at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:98)
	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:121)
	at net.pms.database.Database.init(Database.java:96)
	at net.pms.database.MediaDatabase.init(MediaDatabase.java:187)
	at net.pms.PMS.init(PMS.java:259)
	at net.pms.PMS.createInstance(PMS.java:1020)
	at net.pms.PMS.main(PMS.java:971)
Caused by: org.h2.mvstore.MVStoreException: File is corrupted - unable to recover a valid set of chunks [2.2.224/6]
	at org.h2.mvstore.DataUtils.newMVStoreException(DataUtils.java:996)
	at org.h2.mvstore.RandomAccessStore.readStoreHeader(RandomAccessStore.java:320)
	at org.h2.mvstore.FileStore.start(FileStore.java:916)
	at org.h2.mvstore.MVStore.<init>(MVStore.java:289)
	at org.h2.mvstore.MVStore$Builder.open(MVStore.java:2035)
	at org.h2.mvstore.db.Store.<init>(Store.java:133)
	... 21 common frames omitted 
This makes sense as the IDs are stored in the database and if this is corrupted then UMS can only send a null ID, then it it will receive a null ID back in the content request.

Deleting C:/ProgramData/UMS/database/medias.mv.db should fix this as a new database will be rebuilt.

Are you using the same installation for both versions of windows? It is possible one of them corrupted the database if they are sharing it by leaving behind some OS data.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
DJWolverine
Posts: 14
Joined: Sun Aug 30, 2015 2:38 pm

Re: New PC = Strange Happenings

Post by DJWolverine »

to wrap this up....after using my uninstaller program to completely remove UMS, I did a clean install
of UMS 14.3.0 and reset all my settings to my prefereces, it all works perfectly again...thanks for the input!!
Post Reply