Version 10.0.1 web browser problem

General discussion about Universal Media Server (no support or requests)
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Version 10.0.1 web browser problem

Post by boss »

I have had ongoing problems with UMS since around version 7 when playing movies from a browser.
These problem were that the movies would play stop play stop play.
From version 10, movies would not play at all from a web browser (Edge, Firefox or Vivaldi)
My debug log in TRACE mode is attached.

Any ideas?
Thanks
Attachments
debug.log.zip
(1.58 MiB) Downloaded 426 times
User avatar
mik_s
Moderator
Posts: 1114
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Version 10.0.1 web browser problem

Post by mik_s »

I see a lot of database SQL errors in your log like

Code: Select all

ERROR 2021-02-03 09:36:14.021 [Library Scanner] Database error while trying to add parsed information for "/home/media_mnt/Images/Photos/Lindy/Asha Syari Lippo Sunset/video_20181110_131703.mp4" to the cache: Column "MBID_RECORD" not found; SQL statement:
SELECT FILEID, ID, MBID_RECORD, MBID_TRACK, LANG, TITLE, NRAUDIOCHANNELS, SAMPLEFREQ, CODECA, BITSPERSAMPLE, ALBUM, ARTIST, ALBUMARTIST, SONGNAME, GENRE, YEAR, TRACK, DELAY, MUXINGMODE, BITRATE FROM AUDIOTRACKS WHERE FILEID = ? AND ID = ? [42122-199]
Out of curiosity do you have "Enable external network" in the general settings disabled?

I had a similar problem when first trying V10 and nothing would play in the browser and looking at the logs saw some SQL errors.
I assumed it was something to do with not getting the meta-data online as I had disabled the external network, re-enableing it fixed the problem.
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.
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: Version 10.0.1 web browser problem

Post by boss »

Thank you for the reply.
"Enable external network" is not disabled.
User avatar
mik_s
Moderator
Posts: 1114
Joined: Wed Aug 23, 2017 11:03 pm
Location: UK

Re: Version 10.0.1 web browser problem

Post by mik_s »

It is probably something to do with the update to V10, or something in the database not updating from a previous version.

I think @Subjunk will have to have a look and see what it could be.

One possible fix could be to backup/rename the database, and let UMS create a new one.
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.
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: Version 10.0.1 web browser problem

Post by boss »

Thanks for the reply.
I had already deleted the database and let UMS create a new one.
The result was still the same.
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Version 10.0.1 web browser problem

Post by SubJunk »

Hi boss,
Can you please remove/rename the database one more time, and send us logs from the first time UMS runs? The error seems to be because some columns were not created in the database, but I had a look in the code and I can't see why that error would occur, so the logs may give clues
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: Version 10.0.1 web browser problem

Post by boss »

@SubJunk
I deleted the database and restarted UMS in TRACE mode.
The log file is attached.
Thanks
Attachments
debug.log.zip
(1.47 MiB) Downloaded 339 times
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Version 10.0.1 web browser problem

Post by SubJunk »

Ok great, those database errors don't happen this time, but there is another error to follow up on:

Code: Select all

INFO  2021-02-04 09:05:17.672 [Thread-575] Exception in thread "Thread-575" java.lang.NullPointerException: Cannot invoke "java.io.InputStream.close()" because "in" is null
INFO  2021-02-04 09:05:17.672 [Thread-575] 	at net.pms.remote.RemoteUtil.lambda$dump$0(RemoteUtil.java:106)
INFO  2021-02-04 09:05:17.672 [Thread-575] 	at java.base/java.lang.Thread.run(Unknown Source)
User avatar
SubJunk
Lead Developer
Posts: 3705
Joined: Sun May 27, 2012 4:12 pm

Re: Version 10.0.1 web browser problem

Post by SubJunk »

I just tested in Edge and I don't get that error. Can you please send logs from the latest v9 so we can compare? Also it would be best to provide the full log package using these instructions https://www.universalmediaserver.com/fo ... ?f=3&t=556
boss
Posts: 343
Joined: Thu Jun 30, 2016 1:07 pm

Re: Version 10.0.1 web browser problem

Post by boss »

Thanks for the reply.
I tested with UMS 9.8.3 using Edge browser with 3 different movies.
The result was the same.
Attached is the log file in TRACE mode.
Thanks
Attachments
debug.log.zip
(899.84 KiB) Downloaded 309 times
Post Reply