Jump to content
linuxserver.io

[Support] Linuxserver.io - airsonic

161 posts in this topic Last Reply

Recommended Posts

Hi, I upgraded the docker to the latest version and it won't launch now. The web UI isn't running and the logs under config aren't showing anything. They stopped when I upgraded and don't have anything new. I have restarted it and still it won't start. Any help would be appreciated.

Share this post


Link to post
1 hour ago, macattack said:

Hi, I upgraded the docker to the latest version and it won't launch now. The web UI isn't running and the logs under config aren't showing anything. They stopped when I upgraded and don't have anything new. I have restarted it and still it won't start. Any help would be appreciated.

 

There was an error during the build, but it got fixed by rebuilding the container about 4 days ago. So force update the container and it should work. 

Share this post


Link to post
17 hours ago, saarg said:

 

There was an error during the build, but it got fixed by rebuilding the container about 4 days ago. So force update the container and it should work. 

How do I force update the container?

Share this post


Link to post
5 minutes ago, macattack said:

How do I force update the container?

Docker Tab - Advanced View

Share this post


Link to post
On 1/11/2019 at 1:39 AM, saarg said:

 

There was an error during the build, but it got fixed by rebuilding the container about 4 days ago. So force update the container and it should work. 

I forced the update twice and it still isn't working. Logs still don't show anything.

Share this post


Link to post
2 hours ago, macattack said:

I forced the update twice and it still isn't working. Logs still don't show anything.

 

Hard to say without any logs. Post the log from the container. 

Share this post


Link to post
On 1/14/2019 at 2:23 AM, saarg said:

 

Hard to say without any logs. Post the log from the container. 

How do I copy logs from a docker container?

The last thing in the airsonic.log under /config is just deleting a podcast no errors or anything.
Are there any other logs I should look at?

Share this post


Link to post
1 hour ago, macattack said:

How do I copy logs from a docker container?

The last thing in the airsonic.log under /config is just deleting a podcast no errors or anything.
Are there any other logs I should look at?

 

On the docker page you click on the container icon and choose log. A new window will pop up and you can copy from there. 

Share this post


Link to post

Has anyone had issues sharing on Facebook? If I share an album on Facebook, it wants me to login. If I share the url with someone using email/discord it works fine as a guest.

So far this sounds like a Facebook issue.


Sent from my iPhone using Tapatalk Pro

Share this post


Link to post
25 minutes ago, H2O_King89 said:

Has anyone had issues sharing on Facebook? If I share an album on Facebook, it wants me to login. If I share the url with someone using email/discord it works fine as a guest.

So far this sounds like a Facebook issue.


Sent from my iPhone using Tapatalk Pro

 

I have never used this function. 

Is it Facebook that asks you to login when you try to share it on Facebook or is it when trying to access the already shared album? 

Share this post


Link to post
 
I have never used this function. 
Is it Facebook that asks you to login when you try to share it on Facebook or is it when trying to access the already shared album? 

It’s happens when you click the link on Facebook to my airsonic. When it takes you it should go to a web player of the album. But instead it take you to the login.

I think Facebook it braking the link.

I have my airsonic setup as a subdomain


Sent from my iPhone using Tapatalk Pro

Share this post


Link to post

I could use some expert help figuring out why my airsonic server freezes; or more specifically why it's running out of memory.  I'm using version 10.1.2 with UNRAID v6.6.6.  I've attached 3 logs/snips showing the memory consumption on the docker tab.   The files are named 1, 2 ,3 so you can compare the image with the log until it finally crashes.  

 

JAVA_OPTS is set to -Xms256m -Xmx768m.  Increasing 512 to 768 extended the uptime another day or two.

 

Airsonic settings are default except that DLNA server is enabled.  As of this post, I disabled DLNA server and set JAVA_OPTS back to 512 and will monitor for improvement. Freezing was present prior to the following changes, but other settings changed include adding a custom container folder mapping and 3 podcast subscriptions.   I believe much of what is visible in the logs is related to podcasts.  Does it look normal?  I don't know how to interpret. 

 

A bit of history... All was fine until I tried to enable the DLNA server.  Nothing I tried would work.  The suggested fix was to assign airsonic its own IP.  That required an OS upgrade, so I upgraded UNRAID from 6.2.4 to 6.6.6.  I installed airsonic, assigned own ip, and DLNA server worked as expected.  The 6.6.6 upgrade hosed my cache pool, so long story short, I recovered what I wanted, removed traces of appdata and docker.img from the array and back to the cache.  At this point, my docker.img has been re-created new and installed airsonic again 100% new with nothing carried forward from a previous install.

airsonic_logs.zip

Share this post


Link to post
On 1/16/2019 at 11:35 PM, H2O_King89 said:


It’s happens when you click the link on Facebook to my airsonic. When it takes you it should go to a web player of the album. But instead it take you to the login.

I think Facebook it braking the link.

I have my airsonic setup as a subdomain


Sent from my iPhone using Tapatalk Pro

 

Then I don't know. I'm not going to share anything on Facebook just to test it. Have you tried airsonic forum (don't know if it exist) or their github? 

Share this post


Link to post
On 1/11/2019 at 12:06 AM, macattack said:

Hi, I upgraded the docker to the latest version and it won't launch now. The web UI isn't running and the logs under config aren't showing anything. They stopped when I upgraded and don't have anything new. I have restarted it and still it won't start. Any help would be appreciated.

I am seeing the same issue.  Started after the most recent update. 

Did the force update thing, still didn't work. 

 

On 1/16/2019 at 12:46 AM, macattack said:

How do I copy logs from a docker container?

The last thing in the airsonic.log under /config is just deleting a podcast no errors or anything.
Are there any other logs I should look at?

Have you found a solution?

 

Any help appreciated.

Logs attached. 

airsonic.log

Share this post


Link to post

Doeas anyone know of an iOS app that has podcast support similarly to how DSub does on Android?  Trying to find an app for my wife's phone so she can manage her own podcasts without having to download them to my music library.

Share this post


Link to post
17 hours ago, IamSpartacus said:

Doeas anyone know of an iOS app that has podcast support similarly to how DSub does on Android?  Trying to find an app for my wife's phone so she can manage her own podcasts without having to download them to my music library.

You can find the Airsonic app list here:

https://airsonic.github.io/docs/apps/

 

Unless I misunderstood your question, you can't define separate podcast mappings like you can for music.  I think the only way to achieve what you want is to run two instances of Airsonic.

Share this post


Link to post
On 1/17/2019 at 7:13 AM, dboonthego said:

I could use some expert help figuring out why my airsonic server freezes; or more specifically why it's running out of memory.

 

On 1/17/2019 at 7:13 AM, dboonthego said:

I disabled DLNA server and set JAVA_OPTS back to 512 and will monitor for improvement.

After two weeks, the server is stable and operating normally.  Enabling the DLNA server seems to be the source of the memory consumption.  Does anyone else have DLNA enabled and also have a stable server? 

Share this post


Link to post
33 minutes ago, dboonthego said:

You can find the Airsonic app list here:

https://airsonic.github.io/docs/apps/

 

Unless I misunderstood your question, you can't define separate podcast mappings like you can for music.  I think the only way to achieve what you want is to run two instances of Airsonic.

 

Thanks, I found AVSub that does the trick.  But yes you are right you can't separate podcasts but no big deal.  I just wanted native podcast support which the app list doesn't really mention but I'm all set.

Share this post


Link to post
On 1/20/2019 at 11:29 PM, eds said:

I am seeing the same issue.  Started after the most recent update. 

Did the force update thing, still didn't work. 

 

Have you found a solution?

 

Any help appreciated.

Logs attached. 

airsonic.log

I did find a solution the java options for airsonic got messed up they were missing the m at the end
for example
-Xms512m -Xmx1024m

Share this post


Link to post

I'm having a hard time getting the web interface to return me anything but a 404 now. It was working fine until a couple weeks ago. Any help debugging would be appreciated:

2019-02-15 01:03:23.120  INFO --- org.airsonic.player.Application          : Starting Application v10.1.2-RELEASE on 261c3c6b814c with PID 211 (/app/airsonic/airsonic.war started by abc in /app/airsonic)
2019-02-15 01:03:23.125  INFO --- org.airsonic.player.Application          : The following profiles are active: legacy
2019-02-15 01:03:27.005  INFO --- o.a.p.service.SettingsService            : Java: 1.8.0_191, OS: Linux
2019-02-15 01:03:40.504  INFO --- liquibase                                : Successfully acquired change log lock
2019-02-15 01:03:42.170  INFO --- liquibase                                : Reading from DATABASECHANGELOG
2019-02-15 01:03:42.343  INFO --- liquibase                                : Successfully released change log lock
2019-02-15 01:03:42.348  INFO --- liquibase                                : Successfully acquired change log lock
2019-02-15 01:03:42.358  INFO --- liquibase                                : Reading from DATABASECHANGELOG
2019-02-15 01:03:42.431  INFO --- liquibase                                : Successfully released change log lock
2019-02-15 01:03:42.828  INFO --- o.a.p.service.PodcastService             : Automatic Podcast update scheduled to run every 24 hour(s), starting at Fri Feb 15 01:08:42 EST 2019
2019-02-15 01:03:42.923  INFO --- o.a.p.s.MediaScannerService              : Automatic media library scanning scheduled to run every 1 day(s), starting at Fri Feb 15 03:00:00 EST 2019
2019-02-15 01:03:47.084  INFO --- org.airsonic.player.Application          : Started Application in 29.728 seconds (JVM running for 30.749)

When I go to the port (4040) that's mapped on the server, I get a 404.

HTTP/1.1 404 
Content-Length: 0
Date: Fri, 15 Feb 2019 06:09:30 GMT

 

Share this post


Link to post
1 hour ago, falcor said:

I'm having a hard time getting the web interface to return me anything but a 404 now. It was working fine until a couple weeks ago. Any help debugging would be appreciated:


2019-02-15 01:03:23.120  INFO --- org.airsonic.player.Application          : Starting Application v10.1.2-RELEASE on 261c3c6b814c with PID 211 (/app/airsonic/airsonic.war started by abc in /app/airsonic)
2019-02-15 01:03:23.125  INFO --- org.airsonic.player.Application          : The following profiles are active: legacy
2019-02-15 01:03:27.005  INFO --- o.a.p.service.SettingsService            : Java: 1.8.0_191, OS: Linux
2019-02-15 01:03:40.504  INFO --- liquibase                                : Successfully acquired change log lock
2019-02-15 01:03:42.170  INFO --- liquibase                                : Reading from DATABASECHANGELOG
2019-02-15 01:03:42.343  INFO --- liquibase                                : Successfully released change log lock
2019-02-15 01:03:42.348  INFO --- liquibase                                : Successfully acquired change log lock
2019-02-15 01:03:42.358  INFO --- liquibase                                : Reading from DATABASECHANGELOG
2019-02-15 01:03:42.431  INFO --- liquibase                                : Successfully released change log lock
2019-02-15 01:03:42.828  INFO --- o.a.p.service.PodcastService             : Automatic Podcast update scheduled to run every 24 hour(s), starting at Fri Feb 15 01:08:42 EST 2019
2019-02-15 01:03:42.923  INFO --- o.a.p.s.MediaScannerService              : Automatic media library scanning scheduled to run every 1 day(s), starting at Fri Feb 15 03:00:00 EST 2019
2019-02-15 01:03:47.084  INFO --- org.airsonic.player.Application          : Started Application in 29.728 seconds (JVM running for 30.749)

When I go to the port (4040) that's mapped on the server, I get a 404.


HTTP/1.1 404 
Content-Length: 0
Date: Fri, 15 Feb 2019 06:09:30 GMT

 

 

The log looks normal and there are no errors. 

Post your docker run command. 

Share this post


Link to post

It appears to just run /init

# docker inspect -f "{{.Name}} {{.Config}}" 261c3c6b814c
/Airsonic {261c3c6b814c   false false false map[4040/tcp:{}] false false false 
[CONTEXT_PATH=airsonic JAVA_OPTS=-Xms512m -Xmx1024m TZ=America/New_York HOST_OS=Unraid 
PGID=100 PUID=99 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
HOME=/root LANGUAGE=en_US.UTF-8 LANG=C.UTF-8 TERM=xterm AIRSONIC_HOME=/app/airsonic 
AIRSONIC_SETTINGS=/config] [] <nil> true linuxserver/airsonic:latest 
map[/playlists:{} /podcasts:{} /config:{} /media:{} /music:{}]  
[/init] false  [] map[build_version:Linuxserver.io version:- v10.1.2-ls3 
Build-date:- 2019-02-12T14:51:50+00:00 maintainer:sparklyballs]  <nil> []}

Run command:

root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run 
-d --name='Airsonic' --net='bridge' -e TZ="America/New_York" -e HOST_OS="Unraid" 
-e 'PGID'='100' -e 'PUID'='99' -e 'TZ'='America/New_York' -e 'CONTEXT_PATH'='airsonic' 
-e 'JAVA_OPTS'='-Xms512m -Xmx1024m' -p '4040:4040/tcp' -v '/mnt/user/music/':'/music':'rw' 
-v '/mnt/user/music/Playlists/':'/playlists':'rw' -v '/mnt/cache/appdata/airsonic':'/config':'rw' 
'linuxserver/airsonic:latest' 
f07ae587943255711163ed8fd7c089a110fad70a0f1ed97023335cc21a4926f2

 

Edited by falcor

Share this post


Link to post
6 hours ago, falcor said:

It appears to just run /init


# docker inspect -f "{{.Name}} {{.Config}}" 261c3c6b814c
/Airsonic {261c3c6b814c   false false false map[4040/tcp:{}] false false false 
[CONTEXT_PATH=airsonic JAVA_OPTS=-Xms512m -Xmx1024m TZ=America/New_York HOST_OS=Unraid 
PGID=100 PUID=99 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
HOME=/root LANGUAGE=en_US.UTF-8 LANG=C.UTF-8 TERM=xterm AIRSONIC_HOME=/app/airsonic 
AIRSONIC_SETTINGS=/config] [] <nil> true linuxserver/airsonic:latest 
map[/playlists:{} /podcasts:{} /config:{} /media:{} /music:{}]  
[/init] false  [] map[build_version:Linuxserver.io version:- v10.1.2-ls3 
Build-date:- 2019-02-12T14:51:50+00:00 maintainer:sparklyballs]  <nil> []}

Run command:


root@localhost:# /usr/local/emhttp/plugins/dynamix.docker.manager/scripts/docker run 
-d --name='Airsonic' --net='bridge' -e TZ="America/New_York" -e HOST_OS="Unraid" 
-e 'PGID'='100' -e 'PUID'='99' -e 'TZ'='America/New_York' -e 'CONTEXT_PATH'='airsonic' 
-e 'JAVA_OPTS'='-Xms512m -Xmx1024m' -p '4040:4040/tcp' -v '/mnt/user/music/':'/music':'rw' 
-v '/mnt/user/music/Playlists/':'/playlists':'rw' -v '/mnt/cache/appdata/airsonic':'/config':'rw' 
'linuxserver/airsonic:latest' 
f07ae587943255711163ed8fd7c089a110fad70a0f1ed97023335cc21a4926f2

 

 

What does the airsonic.log in your appdata folder look like? 

Share this post


Link to post

Just a whole lot of repetition of what's in this post:

No java errors for weeks, and those were broken pipes from when I shut down the server with active clients connected.

Share this post


Link to post
8 hours ago, falcor said:

Just a whole lot of repetition of what's in this post:

No java errors for weeks, and those were broken pipes from when I shut down the server with active clients connected.

 

8 hours ago, falcor said:

Just a whole lot of repetition of what's in this post:

No java errors for weeks, and those were broken pipes from when I shut down the server with active clients connected.

 

What is the full address you go to? 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.