yunohost-apps / airsonic_ynh Goto Github PK
View Code? Open in Web Editor NEWAirsonic package for YunoHost
Home Page: https://airsonic.github.io/
License: GNU General Public License v3.0
Airsonic package for YunoHost
Home Page: https://airsonic.github.io/
License: GNU General Public License v3.0
Airsonic can only see media placed in yunohost.multimedia folder.
I have my music on Nextcloud with data folder in an external storage mounted on /media/storage as sugggested in this guide, case A:
https://yunohost.org/en/app_nextcloud#AddSpace
What kind of permission/ownership do I have to set in order for Airsonic to see the folder in my Nextcloud?
Following #17 (comment), it should be useful to be able to reset the admin password from the admin panel
TODO
TO IMPLEMENT
I'm not sure if the power failure caused the problem, but a restart does not change anything. I can start the airsonic service through yunhohost admin interface, but it crashes after several minutes.
yunohost is installed on an x86_64 machine hard drive (not an SD card). Any insight is appreciated.
Airsonic version 10.6.2~ynh2.
Log is here:
Oct 02 22:24:40 amiok.net systemd[1]: Started airsonic Media Server.
Oct 02 22:24:46 amiok.net java[12647]: _ _
Oct 02 22:24:46 amiok.net java[12647]: /\ (_) (_)
Oct 02 22:24:46 amiok.net java[12647]: / \ _ _ __ ___ ___ _ __ _ ___
Oct 02 22:24:46 amiok.net java[12647]: / /\ \ | | '__|/ __|/ _ \| '_ \| |/ __|
Oct 02 22:24:46 amiok.net java[12647]: / ____ \| | | \__ \ (_) | | | | | (__
Oct 02 22:24:46 amiok.net java[12647]: /_/ \_\_|_| |___/\___/|_| |_|_|\___|
Oct 02 22:24:46 amiok.net java[12647]:
Oct 02 22:24:46 amiok.net java[12647]: 10.6.2-RELEASE
Oct 02 22:24:47 amiok.net java[12647]: 2020-10-02 22:24:47.408 INFO --- org.airsonic.player.Application : Starting Application v10.6.2-RELEASE on amiok.net with PID 12647 (/opt/yunohost/airsonic/airsonic.war started by airsonic in /)
Oct 02 22:24:47 amiok.net java[12647]: 2020-10-02 22:24:47.446 INFO --- org.airsonic.player.Application : The following profiles are active: legacy
Oct 02 22:24:52 amiok.net java[12647]: WARNING: An illegal reflective access operation has occurred
Oct 02 22:24:52 amiok.net java[12647]: WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/opt/yunohost/airsonic/airsonic.war!/WEB-INF/lib/spring-core-4.3.25.RELEASE.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.
Oct 02 22:24:52 amiok.net java[12647]: WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
Oct 02 22:24:52 amiok.net java[12647]: WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
Oct 02 22:24:52 amiok.net java[12647]: WARNING: All illegal access operations will be denied in a future release
Oct 02 22:25:05 amiok.net java[12647]: 2020-10-02 22:25:05.578 INFO --- l.executor.jvm.JdbcExecutor : SELECT COUNT(*) FROM DATABASECHANGELOGLOCK
Oct 02 22:25:05 amiok.net java[12647]: 2020-10-02 22:25:05.615 INFO --- l.executor.jvm.JdbcExecutor : SELECT COUNT(*) FROM DATABASECHANGELOGLOCK
Oct 02 22:25:05 amiok.net java[12647]: 2020-10-02 22:25:05.700 INFO --- l.l.StandardLockService : Successfully acquired change log lock
...skipping...
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer$ContextSourceBuilder.access$500(LdapAuthenticationProviderConfigurer.java:447) ~[spring-security-config-
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer.getContextSource(LdapAuthenticationProviderConfigurer.java:607) ~[spring-security-config-4.2.13.RELEASE.
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer.build(LdapAuthenticationProviderConfigurer.java:77) ~[spring-security-config-4.2.13.RELEASE.jar!/:4.2.13
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer.configure(LdapAuthenticationProviderConfigurer.java:391) ~[spring-security-config-4.2.13.RELEASE.jar!/:4
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.authentication.configurers.ldap.LdapAuthenticationProviderConfigurer.configure(LdapAuthenticationProviderConfigurer.java:59) ~[spring-security-config-4.2.13.RELEASE.jar!/:4.
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.configure(AbstractConfiguredSecurityBuilder.java:384) ~[spring-security-config-4.2.13.RELEASE.jar!/:4.2.13.RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.AbstractConfiguredSecurityBuilder.doBuild(AbstractConfiguredSecurityBuilder.java:330) ~[spring-security-config-4.2.13.RELEASE.jar!/:4.2.13.RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.AbstractSecurityBuilder.build(AbstractSecurityBuilder.java:41) ~[spring-security-config-4.2.13.RELEASE.jar!/:4.2.13.RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.authentication.configuration.AuthenticationConfiguration.getAuthenticationManager(AuthenticationConfiguration.java:105) ~[spring-security-config-4.2.13.RELEASE.jar!/:4.2.13.
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.security.config.annotation.web.configuration.WebSecurityConfigurerAdapter.authenticationManager(WebSecurityConfigurerAdapter.java:262) ~[spring-security-config-4.2.13.RELEASE.jar!/:4.2.13.RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.airsonic.player.security.GlobalSecurityConfig$ExtSecurityConfiguration.jwtAuthFilter(GlobalSecurityConfig.java:92) ~[classes!/:10.6.2-RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.airsonic.player.security.GlobalSecurityConfig$ExtSecurityConfiguration$$EnhancerBySpringCGLIB$$cc8e3c5c.CGLIB$jwtAuthFilter$1(<generated>) ~[classes!/:10.6.2-RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.airsonic.player.security.GlobalSecurityConfig$ExtSecurityConfiguration$$EnhancerBySpringCGLIB$$cc8e3c5c$$FastClassBySpringCGLIB$$35da5c33.invoke(<generated>) ~[classes!/:10.6.2-RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.3.25.RELEASE.jar!/:4.3.25.RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:358) ~[spring-context-4.3.25.RELEASE.jar!/:4.3.25.RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at org.airsonic.player.security.GlobalSecurityConfig$ExtSecurityConfiguration$$EnhancerBySpringCGLIB$$cc8e3c5c.jwtAuthFilter(<generated>) ~[classes!/:10.6.2-RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:na]
Oct 02 22:25:32 amiok.net java[12647]: at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[na:na]
Oct 02 22:25:32 amiok.net java[12647]: at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[na:na]
Oct 02 22:25:32 amiok.net java[12647]: at java.base/java.lang.reflect.Method.invoke(Method.java:566) ~[na:na]
Oct 02 22:25:32 amiok.net java[12647]: at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.3.25.RELEASE.jar!/:4.3.25.RELEASE]
Oct 02 22:25:32 amiok.net java[12647]: ... 27 common frames omitted
Oct 02 22:25:33 amiok.net systemd[1]: airsonic.service: Main process exited, code=exited, status=1/FAILURE
Oct 02 22:25:33 amiok.net systemd[1]: airsonic.service: Failed with result 'exit-code'.
Bonjour
Impossible de démarrer airsonic : erreur nginx 502.
La commande journalctl -u airsonic -n 300 --no-pager --no-hostname donne le résultat suivant : https://framabin.org/p/?228500533b9bec39#f6NEuJusvcmeFiG0W73rIAo5qKkvnHAUgwzaFALOAoM=
Mes compétences s'arrêtent là !
Cordialement, Eusèbe
Hi, when you choose to change the URL of airsonic, It can't be reacheable.
In this case, you will see a 502 bad gateway error or you will be redirected to the SSO App interface
need to unistall all airsonic app, and reinstall if you want change the url
Getting "The podcasts directory /var/music/Podcasts isn't writeable" on all podcasts except the first one I subscribed to.
In both user and admin accounts.
Funny thing is that isnt even the directory I assigned to podcasts. I assigned /var/podcasts
I ssh'ed in and mkdir both directories and chmod them. Still the same Only the first subscribed is writeable.
Any clue?
Hello,
Here is my install log: https://paste.yunohost.org/raw/ilabipiwuq
Hi;
It might be a big presomption but I tought airsonic will be able to read the music in the shared folder : /home/yunohost.multimedia/share/Music
Hi, thanks for the ynh_ package of airsonic !
It's been working great for me up to now, but I've ran into a config item I don't know where to change; when I attempt to upload a .zip through the airsonic interface, I receive the 413 error as shown below:
I'm certain I can change this in a configuration somewhere, but I'm still new to ynh, so would you say this is to do with a general ynh ngnix config or one specific to airsonic_ynh ?
Thanks again,
All the best !
2a0dd05 still has the old dependency requirement ... so upgrade from that commit can't be tested and thereforce the buster CI reports are stuck at level 2 though this app is probably level 7 in practice...
Dunno what do about this, but at least I report it here so the "regression" is understood.
it seems to be obvious that airsonic should be able to play files from nextcloud multimedia/music and shared/music, isnt it?
gilles
how to "connect" nextcloud folders to airsonic folders ???
ln -s what where ??
Hello,
I just did a fresh install of Airsonic and am unable to login. I tried logging in through SSO and through the site directly with my user. I get the message Incorrect username or password. I got a more detailed error message through SSO which I have attached.
I found some related errors on the Airsonic page but they are unresolved. It might just be an issue with the docker image. airsonic/airsonic#893
airsonic/airsonic#1047
Third party clients expect the XML response to begin with "subsonic-response". The Yuno airsonic nginx config rewrites it to begin with "madsonic-response"
The Yunohost airsonic nginx config modifies the Airsonic XML response to start with "madsonic-response". This is only needed for DSub, and breaks third-party clients like Ultrasonic and MusicBee. The rewrite should probably only occur when user-agent = "DSub"
Attempt to authenticate with Ultrasonic or Musicbee
The client authenticates
As you can see in the readme of the archived repo, airsonic is no longer maintained, it's replaced by airsonic-advanced, which is the same, but different, but still the same app
Hi, while installing the application I got this message. I'm sure if you're aware of it, that's why I'm creating this issue:
/!\ Packagers! This app is still using the skipped/protected/unprotected_uris/regex settings which are now obsolete and deprecated... Instead, you should use the new helpers 'ynh_permission_{create,urls,update,delete}' and the 'visitors' group to initialize the public/private access. Check out the documentation at the bottom of yunohost.org/groups_and_permissions to learn how to use the new permission mechanism.
Thanks
Hello,
This YunoHost package is looking for adoption
I used to be an app maintainer for this package and I don't want to do that anymore. Feel free to take your hands on it.
I might explain myself on the forum later. Not sure if it's worth it? Let me know.
Regards,
Gofannon
Hi,
I try to update from 10.1.2 on a ARM device (raspberry pi)
I have an error at the step of backing up the application.
ended_at: 2019-08-31 20:53:54.480020
env:
YNH_APP_ID: airsonic
YNH_APP_INSTANCE_NAME: airsonic
YNH_APP_INSTANCE_NUMBER: '1'
YNH_CWD: /var/cache/yunohost/from_file/airsonic_ynh-feac2ae93f9a0d283c689c0184c655ba69238c0e/scripts
YNH_INTERFACE: api
YNH_STDINFO: /tmp/tmpgwUg8K/stdinfo
YNH_STDRETURN: /tmp/tmpg_8n3s/stdreturn
error: "Impossible de mettre \xE0 jour airsonic"
operation: app_upgrade
related_to:
- - app
- airsonic
started_at: 2019-08-31 20:53:42.610424
success: false
============
2019-08-31 21:53:42,866: DEBUG - Exécution de la commande 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/airsonic_ynh-feac2ae93f9a0d283c689c0184c655ba69238c0e/scripts YNH_STDINFO=/tmp/tmpgwUg8K/stdinfo YNH_APP_INSTANCE_NAME=airsonic YNH_INTERFACE=api YNH_APP_ID=airsonic YNH_STDRETURN=/tmp/tmpg_8n3s/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./upgrade" airsonic 7>&1' …
2019-08-31 21:53:42,867: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/airsonic_ynh-feac2ae93f9a0d283c689c0184c655ba69238c0e/scripts YNH_STDINFO=/tmp/tmpgwUg8K/stdinfo YNH_APP_INSTANCE_NAME=airsonic YNH_INTERFACE=api YNH_APP_ID=airsonic YNH_STDRETURN=/tmp/tmpg_8n3s/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./upgrade" airsonic 7>&1']'
2019-08-31 21:53:42,909: DEBUG - + source _common.sh
2019-08-31 21:53:42,912: DEBUG - ++ pkg_dependencies='openjdk-8-jre ffmpeg'
2019-08-31 21:53:42,913: DEBUG - + source /usr/share/yunohost/helpers
2019-08-31 21:53:42,915: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2019-08-31 21:53:42,915: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:42,916: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-08-31 21:53:42,917: DEBUG - ++ . /usr/share/yunohost/helpers.d/apt
2019-08-31 21:53:42,918: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:42,919: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-08-31 21:53:42,919: DEBUG - ++ . /usr/share/yunohost/helpers.d/backup
2019-08-31 21:53:42,920: DEBUG - +++ CAN_BIND=1
2019-08-31 21:53:42,921: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:42,922: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-08-31 21:53:42,923: DEBUG - ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-08-31 21:53:42,924: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:42,924: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-08-31 21:53:42,925: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2019-08-31 21:53:43,026: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,027: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-08-31 21:53:43,028: DEBUG - ++ . /usr/share/yunohost/helpers.d/logging
2019-08-31 21:53:43,029: DEBUG - +++ increment_progression=0
2019-08-31 21:53:43,030: DEBUG - +++ previous_weight=0
2019-08-31 21:53:43,031: DEBUG - +++ max_progression=-1
2019-08-31 21:53:43,032: DEBUG - +++ progress_scale=20
2019-08-31 21:53:43,033: DEBUG - +++ progress_string2='####################'
2019-08-31 21:53:43,034: DEBUG - +++ progress_string1=++++++++++++++++++++
2019-08-31 21:53:43,035: DEBUG - +++ progress_string0=....................
2019-08-31 21:53:43,036: DEBUG - ++++ date +%s
2019-08-31 21:53:43,037: DEBUG - +++ base_time=1567284822
2019-08-31 21:53:43,038: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,039: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-08-31 21:53:43,040: DEBUG - ++ . /usr/share/yunohost/helpers.d/logrotate
2019-08-31 21:53:43,040: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,041: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-08-31 21:53:43,042: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2019-08-31 21:53:43,043: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-08-31 21:53:43,044: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,045: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-08-31 21:53:43,046: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2019-08-31 21:53:43,047: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,048: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-08-31 21:53:43,049: DEBUG - ++ . /usr/share/yunohost/helpers.d/nginx
2019-08-31 21:53:43,050: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,051: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-08-31 21:53:43,053: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2019-08-31 21:53:43,054: DEBUG - +++ n_install_dir=/opt/node_n
2019-08-31 21:53:43,055: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2019-08-31 21:53:43,056: DEBUG - +++ export N_PREFIX=/opt/node_n
2019-08-31 21:53:43,057: DEBUG - +++ N_PREFIX=/opt/node_n
2019-08-31 21:53:43,057: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,058: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-08-31 21:53:43,059: DEBUG - ++ . /usr/share/yunohost/helpers.d/php
2019-08-31 21:53:43,060: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,062: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-08-31 21:53:43,063: DEBUG - ++ . /usr/share/yunohost/helpers.d/postgresql
2019-08-31 21:53:43,064: DEBUG - +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-08-31 21:53:43,065: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,066: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-08-31 21:53:43,067: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2019-08-31 21:53:43,068: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,069: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-08-31 21:53:43,070: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2019-08-31 21:53:43,071: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,072: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-08-31 21:53:43,074: DEBUG - ++ . /usr/share/yunohost/helpers.d/systemd
2019-08-31 21:53:43,075: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,076: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-08-31 21:53:43,077: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2019-08-31 21:53:43,078: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:43,079: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-08-31 21:53:43,080: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2019-08-31 21:53:43,081: DEBUG - + ynh_script_progression '--message=Loading installation settings...' --weight=1
2019-08-31 21:53:43,082: DEBUG - + set +x
2019-08-31 21:53:43,083: DEBUG - + set +x
2019-08-31 21:53:43,184: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-31 21:53:43,185: INFO - [....................] > Loading installation settings...
2019-08-31 21:53:43,188: DEBUG - + set +x
2019-08-31 21:53:43,189: DEBUG - + echo '[....................] > Loading installation settings...'
2019-08-31 21:53:43,190: DEBUG - + set -x
2019-08-31 21:53:43,190: DEBUG - + app=airsonic
2019-08-31 21:53:43,191: DEBUG - ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:43,192: DEBUG - ++ local legacy_args=ak
2019-08-31 21:53:43,192: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:43,193: DEBUG - ++ declare -Ar args_array
2019-08-31 21:53:43,194: DEBUG - ++ local app
2019-08-31 21:53:43,194: DEBUG - ++ local key
2019-08-31 21:53:43,195: DEBUG - ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:43,195: DEBUG - ++ set +x
2019-08-31 21:53:43,196: DEBUG - ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:43,197: DEBUG - ++ ACTION=get
2019-08-31 21:53:43,197: DEBUG - ++ APP=airsonic
2019-08-31 21:53:43,198: DEBUG - ++ KEY=**********
2019-08-31 21:53:43,198: DEBUG - ++ VALUE=
2019-08-31 21:53:43,199: DEBUG - ++ python -
2019-08-31 21:53:43,601: DEBUG - + **********=jubok.eu
2019-08-31 21:53:43,602: DEBUG - ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:43,603: DEBUG - ++ local legacy_args=ak
2019-08-31 21:53:43,604: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:43,605: DEBUG - ++ declare -Ar args_array
2019-08-31 21:53:43,606: DEBUG - ++ local app
2019-08-31 21:53:43,607: DEBUG - ++ local key
2019-08-31 21:53:43,608: DEBUG - ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:43,608: DEBUG - ++ set +x
2019-08-31 21:53:43,609: DEBUG - ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:43,610: DEBUG - ++ ACTION=get
2019-08-31 21:53:43,611: DEBUG - ++ APP=airsonic
2019-08-31 21:53:43,612: DEBUG - ++ KEY=**********
2019-08-31 21:53:43,612: DEBUG - ++ VALUE=
2019-08-31 21:53:43,613: DEBUG - ++ python -
2019-08-31 21:53:44,116: DEBUG - + **********_url=/airsonic
2019-08-31 21:53:44,117: DEBUG - ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:44,118: DEBUG - ++ local legacy_args=ak
2019-08-31 21:53:44,119: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:44,120: DEBUG - ++ declare -Ar args_array
2019-08-31 21:53:44,120: DEBUG - ++ local app
2019-08-31 21:53:44,121: DEBUG - ++ local key
2019-08-31 21:53:44,121: DEBUG - ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:44,122: DEBUG - ++ set +x
2019-08-31 21:53:44,123: DEBUG - ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:44,123: DEBUG - ++ ACTION=get
2019-08-31 21:53:44,124: DEBUG - ++ APP=airsonic
2019-08-31 21:53:44,125: DEBUG - ++ KEY=**********
2019-08-31 21:53:44,125: DEBUG - ++ VALUE=
2019-08-31 21:53:44,126: DEBUG - ++ python -
2019-08-31 21:53:44,528: DEBUG - + **********=jubok
2019-08-31 21:53:44,529: DEBUG - ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:44,529: DEBUG - ++ local legacy_args=ak
2019-08-31 21:53:44,530: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:44,530: DEBUG - ++ declare -Ar args_array
2019-08-31 21:53:44,531: DEBUG - ++ local app
2019-08-31 21:53:44,532: DEBUG - ++ local key
2019-08-31 21:53:44,532: DEBUG - ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:44,533: DEBUG - ++ set +x
2019-08-31 21:53:44,634: DEBUG - ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:44,636: DEBUG - ++ ACTION=get
2019-08-31 21:53:44,637: DEBUG - ++ APP=airsonic
2019-08-31 21:53:44,638: DEBUG - ++ KEY=**********
2019-08-31 21:53:44,639: DEBUG - ++ VALUE=
2019-08-31 21:53:44,640: DEBUG - ++ python -
2019-08-31 21:53:45,042: DEBUG - + **********=1
2019-08-31 21:53:45,043: DEBUG - ++ ynh_app_setting_get --app=airsonic --key=final_**********
2019-08-31 21:53:45,044: DEBUG - ++ local legacy_args=ak
2019-08-31 21:53:45,044: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:45,045: DEBUG - ++ declare -Ar args_array
2019-08-31 21:53:45,045: DEBUG - ++ local app
2019-08-31 21:53:45,046: DEBUG - ++ local key
2019-08-31 21:53:45,047: DEBUG - ++ ynh_handle_getopts_args --app=airsonic --key=final_**********
2019-08-31 21:53:45,047: DEBUG - ++ set +x
2019-08-31 21:53:45,048: DEBUG - ++ ynh_app_setting get airsonic final_**********
2019-08-31 21:53:45,048: DEBUG - ++ ACTION=get
2019-08-31 21:53:45,049: DEBUG - ++ APP=airsonic
2019-08-31 21:53:45,050: DEBUG - ++ KEY=final_**********
2019-08-31 21:53:45,050: DEBUG - ++ VALUE=
2019-08-31 21:53:45,051: DEBUG - ++ python -
2019-08-31 21:53:45,453: DEBUG - + final_**********=/opt/yunohost/airsonic
2019-08-31 21:53:45,454: DEBUG - ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:45,455: DEBUG - ++ local legacy_args=ak
2019-08-31 21:53:45,456: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:45,457: DEBUG - ++ declare -Ar args_array
2019-08-31 21:53:45,458: DEBUG - ++ local app
2019-08-31 21:53:45,459: DEBUG - ++ local key
2019-08-31 21:53:45,460: DEBUG - ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:45,461: DEBUG - ++ set +x
2019-08-31 21:53:45,562: DEBUG - ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:45,563: DEBUG - ++ ACTION=get
2019-08-31 21:53:45,564: DEBUG - ++ APP=airsonic
2019-08-31 21:53:45,564: DEBUG - ++ KEY=**********
2019-08-31 21:53:45,565: DEBUG - ++ VALUE=
2019-08-31 21:53:45,566: DEBUG - ++ python -
2019-08-31 21:53:45,968: DEBUG - + **********=8095
2019-08-31 21:53:45,969: DEBUG - ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:45,970: DEBUG - ++ local legacy_args=ak
2019-08-31 21:53:45,970: DEBUG - ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:45,971: DEBUG - ++ declare -Ar args_array
2019-08-31 21:53:45,972: DEBUG - ++ local app
2019-08-31 21:53:45,973: DEBUG - ++ local key
2019-08-31 21:53:45,974: DEBUG - ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:45,975: DEBUG - ++ set +x
2019-08-31 21:53:45,975: DEBUG - ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:45,976: DEBUG - ++ ACTION=get
2019-08-31 21:53:45,977: DEBUG - ++ APP=airsonic
2019-08-31 21:53:45,978: DEBUG - ++ KEY=**********
2019-08-31 21:53:45,978: DEBUG - ++ VALUE=
2019-08-31 21:53:45,979: DEBUG - ++ python -
2019-08-31 21:53:46,381: DEBUG - + **********=/etc/default/airsonic
2019-08-31 21:53:46,382: DEBUG - ++ ynh_check_app_version_changed
2019-08-31 21:53:46,384: DEBUG - ++ local force_upgrade=0
2019-08-31 21:53:46,385: DEBUG - ++ local package_check=0
2019-08-31 21:53:46,386: DEBUG - ++ local return_value=UPGRADE_APP
2019-08-31 21:53:46,387: DEBUG - +++ ynh_read_manifest --manifest=/etc/yunohost/apps/airsonic/manifest.json --manifest_key=**********
2019-08-31 21:53:46,388: DEBUG - +++ local legacy_args=mk
2019-08-31 21:53:46,389: DEBUG - +++ args_array=([m]=manifest= [k]=manifest_key=)
2019-08-31 21:53:46,390: DEBUG - +++ declare -Ar args_array
2019-08-31 21:53:46,391: DEBUG - +++ local manifest
2019-08-31 21:53:46,392: DEBUG - +++ local manifest_key
2019-08-31 21:53:46,393: DEBUG - +++ ynh_handle_getopts_args --manifest=/etc/yunohost/apps/airsonic/manifest.json --manifest_key=**********
2019-08-31 21:53:46,394: DEBUG - +++ set +x
2019-08-31 21:53:46,495: DEBUG - +++ '[' '!' -e /etc/yunohost/apps/airsonic/manifest.json ']'
2019-08-31 21:53:46,496: DEBUG - +++ jq .********** /etc/yunohost/apps/airsonic/manifest.json --raw-output
2019-08-31 21:53:46,497: DEBUG - ++ local current_**********=10.1.2~ynh1
2019-08-31 21:53:46,499: DEBUG - +++ ynh_app_upstream_********** --manifest=/etc/yunohost/apps/airsonic/manifest.json
2019-08-31 21:53:46,500: DEBUG - +++ local legacy_args=m
2019-08-31 21:53:46,501: DEBUG - +++ args_array=([m]=manifest=)
2019-08-31 21:53:46,502: DEBUG - +++ declare -Ar args_array
2019-08-31 21:53:46,503: DEBUG - +++ local manifest
2019-08-31 21:53:46,504: DEBUG - +++ ynh_handle_getopts_args --manifest=/etc/yunohost/apps/airsonic/manifest.json
2019-08-31 21:53:46,505: DEBUG - +++ set +x
2019-08-31 21:53:46,506: DEBUG - +++ manifest=/etc/yunohost/apps/airsonic/manifest.json
2019-08-31 21:53:46,507: DEBUG - ++++ ynh_read_manifest --manifest=/etc/yunohost/apps/airsonic/manifest.json --manifest_key=**********
2019-08-31 21:53:46,508: DEBUG - ++++ local legacy_args=mk
2019-08-31 21:53:46,509: DEBUG - ++++ args_array=([m]=manifest= [k]=manifest_key=)
2019-08-31 21:53:46,510: DEBUG - ++++ declare -Ar args_array
2019-08-31 21:53:46,511: DEBUG - ++++ local manifest
2019-08-31 21:53:46,512: DEBUG - ++++ local manifest_key
2019-08-31 21:53:46,513: DEBUG - ++++ ynh_handle_getopts_args --manifest=/etc/yunohost/apps/airsonic/manifest.json --manifest_key=**********
2019-08-31 21:53:46,514: DEBUG - ++++ set +x
2019-08-31 21:53:46,515: DEBUG - ++++ '[' '!' -e /etc/yunohost/apps/airsonic/manifest.json ']'
2019-08-31 21:53:46,516: DEBUG - ++++ jq .********** /etc/yunohost/apps/airsonic/manifest.json --raw-output
2019-08-31 21:53:46,517: DEBUG - +++ **********_key=**********
2019-08-31 21:53:46,518: DEBUG - +++ echo 10.1.2
2019-08-31 21:53:46,519: DEBUG - ++ local current_upstream_**********=10.1.2
2019-08-31 21:53:46,520: DEBUG - +++ ynh_read_manifest --manifest=../manifest.json --manifest_key=**********
2019-08-31 21:53:46,521: DEBUG - +++ local legacy_args=mk
2019-08-31 21:53:46,522: DEBUG - +++ args_array=([m]=manifest= [k]=manifest_key=)
2019-08-31 21:53:46,523: DEBUG - +++ declare -Ar args_array
2019-08-31 21:53:46,524: DEBUG - +++ local manifest
2019-08-31 21:53:46,525: DEBUG - +++ local manifest_key
2019-08-31 21:53:46,527: DEBUG - +++ ynh_handle_getopts_args --manifest=../manifest.json --manifest_key=**********
2019-08-31 21:53:46,528: DEBUG - +++ set +x
2019-08-31 21:53:46,629: DEBUG - +++ '[' '!' -e ../manifest.json ']'
2019-08-31 21:53:46,630: DEBUG - +++ jq .********** ../manifest.json --raw-output
2019-08-31 21:53:46,631: DEBUG - ++ local update_**********=10.4.0~ynh1
2019-08-31 21:53:46,632: DEBUG - +++ ynh_app_upstream_**********
2019-08-31 21:53:46,633: DEBUG - +++ local legacy_args=m
2019-08-31 21:53:46,634: DEBUG - +++ args_array=([m]=manifest=)
2019-08-31 21:53:46,635: DEBUG - +++ declare -Ar args_array
2019-08-31 21:53:46,636: DEBUG - +++ local manifest
2019-08-31 21:53:46,637: DEBUG - +++ ynh_handle_getopts_args
2019-08-31 21:53:46,638: DEBUG - +++ set +x
2019-08-31 21:53:46,639: DEBUG - +++ manifest=../manifest.json
2019-08-31 21:53:46,640: DEBUG - ++++ ynh_read_manifest --manifest=../manifest.json --manifest_key=**********
2019-08-31 21:53:46,641: DEBUG - ++++ local legacy_args=mk
2019-08-31 21:53:46,642: DEBUG - ++++ args_array=([m]=manifest= [k]=manifest_key=)
2019-08-31 21:53:46,643: DEBUG - ++++ declare -Ar args_array
2019-08-31 21:53:46,644: DEBUG - ++++ local manifest
2019-08-31 21:53:46,645: DEBUG - ++++ local manifest_key
2019-08-31 21:53:46,646: DEBUG - ++++ ynh_handle_getopts_args --manifest=../manifest.json --manifest_key=**********
2019-08-31 21:53:46,647: DEBUG - ++++ set +x
2019-08-31 21:53:46,648: DEBUG - ++++ '[' '!' -e ../manifest.json ']'
2019-08-31 21:53:46,649: DEBUG - ++++ jq .********** ../manifest.json --raw-output
2019-08-31 21:53:46,650: DEBUG - +++ **********_key=**********
2019-08-31 21:53:46,650: DEBUG - +++ echo 10.4.0
2019-08-31 21:53:46,651: DEBUG - ++ local update_upstream_**********=10.4.0
2019-08-31 21:53:46,652: DEBUG - ++ '[' ********** == ********** ']'
2019-08-31 21:53:46,654: DEBUG - ++ '[' 10.1.2 == 10.4.0 ']'
2019-08-31 21:53:46,655: DEBUG - ++ echo UPGRADE_APP
2019-08-31 21:53:46,655: DEBUG - + upgrade_type=UPGRADE_APP
2019-08-31 21:53:46,657: DEBUG - + ynh_script_progression '--message=Ensuring downward compatibility...' --weight=1
2019-08-31 21:53:46,658: DEBUG - + set +x
2019-08-31 21:53:46,659: DEBUG - + set +x
2019-08-31 21:53:46,660: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-31 21:53:46,661: DEBUG - + set +x
2019-08-31 21:53:46,661: DEBUG - + echo '[....................] > Ensuring downward compatibility...'
2019-08-31 21:53:46,662: DEBUG - + set -x
2019-08-31 21:53:46,664: DEBUG - + '[' 1 = Yes ']'
2019-08-31 21:53:46,665: DEBUG - + '[' 1 = No ']'
2019-08-31 21:53:46,665: DEBUG - + '[' -z /opt/yunohost/airsonic ']'
2019-08-31 21:53:46,666: DEBUG - + '[' -z /etc/default/airsonic ']'
2019-08-31 21:53:46,667: DEBUG - + ynh_script_progression '--message=Backing up the app before upgrading (may take a while)...' --weight=5
2019-08-31 21:53:46,668: DEBUG - + set +x
2019-08-31 21:53:46,770: DEBUG - + set +x
2019-08-31 21:53:46,771: INFO - [....................] > Ensuring downward compatibility...
2019-08-31 21:53:46,774: DEBUG - + echo '! Helper used in legacy mode !'
2019-08-31 21:53:46,775: INFO - [+...................] > Backing up the app before upgrading (may take a while)...
2019-08-31 21:53:46,777: DEBUG - + set +x
2019-08-31 21:53:46,778: DEBUG - + echo '[+...................] > Backing up the app before upgrading (may take a while)...'
2019-08-31 21:53:46,779: DEBUG - + set -x
2019-08-31 21:53:46,780: DEBUG - + ynh_backup_before_upgrade
2019-08-31 21:53:46,781: DEBUG - + '[' '!' -e /etc/yunohost/apps/airsonic/scripts/backup ']'
2019-08-31 21:53:46,782: DEBUG - + backup_number=1
2019-08-31 21:53:46,783: DEBUG - + local old_backup_number=2
2019-08-31 21:53:46,784: DEBUG - + local app_bck=airsonic
2019-08-31 21:53:46,784: DEBUG - + NO_BACKUP_UPGRADE=0
2019-08-31 21:53:46,785: DEBUG - + '[' 0 -eq 0 ']'
2019-08-31 21:53:46,786: DEBUG - + sudo yunohost backup list
2019-08-31 21:53:46,787: DEBUG - + grep -q airsonic-pre-upgrade1
2019-08-31 21:53:48,191: DEBUG - + sudo BACKUP_CORE_ONLY=1 yunohost backup create --apps airsonic --name airsonic-pre-upgrade1 --debug
2019-08-31 21:53:48,895: DEBUG - 514 loading actions map namespace 'yunohost'
2019-08-31 21:53:48,996: DEBUG - 605 extra parameter classes loaded: ['comment', 'ask', 'password', 'required', 'pattern']
2019-08-31 21:53:48,997: DEBUG - 606 initializing base actions map parser for cli
2019-08-31 21:53:48,998: DEBUG - 610 registering new callback action 'yunohost.utils.packages.ynh_packages_**********' to ['-v', '--**********']
2019-08-31 21:53:49,500: DEBUG - 1183 loading python module yunohost.backup took 0.255s
2019-08-31 21:53:49,501: DEBUG - 1184 processing action [1394.1]: yunohost.backup.create with args={'description': None, 'apps': ['airsonic'], 'system': None, 'output_directory': None, 'methods': None, 'no_compress': False, 'name': 'airsonic-pre-upgrade1'}
2019-08-31 21:53:49,501: DEBUG - 1186 custom hook folder not found for action 'backup' in /etc/yunohost/hooks.d/
2019-08-31 21:53:49,603: DEBUG - 1198 Collecting files to be backuped for airsonic…
2019-08-31 21:53:49,604: DEBUG - 1231 Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup YNH_STDINFO=/tmp/tmpmQSqDd/stdinfo YNH_BACKUP_CSV=/tmp/backupcsv_3isIgH YNH_BACKUP_DIR=/home/yunohost.backup/tmp/airsonic-pre-upgrade1 YNH_APP_INSTANCE_NAME=airsonic YNH_INTERFACE=cli YNH_APP_ID=airsonic YNH_STDRETURN=/tmp/tmpW6CAlG/stdreturn YNH_APP_BACKUP_DIR=/home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup BASH_XTRACEFD=7 /bin/bash -x "/tmp/backup_QOpAIU" /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup airsonic 7>&1'…
2019-08-31 21:53:49,605: DEBUG - 1232 About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup YNH_STDINFO=/tmp/tmpmQSqDd/stdinfo YNH_BACKUP_CSV=/tmp/backupcsv_3isIgH YNH_BACKUP_DIR=/home/yunohost.backup/tmp/airsonic-pre-upgrade1 YNH_APP_INSTANCE_NAME=airsonic YNH_INTERFACE=cli YNH_APP_ID=airsonic YNH_STDRETURN=/tmp/tmpW6CAlG/stdreturn YNH_APP_BACKUP_DIR=/home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup BASH_XTRACEFD=7 /bin/bash -x "/tmp/backup_QOpAIU" /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup airsonic 7>&1']'
2019-08-31 21:53:49,607: DEBUG - 1261 + source ../settings/scripts/_common.sh
2019-08-31 21:53:49,608: DEBUG - 1263 + source /usr/share/yunohost/helpers
2019-08-31 21:53:49,608: DEBUG - 1264 +++ run-parts --list /usr/share/yunohost/helpers.d
2019-08-31 21:53:49,609: DEBUG - 1264 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,610: DEBUG - 1265 ++ '[' -r /usr/share/yunohost/helpers.d/apt ']'
2019-08-31 21:53:49,611: DEBUG - 1266 ++ . /usr/share/yunohost/helpers.d/apt
2019-08-31 21:53:49,611: DEBUG - 1266 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,612: DEBUG - 1267 ++ '[' -r /usr/share/yunohost/helpers.d/backup ']'
2019-08-31 21:53:49,613: DEBUG - 1267 ++ . /usr/share/yunohost/helpers.d/backup
2019-08-31 21:53:49,614: DEBUG - 1268 +++ CAN_BIND=1
2019-08-31 21:53:49,715: DEBUG - 1369 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,715: DEBUG - 1370 ++ '[' -r /usr/share/yunohost/helpers.d/fail2ban ']'
2019-08-31 21:53:49,716: DEBUG - 1371 ++ . /usr/share/yunohost/helpers.d/fail2ban
2019-08-31 21:53:49,717: DEBUG - 1372 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,718: DEBUG - 1372 ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2019-08-31 21:53:49,719: DEBUG - 1373 ++ . /usr/share/yunohost/helpers.d/getopts
2019-08-31 21:53:49,719: DEBUG - 1374 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,720: DEBUG - 1375 ++ '[' -r /usr/share/yunohost/helpers.d/logging ']'
2019-08-31 21:53:49,721: DEBUG - 1375 ++ . /usr/share/yunohost/helpers.d/logging
2019-08-31 21:53:49,722: DEBUG - 1376 +++ increment_progression=0
2019-08-31 21:53:49,722: DEBUG - 1377 +++ previous_weight=0
2019-08-31 21:53:49,723: DEBUG - 1378 +++ max_progression=-1
2019-08-31 21:53:49,724: DEBUG - 1379 +++ progress_scale=20
2019-08-31 21:53:49,725: DEBUG - 1379 +++ progress_string2='####################'
2019-08-31 21:53:49,725: DEBUG - 1380 +++ progress_string1=++++++++++++++++++++
2019-08-31 21:53:49,726: DEBUG - 1381 +++ progress_string0=....................
2019-08-31 21:53:49,729: DEBUG - 1382 ++++ date +%s
2019-08-31 21:53:49,730: DEBUG - 1382 +++ base_time=1567284829
2019-08-31 21:53:49,732: DEBUG - 1383 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,733: DEBUG - 1384 ++ '[' -r /usr/share/yunohost/helpers.d/logrotate ']'
2019-08-31 21:53:49,734: DEBUG - 1385 ++ . /usr/share/yunohost/helpers.d/logrotate
2019-08-31 21:53:49,736: DEBUG - 1386 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,737: DEBUG - 1386 ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2019-08-31 21:53:49,737: DEBUG - 1387 ++ . /usr/share/yunohost/helpers.d/mysql
2019-08-31 21:53:49,738: DEBUG - 1388 +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2019-08-31 21:53:49,739: DEBUG - 1389 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,740: DEBUG - 1390 ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2019-08-31 21:53:49,741: DEBUG - 1390 ++ . /usr/share/yunohost/helpers.d/network
2019-08-31 21:53:49,742: DEBUG - 1391 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,742: DEBUG - 1391 ++ '[' -r /usr/share/yunohost/helpers.d/nginx ']'
2019-08-31 21:53:49,743: DEBUG - 1392 ++ . /usr/share/yunohost/helpers.d/nginx
2019-08-31 21:53:49,744: DEBUG - 1393 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,745: DEBUG - 1393 ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2019-08-31 21:53:49,746: DEBUG - 1394 ++ . /usr/share/yunohost/helpers.d/nodejs
2019-08-31 21:53:49,747: DEBUG - 1395 +++ n_install_dir=/opt/node_n
2019-08-31 21:53:49,747: DEBUG - 1396 +++ node_**********_**********=/opt/node_n/n/**********s/node
2019-08-31 21:53:49,748: DEBUG - 1397 +++ ex********** N_PREFIX=/opt/node_n
2019-08-31 21:53:49,749: DEBUG - 1397 +++ N_PREFIX=/opt/node_n
2019-08-31 21:53:49,750: DEBUG - 1398 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,751: DEBUG - 1399 ++ '[' -r /usr/share/yunohost/helpers.d/php ']'
2019-08-31 21:53:49,751: DEBUG - 1400 ++ . /usr/share/yunohost/helpers.d/php
2019-08-31 21:53:49,752: DEBUG - 1400 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,753: DEBUG - 1401 ++ '[' -r /usr/share/yunohost/helpers.d/postgresql ']'
2019-08-31 21:53:49,754: DEBUG - 1402 ++ . /usr/share/yunohost/helpers.d/postgresql
2019-08-31 21:53:49,755: DEBUG - 1403 +++ PSQL_ROOT_PWD_FILE=/etc/yunohost/psql
2019-08-31 21:53:49,756: DEBUG - 1403 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,756: DEBUG - 1404 ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2019-08-31 21:53:49,757: DEBUG - 1405 ++ . /usr/share/yunohost/helpers.d/setting
2019-08-31 21:53:49,758: DEBUG - 1405 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,759: DEBUG - 1406 ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2019-08-31 21:53:49,760: DEBUG - 1407 ++ . /usr/share/yunohost/helpers.d/string
2019-08-31 21:53:49,760: DEBUG - 1407 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,761: DEBUG - 1408 ++ '[' -r /usr/share/yunohost/helpers.d/systemd ']'
2019-08-31 21:53:49,762: DEBUG - 1408 ++ . /usr/share/yunohost/helpers.d/systemd
2019-08-31 21:53:49,763: DEBUG - 1409 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,764: DEBUG - 1409 ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2019-08-31 21:53:49,765: DEBUG - 1410 ++ . /usr/share/yunohost/helpers.d/user
2019-08-31 21:53:49,766: DEBUG - 1411 ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2019-08-31 21:53:49,767: DEBUG - 1411 ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2019-08-31 21:53:49,768: DEBUG - 1412 ++ . /usr/share/yunohost/helpers.d/utils
2019-08-31 21:53:49,769: DEBUG - 1412 + ynh_abort_if_errors
2019-08-31 21:53:49,770: DEBUG - 1413 + set -eu
2019-08-31 21:53:49,770: DEBUG - 1414 + trap ynh_exit_properly EXIT
2019-08-31 21:53:49,771: DEBUG - 1414 + app=airsonic
2019-08-31 21:53:49,772: DEBUG - 1415 ++ ynh_app_setting_get airsonic final_**********
2019-08-31 21:53:49,772: DEBUG - 1415 ++ local legacy_args=ak
2019-08-31 21:53:49,773: DEBUG - 1416 ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:49,774: DEBUG - 1417 ++ declare -Ar args_array
2019-08-31 21:53:49,774: DEBUG - 1417 ++ local app
2019-08-31 21:53:49,775: DEBUG - 1418 ++ local key
2019-08-31 21:53:49,776: DEBUG - 1419 ++ ynh_handle_getopts_args airsonic final_**********
2019-08-31 21:53:49,776: DEBUG - 1419 ++ set +x
2019-08-31 21:53:49,777: DEBUG - 1420 ++ echo '! Helper used in legacy mode !'
2019-08-31 21:53:49,777: DEBUG - 1421 ++ set +x
2019-08-31 21:53:49,778: DEBUG - 1421 ++ ynh_app_setting get airsonic final_**********
2019-08-31 21:53:49,779: DEBUG - 1422 ++ ACTION=get
2019-08-31 21:53:49,779: DEBUG - 1423 ++ APP=airsonic
2019-08-31 21:53:49,780: DEBUG - 1424 ++ KEY=final_**********
2019-08-31 21:53:49,781: DEBUG - 1424 ++ VALUE=
2019-08-31 21:53:49,781: DEBUG - 1425 ++ python -
2019-08-31 21:53:50,283: DEBUG - 1927 + final_**********=/opt/yunohost/airsonic
2019-08-31 21:53:50,285: DEBUG - 1928 ++ ynh_app_setting_get airsonic **********
2019-08-31 21:53:50,286: DEBUG - 1929 ++ local legacy_args=ak
2019-08-31 21:53:50,287: DEBUG - 1929 ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:50,288: DEBUG - 1930 ++ declare -Ar args_array
2019-08-31 21:53:50,289: DEBUG - 1930 ++ local app
2019-08-31 21:53:50,290: DEBUG - 1931 ++ local key
2019-08-31 21:53:50,291: DEBUG - 1931 ++ ynh_handle_getopts_args airsonic **********
2019-08-31 21:53:50,292: DEBUG - 1932 ++ set +x
2019-08-31 21:53:50,293: DEBUG - 1932 ++ echo '! Helper used in legacy mode !'
2019-08-31 21:53:50,294: DEBUG - 1933 ++ set +x
2019-08-31 21:53:50,295: DEBUG - 1934 ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:50,296: DEBUG - 1934 ++ ACTION=get
2019-08-31 21:53:50,297: DEBUG - 1935 ++ APP=airsonic
2019-08-31 21:53:50,298: DEBUG - 1935 ++ KEY=**********
2019-08-31 21:53:50,299: DEBUG - 1936 ++ VALUE=
2019-08-31 21:53:50,300: DEBUG - 1936 ++ python -
2019-08-31 21:53:50,703: DEBUG - 2338 + **********=jubok.eu
2019-08-31 21:53:50,704: DEBUG - 2339 ++ ynh_app_setting_get airsonic **********
2019-08-31 21:53:50,704: DEBUG - 2340 ++ local legacy_args=ak
2019-08-31 21:53:50,705: DEBUG - 2340 ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:50,706: DEBUG - 2341 ++ declare -Ar args_array
2019-08-31 21:53:50,706: DEBUG - 2341 ++ local app
2019-08-31 21:53:50,707: DEBUG - 2342 ++ local key
2019-08-31 21:53:50,707: DEBUG - 2343 ++ ynh_handle_getopts_args airsonic **********
2019-08-31 21:53:50,708: DEBUG - 2344 ++ set +x
2019-08-31 21:53:50,709: DEBUG - 2344 ++ echo '! Helper used in legacy mode !'
2019-08-31 21:53:50,709: DEBUG - 2345 ++ set +x
2019-08-31 21:53:50,710: DEBUG - 2346 ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:50,711: DEBUG - 2346 ++ ACTION=get
2019-08-31 21:53:50,711: DEBUG - 2347 ++ APP=airsonic
2019-08-31 21:53:50,712: DEBUG - 2348 ++ KEY=**********
2019-08-31 21:53:50,712: DEBUG - 2348 ++ VALUE=
2019-08-31 21:53:50,713: DEBUG - 2349 ++ python -
2019-08-31 21:53:51,115: DEBUG - 2751 + **********=/etc/default/airsonic
2019-08-31 21:53:51,116: DEBUG - 2752 + ynh_backup /opt/yunohost/airsonic
2019-08-31 21:53:51,117: DEBUG - 2753 + local legacy_args=sdbm
2019-08-31 21:53:51,118: DEBUG - 2753 + args_array=([s]=src_**********= [d]=dest_**********= [b]=is_big [m]=not_mandatory)
2019-08-31 21:53:51,119: DEBUG - 2754 + declare -Ar args_array
2019-08-31 21:53:51,120: DEBUG - 2756 + local src_**********
2019-08-31 21:53:51,120: DEBUG - 2757 + local dest_**********
2019-08-31 21:53:51,121: DEBUG - 2758 + local is_big
2019-08-31 21:53:51,122: DEBUG - 2759 + local not_mandatory
2019-08-31 21:53:51,123: DEBUG - 2761 + ynh_handle_getopts_args /opt/yunohost/airsonic
2019-08-31 21:53:51,124: DEBUG - 2762 + set +x
2019-08-31 21:53:51,226: DEBUG - 2863 + echo '! Helper used in legacy mode !'
2019-08-31 21:53:51,227: DEBUG - 2864 + set +x
2019-08-31 21:53:51,228: DEBUG - 2865 + local dest_**********=
2019-08-31 21:53:51,229: DEBUG - 2865 + local is_big=0
2019-08-31 21:53:51,230: DEBUG - 2866 + local not_mandatory=0
2019-08-31 21:53:51,231: DEBUG - 2866 + BACKUP_CORE_ONLY=1
2019-08-31 21:53:51,232: DEBUG - 2867 + test -n airsonic
2019-08-31 21:53:51,233: DEBUG - 2867 ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:51,234: DEBUG - 2868 ++ local legacy_args=ak
2019-08-31 21:53:51,235: DEBUG - 2868 ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:51,237: DEBUG - 2869 ++ declare -Ar args_array
2019-08-31 21:53:51,238: DEBUG - 2869 ++ local app
2019-08-31 21:53:51,239: DEBUG - 2870 ++ local key
2019-08-31 21:53:51,240: DEBUG - 2870 ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:51,241: DEBUG - 2871 ++ set +x
2019-08-31 21:53:51,242: DEBUG - 2871 ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:51,243: DEBUG - 2872 ++ ACTION=get
2019-08-31 21:53:51,244: DEBUG - 2872 ++ APP=airsonic
2019-08-31 21:53:51,245: DEBUG - 2873 ++ KEY=**********
2019-08-31 21:53:51,246: DEBUG - 2873 ++ VALUE=
2019-08-31 21:53:51,247: DEBUG - 2874 ++ python -
2019-08-31 21:53:51,649: DEBUG - 3276 + **********=
2019-08-31 21:53:51,650: DEBUG - 3277 + '[' 0 -eq 1 ']'
2019-08-31 21:53:51,651: DEBUG - 3278 + [[ -e /opt/yunohost/airsonic ]]
2019-08-31 21:53:51,652: DEBUG - 3278 ++ real********** /opt/yunohost/airsonic
2019-08-31 21:53:51,653: DEBUG - 3279 + src_**********=/opt/yunohost/airsonic
2019-08-31 21:53:51,654: DEBUG - 3280 + [[ -z '' ]]
2019-08-31 21:53:51,655: DEBUG - 3281 + dest_**********=opt/yunohost/airsonic
2019-08-31 21:53:51,655: DEBUG - 3281 + [[ ! -e opt/yunohost/airsonic ]]
2019-08-31 21:53:51,656: DEBUG - 3282 + local rel_dir=/apps/airsonic/backup
2019-08-31 21:53:51,657: DEBUG - 3283 + rel_dir=/apps/airsonic/backup/
2019-08-31 21:53:51,658: DEBUG - 3284 + dest_**********=/apps/airsonic/backup/opt/yunohost/airsonic
2019-08-31 21:53:51,659: DEBUG - 3285 + dest_**********=apps/airsonic/backup/opt/yunohost/airsonic
2019-08-31 21:53:51,659: DEBUG - 3285 ++ echo /opt/yunohost/airsonic
2019-08-31 21:53:51,660: DEBUG - 3286 ++ sed -r 's/"/\"\"/g'
2019-08-31 21:53:51,661: DEBUG - 3287 + local src=/opt/yunohost/airsonic
2019-08-31 21:53:51,662: DEBUG - 3288 ++ echo apps/airsonic/backup/opt/yunohost/airsonic
2019-08-31 21:53:51,662: DEBUG - 3289 ++ sed -r 's/"/\"\"/g'
2019-08-31 21:53:51,664: DEBUG - 3289 + local dest=apps/airsonic/backup/opt/yunohost/airsonic
2019-08-31 21:53:51,664: DEBUG - 3290 + echo '"/opt/yunohost/airsonic","apps/airsonic/backup/opt/yunohost/airsonic"'
2019-08-31 21:53:51,665: DEBUG - 3291 ++ dirname /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/opt/yunohost/airsonic
2019-08-31 21:53:51,666: DEBUG - 3292 + mkdir -p /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/opt/yunohost
2019-08-31 21:53:51,667: DEBUG - 3293 + ynh_backup /etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:51,668: DEBUG - 3294 + local legacy_args=sdbm
2019-08-31 21:53:51,669: DEBUG - 3294 + args_array=([s]=src_**********= [d]=dest_**********= [b]=is_big [m]=not_mandatory)
2019-08-31 21:53:51,669: DEBUG - 3295 + declare -Ar args_array
2019-08-31 21:53:51,670: DEBUG - 3296 + local src_**********
2019-08-31 21:53:51,671: DEBUG - 3297 + local dest_**********
2019-08-31 21:53:51,672: DEBUG - 3298 + local is_big
2019-08-31 21:53:51,672: DEBUG - 3298 + local not_mandatory
2019-08-31 21:53:51,673: DEBUG - 3299 + ynh_handle_getopts_args /etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:51,674: DEBUG - 3300 + set +x
2019-08-31 21:53:51,675: DEBUG - 3301 + echo '! Helper used in legacy mode !'
2019-08-31 21:53:51,676: DEBUG - 3302 + set +x
2019-08-31 21:53:51,677: DEBUG - 3302 + local dest_**********=
2019-08-31 21:53:51,678: DEBUG - 3304 + local is_big=0
2019-08-31 21:53:51,678: DEBUG - 3304 + local not_mandatory=0
2019-08-31 21:53:51,679: DEBUG - 3305 + BACKUP_CORE_ONLY=1
2019-08-31 21:53:51,680: DEBUG - 3306 + test -n airsonic
2019-08-31 21:53:51,681: DEBUG - 3307 ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:51,681: DEBUG - 3307 ++ local legacy_args=ak
2019-08-31 21:53:51,682: DEBUG - 3308 ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:51,683: DEBUG - 3309 ++ declare -Ar args_array
2019-08-31 21:53:51,684: DEBUG - 3310 ++ local app
2019-08-31 21:53:51,685: DEBUG - 3310 ++ local key
2019-08-31 21:53:51,685: DEBUG - 3311 ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:51,686: DEBUG - 3312 ++ set +x
2019-08-31 21:53:51,788: DEBUG - 3413 ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:51,789: DEBUG - 3413 ++ ACTION=get
2019-08-31 21:53:51,789: DEBUG - 3414 ++ APP=airsonic
2019-08-31 21:53:51,790: DEBUG - 3415 ++ KEY=**********
2019-08-31 21:53:51,791: DEBUG - 3415 ++ VALUE=
2019-08-31 21:53:51,792: DEBUG - 3416 ++ python -
2019-08-31 21:53:52,194: DEBUG - 3817 + **********=
2019-08-31 21:53:52,195: DEBUG - 3819 + '[' 0 -eq 1 ']'
2019-08-31 21:53:52,195: DEBUG - 3819 + [[ -e /etc/nginx/conf.d/jubok.eu.d/airsonic.conf ]]
2019-08-31 21:53:52,196: DEBUG - 3820 ++ real********** /etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,197: DEBUG - 3821 + src_**********=/etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,197: DEBUG - 3822 + [[ -z '' ]]
2019-08-31 21:53:52,198: DEBUG - 3822 + dest_**********=etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,199: DEBUG - 3823 + [[ ! -e etc/nginx/conf.d/jubok.eu.d/airsonic.conf ]]
2019-08-31 21:53:52,199: DEBUG - 3825 + local rel_dir=/apps/airsonic/backup
2019-08-31 21:53:52,200: DEBUG - 3825 + rel_dir=/apps/airsonic/backup/
2019-08-31 21:53:52,200: DEBUG - 3826 + dest_**********=/apps/airsonic/backup/etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,201: DEBUG - 3827 + dest_**********=apps/airsonic/backup/etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,202: DEBUG - 3828 ++ echo /etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,202: DEBUG - 3829 ++ sed -r 's/"/\"\"/g'
2019-08-31 21:53:52,206: DEBUG - 3829 + local src=/etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,207: DEBUG - 3830 ++ echo apps/airsonic/backup/etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,208: DEBUG - 3831 ++ sed -r 's/"/\"\"/g'
2019-08-31 21:53:52,209: DEBUG - 3832 + local dest=apps/airsonic/backup/etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,209: DEBUG - 3832 + echo '"/etc/nginx/conf.d/jubok.eu.d/airsonic.conf","apps/airsonic/backup/etc/nginx/conf.d/jubok.eu.d/airsonic.conf"'
2019-08-31 21:53:52,210: DEBUG - 3833 ++ dirname /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/nginx/conf.d/jubok.eu.d/airsonic.conf
2019-08-31 21:53:52,211: DEBUG - 3834 + mkdir -p /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/nginx/conf.d/jubok.eu.d
2019-08-31 21:53:52,212: DEBUG - 3835 + ynh_backup /etc/logrotate.d/airsonic
2019-08-31 21:53:52,213: DEBUG - 3836 + local legacy_args=sdbm
2019-08-31 21:53:52,214: DEBUG - 3836 + args_array=([s]=src_**********= [d]=dest_**********= [b]=is_big [m]=not_mandatory)
2019-08-31 21:53:52,215: DEBUG - 3837 + declare -Ar args_array
2019-08-31 21:53:52,216: DEBUG - 3838 + local src_**********
2019-08-31 21:53:52,216: DEBUG - 3839 + local dest_**********
2019-08-31 21:53:52,217: DEBUG - 3839 + local is_big
2019-08-31 21:53:52,218: DEBUG - 3840 + local not_mandatory
2019-08-31 21:53:52,219: DEBUG - 3841 + ynh_handle_getopts_args /etc/logrotate.d/airsonic
2019-08-31 21:53:52,219: DEBUG - 3842 + set +x
2019-08-31 21:53:52,220: DEBUG - 3843 + echo '! Helper used in legacy mode !'
2019-08-31 21:53:52,221: DEBUG - 3843 + set +x
2019-08-31 21:53:52,221: DEBUG - 3844 + local dest_**********=
2019-08-31 21:53:52,222: DEBUG - 3845 + local is_big=0
2019-08-31 21:53:52,223: DEBUG - 3846 + local not_mandatory=0
2019-08-31 21:53:52,224: DEBUG - 3846 + BACKUP_CORE_ONLY=1
2019-08-31 21:53:52,225: DEBUG - 3847 + test -n airsonic
2019-08-31 21:53:52,226: DEBUG - 3848 ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:52,227: DEBUG - 3849 ++ local legacy_args=ak
2019-08-31 21:53:52,228: DEBUG - 3850 ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:52,229: DEBUG - 3850 ++ declare -Ar args_array
2019-08-31 21:53:52,230: DEBUG - 3851 ++ local app
2019-08-31 21:53:52,231: DEBUG - 3852 ++ local key
2019-08-31 21:53:52,231: DEBUG - 3852 ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:52,232: DEBUG - 3853 ++ set +x
2019-08-31 21:53:52,233: DEBUG - 3854 ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:52,233: DEBUG - 3855 ++ ACTION=get
2019-08-31 21:53:52,234: DEBUG - 3855 ++ APP=airsonic
2019-08-31 21:53:52,235: DEBUG - 3856 ++ KEY=**********
2019-08-31 21:53:52,235: DEBUG - 3857 ++ VALUE=
2019-08-31 21:53:52,236: DEBUG - 3857 ++ python -
2019-08-31 21:53:52,738: DEBUG - 4360 + **********=
2019-08-31 21:53:52,739: DEBUG - 4360 + '[' 0 -eq 1 ']'
2019-08-31 21:53:52,740: DEBUG - 4361 + [[ -e /etc/logrotate.d/airsonic ]]
2019-08-31 21:53:52,741: DEBUG - 4362 ++ real********** /etc/logrotate.d/airsonic
2019-08-31 21:53:52,742: DEBUG - 4363 + src_**********=/etc/logrotate.d/airsonic
2019-08-31 21:53:52,742: DEBUG - 4364 + [[ -z '' ]]
2019-08-31 21:53:52,743: DEBUG - 4364 + dest_**********=etc/logrotate.d/airsonic
2019-08-31 21:53:52,744: DEBUG - 4365 + [[ ! -e etc/logrotate.d/airsonic ]]
2019-08-31 21:53:52,745: DEBUG - 4366 + local rel_dir=/apps/airsonic/backup
2019-08-31 21:53:52,746: DEBUG - 4367 + rel_dir=/apps/airsonic/backup/
2019-08-31 21:53:52,747: DEBUG - 4368 + dest_**********=/apps/airsonic/backup/etc/logrotate.d/airsonic
2019-08-31 21:53:52,747: DEBUG - 4368 + dest_**********=apps/airsonic/backup/etc/logrotate.d/airsonic
2019-08-31 21:53:52,748: DEBUG - 4369 ++ echo /etc/logrotate.d/airsonic
2019-08-31 21:53:52,749: DEBUG - 4370 ++ sed -r 's/"/\"\"/g'
2019-08-31 21:53:52,750: DEBUG - 4370 + local src=/etc/logrotate.d/airsonic
2019-08-31 21:53:52,750: DEBUG - 4371 ++ echo apps/airsonic/backup/etc/logrotate.d/airsonic
2019-08-31 21:53:52,751: DEBUG - 4372 ++ sed -r 's/"/\"\"/g'
2019-08-31 21:53:52,752: DEBUG - 4373 + local dest=apps/airsonic/backup/etc/logrotate.d/airsonic
2019-08-31 21:53:52,753: DEBUG - 4374 + echo '"/etc/logrotate.d/airsonic","apps/airsonic/backup/etc/logrotate.d/airsonic"'
2019-08-31 21:53:52,754: DEBUG - 4375 ++ dirname /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/logrotate.d/airsonic
2019-08-31 21:53:52,755: DEBUG - 4376 + mkdir -p /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/logrotate.d
2019-08-31 21:53:52,756: DEBUG - 4376 + ynh_backup /etc/systemd/system/airsonic.service
2019-08-31 21:53:52,757: DEBUG - 4377 + local legacy_args=sdbm
2019-08-31 21:53:52,758: DEBUG - 4378 + args_array=([s]=src_**********= [d]=dest_**********= [b]=is_big [m]=not_mandatory)
2019-08-31 21:53:52,759: DEBUG - 4378 + declare -Ar args_array
2019-08-31 21:53:52,760: DEBUG - 4379 + local src_**********
2019-08-31 21:53:52,761: DEBUG - 4380 + local dest_**********
2019-08-31 21:53:52,761: DEBUG - 4381 + local is_big
2019-08-31 21:53:52,762: DEBUG - 4382 + local not_mandatory
2019-08-31 21:53:52,763: DEBUG - 4382 + ynh_handle_getopts_args /etc/systemd/system/airsonic.service
2019-08-31 21:53:52,763: DEBUG - 4383 + set +x
2019-08-31 21:53:52,764: DEBUG - 4384 + echo '! Helper used in legacy mode !'
2019-08-31 21:53:52,764: DEBUG - 4385 + set +x
2019-08-31 21:53:52,765: DEBUG - 4386 + local dest_**********=
2019-08-31 21:53:52,766: DEBUG - 4386 + local is_big=0
2019-08-31 21:53:52,766: DEBUG - 4387 + local not_mandatory=0
2019-08-31 21:53:52,767: DEBUG - 4388 + BACKUP_CORE_ONLY=1
2019-08-31 21:53:52,767: DEBUG - 4389 + test -n airsonic
2019-08-31 21:53:52,768: DEBUG - 4389 ++ ynh_app_setting_get --app=airsonic --key=**********
2019-08-31 21:53:52,769: DEBUG - 4390 ++ local legacy_args=ak
2019-08-31 21:53:52,769: DEBUG - 4391 ++ args_array=([a]=app= [k]=key=)
2019-08-31 21:53:52,770: DEBUG - 4391 ++ declare -Ar args_array
2019-08-31 21:53:52,771: DEBUG - 4392 ++ local app
2019-08-31 21:53:52,771: DEBUG - 4393 ++ local key
2019-08-31 21:53:52,772: DEBUG - 4394 ++ ynh_handle_getopts_args --app=airsonic --key=**********
2019-08-31 21:53:52,772: DEBUG - 4394 ++ set +x
2019-08-31 21:53:52,773: DEBUG - 4395 ++ ynh_app_setting get airsonic **********
2019-08-31 21:53:52,774: DEBUG - 4396 ++ ACTION=get
2019-08-31 21:53:52,774: DEBUG - 4396 ++ APP=airsonic
2019-08-31 21:53:52,775: DEBUG - 4397 ++ KEY=**********
2019-08-31 21:53:52,776: DEBUG - 4397 ++ VALUE=
2019-08-31 21:53:52,776: DEBUG - 4398 ++ python -
2019-08-31 21:53:53,278: DEBUG - 4900 + **********=
2019-08-31 21:53:53,280: DEBUG - 4901 + '[' 0 -eq 1 ']'
2019-08-31 21:53:53,280: DEBUG - 4902 + [[ -e /etc/systemd/system/airsonic.service ]]
2019-08-31 21:53:53,281: DEBUG - 4902 ++ real********** /etc/systemd/system/airsonic.service
2019-08-31 21:53:53,282: DEBUG - 4903 + src_**********=/etc/systemd/system/airsonic.service
2019-08-31 21:53:53,282: DEBUG - 4904 + [[ -z '' ]]
2019-08-31 21:53:53,283: DEBUG - 4904 + dest_**********=etc/systemd/system/airsonic.service
2019-08-31 21:53:53,284: DEBUG - 4905 + [[ ! -e etc/systemd/system/airsonic.service ]]
2019-08-31 21:53:53,285: DEBUG - 4905 + local rel_dir=/apps/airsonic/backup
2019-08-31 21:53:53,286: DEBUG - 4906 + rel_dir=/apps/airsonic/backup/
2019-08-31 21:53:53,286: DEBUG - 4907 + dest_**********=/apps/airsonic/backup/etc/systemd/system/airsonic.service
2019-08-31 21:53:53,287: DEBUG - 4907 + dest_**********=apps/airsonic/backup/etc/systemd/system/airsonic.service
2019-08-31 21:53:53,288: DEBUG - 4908 ++ echo /etc/systemd/system/airsonic.service
2019-08-31 21:53:53,289: DEBUG - 4908 ++ sed -r 's/"/\"\"/g'
2019-08-31 21:53:53,289: DEBUG - 4909 + local src=/etc/systemd/system/airsonic.service
2019-08-31 21:53:53,290: DEBUG - 4910 ++ echo apps/airsonic/backup/etc/systemd/system/airsonic.service
2019-08-31 21:53:53,291: DEBUG - 4910 ++ sed -r 's/"/\"\"/g'
2019-08-31 21:53:53,292: DEBUG - 4911 + local dest=apps/airsonic/backup/etc/systemd/system/airsonic.service
2019-08-31 21:53:53,293: DEBUG - 4911 + echo '"/etc/systemd/system/airsonic.service","apps/airsonic/backup/etc/systemd/system/airsonic.service"'
2019-08-31 21:53:53,294: DEBUG - 4912 ++ dirname /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/systemd/system/airsonic.service
2019-08-31 21:53:53,294: DEBUG - 4912 + mkdir -p /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/systemd/system
2019-08-31 21:53:53,295: DEBUG - 4913 + ynh_restore_file /etc/default/airsonic
2019-08-31 21:53:53,296: DEBUG - 4913 + local legacy_args=odm
2019-08-31 21:53:53,297: DEBUG - 4914 + args_array=([o]=origin_**********= [d]=dest_**********= [m]=not_mandatory)
2019-08-31 21:53:53,298: DEBUG - 4915 + declare -Ar args_array
2019-08-31 21:53:53,299: DEBUG - 4915 + local origin_**********
2019-08-31 21:53:53,300: DEBUG - 4916 + local archive_**********
2019-08-31 21:53:53,300: DEBUG - 4917 + local dest_**********
2019-08-31 21:53:53,301: DEBUG - 4917 + local not_mandatory
2019-08-31 21:53:53,302: DEBUG - 4918 + ynh_handle_getopts_args /etc/default/airsonic
2019-08-31 21:53:53,303: DEBUG - 4918 + set +x
2019-08-31 21:53:53,304: DEBUG - 4919 + echo '! Helper used in legacy mode !'
2019-08-31 21:53:53,304: DEBUG - 4919 + set +x
2019-08-31 21:53:53,305: DEBUG - 4920 + local origin_**********=/etc/default/airsonic
2019-08-31 21:53:53,306: DEBUG - 4920 + local archive_**********=/home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/default/airsonic
2019-08-31 21:53:53,307: DEBUG - 4921 + local dest_**********=/etc/default/airsonic
2019-08-31 21:53:53,308: DEBUG - 4922 + local not_mandatory=0
2019-08-31 21:53:53,309: DEBUG - 4922 + '[' '!' -d /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/default/airsonic ']'
2019-08-31 21:53:53,309: DEBUG - 4923 + '[' '!' -f /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/default/airsonic ']'
2019-08-31 21:53:53,310: DEBUG - 4923 + '[' '!' -L /home/yunohost.backup/tmp/airsonic-pre-upgrade1/apps/airsonic/backup/etc/default/airsonic ']'
2019-08-31 21:53:53,311: DEBUG - 4924 + '[' 0 == 0 ']'
2019-08-31 21:53:53,312: DEBUG - 4925 ++ _get_archive_********** '"/etc/default/airsonic"'
2019-08-31 21:53:53,313: DEBUG - 4925 ++ sudo python -c '
2019-08-31 21:53:53,314: DEBUG - 4926 im********** sys
2019-08-31 21:53:53,315: DEBUG - 4927 im********** csv
2019-08-31 21:53:53,316: DEBUG - 4928 with open(sys.argv[1], '\''r'\'') as backup_file:
2019-08-31 21:53:53,317: DEBUG - 4929 backup_csv = csv.DictReader(backup_file, fieldnames=['\''source'\'', '\''dest'\''])
2019-08-31 21:53:53,318: DEBUG - 4930 for row in backup_csv:
2019-08-31 21:53:53,318: DEBUG - 4931 if row['\''source'\'']==sys.argv[2].strip('\''"'\''):
2019-08-31 21:53:53,319: DEBUG - 4932 print row['\''dest'\'']
2019-08-31 21:53:53,320: DEBUG - 4932 sys.exit(0)
2019-08-31 21:53:53,321: DEBUG - 4933 raise Exception('\''Original ********** for %s not found'\'' % sys.argv[2])
2019-08-31 21:53:53,322: DEBUG - 4934 ' /tmp/backupcsv_3isIgH '"/etc/default/airsonic"'
2019-08-31 21:53:53,423: DEBUG - 5035 ++ return 1
2019-08-31 21:53:53,424: WARNING - 5036 Traceback (most recent call last):
2019-08-31 21:53:53,425: DEBUG - 5036 + archive_**********=/home/yunohost.backup/tmp/airsonic-pre-upgrade1/
2019-08-31 21:53:53,426: WARNING - 5037 File "<string>", line 10, in <module>
2019-08-31 21:53:53,427: DEBUG - 5037 + ynh_exit_properly
2019-08-31 21:53:53,428: WARNING - 5038 Exception: Original ********** for "/etc/default/airsonic" not found
2019-08-31 21:53:53,430: DEBUG - 5038 + local exit_code=1
2019-08-31 21:53:53,430: DEBUG - 5039 + '[' 1 -eq 0 ']'
2019-08-31 21:53:53,431: DEBUG - 5039 + trap '' EXIT
2019-08-31 21:53:53,432: DEBUG - 5040 + set +eu
2019-08-31 21:53:53,432: DEBUG - 5040 + sleep 0.5
2019-08-31 21:53:53,934: DEBUG - 5542 + ynh_print_err '--message=!!\n airsonic'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-08-31 21:53:53,935: DEBUG - 5543 + local legacy_args=m
2019-08-31 21:53:53,936: DEBUG - 5544 + args_array=([m]=message=)
2019-08-31 21:53:53,936: DEBUG - 5545 + declare -Ar args_array
2019-08-31 21:53:53,937: DEBUG - 5545 + local message
2019-08-31 21:53:53,937: DEBUG - 5546 + ynh_handle_getopts_args '--message=!!\n airsonic'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-08-31 21:53:53,938: DEBUG - 5547 + set +x
2019-08-31 21:53:54,039: DEBUG - 5648 + ynh_print_log '\e[91m\e[1m[ERR]\e[0m !!\n airsonic'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-08-31 21:53:54,040: WARNING - 5649 �[91m�[1m[ERR]�[0m !!
2019-08-31 21:53:54,041: DEBUG - 5649 + echo -e '\e[91m\e[1m[ERR]\e[0m !!\n airsonic'\''s script has encountered an error. Its execution was cancelled.\n!!'
2019-08-31 21:53:54,042: WARNING - 5650 airsonic's script has encountered an error. Its execution was cancelled.
2019-08-31 21:53:54,044: DEBUG - 5650 + '[' cli == cli ']'
2019-08-31 21:53:54,045: WARNING - 5651 !!
2019-08-31 21:53:54,046: DEBUG - 5652 + set +x
2019-08-31 21:53:54,047: WARNING - 5652 �[34m�[1mPlease find here an extract of the log before the crash:�[0m
2019-08-31 21:53:54,048: DEBUG - 5653 + type -t ynh_clean_setup
2019-08-31 21:53:54,049: WARNING - 5653 �[34m�[1m[DEBUG]�[0m: DEBUG - ++ _get_archive_********** '"/etc/default/airsonic"'
2019-08-31 21:53:54,050: DEBUG - 5654 + ynh_clean_setup
2019-08-31 21:53:54,051: WARNING - 5654 �[34m�[1m[DEBUG]�[0m: DEBUG - ++ sudo python -c '
2019-08-31 21:53:54,053: DEBUG - 5655 + true
2019-08-31 21:53:54,053: WARNING - 5655 �[34m�[1m[DEBUG]�[0m: DEBUG - im********** sys
2019-08-31 21:53:54,055: DEBUG - 5656 + ynh_die
2019-08-31 21:53:54,055: WARNING - 5656 �[34m�[1m[DEBUG]�[0m: DEBUG - im********** csv
2019-08-31 21:53:54,057: DEBUG - 5657 + local legacy_args=mc
2019-08-31 21:53:54,058: WARNING - 5657 �[34m�[1m[DEBUG]�[0m: DEBUG -, '\''r'\'') as backup_file:
2019-08-31 21:53:54,059: DEBUG - 5658 + args_array=([m]=message= [c]=ret_code=)
2019-08-31 21:53:54,060: WARNING - 5658 �[34m�[1m[DEBUG]�[0m: DEBUG -)
2019-08-31 21:53:54,061: DEBUG - 5659 + declare -Ar args_array
2019-08-31 21:53:54,062: WARNING - 5659 �[34m�[1m[DEBUG]�[0m: DEBUG - for row in backup_csv:
2019-08-31 21:53:54,064: DEBUG - 5660 + local message
2019-08-31 21:53:54,064: WARNING - 5660 �[34m�[1m[DEBUG]�[0m: DEBUG -.strip('\''"'\''):
2019-08-31 21:53:54,066: DEBUG - 5661 + local ret_code
2019-08-31 21:53:54,067: WARNING - 5661 �[34m�[1m[DEBUG]�[0m: DEBUG -
2019-08-31 21:53:54,068: DEBUG - 5662 + ynh_handle_getopts_args
2019-08-31 21:53:54,069: WARNING - 5662 �[34m�[1m[DEBUG]�[0m: DEBUG - sys.exit(0)
2019-08-31 21:53:54,070: DEBUG - 5663 + set +x
2019-08-31 21:53:54,071: WARNING - 5663 �[34m�[1m[DEBUG]�[0m: DEBUG -)
2019-08-31 21:53:54,072: DEBUG - 5664 + echo ''
2019-08-31 21:53:54,073: WARNING - 5664 �[34m�[1m[DEBUG]�[0m: DEBUG - ' /tmp/backupcsv_3isIgH '"/etc/default/airsonic"'
2019-08-31 21:53:54,075: DEBUG - 5665 + exit 1
2019-08-31 21:53:54,075: WARNING - 5665 �[34m�[1m[DEBUG]�[0m: DEBUG - ++ return 1
2019-08-31 21:53:54,077: WARNING - 5666 �[34m�[1m[DEBUG]�[0m: WARNING - Traceback (most recent call last):
2019-08-31 21:53:54,078: WARNING - 5666 �[34m�[1m[DEBUG]�[0m: DEBUG - + archive_**********=/home/yunohost.backup/tmp/airsonic-pre-upgrade1/
2019-08-31 21:53:54,080: WARNING - 5667 �[34m�[1m[DEBUG]�[0m: WARNING - File "<string>", line 10, in <module>
2019-08-31 21:53:54,082: WARNING - 5667 �[34m�[1m[DEBUG]�[0m: DEBUG - + ynh_exit_properly
2019-08-31 21:53:54,083: WARNING - 5668
2019-08-31 21:53:54,185: DEBUG - 5799 action [1394.1] executed in 4.614s
2019-08-31 21:53:54,186: WARNING - 5795 Unable to back up the app 'airsonic'
2019-08-31 21:53:54,188: WARNING - Traceback (most recent call last):
2019-08-31 21:53:54,190: WARNING - File "/usr/lib/moulinette/yunohost/backup.py", line 701, in _collect_app_files
2019-08-31 21:53:54,192: WARNING - raise_on_error=True, chdir=tmp_app_bkp_dir, env=env_dict)[0]
2019-08-31 21:53:54,194: WARNING - File "/usr/lib/moulinette/yunohost/hook.py", line 397, in hook_exec
2019-08-31 21:53:54,196: WARNING - raise YunohostError('hook_exec_failed', **********=**********)
2019-08-31 21:53:54,198: WARNING - YunohostError: Script execution failed: /tmp/backup_QOpAIU
2019-08-31 21:53:54,199: WARNING - 5800 There is nothing to save
2019-08-31 21:53:54,302: DEBUG - + '[' 1 -eq 0 ']'
2019-08-31 21:53:54,303: WARNING - Backup failed, the upgrade process was aborted.
2019-08-31 21:53:54,306: DEBUG - + ynh_die '--message=Backup failed, the upgrade process was aborted.'
2019-08-31 21:53:54,308: DEBUG - + local legacy_args=mc
2019-08-31 21:53:54,309: DEBUG - + args_array=([m]=message= [c]=ret_code=)
2019-08-31 21:53:54,310: DEBUG - + declare -Ar args_array
2019-08-31 21:53:54,311: DEBUG - + local message
2019-08-31 21:53:54,312: DEBUG - + local ret_code
2019-08-31 21:53:54,314: DEBUG - + ynh_handle_getopts_args '--message=Backup failed, the upgrade process was aborted.'
2019-08-31 21:53:54,315: DEBUG - + set +x
2019-08-31 21:53:54,316: DEBUG - + echo 'Backup failed, the upgrade process was aborted.'
2019-08-31 21:53:54,318: DEBUG - + exit 1
2019-08-31 21:53:54,477: ERROR - Impossible de mettre à jour airsonic
If someone have an idea why this happen before I make a clean install it would be great !
Hi,
I've some issues with airsonic.
I installed airsonic and put some MP3 files into /home/yunohost.multimedia/share/Music and then refreshed list from admin settings. There's "23 artists, 28 albums,..." on the footer but I can't see any music, the home page seems empty.
And I'm not able to connect with DSub (or any subsonic client for Android) : "incorrect username or password" even if there're corrects.
As I'm a newbie with airsonic, is there anything I've to do ?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.