Subsonic 6.1.3 (pre-)released

Announcements and discussion of new releases.

Moderator: moderators

Re: Subsonic 6.1.3 (pre-)released

Postby Alsaya » Mon Nov 06, 2017 9:56 pm

Works like a charm

Thank you Sindre
Subsonic on Server 2012, only flac
Posts: 64
Joined: Thu Feb 04, 2010 2:46 pm

Re: Subsonic 6.1.3 (pre-)released

Postby DaveWut » Tue Nov 07, 2017 1:40 pm

Hey Sindre,

Since you are fixing bugs in this release, here's another one I recently found:
- Configure Subsonic to authenticate on LDAP.
- Login as an LDAP user.
- Logout and login as an admin to give this new user all admin rights
- Logout again and login again with that LDAP user
- Navigate a little
- Open a new Incognito tab (On Chrome, or a private browser tab on another browser)
- On the login page, ONLY type the username, leave the password field blank and then press enter on your keyboard.
- Once the page refreshes, you can see the message: "Wrong username or password." doesn't show up. Try to login with the username and password back and you won't be able. It seems like this breaks the authentication mechanisms.

Here's my setup:
Ubuntu Server 16.04 x64
Apache Tomcat/7.0.68 (Ubuntu), java 1.8.0_131, HSQLDB, Linux

The following valve has been added for my reverse proxy setup:
proxiesHeader="x-forwarded-by" />

Tomcat is listening on port 4040 and the connector has the following additional attributes:
proxyPort="443" scheme="https" secure="true"

Proxy server is running HA-Proxy version 1.6.3 2015/12/25
The following security headers are injected with all requests that goes through HAProxy:
Strict-Transport-Security "max-age=31536000; includeSubDomains; preload"
X-Frame-Options "SAMEORIGIN"
X-XSS-Protection "1; mode=block"
X-Content-Type-Options "nosniff"
Referrer-Policy "strict-origin-when-cross-origin"

Because Subsonic includes a lot of inline scripts and evals, it uses this header instead of the default configured one:
Content-Security-Policy "default-src https: data: blob:; script-src https: 'unsafe-inline' 'unsafe-eval'; style-src https: 'unsafe-inline'"

Thanks in advance for looking onto this problem.
User avatar
Posts: 57
Joined: Fri Nov 11, 2011 12:29 am

Re: Subsonic 6.1.3 (pre-)released

Postby hairbag » Tue Nov 07, 2017 10:12 pm

Thank you soooo much for this update!
The disappearing data issues seem to be fixed. After a full re-scan following the update I did some extensive file changing and moving today, everything showed as it should even without additional scans. I was about to jump ship so thank you for fixing this painful problem. :)
Posts: 3
Joined: Sun Jul 23, 2017 9:54 pm

Re: Subsonic 6.1.3 (pre-)released

Postby antti » Wed Nov 08, 2017 11:08 pm

After upgrade Podcast are not working. When clicking podcast link in main menu, got strange error with path to unexsisting directory for random podcast

Also when scanning, I get lot of WARN JaudiotaggerParser Error when parsing tags errors
Posts: 5
Joined: Wed Feb 10, 2016 9:20 pm

Re: Subsonic 6.1.3 (pre-)released

Postby zeroday » Tue Nov 14, 2017 8:00 am

First crash since long time and just after upgrading to 6.1.3

[2017-11-14 03:19:33,123] WARN JaudiotaggerParser - Error when parsing tags in /media/music/Mixed by DJ Dano.wav /media/music/Mixed by DJ Dano.wav:null
at net.sourceforge.subsonic.service.metadata.JaudiotaggerParser.getRawMetaData(
at net.sourceforge.subsonic.service.metadata.MetaDataParser.getMetaData(
at net.sourceforge.subsonic.service.MediaFileService.createMediaFile(
at net.sourceforge.subsonic.service.MediaFileService.checkLastModified(
at net.sourceforge.subsonic.service.MediaFileService.getChildrenOf(
at net.sourceforge.subsonic.service.MediaScannerService.scanFile(
at net.sourceforge.subsonic.service.MediaScannerService.scanFile(
at net.sourceforge.subsonic.service.MediaScannerService.doScanLibrary(
at net.sourceforge.subsonic.service.MediaScannerService.access$000(
at net.sourceforge.subsonic.service.MediaScannerService$
Caused by: java.nio.BufferUnderflowException
at java.nio.DirectByteBuffer.get(
at java.nio.ByteBuffer.get(
... 12 more

also I see this

[GC (Allocation Failure) 66220K->54468K(113136K), 0.0430809 secs]
[GC (Allocation Failure) 85700K->71153K(113136K), 0.0499469 secs]
[GC (Allocation Failure) 102385K->75517K(113136K), 0.0213500 secs]
[GC (Allocation Failure) 106749K->77519K(113136K), 0.0158390 secs]

it seems that this has to do with out of memory stuff

[2017-11-14 09:09:14,576] WARN JaudiotaggerParser - Error when parsing tags in /media/music/Mixed by Steve Murphy.wav
java.lang.OutOfMemoryError: Java heap space

problems became visible after upgrading to 6.1.3

one of the things I have done is remove openjdk 7 and install openjdk 8 it might help ..
Right now subsonic is scanning +3TB of my music

Uprading JAVA helped, no crash yes, lots of info in the log though
[2017-11-14 15:37:18,534] WARN JaudiotaggerParser - Error when parsing tags in /media/music/candy dulfer/Candy Dulfer - Beat Side 1990.wav
java.lang.OutOfMemoryError: Java heap space

[2017-11-14 15:37:24,686] INFO MediaScannerService - Scanned media library with 123750 entries.

and switching to java 8 helped

[2017-11-14 17:11:59,064] INFO MediaScannerService - Scanned media library with 159553 entries.
[2017-11-14 17:11:59,064] INFO MediaScannerService - Marking non-present files.
[2017-11-14 17:12:24,078] INFO MediaScannerService - Marking non-present artists.
[2017-11-14 17:12:25,093] INFO MediaScannerService - Marking non-present albums.
[2017-11-14 17:12:28,072] INFO MediaScannerService - Completed media library scan.
Posts: 6
Joined: Wed Oct 29, 2014 8:56 am

Re: Subsonic 6.1.3 (pre-)released

Postby antti » Fri Nov 17, 2017 12:14 pm

Here is screenshot about Podcast error

And here is settings page
ebay image hosting free

Version info
image processing service
Posts: 5
Joined: Wed Feb 10, 2016 9:20 pm


Return to Announcements

Who is online

Users browsing this forum: No registered users and 1 guest