Package Details: airsonic 10.6.2-1

Git Clone URL: https://aur.archlinux.org/airsonic.git (read-only, click to copy)
Package Base: airsonic
Description: A free, web-based media streamer and jukebox.
Upstream URL: https://github.com/Airsonic/airsonic/
Licenses: GPL3
Submitter: Superpiffer
Maintainer: Superpiffer
Last Packager: Superpiffer
Votes: 19
Popularity: 0.25
First Submitted: 2017-08-09 14:43 (UTC)
Last Updated: 2020-05-04 06:37 (UTC)

Dependencies (2)

Required by (0)

Sources (5)

Pinned Comments

Superpiffer commented on 2017-11-06 09:26 (UTC) (edited on 2017-11-06 09:44 (UTC) by Superpiffer)

I update the package again, following the official directory guidelines: - software files in /var/lib/ - configuration file in /etc/airsonic/ I also removed custom service and configuration file, now are downloaded from official airsonic examples. Note: default context is "/airsonic" and default port is 8080 Sorry for any inconvenience.

Latest Comments

tari commented on 2021-12-10 22:11 (UTC)

Upstream seems to have been abandoned, since the repository on Github has been archived and recommends airsonic-advanced as a replacement.

Rhinoceros commented on 2021-05-23 06:07 (UTC) (edited on 2021-05-23 06:31 (UTC) by Rhinoceros)

Thanks @di72nn. Good idea. The console gave me some useful information, including net::ERR_CONNECTION_REFUSED. That pointed me to this Github issue, which fixed my problem.

di72nn commented on 2021-05-21 13:10 (UTC)

@Rhinoceros, works fine for me. You should check your browser's console and the "Network" tab in the browser's dev tools.

Rhinoceros commented on 2021-05-21 11:00 (UTC)

Does anyone else have a problem playing music over the web interface? I think it used to be fine on my old Debian server, but doesn't work on my new Arch server. I wonder if it's a missing dependency.

I get the notification that it's playing, but nothing happens. I don't get anything in journalctl nor /var/lib/airsonic/airsonic.log. I'm using Apache FWIW. DSub on Android works fine.

tdemin commented on 2021-02-06 09:21 (UTC)

This package should be named airsonic-bin, since it uses the binary .war from GitHub builds.

Superpiffer commented on 2020-04-06 08:39 (UTC)

@TheFrenchGhosty Service file is correct... I'm using default context path, as used in github repo (https://raw.githubusercontent.com/airsonic/airsonic/master/contrib/airsonic.service). Also if you want a different path (or no path at all), you can simply edit the file /etc/airsonic/airsonic.conf.

TheFrenchGhosty commented on 2020-02-22 02:37 (UTC) (edited on 2020-02-22 06:42 (UTC) by TheFrenchGhosty)

I'm getting a 404 when opening Airsonic.

No error otherwise.

Edit:

Fixed using https://github.com/airsonic/airsonic/issues/719#issuecomment-373587949

The problem was because the service file is wrong.

Environment="CONTEXT_PATH=/airsonic"

Mean that Airsonic is served on https://airsonic.domain.ext/airsonic (and not https://airsonic.domain.ext/)

Zepman commented on 2019-12-30 17:00 (UTC)

This package misses a dependency: ttf-dejavu

The above package is needed for generating graphs in Airsonic's 'Status' page. Without it the graphs will not show up.

countzukula commented on 2019-11-13 13:58 (UTC)

@Superpiffer reading on it, the reason might be that I'm running the package in an LXC container. Perhaps the namespacing functionality clashes with what LXC is already doing...

Superpiffer commented on 2019-11-13 13:17 (UTC)

@countzukula Honestly I don't know, I'm using the service file from upstream... The only mention I found of this issue is from systemd github page: https://github.com/systemd/systemd/issues/10576

countzukula commented on 2019-11-13 11:28 (UTC) (edited on 2019-11-13 11:28 (UTC) by countzukula)

I upgraded to 10.5.0-1 from 10.4.0-1 and couldn't get my service to start. Errors in systemd reads as follows:

Nov 13 11:23:15 airsonic systemd[1328]: airsonic.service: Failed to set up user namespacing: Operation not permitted
Nov 13 11:23:15 airsonic systemd[1328]: airsonic.service: Failed at step USER spawning /usr/bin/java: Operation not permitted

After toying around with the service file i got it down to this option: PrivateUsers=yes. Commenting this line out makes the service start again. Is this expected behaviour?

Superpiffer commented on 2019-08-20 13:11 (UTC) (edited on 2019-08-20 13:15 (UTC) by Superpiffer)

@di72nn I never thought about that, I'll do it for the next version. Thanks! :)

di72nn commented on 2019-08-20 13:05 (UTC)

@Superpiffer you should use something like

source=(airsonic-${pkgver}.war::https://github.com/airsonic/airsonic/releases/download/v${pkgver}/airsonic.war

(same for airsonic-systemd-env) so the files are re-downloaded for every version and there is no conflict with the cached files.

mfc_alpha commented on 2019-08-17 09:13 (UTC)

@Superpiffer. Ok sorry, it was a tool issue... yay -Sc solve it. Thanks!

Superpiffer commented on 2019-08-13 13:20 (UTC)

@mfc_alpha: I just tried and it works properly: sha256sum airsonic.war 0842a1fc4380cbe75e40dcb94e40332222b816514bd8ad250501d472210894d4 airsonic.war

it's the same from the official checksums: https://github.com/airsonic/airsonic/releases/download/v10.4.0/artifacts-checksums.sha.asc

mfc_alpha commented on 2019-08-13 13:05 (UTC)

Installation failed with :

==> Validating source files with sha256sums... airsonic.war ... FAILED airsonic-systemd-env ... Passed airsonic.service ... Passed airsonic.sysusers ... Passed airsonic.tmpfiles ... Passed

philcook commented on 2019-08-12 17:38 (UTC)

@forcegk +1

forcegk commented on 2019-08-10 13:57 (UTC)

Hey, would love if you can update it to v10.4.0. Working all fine in the current version for me!

mokman commented on 2019-05-16 07:51 (UTC) (edited on 2019-05-28 07:25 (UTC) by mokman)

since may 15th i cannot start the airsonic.service:

systemctl status airsonic.service ● airsonic.service - Airsonic Media Server Loaded: loaded (/usr/lib/systemd/system/airsonic.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since Thu 2019-05-16 09:24:27 CEST; 26min ago Process: 13986 ExecStart=/usr/bin/java $JAVA_OPTS -Dairsonic.home=${AIRSONIC_HOME} -Dserver.context-path=${CONTEXT_PATH} -Dserver.port=${PORT} -jar ${JAVA_JAR} $JAVA_ARGS (code=exited, st> Main PID: 13986 (code=exited, status=1/FAILURE)

Mai 16 09:24:27 server java[13986]: at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[na:1.8.0_212] Mai 16 09:24:27 server java[13986]: at java.sql.DriverManager.getConnection(DriverManager.java:208) ~[na:1.8.0_212] Mai 16 09:24:27 server java[13986]: at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153) ~[spring-jdbc-4.3> Mai 16 09:24:27 server java[13986]: at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144) ~[spring-jdbc-4.3.21.REL> Mai 16 09:24:27 server java[13986]: at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196) ~[spring-jdb> Mai 16 09:24:27 server java[13986]: at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159) ~[spring-jdbc-4.3.21.R> Mai 16 09:24:27 server java[13986]: at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:388) ~[liquibase-core-3.5.1.jar!/:na] Mai 16 09:24:27 server java[13986]: ... 41 common frames omitted Mai 16 09:24:27 server systemd[1]: airsonic.service: Main process exited, code=exited, status=1/FAILURE Mai 16 09:24:27 server systemd[1]: airsonic.service: Failed with result 'exit-code'.

journalctl -u airsonic --since "1 hour ago" -- Logs begin at Sun 2018-10-21 18:47:54 CEST, end at Mon 2019-05-27 10:00:23 CEST. -- Mai 27 09:59:01 server systemd[1]: Started Airsonic Media Server. Mai 27 09:59:02 server java[29999]: _ Mai 27 09:59:02 server java[29999]: /\ () () Mai 27 09:59:02 server java[29999]: / \ _ _ _ Mai 27 09:59:02 server java[29999]: / /\ \ | | '_|/ |/ _ \| ' \| |/ __| Mai 27 09:59:02 server java[29999]: / _ \| | | _ \ (_) | | | | | ( Mai 27 09:59:02 server java[29999]: // __|_| |/_/|| |||_| Mai 27 09:59:02 server java[29999]:
Mai 27 09:59:02 server java[29999]: 10.3.1-RELEASE Mai 27 09:59:03 server java[29999]: 2019-05-27 09:59:03.106 INFO --- org.airsonic.player.Application : Starting Application v10.3.1-RELEASE on server with PID 29999 (/var/lib/airsonic/airsonic.war started by airsonic in /) Mai 27 09:59:03 server java[29999]: 2019-05-27 09:59:03.116 INFO --- org.airsonic.player.Application : The following profiles are active: legacy Mai 27 09:59:05 server java[29999]: 2019-05-27 09:59:05.530 INFO --- o.a.p.service.SettingsService : Java: 1.8.0_212, OS: Linux Mai 27 09:59:05 server java[29999]: 2019-05-27 09:59:05.816 INFO --- org.airsonic.player.Application : Detected Tomcat web server Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.692 ERROR --- o.a.p.spring.SpringLiquibase : =============================================== Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.692 ERROR --- o.a.p.spring.SpringLiquibase : An exception occurred during database migration Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.692 ERROR --- o.a.p.spring.SpringLiquibase : A rollback file has been generated at /var/lib/airsonic/rollback.sql Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.692 ERROR --- o.a.p.spring.SpringLiquibase : Execute it within your database to rollback any changes Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.698 ERROR --- o.a.p.spring.SpringLiquibase : The exception is as follows Mai 27 09:59:10 server java[29999]: liquibase.exception.DatabaseException: java.sql.SQLException: User not found: SA Mai 27 09:59:10 server java[29999]: at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:307) ~[liquibase-core-3.6.3.jar!/:na] Mai 27 09:59:10 server java[29999]: at org.airsonic.player.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:26) ~[classes!/:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1688) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1626) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:297) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1139) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1067) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:364) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1268) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:764) [spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) [spring-context-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542) [spring-context-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:124) [spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) [spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) [spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) [spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134) [spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.airsonic.player.Application.main(Application.java:229) [classes!/:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [airsonic.war:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [airsonic.war:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [airsonic.war:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59) [airsonic.war:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: Caused by: java.sql.SQLException: User not found: SA Mai 27 09:59:10 server java[29999]: at org.hsqldb.jdbc.Util.sqlException(Unknown Source) ~[hsqldb-1.8.0.7.jar!/:private-2006/09/24-10:30:15] Mai 27 09:59:10 server java[29999]: at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source) ~[hsqldb-1.8.0.7.jar!/:private-2006/09/24-10:30:15] Mai 27 09:59:10 server java[29999]: at org.hsqldb.jdbcDriver.getConnection(Unknown Source) ~[hsqldb-1.8.0.7.jar!/:private-2006/09/24-10:30:15] Mai 27 09:59:10 server java[29999]: at org.hsqldb.jdbcDriver.connect(Unknown Source) ~[hsqldb-1.8.0.7.jar!/:private-2006/09/24-10:30:15] Mai 27 09:59:10 server java[29999]: at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at java.sql.DriverManager.getConnection(DriverManager.java:208) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153) ~[spring-jdbc-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144) ~[spring-jdbc-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196) ~[spring-jdbc-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159) ~[spring-jdbc-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:302) ~[liquibase-core-3.6.3.jar!/:na] Mai 27 09:59:10 server java[29999]: ... 41 common frames omitted Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.699 ERROR --- o.a.p.spring.SpringLiquibase : =============================================== Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.700 WARN --- ationConfigEmbeddedWebApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'subsonicRESTController': Unsatisfied dependency expressed through field 'playerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [applicationContext-db.xml]: Invocation of init method failed; nested exception is liquibase.exception.DatabaseException: java.sql.SQLException: User not found: SA Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.709 WARN --- .s.c.a.CommonAnnotationBeanPostProcessor : Invocation of destroy method failed on bean with name 'daoHelper': org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection; nested exception is java.sql.SQLException: User not found: SA Mai 27 09:59:10 server java[29999]: 2019-05-27 09:59:10.740 ERROR --- o.s.boot.SpringApplication : Application startup failed Mai 27 09:59:10 server java[29999]: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'subsonicRESTController': Unsatisfied dependency expressed through field 'playerService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [applicationContext-db.xml]: Invocation of init method failed; nested exception is liquibase.exception.DatabaseException: java.sql.SQLException: User not found: SA Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:586) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:364) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1268) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:551) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:764) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:867) ~[spring-context-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:542) ~[spring-context-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.refresh(EmbeddedWebApplicationContext.java:124) ~[spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:693) ~[spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:360) ~[spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.SpringApplication.run(SpringApplication.java:303) ~[spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.builder.SpringApplicationBuilder.run(SpringApplicationBuilder.java:134) [spring-boot-1.5.20.RELEASE.jar!/:1.5.20.RELEASE] Mai 27 09:59:10 server java[29999]: at org.airsonic.player.Application.main(Application.java:229) [classes!/:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at java.lang.reflect.Method.invoke(Method.java:498) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:48) [airsonic.war:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:87) [airsonic.war:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.loader.Launcher.launch(Launcher.java:50) [airsonic.war:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59) [airsonic.war:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'liquibase' defined in class path resource [applicationContext-db.xml]: Invocation of init method failed; nested exception is liquibase.exception.DatabaseException: java.sql.SQLException: User not found: SA Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1630) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:553) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:481) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:312) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:308) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:197) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:297) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.config.DependencyDescriptor.resolveCandidate(DependencyDescriptor.java:208) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1139) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1067) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:583) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: ... 26 common frames omitted Mai 27 09:59:10 server java[29999]: Caused by: liquibase.exception.DatabaseException: java.sql.SQLException: User not found: SA Mai 27 09:59:10 server java[29999]: at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:307) ~[liquibase-core-3.6.3.jar!/:na] Mai 27 09:59:10 server java[29999]: at org.airsonic.player.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:26) ~[classes!/:10.3.1-RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1688) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1626) ~[spring-beans-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: ... 38 common frames omitted Mai 27 09:59:10 server java[29999]: Caused by: java.sql.SQLException: User not found: SA Mai 27 09:59:10 server java[29999]: at org.hsqldb.jdbc.Util.sqlException(Unknown Source) ~[hsqldb-1.8.0.7.jar!/:private-2006/09/24-10:30:15] Mai 27 09:59:10 server java[29999]: at org.hsqldb.jdbc.jdbcConnection.<init>(Unknown Source) ~[hsqldb-1.8.0.7.jar!/:private-2006/09/24-10:30:15] Mai 27 09:59:10 server java[29999]: at org.hsqldb.jdbcDriver.getConnection(Unknown Source) ~[hsqldb-1.8.0.7.jar!/:private-2006/09/24-10:30:15] Mai 27 09:59:10 server java[29999]: at org.hsqldb.jdbcDriver.connect(Unknown Source) ~[hsqldb-1.8.0.7.jar!/:private-2006/09/24-10:30:15] Mai 27 09:59:10 server java[29999]: at java.sql.DriverManager.getConnection(DriverManager.java:664) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at java.sql.DriverManager.getConnection(DriverManager.java:208) ~[na:1.8.0_212] Mai 27 09:59:10 server java[29999]: at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:153) ~[spring-jdbc-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:144) ~[spring-jdbc-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:196) ~[spring-jdbc-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:159) ~[spring-jdbc-4.3.23.RELEASE.jar!/:4.3.23.RELEASE] Mai 27 09:59:10 server java[29999]: at liquibase.integration.spring.SpringLiquibase.afterPropertiesSet(SpringLiquibase.java:302) ~[liquibase-core-3.6.3.jar!/:na] Mai 27 09:59:10 server java[29999]: ... 41 common frames omitted Mai 27 09:59:10 server systemd[1]: airsonic.service: Main process exited, code=exited, status=1/FAILURE Mai 27 09:59:10 server systemd[1]: airsonic.service: Failed with result 'exit-code'.

rebuild did not help. any advice?

gnumdk commented on 2019-04-03 21:54 (UTC)

works again ;)

Superpiffer commented on 2019-04-02 07:03 (UTC)

I switched to a cleaner service file, the one upstream has too much restrictions. Let me know if it's working now. :) Sorry for any inconvenience.

gnumdk commented on 2019-04-02 06:09 (UTC)

Broken here since airsonic 10.2.1-2

airsonic 10.2.1-1 works.

10.2.1-2 tells me my music folder does not exist.

reference2myself commented on 2018-03-21 01:17 (UTC) (edited on 2018-03-21 01:21 (UTC) by reference2myself)

I just want to leave this here in case anyone has the same trouble I had getting this working migrating over from subsonic. It needs a different java version to run and the default login page is different.

1 I could only get the service to start with jre8-openjdk-headless
2 the default login page is localhost:8080\airsonic

koalaeagle commented on 2018-01-16 23:48 (UTC)

I had issues getting airsonic to start. Upgrading from jre7-openjdk-headless to jre8-openjdk-headless resolved my issue. I did not investigate this too much, but maybe this will help someone.

zapataz commented on 2018-01-14 19:15 (UTC)

I struggled to make Airsonic work in jukebox mode: non-headless version of jdk is needed (for ex. jre8-openjdk).

amatriain commented on 2017-12-24 11:11 (UTC)

Why does this package conflict with subsonic? There should be no issue running both side by side, e.g. for evaluation purposes, as long as they run in different ports.

Superpiffer commented on 2017-11-06 09:26 (UTC) (edited on 2017-11-06 09:44 (UTC) by Superpiffer)

I update the package again, following the official directory guidelines: - software files in /var/lib/ - configuration file in /etc/airsonic/ I also removed custom service and configuration file, now are downloaded from official airsonic examples. Note: default context is "/airsonic" and default port is 8080 Sorry for any inconvenience.

Superpiffer commented on 2017-11-05 17:56 (UTC)

Updated to v10.1.0 and modified with suggestion. Thanks!

King_DuckZ commented on 2017-11-05 16:39 (UTC) (edited on 2017-11-05 16:39 (UTC) by King_DuckZ)

Also, they made a new minor release a couple days ago I think.

King_DuckZ commented on 2017-11-05 16:37 (UTC)

Following what Airsonic devs suggested I do on IRC, I've patched this package to use the official systemd service and build correctly. My changes are here https://mondiaspora.net/posts/6bd07da098240135cd8e01547279e946 and here https://mondiaspora.net/posts/1cb2bd5098a901359c3d5151a8a710ff

Superpiffer commented on 2017-10-26 09:41 (UTC)

This package is referred only to stable releases, so is not out-of-date.

WiseGuy1020 commented on 2017-08-29 04:52 (UTC)

Thanks for packaging this!