Page 1 of 2

Version 10.0.1 web browser problem

Posted: Wed Feb 03, 2021 1:49 pm
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

Re: Version 10.0.1 web browser problem

Posted: Wed Feb 03, 2021 6:05 pm
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.

Re: Version 10.0.1 web browser problem

Posted: Wed Feb 03, 2021 6:26 pm
by boss
Thank you for the reply.
"Enable external network" is not disabled.

Re: Version 10.0.1 web browser problem

Posted: Wed Feb 03, 2021 6:33 pm
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.

Re: Version 10.0.1 web browser problem

Posted: Wed Feb 03, 2021 6:47 pm
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.

Re: Version 10.0.1 web browser problem

Posted: Thu Feb 04, 2021 12:00 pm
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

Re: Version 10.0.1 web browser problem

Posted: Thu Feb 04, 2021 1:10 pm
by boss
@SubJunk
I deleted the database and restarted UMS in TRACE mode.
The log file is attached.
Thanks

Re: Version 10.0.1 web browser problem

Posted: Sat Feb 06, 2021 7:08 pm
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)

Re: Version 10.0.1 web browser problem

Posted: Mon Feb 08, 2021 8:49 am
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

Re: Version 10.0.1 web browser problem

Posted: Mon Feb 08, 2021 1:01 pm
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