Page 1 of 1

Mediabrowser & Flash EOL?

PostPosted: Mon Aug 24, 2020 11:30 pm
by 67Healey
What is going to happen to the Mediabrowser in a few short months when Flash is EOL?

I've searched the forum, but can only come up with a thread from 4 years ago about some people trying to get HTML5 to work, so obviously it is not current.

viewtopic.php?f=3&t=21846

Thanks if I've missed something obvious - or if I'm the only one that cares lol :shock:

Re: Mediabrowser & Flash EOL?

PostPosted: Tue Aug 25, 2020 1:11 am
by atc98092
I'm pretty sure that MediaBrowser doesn't use Flash any longer. I can't say for sure if it's HTML5, but he did make a significant change a while back.

Re: Mediabrowser & Flash EOL?

PostPosted: Tue Aug 25, 2020 3:37 am
by 67Healey
[quote]hI'm pretty sure that MediaBrowser doesn't use Flash any longer./quote]

I can confirm 200% that my version 1.8 still uses Flash for the mediabrowser :-(

Re: Mediabrowser & Flash EOL?

PostPosted: Tue Aug 25, 2020 11:58 am
by zip
It's been moved to HTML5 player in 1.9: https://serviio.org/news/9-release-note ... -notes-1-9

Re: Mediabrowser & Flash EOL?

PostPosted: Tue Aug 25, 2020 3:00 pm
by 67Healey
zip wrote:It's been moved to HTML5 player in 1.9: https://serviio.org/news/9-release-note ... -notes-1-9


Awesome!

Thank you so much! :D

Re: Mediabrowser & Flash EOL?

PostPosted: Wed Aug 26, 2020 4:13 pm
by 67Healey
Sorry to have to repost again Petr & Dan,

But unfortunately my attempted upgrade went very poorly :-(

After installing the new version & restarting (Win 10), the console was throwing the error "Cannot connect to the server, it doesn't seem to be running..." And, just as the error correctly stated, the Serviio service wasn't running.
Ok, no big deal - just restart the service, right? No :-( - it won't keep running.

What I have tried so far:
1) Re-installing my rock solid prior version 1.8 again - no change
2) Tried a Win 10 System Restore to last week - no change
3) Found I was getting an error in the Event Viewer id 7030 about Serviio being an interactive service. Updated the registry to allow for interactive services, as per this post: viewtopic.php?f=10&t=10629 - no change, other than no more errors in the Event log.
4) Read on other Forum posts about re-installing Java, which I did - no change

So, I am really at a loss, and really need your help - as I don't want to uninstall Serviio & potentially lose all my settings from the last years.

If you could let me know, I'd really appreciate it - Thanks in advance!

Here is the debug log:

  Code:
2020-08-26 08:50:12,191 DEBUG [ApplicationInstanceManager] Listening for application instances on socket 44331
2020-08-26 08:50:12,284 INFO  [MediaServer] ------------------------------------------------------------------------
2020-08-26 08:50:12,284 INFO  [MediaServer] Serviio DLNA media streaming server v 1.8 (rev. cc55b64588cc)
2020-08-26 08:50:12,284 INFO  [MediaServer] Petr Nejedly 2009-2015
2020-08-26 08:50:12,284 INFO  [MediaServer] http://www.serviio.org
2020-08-26 08:50:12,284 INFO  [MediaServer]
2020-08-26 08:50:12,284 INFO  [MediaServer] Java 1.8.0_91-Oracle Corporation x86
2020-08-26 08:50:12,284 INFO  [MediaServer] OS Windows 10 10.0
2020-08-26 08:50:12,284 INFO  [MediaServer] File encoding: windows-1252
2020-08-26 08:50:12,316 INFO  [MediaServer] Headless mode enabled: true
2020-08-26 08:50:12,316 INFO  [MediaServer] User: NEIL$
2020-08-26 08:50:12,316 INFO  [MediaServer] User home dir: C:\WINDOWS\system32\config\systemprofile
2020-08-26 08:50:12,316 INFO  [MediaServer] Temp dir: C:\WINDOWS\TEMP\
2020-08-26 08:50:12,316 INFO  [MediaServer] ------------------------------------------------------------------------
2020-08-26 08:50:12,363 DEBUG [MediaServer] Runtime params: -Dexe4j.semaphoreName=Local\c:_program_files_pc5dczc_bin_serviioservice.exe0, -Dexe4j.isService=true, -Dexe4j.moduleName=C:\Program Files\Serviio\bin\ServiioService.exe, -Dexe4j.tempDir=C:\WINDOWS\TEMP\e4j86D3.tmp_dir1598457008, -Dexe4j.unextractedPosition=413627, -Djava.library.path=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\MKVToolNix;C:\Program Files\FileBot\;"C:\Program Files (x86)\Common Files\Apple\Apple Application Support;";C:\WINDOWS\System32\OpenSSH\;C:\Users\Neil\Downloads\ffmpeg-20180619-a990184-win64-static\bin\;C:\Program Files (x86)\Common Files\Apple\CoreFP;C:\Program Files (x86)\Common Files\Apple\Mobile Device Support;C:\Program Files (x86)\QuickTime\QTSystem\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;c:\program files\serviio\jre\bin, -Dexe4j.consoleCodepage=cp0, -Xms20M, -XX:+UseG1GC, -XX:GCTimeRatio=1, -XX:MinHeapFreeRatio=10, -XX:MaxHeapFreeRatio=20, -Djava.net.preferIPv4Stack=true, -Djava.awt.headless=true, -Dorg.restlet.engine.loggerFacadeClass=org.restlet.ext.slf4j.Slf4jLoggerFacade, -Dserviio.home=C:\Program Files\Serviio\bin\\.., -Dderby.system.home=C:\Program Files\Serviio\bin\\..\library, -Xmx512m, -Xrs
2020-08-26 08:50:12,363 INFO  [DBSchemaUpdateExecutor] Checking if DB schema needs to be updated
2020-08-26 08:50:12,378 DEBUG [DBLogDAOImpl] Checking if script 'script-0.1.sql' has been run
2020-08-26 08:50:12,378 INFO  [DatabaseManager] Using DERBY database language
2020-08-26 08:50:14,332 WARN  [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@387f44, see the next exception for details.
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
   at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.jdbc.InternalDriver.getNewEmbedConnection(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
   at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
   at java.sql.DriverManager.getConnection(DriverManager.java:664)
   at java.sql.DriverManager.getConnection(DriverManager.java:270)
   at org.serviio.db.DBConnectionPool.newConnection(DBConnetionPool.java:186)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:123)
   at org.serviio.db.DBConnectionPool.getConnection(DBConnetionPool.java:149)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:71)
   at org.serviio.db.DatabaseManager.getConnection(DatabaseManager.java:64)
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:49)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:80)
   at org.serviio.MediaServer.main(MediaServer.java:125)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
   at com.exe4j.runtime.WinLauncher$2.run(WinLauncher.java:96)
Caused by: ERROR XJ040: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@387f44, see the next exception for details.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.jdbc.SQLExceptionFactory.wrapArgsForTransportAcrossDRDA(Unknown Source)
   ... 28 more
Caused by: ERROR XSAI2: The conglomerate (16) requested does not exist.
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
   at org.apache.derby.impl.store.access.heap.HeapConglomerateFactory.readConglomerate(Unknown Source)
   at org.apache.derby.impl.store.access.CacheableConglomerate.setIdentity(Unknown Source)
   at org.apache.derby.impl.services.cache.ConcurrentCache.find(Unknown Source)
   at org.apache.derby.impl.store.access.RAMAccessManager.conglomCacheFind(Unknown Source)
   at org.apache.derby.impl.store.access.RAMTransaction.findConglomerate(Unknown Source)
   at org.apache.derby.impl.store.access.RAMTransaction.findExistingConglomerate(Unknown Source)
   at org.apache.derby.impl.store.access.RAMTransaction.openScan(Unknown Source)
   at org.apache.derby.impl.store.access.PropertyConglomerate.openScan(Unknown Source)
   at org.apache.derby.impl.store.access.PropertyConglomerate.readDbProperties(Unknown Source)
   at org.apache.derby.impl.store.access.PropertyConglomerate.getCachedDbProperties(Unknown Source)
   at org.apache.derby.impl.store.access.PropertyConglomerate.getCachedProperty(Unknown Source)
   at org.apache.derby.impl.store.access.PropertyConglomerate.getProperty(Unknown Source)
   at org.apache.derby.impl.store.access.PC_XenaVersion.upgradeIfNeeded(Unknown Source)
   at org.apache.derby.impl.store.access.PropertyConglomerate.<init>(Unknown Source)
   at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.FileMonitor.startModule(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase$5.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.db.BasicDatabase.bootServiceModule(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
   at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
   at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown Source)
   at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)
   at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source)
   at org.apache.derby.impl.jdbc.EmbedConnection$4.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at org.apache.derby.impl.jdbc.EmbedConnection.startPersistentService(Unknown Source)
   ... 25 more
2020-08-26 08:50:16,347 ERROR [MediaServer] An unexpected error occured. Ending the application. Message: null
java.lang.NullPointerException
   at org.serviio.update.dao.DBLogDAOImpl.isScriptPresent(DBLogDAOImpl.java:50)
   at org.serviio.update.DBSchemaUpdateExecutor.updateDBSchema(DBSchemaUpdateExecutor.java:80)
   at org.serviio.MediaServer.main(MediaServer.java:125)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:498)
   at com.exe4j.runtime.LauncherEngine.launch(LauncherEngine.java:62)
   at com.exe4j.runtime.WinLauncher$2.run(WinLauncher.java:96)

Re: Mediabrowser & Flash EOL?

PostPosted: Wed Aug 26, 2020 10:25 pm
by atc98092
Well, from the looks of the log the database isn't accessible. But if you installed the latest version, then installed 1.8 without removing the newer version, that's the likely cause. You can't install older versions of Serviio over a newer version. With almost every update he changes the database in some way. With version 2.0, there were significant changes, and that would explain 1.8 not being able to start it.

Unfortunately, the only solution I am aware of is to completely remove Serviio, reboot, ensure the C:\Program Files\Serviio folder is gone, then doing a clean install. Now perhaps Petr knows of some magic script that might clean things up, but that's all I have.

Re: Mediabrowser & Flash EOL?

PostPosted: Thu Aug 27, 2020 6:29 pm
by 67Healey
Thanks again Dan,

I took your advice & completely removed 1.8 & did a clean install of 2.1 - and of course, now it works great again!
It took a looong time to reload my library (during which time my Sony wouldn't connect) & to re-edit my profile file, then to figure out that you now have to add a specific user to shared folders for them to show up in the Mediabrowser, and then that in order to see the same thing on my Sony BDP sx90 & Mediabrowser that I also had to set the Sony to be the same user in the console..but at least it was a learning lesson :-)

Now that it's back up & running again - a couple of final / quick questions :
1) I don't recall seeing my Win 10 box where Serviio is installed previously listed in the console under connected devices - is that something new, or am I just having a failing memory? Is it there for the Mediabrowser? or can I just delete that entry?
2) What is the DB file name that was corrupted? (just so that I can set it up to be backed up).

Cheers,

Neil

Re: Mediabrowser & Flash EOL?

PostPosted: Thu Aug 27, 2020 7:50 pm
by atc98092
1) The console simply recognizes everything on the network that might be capable of playing media. My console shows everything on my network other than my WAPs and router. You can delete any you don't think will ever actually play media, but don't be surprised if they reappear.

2) I would just back up the entire DB folder. I think the DB includes more than one file. So the entire C:\Program Files\Serviio\library\db folder. Just remember that a database backup might not be compatible with a different version of Serviio, so make sure you've run your backup as soon as you install the next update.

Re: Mediabrowser & Flash EOL?

PostPosted: Thu Aug 27, 2020 7:56 pm
by 67Healey
Thanks Dan - I had already had a look into the db \seg0 folder and thought it might be a specific .dat file, but your advice is well taken :D

Cheers,

Neil