Giter VIP home page Giter VIP logo

ampache_ynh's People

Contributors

arthurlutz avatar aymhce avatar beudbeud avatar ericgaspar avatar jimbojoe avatar kay0u avatar m5oul avatar maniackcrudelis avatar mat-mo avatar oniricorpe avatar stevenroose avatar tituspijean avatar tofbouf avatar yalh76 avatar yunohost-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ampache_ynh's Issues

The install frozen on the message: "SSOwat configuration generated."

Hello everyone,
I have a little problem when I install the "Ampache" application from the YunoHost web interface.
Installation does not finish...

It remains frozen on the next message:
"SSOwat configuration has been generated"

If I refresh the page or return to the installed Apps "Ampache" does not appear!

Logs here:
https://cryptpad.fr/code/#/1/view/y5+Pytd8fMHYf48203h7Mg/XON-0O2ARJMF07MqTJ-U6Vv+dkzImaZbwpugw-WuWOg/

I'm using the YunoHost 2.7.7 release (stable).

Install failed

Hello there,

i install a new frech yunohost, and now i can"t install yunohost this my error install :

`args:
app: https://github.com/YunoHost-Apps/ampache_ynh
args: null
label: null
no_remove_on_failure: false
ended_at: 2018-12-01 18:09:14.423277
env:
YNH_APP_ARG_ADMIN: users
YNH_APP_ARG_DOMAIN: domaine.fr
YNH_APP_ARG_PATH: /ampache
YNH_APP_ID: ampache
YNH_APP_INSTANCE_NAME: ampache
YNH_APP_INSTANCE_NUMBER: '1'
YNH_CWD: /var/cache/yunohost/from_file/ampache_ynh-master/scripts
YNH_STDINFO: /tmp/tmp3Zrfj8/stdinfo
error: An unexpected error occured
operation: app_install
related_to:

    • app
    • ampache
      started_at: 2018-12-01 16:24:51.906675
      success: false

============

2018-12-01 16:24:52,172: DEBUG - Executing command 'sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/ampache_ynh-master/scripts YNH_STDINFO=/tmp/tmp3Zrfj8/stdinfo YNH_APP_INSTANCE_NAME=ampache YNH_APP_ARG_ADMIN=users YNH_APP_ID=ampache YNH_APP_ARG_PATH=/ampache YNH_APP_ARG_DOMAIN=domaine.fr BASH_XTRACEFD=7 /bin/bash -x "./install" domaine.fr /ampache users ampache 7>&1'...
2018-12-01 16:24:52,173: DEBUG - About to run the command '['sh', '-c', 'YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/var/cache/yunohost/from_file/ampache_ynh-master/scripts YNH_STDINFO=/tmp/tmp3Zrfj8/stdinfo YNH_APP_INSTANCE_NAME=ampache YNH_APP_ARG_ADMIN=users YNH_APP_ID=ampache YNH_APP_ARG_PATH=/ampache YNH_APP_ARG_DOMAIN=domaine.fr BASH_XTRACEFD=7 /bin/bash -x "./install" domaine.fr /ampache users ampache 7>&1']'
2018-12-01 16:24:52,201: DEBUG - + app=ampache
2018-12-01 16:24:52,202: DEBUG - + domain=domaine.fr
2018-12-01 16:24:52,203: DEBUG - + path_url=/ampache
2018-12-01 16:24:52,203: DEBUG - + admin_ampache=users
2018-12-01 16:24:52,204: DEBUG - + source common.sh
2018-12-01 16:24:52,204: DEBUG - + source /usr/share/yunohost/helpers
2018-12-01 16:24:52,205: DEBUG - +++ run-parts --list /usr/share/yunohost/helpers.d
2018-12-01 16:24:52,306: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,307: WARNING - /bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
2018-12-01 16:24:52,308: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/backend ']'
2018-12-01 16:24:52,309: DEBUG - ++ . /usr/share/yunohost/helpers.d/backend
2018-12-01 16:24:52,310: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,312: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
2018-12-01 16:24:52,312: DEBUG - ++ . /usr/share/yunohost/helpers.d/filesystem
2018-12-01 16:24:52,313: DEBUG - +++ CAN_BIND=1
2018-12-01 16:24:52,315: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,316: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/getopts ']'
2018-12-01 16:24:52,317: DEBUG - ++ . /usr/share/yunohost/helpers.d/getopts
2018-12-01 16:24:52,318: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,319: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
2018-12-01 16:24:52,320: DEBUG - ++ . /usr/share/yunohost/helpers.d/ip
2018-12-01 16:24:52,320: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,323: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
2018-12-01 16:24:52,324: DEBUG - ++ . /usr/share/yunohost/helpers.d/mysql
2018-12-01 16:24:52,325: DEBUG - +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
2018-12-01 16:24:52,326: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,327: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/network ']'
2018-12-01 16:24:52,327: DEBUG - ++ . /usr/share/yunohost/helpers.d/network
2018-12-01 16:24:52,328: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,328: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/nodejs ']'
2018-12-01 16:24:52,329: DEBUG - ++ . /usr/share/yunohost/helpers.d/nodejs
2018-12-01 16:24:52,329: DEBUG - +++ n_install_dir=/opt/node_n
2018-12-01 16:24:52,332: DEBUG - +++ node_version_path=/opt/node_n/n/versions/node
2018-12-01 16:24:52,333: DEBUG - +++ export N_PREFIX=/opt/node_n
2018-12-01 16:24:52,335: DEBUG - +++ N_PREFIX=/opt/node_n
2018-12-01 16:24:52,336: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,337: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
2018-12-01 16:24:52,340: DEBUG - ++ . /usr/share/yunohost/helpers.d/package
2018-12-01 16:24:52,340: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,341: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
2018-12-01 16:24:52,341: DEBUG - ++ . /usr/share/yunohost/helpers.d/print
2018-12-01 16:24:52,342: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,342: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/psql ']'
2018-12-01 16:24:52,343: DEBUG - ++ . /usr/share/yunohost/helpers.d/psql
2018-12-01 16:24:52,344: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,346: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
2018-12-01 16:24:52,347: DEBUG - ++ . /usr/share/yunohost/helpers.d/setting
2018-12-01 16:24:52,351: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,355: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
2018-12-01 16:24:52,356: DEBUG - ++ . /usr/share/yunohost/helpers.d/string
2018-12-01 16:24:52,357: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,358: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/system ']'
2018-12-01 16:24:52,360: DEBUG - ++ . /usr/share/yunohost/helpers.d/system
2018-12-01 16:24:52,361: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,362: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
2018-12-01 16:24:52,363: DEBUG - ++ . /usr/share/yunohost/helpers.d/user
2018-12-01 16:24:52,364: DEBUG - ++ for helper in $(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)
2018-12-01 16:24:52,365: DEBUG - ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
2018-12-01 16:24:52,367: DEBUG - ++ . /usr/share/yunohost/helpers.d/utils
2018-12-01 16:24:52,368: DEBUG - + ynh_abort_if_errors
2018-12-01 16:24:52,369: DEBUG - + set -eu
2018-12-01 16:24:52,370: DEBUG - + trap ynh_exit_properly EXIT
2018-12-01 16:24:52,371: DEBUG - ++ ynh_normalize_url_path /ampache
2018-12-01 16:24:52,373: DEBUG - ++ local path_url=/ampache
2018-12-01 16:24:52,374: DEBUG - ++ test -n /ampache
2018-12-01 16:24:52,375: DEBUG - ++ '[' / '!=' / ']'
2018-12-01 16:24:52,376: DEBUG - ++ '[' e == / ']'
2018-12-01 16:24:52,377: DEBUG - ++ echo /ampache
2018-12-01 16:24:52,378: DEBUG - + path_url=/ampache
2018-12-01 16:24:52,380: DEBUG - + ynh_webpath_available domaine.fr /ampache
2018-12-01 16:24:52,381: DEBUG - + local domain=domaine.fr
2018-12-01 16:24:52,382: DEBUG - + local path=/ampache
2018-12-01 16:24:52,383: DEBUG - + sudo yunohost domain url-available domaine.fr /ampache
2018-12-01 16:24:53,788: DEBUG - True
2018-12-01 16:24:53,890: DEBUG - + ynh_webpath_register ampache domaine.fr /ampache
2018-12-01 16:24:53,891: DEBUG - + local app=ampache
2018-12-01 16:24:53,891: DEBUG - + local domain=domaine.fr
2018-12-01 16:24:53,892: DEBUG - + local path=/ampache
2018-12-01 16:24:53,894: DEBUG - + sudo yunohost app register-url ampache domaine.fr /ampache
2018-12-01 16:24:56,703: DEBUG - + ynh_app_setting_set ampache admin users
2018-12-01 16:24:56,704: DEBUG - + sudo yunohost app setting ampache admin --value=users --quiet
2018-12-01 16:24:58,008: DEBUG - + ampache_ynh_getsources
2018-12-01 16:24:58,009: DEBUG - + final_path=/var/www/ampache
2018-12-01 16:24:58,009: DEBUG - + mkdir -p /var/www/ampache/log
2018-12-01 16:25:03,826: DEBUG - + ynh_setup_source /var/www/ampache
2018-12-01 16:25:03,828: DEBUG - + local dest_dir=/var/www/ampache
2018-12-01 16:25:03,830: DEBUG - + local src_id=app
2018-12-01 16:25:03,831: DEBUG - ++ grep SOURCE_URL= /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../conf/app.src
2018-12-01 16:25:03,832: DEBUG - ++ cut -d= -f2-
2018-12-01 16:25:03,834: DEBUG - + local src_url=https://github.com/ampache/ampache/archive/3.8.6.zip
2018-12-01 16:25:03,835: DEBUG - ++ grep SOURCE_SUM= /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../conf/app.src
2018-12-01 16:25:03,837: DEBUG - ++ cut -d= -f2-
2018-12-01 16:25:03,838: DEBUG - + local src_sum=208aca3a8daff6365e6d9d1afad362a80b17abf51114933f962261da2c099c2e
2018-12-01 16:25:03,840: DEBUG - ++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../conf/app.src
2018-12-01 16:25:03,842: DEBUG - ++ cut -d= -f2-
2018-12-01 16:25:03,843: DEBUG - + local src_sumprg=
2018-12-01 16:25:03,845: DEBUG - ++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../conf/app.src
2018-12-01 16:25:03,846: DEBUG - ++ cut -d= -f2-
2018-12-01 16:25:03,847: DEBUG - + local src_format=zip
2018-12-01 16:25:03,849: DEBUG - ++ grep SOURCE_EXTRACT= /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../conf/app.src
2018-12-01 16:25:03,850: DEBUG - ++ cut -d= -f2-
2018-12-01 16:25:03,852: DEBUG - + local src_extract=
2018-12-01 16:25:03,853: DEBUG - ++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../conf/app.src
2018-12-01 16:25:03,854: DEBUG - ++ cut -d= -f2-
2018-12-01 16:25:03,856: DEBUG - + local src_in_subdir=
2018-12-01 16:25:03,857: DEBUG - ++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../conf/app.src
2018-12-01 16:25:03,858: DEBUG - ++ cut -d= -f2-
2018-12-01 16:25:03,859: DEBUG - + local src_filename=
2018-12-01 16:25:03,860: DEBUG - + src_sumprg=sha256sum
2018-12-01 16:25:03,860: DEBUG - + src_in_subdir=true
2018-12-01 16:25:03,861: DEBUG - + src_format=zip
2018-12-01 16:25:03,861: DEBUG - ++ tr '[:upper:]' '[:lower:]'
2018-12-01 16:25:03,862: DEBUG - ++ echo zip
2018-12-01 16:25:03,862: DEBUG - + src_format=zip
2018-12-01 16:25:03,863: DEBUG - + src_extract=true
2018-12-01 16:25:03,864: DEBUG - + '[' '' = '' ']'
2018-12-01 16:25:03,864: DEBUG - + src_filename=app.zip
2018-12-01 16:25:03,865: DEBUG - + local local_src=/opt/yunohost-apps-src/ampache/app.zip
2018-12-01 16:25:03,866: DEBUG - + test -e /opt/yunohost-apps-src/ampache/app.zip
2018-12-01 16:25:03,866: DEBUG - ++ wget -nv -O app.zip https://github.com/ampache/ampache/archive/3.8.6.zip
2018-12-01 16:28:36,619: DEBUG - + local 'out=2018-12-01 16:28:36 URL:https://codeload.github.com/ampache/ampache/zip/3.8.6 [8953413] -> "app.zip" [1]'
2018-12-01 16:28:36,621: DEBUG - + echo '208aca3a8daff6365e6d9d1afad362a80b17abf51114933f962261da2c099c2e app.zip'
2018-12-01 16:28:36,622: DEBUG - + sha256sum -c --status
2018-12-01 16:28:36,924: DEBUG - + mkdir -p /var/www/ampache
2018-12-01 16:28:36,924: DEBUG - + true
2018-12-01 16:28:36,925: DEBUG - + '[' zip = zip ']'
2018-12-01 16:28:36,926: DEBUG - + true
2018-12-01 16:28:36,926: DEBUG - ++ mktemp -d
2018-12-01 16:28:36,927: DEBUG - + local tmp_dir=/tmp/tmp.HzblFo61Yw
2018-12-01 16:28:36,927: DEBUG - + unzip -quo app.zip -d /tmp/tmp.HzblFo61Yw
2018-12-01 16:28:37,630: DEBUG - + cp -a /tmp/tmp.HzblFo61Yw/ampache-3.8.6/. /var/www/ampache
2018-12-01 16:28:37,831: DEBUG - + ynh_secure_remove /tmp/tmp.HzblFo61Yw
2018-12-01 16:28:37,832: DEBUG - + local path_to_remove=/tmp/tmp.HzblFo61Yw
2018-12-01 16:28:37,833: DEBUG - + local 'forbidden_path= /var/www /home/yunohost.app'
2018-12-01 16:28:37,834: DEBUG - + [[ /var/www /home/yunohost.app =~ /tmp/tmp.HzblFo61Yw ]]
2018-12-01 16:28:37,834: DEBUG - + [[ /tmp/tmp.HzblFo61Yw =~ ^/[[:alnum:]]+$ ]]
2018-12-01 16:28:37,835: DEBUG - + [[ w = / ]]
2018-12-01 16:28:37,836: DEBUG - + '[' -e /tmp/tmp.HzblFo61Yw ']'
2018-12-01 16:28:37,836: DEBUG - + sudo rm -R /tmp/tmp.HzblFo61Yw
2018-12-01 16:28:46,165: DEBUG - ++ find /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../sources/patches/ -type f -name 'app-.patch'
2018-12-01 16:28:46,166: DEBUG - ++ wc -l
2018-12-01 16:28:46,166: DEBUG - + (( 0 > 0 ))
2018-12-01 16:28:46,167: DEBUG - + test -e /var/cache/yunohost/from_file/ampache_ynh-master/scripts/../sources/extra_files/app
2018-12-01 16:28:46,167: DEBUG - + cp ../conf/ampache.cfg.php /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:28:46,168: DEBUG - + cp ../conf/admin.sql /tmp/
2018-12-01 16:28:46,168: DEBUG - + ynh_mysql_setup_db ampache ampache
2018-12-01 16:28:46,169: DEBUG - + local db_user=ampache
2018-12-01 16:28:46,169: DEBUG - + local db_name=ampache
2018-12-01 16:28:46,170: DEBUG - ++ ynh_string_random
2018-12-01 16:28:46,171: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2018-12-01 16:28:46,171: DEBUG - ++ tr -c -d A-Za-z0-9
2018-12-01 16:28:46,172: DEBUG - ++ sed -n 's/(.{24}).
/\1/p'
2018-12-01 16:28:47,376: DEBUG - + local new_db_pwd=h4j3TuSDIWclVzcIgtith9yY
2018-12-01 16:28:47,378: DEBUG - + db_pwd=h4j3TuSDIWclVzcIgtith9yY
2018-12-01 16:28:47,380: DEBUG - + ynh_mysql_create_db ampache ampache h4j3TuSDIWclVzcIgtith9yY
2018-12-01 16:28:47,381: DEBUG - + local db=ampache
2018-12-01 16:28:47,382: DEBUG - + local 'sql=CREATE DATABASE ampache;'
2018-12-01 16:28:47,383: DEBUG - + [[ 3 -gt 1 ]]
2018-12-01 16:28:47,385: DEBUG - + sql+=' GRANT ALL PRIVILEGES ON ampache.* TO '''ampache'''@'''localhost''''
2018-12-01 16:28:47,386: DEBUG - + [[ -n h4j3TuSDIWclVzcIgtith9yY ]]
2018-12-01 16:28:47,387: DEBUG - + sql+=' IDENTIFIED BY '''h4j3TuSDIWclVzcIgtith9yY''''
2018-12-01 16:28:47,388: DEBUG - + sql+=' WITH GRANT OPTION;'
2018-12-01 16:28:47,390: DEBUG - + ynh_mysql_execute_as_root 'CREATE DATABASE ampache; GRANT ALL PRIVILEGES ON ampache.* TO '''ampache'''@'''localhost''' IDENTIFIED BY '''h4j3TuSDIWclVzcIgtith9yY''' WITH GRANT OPTION;'
2018-12-01 16:28:47,391: DEBUG - ++ sudo cat /etc/yunohost/mysql
2018-12-01 16:28:47,492: DEBUG - + ynh_mysql_connect_as root sYEx4zzf9d ''
2018-12-01 16:28:47,493: DEBUG - + mysql -u root --password=sYEx4zzf9d -B ''
2018-12-01 16:28:47,594: DEBUG - + ynh_app_setting_set ampache mysqlpwd h4j3TuSDIWclVzcIgtith9yY
2018-12-01 16:28:47,595: DEBUG - + sudo yunohost app setting ampache mysqlpwd --value=h4j3TuSDIWclVzcIgtith9yY --quiet
2018-12-01 16:28:48,899: DEBUG - ++ ynh_app_setting_get ampache mysqlpwd
2018-12-01 16:28:48,900: DEBUG - ++ sudo yunohost app setting ampache mysqlpwd --output-as plain --quiet
2018-12-01 16:28:51,407: DEBUG - + db_pwd=h4j3TuSDIWclVzcIgtith9yY
2018-12-01 16:28:51,408: DEBUG - + ynh_mysql_connect_as ampache h4j3TuSDIWclVzcIgtith9yY ampache
2018-12-01 16:28:51,409: DEBUG - + mysql -u ampache --password=h4j3TuSDIWclVzcIgtith9yY -B ampache
2018-12-01 16:29:05,950: DEBUG - + ampache_ynh_prepareconfig
2018-12-01 16:29:05,950: DEBUG - + ynh_replace_string yunouser ampache /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:05,951: DEBUG - + local delimit=@
2018-12-01 16:29:05,951: DEBUG - + local match_string=yunouser
2018-12-01 16:29:05,952: DEBUG - + local replace_string=ampache
2018-12-01 16:29:05,953: DEBUG - + local workfile=/var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:05,953: DEBUG - + match_string=yunouser
2018-12-01 16:29:05,954: DEBUG - + replace_string=ampache
2018-12-01 16:29:05,955: DEBUG - + sudo sed --in-place s@yunouser@ampache@g /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,056: DEBUG - + ynh_replace_string yunopass h4j3TuSDIWclVzcIgtith9yY /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,057: DEBUG - + local delimit=@
2018-12-01 16:29:06,057: DEBUG - + local match_string=yunopass
2018-12-01 16:29:06,058: DEBUG - + local replace_string=h4j3TuSDIWclVzcIgtith9yY
2018-12-01 16:29:06,059: DEBUG - + local workfile=/var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,059: DEBUG - + match_string=yunopass
2018-12-01 16:29:06,060: DEBUG - + replace_string=h4j3TuSDIWclVzcIgtith9yY
2018-12-01 16:29:06,060: DEBUG - + sudo sed --in-place s@yunopass@h4j3TuSDIWclVzcIgtith9yY@g /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,161: DEBUG - + ynh_replace_string yunobase ampache /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,162: DEBUG - + local delimit=@
2018-12-01 16:29:06,163: DEBUG - + local match_string=yunobase
2018-12-01 16:29:06,163: DEBUG - + local replace_string=ampache
2018-12-01 16:29:06,164: DEBUG - + local workfile=/var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,165: DEBUG - + match_string=yunobase
2018-12-01 16:29:06,167: DEBUG - + replace_string=ampache
2018-12-01 16:29:06,168: DEBUG - + sudo sed --in-place s@yunobase@ampache@g /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,271: DEBUG - + ynh_replace_string PATHTOCHANGE /ampache /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,272: DEBUG - + local delimit=@
2018-12-01 16:29:06,273: DEBUG - + local match_string=PATHTOCHANGE
2018-12-01 16:29:06,274: DEBUG - + local replace_string=/ampache
2018-12-01 16:29:06,274: DEBUG - + local workfile=/var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,275: DEBUG - + match_string=PATHTOCHANGE
2018-12-01 16:29:06,275: DEBUG - + replace_string=/ampache
2018-12-01 16:29:06,276: DEBUG - + sudo sed --in-place s@PATHTOCHANGE@/ampache@g /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,378: DEBUG - + ynh_replace_string DOMAINTOCHANGE domaine.fr /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,380: DEBUG - + local delimit=@
2018-12-01 16:29:06,381: DEBUG - + local match_string=DOMAINTOCHANGE
2018-12-01 16:29:06,382: DEBUG - + local replace_string=domaine.fr
2018-12-01 16:29:06,384: DEBUG - + local workfile=/var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,386: DEBUG - + match_string=DOMAINTOCHANGE
2018-12-01 16:29:06,391: DEBUG - + replace_string=domaine.fr
2018-12-01 16:29:06,392: DEBUG - + sudo sed --in-place s@DOMAINTOCHANGE@domaine.fr@g /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,494: DEBUG - + ynh_replace_string yunoadmin users /tmp/admin.sql
2018-12-01 16:29:06,495: DEBUG - + local delimit=@
2018-12-01 16:29:06,495: DEBUG - + local match_string=yunoadmin
2018-12-01 16:29:06,496: DEBUG - + local replace_string=users
2018-12-01 16:29:06,497: DEBUG - + local workfile=/tmp/admin.sql
2018-12-01 16:29:06,497: DEBUG - + match_string=yunoadmin
2018-12-01 16:29:06,498: DEBUG - + replace_string=users
2018-12-01 16:29:06,500: DEBUG - + sudo sed --in-place s@yunoadmin@users@g /tmp/admin.sql
2018-12-01 16:29:06,602: DEBUG - ++ ynh_string_random 24
2018-12-01 16:29:06,603: DEBUG - ++ dd if=/dev/urandom bs=1 count=1000
2018-12-01 16:29:06,603: DEBUG - ++ tr -c -d A-Za-z0-9
2018-12-01 16:29:06,604: DEBUG - ++ sed -n 's/(.{24}).*/\1/p'
2018-12-01 16:29:06,604: DEBUG - + ynh_replace_string RANDOMKEYTOCHANGE WiLvlqPjrTAxqPGr8ln9uNfb /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,605: DEBUG - + local delimit=@
2018-12-01 16:29:06,605: DEBUG - + local match_string=RANDOMKEYTOCHANGE
2018-12-01 16:29:06,606: DEBUG - + local replace_string=WiLvlqPjrTAxqPGr8ln9uNfb
2018-12-01 16:29:06,606: DEBUG - + local workfile=/var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,607: DEBUG - + match_string=RANDOMKEYTOCHANGE
2018-12-01 16:29:06,607: DEBUG - + replace_string=WiLvlqPjrTAxqPGr8ln9uNfb
2018-12-01 16:29:06,608: DEBUG - + sudo sed --in-place s@RANDOMKEYTOCHANGE@WiLvlqPjrTAxqPGr8ln9uNfb@g /var/www/ampache/config/ampache.cfg.php
2018-12-01 16:29:06,711: DEBUG - + '[' /ampache '!=' / ']'
2018-12-01 16:29:06,712: DEBUG - + ynh_replace_string '^#sub_path_only' '' ../conf/nginx.conf
2018-12-01 16:29:06,713: DEBUG - + local delimit=@
2018-12-01 16:29:06,713: DEBUG - + local 'match_string=^#sub_path_only'
2018-12-01 16:29:06,714: DEBUG - + local replace_string=
2018-12-01 16:29:06,715: DEBUG - + local workfile=../conf/nginx.conf
2018-12-01 16:29:06,716: DEBUG - + match_string='^#sub_path_only'
2018-12-01 16:29:06,717: DEBUG - + replace_string=
2018-12-01 16:29:06,718: DEBUG - + sudo sed --in-place 's@^#sub_path_only@@g' ../conf/nginx.conf
2018-12-01 16:29:06,819: DEBUG - + ynh_add_nginx_config
2018-12-01 16:29:06,820: DEBUG - + finalnginxconf=/etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:06,821: DEBUG - + local others_var=
2018-12-01 16:29:06,821: DEBUG - + ynh_backup_if_checksum_is_different /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:06,822: DEBUG - + local file=/etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:06,822: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_domaine.fr.d_ampache.conf
2018-12-01 16:29:06,823: DEBUG - ++ ynh_app_setting_get ampache checksum__etc_nginx_conf.d_domaine.fr.d_ampache.conf
2018-12-01 16:29:06,823: DEBUG - ++ sudo yunohost app setting ampache checksum__etc_nginx_conf.d_domaine.fr.d_ampache.conf --output-as plain --quiet
2018-12-01 16:29:08,028: DEBUG - + local checksum_value=
2018-12-01 16:29:08,029: DEBUG - + '[' -n '' ']'
2018-12-01 16:29:08,029: DEBUG - + sudo cp ../conf/nginx.conf /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,132: DEBUG - + test -n /ampache
2018-12-01 16:29:08,133: DEBUG - + local path_url_slash_less=/ampache
2018-12-01 16:29:08,134: DEBUG - + ynh_replace_string PATH/ /ampache/ /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,135: DEBUG - + local delimit=@
2018-12-01 16:29:08,136: DEBUG - + local match_string=PATH/
2018-12-01 16:29:08,137: DEBUG - + local replace_string=/ampache/
2018-12-01 16:29:08,138: DEBUG - + local workfile=/etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,139: DEBUG - + match_string=PATH/
2018-12-01 16:29:08,139: DEBUG - + replace_string=/ampache/
2018-12-01 16:29:08,140: DEBUG - + sudo sed --in-place s@PATH/@/ampache/@g /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,241: DEBUG - + ynh_replace_string PATH /ampache /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,242: DEBUG - + local delimit=@
2018-12-01 16:29:08,243: DEBUG - + local match_string=PATH
2018-12-01 16:29:08,244: DEBUG - + local replace_string=/ampache
2018-12-01 16:29:08,244: DEBUG - + local workfile=/etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,245: DEBUG - + match_string=PATH
2018-12-01 16:29:08,245: DEBUG - + replace_string=/ampache
2018-12-01 16:29:08,246: DEBUG - + sudo sed --in-place s@PATH@/ampache@g /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,246: DEBUG - + test -n domaine.fr
2018-12-01 16:29:08,247: DEBUG - + ynh_replace_string DOMAIN domaine.fr /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,247: DEBUG - + local delimit=@
2018-12-01 16:29:08,248: DEBUG - + local match_string=DOMAIN
2018-12-01 16:29:08,248: DEBUG - + local replace_string=domaine.fr
2018-12-01 16:29:08,249: DEBUG - + local workfile=/etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,250: DEBUG - + match_string=DOMAIN
2018-12-01 16:29:08,250: DEBUG - + replace_string=domaine.fr
2018-12-01 16:29:08,251: DEBUG - + sudo sed --in-place s@DOMAIN@domaine.fr@g /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,352: DEBUG - + test -n ''
2018-12-01 16:29:08,352: DEBUG - + test -n ampache
2018-12-01 16:29:08,353: DEBUG - + ynh_replace_string NAME ampache /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,353: DEBUG - + local delimit=@
2018-12-01 16:29:08,354: DEBUG - + local match_string=NAME
2018-12-01 16:29:08,354: DEBUG - + local replace_string=ampache
2018-12-01 16:29:08,355: DEBUG - + local workfile=/etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,355: DEBUG - + match_string=NAME
2018-12-01 16:29:08,356: DEBUG - + replace_string=ampache
2018-12-01 16:29:08,356: DEBUG - + sudo sed --in-place s@NAME@ampache@g /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,457: DEBUG - + test -n /var/www/ampache
2018-12-01 16:29:08,459: DEBUG - + ynh_replace_string FINALPATH /var/www/ampache /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,460: DEBUG - + local delimit=@
2018-12-01 16:29:08,460: DEBUG - + local match_string=FINALPATH
2018-12-01 16:29:08,461: DEBUG - + local replace_string=/var/www/ampache
2018-12-01 16:29:08,461: DEBUG - + local workfile=/etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,462: DEBUG - + match_string=FINALPATH
2018-12-01 16:29:08,462: DEBUG - + replace_string=/var/www/ampache
2018-12-01 16:29:08,463: DEBUG - + sudo sed --in-place s@FINALPATH@/var/www/ampache@g /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,564: DEBUG - + '[' /ampache '!=' / ']'
2018-12-01 16:29:08,565: DEBUG - + ynh_replace_string '^#sub_path_only' '' /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,565: DEBUG - + local delimit=@
2018-12-01 16:29:08,566: DEBUG - + local 'match_string=^#sub_path_only'
2018-12-01 16:29:08,567: DEBUG - + local replace_string=
2018-12-01 16:29:08,567: DEBUG - + local workfile=/etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,568: DEBUG - + match_string='^#sub_path_only'
2018-12-01 16:29:08,568: DEBUG - + replace_string=
2018-12-01 16:29:08,569: DEBUG - + sudo sed --in-place 's@^#sub_path_only@@g' /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,569: DEBUG - + ynh_store_file_checksum /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,570: DEBUG - + local checksum_setting_name=checksum__etc_nginx_conf.d_domaine.fr.d_ampache.conf
2018-12-01 16:29:08,570: DEBUG - ++ sudo md5sum /etc/nginx/conf.d/domaine.fr.d/ampache.conf
2018-12-01 16:29:08,571: DEBUG - ++ cut '-d ' -f1
2018-12-01 16:29:08,772: DEBUG - + ynh_app_setting_set ampache checksum__etc_nginx_conf.d_domaine.fr.d_ampache.conf 221e501e93bd2c635fffaefc01534b69
2018-12-01 16:29:08,773: DEBUG - + sudo yunohost app setting ampache checksum__etc_nginx_conf.d_domaine.fr.d_ampache.conf --value=221e501e93bd2c635fffaefc01534b69 --quiet
2018-12-01 16:29:09,977: DEBUG - + sudo systemctl reload nginx
2018-12-01 16:29:10,279: DEBUG - + ynh_install_app_dependencies libav-tools
2018-12-01 16:29:10,280: DEBUG - + local dependencies=libav-tools
2018-12-01 16:29:10,281: DEBUG - + local dependencies=libav-tools
2018-12-01 16:29:10,282: DEBUG - + local dependencies=libav-tools
2018-12-01 16:29:10,283: DEBUG - + local manifest_path=../manifest.json
2018-12-01 16:29:10,284: DEBUG - + '[' '!' -e ../manifest.json ']'
2018-12-01 16:29:10,285: DEBUG - ++ grep '"version": ' ../manifest.json
2018-12-01 16:29:10,286: DEBUG - ++ cut -d '"' -f 4
2018-12-01 16:29:10,287: DEBUG - + local version=3.8.6ynh1
2018-12-01 16:29:10,288: DEBUG - + '[' 10 -eq 0 ']'
2018-12-01 16:29:10,290: DEBUG - + local dep_app=ampache
2018-12-01 16:29:10,291: DEBUG - + cat
2018-12-01 16:29:10,293: DEBUG - + ynh_package_install_from_equivs /tmp/ampache-ynh-deps.control
2018-12-01 16:29:10,294: DEBUG - + local controlfile=/tmp/ampache-ynh-deps.control
2018-12-01 16:29:10,295: DEBUG - ++ cut '-d ' -f 2
2018-12-01 16:29:10,296: DEBUG - ++ grep '^Package: ' /tmp/ampache-ynh-deps.control
2018-12-01 16:29:10,297: DEBUG - + local pkgname=ampache-ynh-deps
2018-12-01 16:29:10,298: DEBUG - ++ grep '^Version: ' /tmp/ampache-ynh-deps.control
2018-12-01 16:29:10,299: DEBUG - ++ cut '-d ' -f 2
2018-12-01 16:29:10,301: DEBUG - + local pkgversion=3.8.6
ynh1
2018-12-01 16:29:10,302: DEBUG - + [[ -z ampache-ynh-deps ]]
2018-12-01 16:29:10,304: DEBUG - + [[ -z 3.8.6ynh1 ]]
2018-12-01 16:29:10,305: DEBUG - + ynh_package_update
2018-12-01 16:29:10,306: DEBUG - + ynh_apt update
2018-12-01 16:29:10,307: DEBUG - + ynh_wait_dpkg_free
2018-12-01 16:29:10,308: DEBUG - + local try
2018-12-01 16:29:10,309: DEBUG - ++ seq 1 17
2018-12-01 16:29:10,310: DEBUG - + for try in seq 1 17
2018-12-01 16:29:10,311: DEBUG - + sudo lsof /var/lib/dpkg/lock
2018-12-01 16:29:10,813: DEBUG - + break
2018-12-01 16:29:10,814: DEBUG - + echo 'apt still used, but timeout reached !'
2018-12-01 16:29:10,815: DEBUG - apt still used, but timeout reached !
2018-12-01 16:29:10,817: DEBUG - + DEBIAN_FRONTEND=noninteractive
2018-12-01 16:29:10,820: DEBUG - + sudo apt-get -y update
2018-12-01 16:29:26,169: DEBUG - Hit:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
2018-12-01 16:29:26,170: DEBUG - Hit:2 http://archive.raspberrypi.org/debian stretch InRelease
2018-12-01 16:29:26,170: DEBUG - Get:3 http://forge.yunohost.org/debian stretch InRelease [18.2 kB]
2018-12-01 16:29:33,992: DEBUG - Fetched 18.2 kB in 10s (1741 B/s)
2018-12-01 16:29:39,909: DEBUG - Reading package lists...
2018-12-01 16:29:45,459: DEBUG - ++ mktemp -d
2018-12-01 16:29:47,290: DEBUG - + local TMPDIR=/tmp/tmp.3HDuMuU7nM
2018-12-01 16:29:47,291: DEBUG - + echo 10
2018-12-01 16:29:49,397: DEBUG - + ynh_wait_dpkg_free
2018-12-01 16:29:49,398: DEBUG - + local try
2018-12-01 16:29:49,399: DEBUG - ++ seq 1 17
2018-12-01 16:29:49,400: DEBUG - + for try in seq 1 17
2018-12-01 16:29:49,401: DEBUG - + sudo lsof /var/lib/dpkg/lock
2018-12-01 16:30:00,534: DEBUG - + break
2018-12-01 16:30:00,534: DEBUG - + echo 'apt still used, but timeout reached !'
2018-12-01 16:30:00,535: DEBUG - apt still used, but timeout reached !
2018-12-01 16:30:00,535: DEBUG - + cp /tmp/ampache-ynh-deps.control /tmp/tmp.3HDuMuU7nM/control
2018-12-01 16:30:03,749: DEBUG - + cd /tmp/tmp.3HDuMuU7nM
2018-12-01 16:30:03,751: DEBUG - + equivs-build ./control
2018-12-01 16:30:07,662: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:07,664: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:07,666: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:07,667: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:07,669: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:07,671: WARNING - are supported and installed on your system.
2018-12-01 16:30:07,673: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:14,694: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:14,695: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:14,696: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:14,697: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:14,698: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:14,700: WARNING - are supported and installed on your system.
2018-12-01 16:30:14,701: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:14,802: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:14,804: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:14,805: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:14,806: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:14,807: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:14,809: WARNING - are supported and installed on your system.
2018-12-01 16:30:14,810: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:14,912: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:14,913: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:14,914: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:14,915: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:14,916: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:14,917: WARNING - are supported and installed on your system.
2018-12-01 16:30:14,918: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:15,019: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:15,021: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:15,022: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:15,023: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:15,025: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:15,026: WARNING - are supported and installed on your system.
2018-12-01 16:30:15,027: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:15,029: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:15,030: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:15,031: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:15,033: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:15,034: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:15,035: WARNING - are supported and installed on your system.
2018-12-01 16:30:15,037: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:15,138: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:15,140: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:15,141: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:15,142: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:15,143: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:15,145: WARNING - are supported and installed on your system.
2018-12-01 16:30:15,146: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:15,247: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:15,249: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:15,250: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:15,251: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:15,253: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:15,254: WARNING - are supported and installed on your system.
2018-12-01 16:30:15,255: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:15,357: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:15,358: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:15,360: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:15,361: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:15,362: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:15,364: WARNING - are supported and installed on your system.
2018-12-01 16:30:15,365: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:15,467: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:15,468: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:15,469: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:15,471: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:15,472: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:15,473: WARNING - are supported and installed on your system.
2018-12-01 16:30:15,474: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:18,284: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:18,285: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:18,286: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:18,287: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:18,289: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:18,290: WARNING - are supported and installed on your system.
2018-12-01 16:30:18,291: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:18,392: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:18,394: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:18,395: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:18,396: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:18,397: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:18,406: WARNING - are supported and installed on your system.
2018-12-01 16:30:18,407: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:18,709: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:18,710: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:18,711: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:18,713: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:18,722: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:18,723: WARNING - are supported and installed on your system.
2018-12-01 16:30:18,724: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:18,725: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:18,727: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:18,728: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:18,730: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:18,732: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:18,733: WARNING - are supported and installed on your system.
2018-12-01 16:30:18,734: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:20,240: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:20,241: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:20,242: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:20,243: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:20,244: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:20,245: WARNING - are supported and installed on your system.
2018-12-01 16:30:20,247: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:37,194: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:37,196: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:37,198: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:37,201: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:37,203: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:37,205: WARNING - are supported and installed on your system.
2018-12-01 16:30:37,207: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:37,410: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:37,411: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:37,412: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:37,413: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:37,414: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:37,415: WARNING - are supported and installed on your system.
2018-12-01 16:30:37,415: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:37,517: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:37,525: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:37,526: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:37,527: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:37,528: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:37,536: WARNING - are supported and installed on your system.
2018-12-01 16:30:37,537: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:37,649: DEBUG - + sudo dpkg --force-depends -i ./ampache-ynh-deps_3.8.6
ynh1_all.deb
2018-12-01 16:30:37,850: DEBUG - Selecting previously unselected package ampache-ynh-deps.
2018-12-01 16:30:37,951: DEBUG - (Reading database ... 53898 files and directories currently installed.)
2018-12-01 16:30:37,952: DEBUG - Preparing to unpack .../ampache-ynh-deps_3.8.6ynh1_all.deb ...
2018-12-01 16:30:38,053: DEBUG - Unpacking ampache-ynh-deps (3.8.6
ynh1) ...
2018-12-01 16:30:39,659: DEBUG - dpkg: ampache-ynh-deps: dependency problems, but configuring anyway as you requested:
2018-12-01 16:30:39,660: DEBUG - ampache-ynh-deps depends on libav-tools; however:
2018-12-01 16:30:39,660: DEBUG - Package libav-tools is not installed.
2018-12-01 16:30:39,661: DEBUG -
2018-12-01 16:30:39,661: DEBUG - Setting up ampache-ynh-deps (3.8.6~ynh1) ...
2018-12-01 16:30:48,286: DEBUG - + ynh_package_install -f
2018-12-01 16:30:48,286: DEBUG - + ynh_apt --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2018-12-01 16:30:48,287: DEBUG - + ynh_wait_dpkg_free
2018-12-01 16:30:48,288: DEBUG - + local try
2018-12-01 16:30:48,288: DEBUG - ++ seq 1 17
2018-12-01 16:30:48,289: DEBUG - + for try in seq 1 17
2018-12-01 16:30:48,289: DEBUG - + sudo lsof /var/lib/dpkg/lock
2018-12-01 16:30:48,691: DEBUG - + break
2018-12-01 16:30:48,692: DEBUG - + echo 'apt still used, but timeout reached !'
2018-12-01 16:30:48,692: DEBUG - apt still used, but timeout reached !
2018-12-01 16:30:48,693: DEBUG - + DEBIAN_FRONTEND=noninteractive
2018-12-01 16:30:48,693: DEBUG - + sudo apt-get -y --no-remove -o Dpkg::Options::=--force-confdef -o Dpkg::Options::=--force-confold install -f
2018-12-01 16:30:49,296: DEBUG - Reading package lists...
2018-12-01 16:30:50,101: DEBUG - Building dependency tree...
2018-12-01 16:30:50,102: DEBUG - Reading state information...
2018-12-01 16:30:50,804: DEBUG - Correcting dependencies... Done
2018-12-01 16:30:51,808: DEBUG - The following additional packages will be installed:
2018-12-01 16:30:51,809: DEBUG - libav-tools
2018-12-01 16:30:51,810: DEBUG - The following NEW packages will be installed:
2018-12-01 16:30:51,811: DEBUG - libav-tools
2018-12-01 16:30:52,614: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:52,615: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:52,616: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:52,616: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:52,617: WARNING - LANG = "C"
2018-12-01 16:30:52,618: WARNING - are supported and installed on your system.
2018-12-01 16:30:52,619: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:52,920: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:52,922: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:52,922: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:52,923: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:52,924: WARNING - LANG = "C"
2018-12-01 16:30:52,925: WARNING - are supported and installed on your system.
2018-12-01 16:30:52,926: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:53,028: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:53,029: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:53,030: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:53,031: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:53,032: WARNING - LANG = "C"
2018-12-01 16:30:53,033: WARNING - are supported and installed on your system.
2018-12-01 16:30:53,034: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:53,035: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:53,036: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:53,037: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:53,038: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:53,039: WARNING - LANG = "C"
2018-12-01 16:30:53,040: WARNING - are supported and installed on your system.
2018-12-01 16:30:53,041: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:53,142: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:53,145: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:53,147: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:53,149: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:53,151: WARNING - LANG = "C"
2018-12-01 16:30:53,153: WARNING - are supported and installed on your system.
2018-12-01 16:30:53,154: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:56,766: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:56,768: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:56,770: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:56,771: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:56,773: WARNING - LC_COLLATE = "C",
2018-12-01 16:30:56,775: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:30:56,776: WARNING - are supported and installed on your system.
2018-12-01 16:30:56,778: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:30:59,791: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:30:59,792: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:30:59,794: WARNING - LANGUAGE = (unset),
2018-12-01 16:30:59,796: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:30:59,798: WARNING - LANG = "C"
2018-12-01 16:30:59,800: WARNING - are supported and installed on your system.
2018-12-01 16:30:59,802: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:00,004: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:00,006: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:00,006: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:00,007: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:00,009: WARNING - LC_COLLATE = "C",
2018-12-01 16:31:00,010: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:31:00,011: WARNING - are supported and installed on your system.
2018-12-01 16:31:00,012: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:06,229: WARNING - apt-listchanges: Can't set locale; make sure $LC
* and $LANG are correct!
2018-12-01 16:31:06,230: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:06,231: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:06,232: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:06,233: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:06,234: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:31:06,235: WARNING - are supported and installed on your system.
2018-12-01 16:31:06,236: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:06,438: WARNING - locale: Cannot set LC_CTYPE to default locale: No such file or directory
2018-12-01 16:31:06,439: WARNING - locale: Cannot set LC_MESSAGES to default locale: No such file or directory
2018-12-01 16:31:06,440: WARNING - locale: Cannot set LC_ALL to default locale: No such file or directory
2018-12-01 16:31:07,344: DEBUG - 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2018-12-01 16:31:07,345: DEBUG - Need to get 0 B/55.8 kB of archives.
2018-12-01 16:31:07,346: DEBUG - After this operation, 101 kB of additional disk space will be used.
2018-12-01 16:31:08,750: DEBUG - Selecting previously unselected package libav-tools.
2018-12-01 16:31:08,952: DEBUG - (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 53902 files and directories currently installed.)
2018-12-01 16:31:08,953: DEBUG - Preparing to unpack .../libav-tools_7%3a3.2.10-1deb9u1+rpt2_all.deb ...
2018-12-01 16:31:08,954: DEBUG - Unpacking libav-tools (7:3.2.10-1
deb9u1+rpt2) ...
2018-12-01 16:31:09,957: DEBUG - Setting up libav-tools (7:3.2.10-1~deb9u1+rpt2) ...
2018-12-01 16:31:11,361: DEBUG - Processing triggers for man-db (2.7.6.1-2) ...
2018-12-01 16:31:14,170: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:14,172: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:14,173: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:14,173: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:14,174: WARNING - LANG = "C"
2018-12-01 16:31:14,175: WARNING - are supported and installed on your system.
2018-12-01 16:31:14,176: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:14,177: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:14,178: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:14,179: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:14,180: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:14,181: WARNING - LANG = "C"
2018-12-01 16:31:14,183: WARNING - are supported and installed on your system.
2018-12-01 16:31:14,184: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:14,285: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:14,287: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:14,289: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:14,290: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:14,292: WARNING - LANG = "C"
2018-12-01 16:31:14,294: WARNING - are supported and installed on your system.
2018-12-01 16:31:14,295: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:14,296: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:14,297: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:14,298: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:14,299: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:14,300: WARNING - LANG = "C"
2018-12-01 16:31:14,301: WARNING - are supported and installed on your system.
2018-12-01 16:31:14,305: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:14,307: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:14,308: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:14,310: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:14,312: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:14,313: WARNING - LANG = "C"
2018-12-01 16:31:14,314: WARNING - are supported and installed on your system.
2018-12-01 16:31:14,315: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:14,417: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:14,418: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:14,419: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:14,420: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:14,421: WARNING - LC_COLLATE = "C",
2018-12-01 16:31:14,422: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:31:14,423: WARNING - are supported and installed on your system.
2018-12-01 16:31:14,423: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:22,446: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:22,448: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:22,449: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:22,450: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:22,451: WARNING - LANG = "C"
2018-12-01 16:31:22,452: WARNING - are supported and installed on your system.
2018-12-01 16:31:22,453: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:22,655: WARNING - perl: warning: Setting locale failed.
2018-12-01 16:31:22,656: WARNING - perl: warning: Please check that your locale settings:
2018-12-01 16:31:22,657: WARNING - LANGUAGE = (unset),
2018-12-01 16:31:22,658: WARNING - LC_ALL = "en_US.UTF-8",
2018-12-01 16:31:22,660: WARNING - LC_COLLATE = "C",
2018-12-01 16:31:22,662: WARNING - LANG = "en_GB.UTF-8"
2018-12-01 16:31:22,663: WARNING - are supported and installed on your system.
2018-12-01 16:31:22,664: WARNING - perl: warning: Falling back to the standard locale ("C").
2018-12-01 16:31:25,172: DEBUG - + [[ -n /tmp/tmp.3HDuMuU7nM ]]
2018-12-01 16:31:25,174: DEBUG - + rm -rf /tmp/tmp.3HDuMuU7nM
2018-12-01 16:31:25,175: DEBUG - + ynh_package_is_installed ampache-ynh-deps
2018-12-01 16:31:25,177: DEBUG - + ynh_wait_dpkg_free
2018-12-01 16:31:25,178: DEBUG - + local try
2018-12-01 16:31:25,179: DEBUG - ++ seq 1 17
2018-12-01 16:31:25,180: DEBUG - + for try in seq 1 17
2018-12-01 16:31:25,181: DEBUG - + sudo lsof /var/lib/dpkg/lock
2018-12-01 16:31:25,582: DEBUG - + break
2018-12-01 16:31:25,583: DEBUG - + echo 'apt still used, but timeout reached !'
2018-12-01 16:31:25,584: DEBUG - apt still used, but timeout reached !
2018-12-01 16:31:25,584: DEBUG - + dpkg-query -W -f '${Status}' ampache-ynh-deps
2018-12-01 16:31:25,585: DEBUG - + grep -c 'ok installed'
2018-12-01 16:31:25,686: DEBUG - + rm /tmp/ampache-ynh-deps.control
2018-12-01 16:31:25,686: DEBUG - + ynh_app_setting_set ampache apt_dependencies libav-tools
2018-12-01 16:31:25,687: DEBUG - + sudo yunohost app setting ampache apt_dependencies --value=libav-tools --quiet
2018-12-01 16:31:31,904: DEBUG - + ampache_ynh_install
2018-12-01 16:31:31,905: DEBUG - + export COMPOSER_HOME=/var/www/ampache
2018-12-01 16:31:31,906: DEBUG - + COMPOSER_HOME=/var/www/ampache
2018-12-01 16:31:31,906: DEBUG - + cd /var/www/ampache
2018-12-01 16:31:31,907: DEBUG - + php -r 'copy('''https://getcomposer.org/installer'\'', '''composer-setup.php''');'
2018-12-01 16:31:35,117: DEBUG - + php composer-setup.php
2018-12-01 16:31:35,319: DEBUG - All settings correct for using Composer
2018-12-01 16:31:35,620: DEBUG - Downloading...
2018-12-01 16:31:43,548: DEBUG -
2018-12-01 16:31:43,550: DEBUG - Composer (version 1.7.3) successfully installed to: /var/www/ampache/composer.phar
2018-12-01 16:31:43,551: DEBUG - Use it: php composer.phar
2018-12-01 16:31:43,551: DEBUG -
2018-12-01 16:31:43,653: DEBUG - + php composer.phar install --prefer-source --no-interaction --no-dev
2018-12-01 16:31:44,256: WARNING - Do not run Composer as root/super user! See https://getcomposer.org/root for details
2018-12-01 16:31:44,357: WARNING - Loading composer repositories with package information
2018-12-01 16:31:44,459: WARNING - Installing dependencies from lock file
2018-12-01 16:31:44,560: WARNING - Package operations: 80 installs, 0 updates, 0 removals
2018-12-01 16:32:17,259: WARNING - - Installing wikimedia/composer-merge-plugin (v1.4.1): Cloning 81c6ac72a2 from cache
2018-12-01 16:33:12,723: WARNING - - Installing symfony/process (v3.4.4): Cloning 09a5172057 from cache
2018-12-01 16:35:22,197: WARNING - - Installing kriswallsmith/assetic (v1.4.0): Cloning e911c437db from cache
2018-12-01 16:36:17,166: WARNING - - Installing robloach/component-installer (0.2.3): Cloning 908a859aa7 from cache
2018-12-01 16:37:07,529: WARNING - - Installing afterster/php-echonest-api (dev-master master): Cloning master from cache
2018-12-01 16:38:15,545: WARNING - - Installing aehlke/tag-it (2.0): Cloning v2.0 from cache
2018-12-01 16:39:40,784: WARNING - - Installing ampache/ampacheapi-php (1.0.1): Cloning 7185626d7b
2018-12-01 16:40:03,749: WARNING - Failed to download ampache/ampacheapi-php from source: Failed to clone https://github.com/ampache/ampacheapi-php.git via https, ssh protocols, aborting.
2018-12-01 16:40:03,751: WARNING -
2018-12-01 16:40:03,753: WARNING - - https://github.com/ampache/ampacheapi-php.git
2018-12-01 16:40:03,754: WARNING - Cloning into '/var/www/ampache/lib/vendor/ampache/ampacheapi-php'...
2018-12-01 16:40:03,756: WARNING - fatal: unable to access 'https://github.com/ampache/ampacheapi-php.git/': Could not resolve host: github.com
2018-12-01 16:40:03,757: WARNING -
2018-12-01 16:40:03,759: WARNING - - [email protected]:ampache/ampacheapi-php.git
2018-12-01 16:40:03,761: WARNING - Cloning into '/var/www/ampache/lib/vendor/ampache/ampacheapi-php'...
2018-12-01 16:40:03,762: WARNING - Warning: Permanently added 'github.com,192.30.253.113' (RSA) to the list of known hosts.
2018-12-01 16:40:03,764: WARNING - Permission denied (publickey).
2018-12-01 16:40:03,765: WARNING - fatal: Could not read from remote repository.
2018-12-01 16:40:03,767: WARNING -
2018-12-01 16:40:03,768: WARNING - Please make sure you have the correct access rights
2018-12-01 16:40:03,770: WARNING - and the repository exists.
2018-12-01 16:40:03,772: WARNING -
2018-12-01 16:40:03,773: WARNING - Now trying to download from dist
2018-12-01 16:40:06,983: WARNING - - Installing ampache/ampacheapi-php (1.0.1): Downloading (connecting...)���������������������������Downloading (100%) ���������
2018-12-01 16:40:28,954: WARNING - - Installing aterrien/jquery-knob (1.2.11): Cloning 1.2.11 from cache
2018-12-01 16:43:18,934: WARNING - - Installing blueimp/jquery-file-upload (9.18.0): Cloning 9.11.2 from cache
2018-12-01 16:43:42,701: WARNING - - Installing carhartl/jquery-cookie (1.4.1): Cloning v1.4.1 from cache
2018-12-01 16:45:38,229: WARNING - - Installing symfony/routing (v3.4.4): Cloning 235d01730d from cache
2018-12-01 16:46:39,903: WARNING - - Installing paragonie/random_compat (v2.0.11): Cloning 5da4d3c796 from cache
2018-12-01 16:47:09,889: WARNING - - Installing symfony/polyfill-php70 (v1.7.0): Cloning 3532bfcd8f from cache
2018-12-01 16:47:26,337: WARNING - - Installing symfony/polyfill-mbstring (v1.7.0): Cloning 78be803ce0 from cache
2018-12-01 16:50:32,292: WARNING - - Installing symfony/http-foundation (v3.4.4): Cloning 8c39071ac9 from cache
2018-12-01 16:50:44,025: WARNING - - Installing evenement/evenement (v2.1.0): Cloning 6ba9a77787 from cache
2018-12-01 16:51:05,287: WARNING - - Installing react/stream (v0.4.6): Cloning 44dc7f51ea from cache
2018-12-01 16:51:24,944: WARNING - - Installing react/promise (v2.5.1): Cloning 62785ae604 from cache
2018-12-01 16:51:44,802: WARNING - - Installing react/event-loop (v0.4.3): Cloning 8bde03488e from cache
2018-12-01 16:52:10,985: WARNING - - Installing react/socket (v0.4.6): Cloning cf074e53c9 from cache
2018-12-01 16:52:35,757: WARNING - - Installing symfony/event-dispatcher (v3.4.4): Cloning 26b87b6bca from cache
2018-12-01 16:52:48,795: WARNING - - Installing guzzle/common (v3.9.2): Cloning 2e36af7cf2 from cache
2018-12-01 16:52:58,824: WARNING - - Installing guzzle/stream (v3.9.2): Cloning 60c7fed02e from cache
2018-12-01 16:53:07,047: WARNING - - Installing guzzle/parser (v3.9.2): Cloning 6874d17131 from cache
2018-12-01 16:53:43,959: WARNING - - Installing guzzle/http (v3.9.2): Cloning 1e8dd1e2ba from cache
2018-12-01 16:54:43,439: WARNING - - Installing cboden/ratchet (v0.3.6): Cloning 84df35d2a6 from cache
2018-12-01 16:56:04,492: WARNING - - Installing components/jquery (2.0.3): Cloning 452a56b52b from cache
2018-12-01 16:57:17,828: WARNING - - Installing components/bootstrap (3.3.7): Cloning fe6e7683be from cache
2018-12-01 17:00:57,905: WARNING - - Installing components/jqueryui (1.12.1): Cloning 44ecf3794c from cache
2018-12-01 17:01:52,476: WARNING - - Installing dropbox/dropbox-sdk (v1.1.7): Cloning 0f1a178ca9 from cache
2018-12-01 17:02:08,822: WARNING - - Installing gettext/languages (2.3.0): Cloning 49c39e5156 from cache
2018-12-01 17:02:47,237: WARNING - - Installing gettext/gettext (v4.4.4): Cloning ab5e863de2 from cache
2018-12-01 17:03:08,703: WARNING - - Installing guzzlehttp/promises (v1.3.1): Cloning a59da6cf61 from cache
2018-12-01 17:03:34,480: WARNING - - Installing psr/http-message (1.0.1): Cloning f6561bf28d from cache
2018-12-01 17:04:12,998: WARNING - - Installing guzzlehttp/psr7 (1.4.2): Cloning f5b8a8512e from cache
2018-12-01 17:06:52,805: WARNING - - Installing happyworm/jplayer (2.9.2): Cloning 34e55cd769 from cache
2018-12-01 17:08:34,223: WARNING - - Installing james-heinrich/getid3 (dev-master 19bb4c8): Cloning 19bb4c8440 from cache
2018-12-01 17:08:55,485: WARNING - - Installing jeromeetienne/jquery-qrcode (dev-master master): Cloning master from cache
2018-12-01 17:09:06,516: WARNING - - Installing krixon/xbmc-php-rpc (dev-master master): Cloning master from cache
2018-12-01 17:09:18,754: WARNING - - Installing kumailht/responsive-elements (dev-master master): Cloning master from cache
2018-12-01 17:09:40,321: WARNING - - Installing tightenco/collect (v5.2.43): Cloning 6add72fba3 from cache
2018-12-01 17:13:20,847: WARNING - - Installing guzzlehttp/guzzle (6.3.0): Cloning f4db5a78a5 from cache
2018-12-01 17:14:05,375: WARNING - - Installing kunalvarma05/dropbox-php-sdk (v0.2.1): Cloning 27036f20b7 from cache
2018-12-01 17:14:49,502: WARNING - - Installing maennchen/zipstream-php (v0.4.1): Cloning 89e0cdb3c9 from cache
2018-12-01 17:15:13,971: WARNING - - Installing mikealmond/musicbrainz (dev-master 072717c): Cloning 072717cb26 from cache
2018-12-01 17:16:27,871: WARNING - - Installing moinax/tvdb (v1.0.6): Cloning 26f33df9e0 from cache
2018-12-01 17:16:59,759: WARNING - - Installing mptre/php-soundcloud (2.3.2): Cloning v2.3.2 from cache
2018-12-01 17:22:23,817: WARNING - - Installing needim/noty (v2.3.11): Cloning d03d12f3e7
2018-12-01 17:27:38,008: WARNING - - Installing openid/php-openid (2.3.0): Cloning 924f9aa424 from cache
2018-12-01 17:28:09,901: WARNING - - Installing symfony/options-resolver (v3.4.4): Cloning f3109a6aed from cache
2018-12-01 17:28:17,925: WARNING - - Installing psr/log (1.0.2): Cloning 4ebe3a8bf7 from cache
2018-12-01 17:28:28,155: WARNING - - Installing rtheunissen/guzzle-log-middleware (v0.4.1): Cloning 202f474456 from cache
2018-12-01 17:28:45,004: WARNING - - Installing kevinrob/guzzle-cache-middleware (v2.1.1): Cloning 6952064f77 from cache
2018-12-01 17:29:31,147: WARNING - - Installing doctrine/cache (v1.6.2): Cloning eb152c5100 from cache
2018-12-01 17:31:09,065: WARNING - - Installing php-tmdb/api (v2.1.14): Cloning 2a271343f6 from cache
2018-12-01 17:35:07,720: WARNING - - Installing phpmailer/phpmailer (v5.2.26): Cloning 70362997bd from cache
2018-12-01 17:35:36,005: WARNING - - Installing pklauzinski/jscroll (2.3.4): Cloning v2.3.4 from cache
2018-12-01 17:35:45,934: WARNING - - Installing react/promise-timer (v1.2.1): Cloning 9b4cd9cbe7 from cache
2018-12-01 17:36:01,778: WARNING - - Installing react/cache (v0.4.2): Cloning 75494f26b4 from cache
2018-12-01 17:36:30,060: WARNING - - Installing react/dns (v0.4.13): Cloning 7d1e08c300 from cache
2018-12-01 17:36:45,009: WARNING - - Installing react/socket-client (v0.4.6): Cloning 49e730523b from cache
2018-12-01 17:36:59,958: WARNING - - Installing react/http-client (v0.4.17): Cloning 75ee8a113f from cache
2018-12-01 17:37:28,939: WARNING - - Installing ringcentral/psr7 (1.2.2): Cloning dcd84bbb49 from cache
2018-12-01 17:38:17,493: WARNING - - Installing react/http (v0.4.4): Cloning aac319bd78 from cache
2018-12-01 17:38:28,427: WARNING - - Installing react/child-process (v0.4.3): Cloning b81d06daaa from cache
2018-12-01 17:39:45,171: WARNING - - Installing react/react (v0.4.2): Cloning 457b6b8a16 from cache
2018-12-01 17:41:08,735: WARNING - - Installing rmccue/requests (v1.7.0): Cloning 87932f52ff from cache
2018-12-01 17:41:15,654: WARNING - - Installing nabil1337/case-helper (0.1.0): Cloning 8cead5fe64 from cache
2018-12-01 17:41:25,383: WARNING - - Installing rsd/seafile-php-sdk (v1.0.1): Cloning dade78e83b from cache
2018-12-01 17:41:32,504: WARNING - - Installing sabre/uri (1.2.1): Cloning ada354d835 from cache
2018-12-01 17:42:04,606: WARNING - - Installing sabre/xml (1.5.0): Cloning 59b20e5bba from cache
2018-12-01 17:44:42,814: WARNING - - Installing sabre/vobject (4.1.4): Cloning 6484b9d660 from cache
2018-12-01 17:44:53,245: WARNING - - Installing sabre/event (3.0.0): Cloning 831d586f5a from cache
2018-12-01 17:44:59,965: WARNING - - Installing sabre/http (v4.2.4): Cloning acccec4ba8 from cache
2018-12-01 17:50:12,167: WARNING - - Installing sabre/dav (3.2.2): Cloning e987775e61
2018-12-01 17:55:12,340: WARNING - Failed to download sabre/dav from source: The process "git clone --no-checkout 'https://github.com/sabre-io/dav.git' '/var/www/ampache/lib/vendor/sabre/dav' && cd '/var/www/ampache/lib/vendor/sabre/dav' && git remote add composer 'https://github.com/sabre-io/dav.git' && git fetch composer" exceeded the timeout of 300 seconds.
2018-12-01 17:55:12,342: WARNING - Now trying to download from dist
2018-12-01 17:55:28,696: WARNING - - Installing sabre/dav (3.2.2): Downloading (connecting...)���������������������������Downloading (100%) ���������
2018-12-01 17:58:48,022: WARNING - - Installing scaron/prettyphoto (3.1.6): Cloning 3.1.6 from cache
2018-12-01 18:03:53,443: WARNING - - Installing swisnl/jquery-contextmenu (2.1.0): Cloning 2.1.0
2018-12-01 18:08:54,296: WARNING -
2018-12-01 18:08:54,298: WARNING -
2018-12-01 18:08:54,306: WARNING - [Symfony\Component\Process\Exception\ProcessTimedOutException]
2018-12-01 18:08:54,308: WARNING - The process "git clone --no-checkout 'https://github.com/swisnl/jQuery-contextMenu.git' '/var/www/ampache/lib/ve
2018-12-01 18:08:54,310: WARNING - ndor/swisnl/jQuery-contextMenu' && cd '/var/www/ampache/lib/vendor/swisnl/jQuery-contextMenu' && git remote add
2018-12-01 18:08:54,312: WARNING - composer 'https://github.com/swisnl/jQuery-contextMenu.git' && git fetch composer" exceeded the timeout of 300 s
2018-12-01 18:08:54,314: WARNING - econds.
2018-12-01 18:08:54,315: WARNING -
2018-12-01 18:08:54,317: WARNING -
2018-12-01 18:08:54,319: WARNING - install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []...
2018-12-01 18:08:54,321: WARNING -
2018-12-01 18:08:54,423: DEBUG - + ynh_exit_properly
2018-12-01 18:08:54,424: WARNING - !!
2018-12-01 18:08:54,424: DEBUG - + local exit_code=1
2018-12-01 18:08:54,425: WARNING - ampache's script has encountered an error. Its execution was cancelled.
2018-12-01 18:08:54,426: DEBUG - + '[' 1 -eq 0 ']'
2018-12-01 18:08:54,427: WARNING - !!
2018-12-01 18:08:54,427: DEBUG - + trap '' EXIT
2018-12-01 18:08:54,428: WARNING -
2018-12-01 18:08:54,429: DEBUG - + set +eu
2018-12-01 18:08:54,429: DEBUG - + echo -e '!!\n ampache'''s script has encountered an error. Its execution was cancelled.\n!!'
2018-12-01 18:08:54,430: DEBUG - + type -t ynh_clean_setup
2018-12-01 18:08:54,430: DEBUG - + ynh_die
2018-12-01 18:08:54,431: DEBUG - + echo ''
2018-12-01 18:08:54,431: DEBUG - + exit 1
`

what do u think please ?

Composer missing, ampache not working

After fresh install of the app, it's in a non working state, redirecting to some diagnostic page (ampache/test.php) which says that Composer is missing :

This tests whether Ampache dependencies are installed.
Please download and install Composer from http://getcomposer.org and install it (e.g: mv composer.phar /usr/local/bin/composer) then run composer install --prefer-source --no-interaction on Ampache directory.

FYI my setup is:

# yunohost --version
yunohost: 2.4.2
yunohost-admin: 2.4.2
moulinette: 2.4.0.1
ssowat: 2.6.0

Cannot install (dropbox-sdk repository)

Hi, I cannot install ampache.
The relevant part of the logs seems to be :

WARNING -   - [email protected]:dropbox/dropbox-sdk-php.git
WARNING -     Cloning into '/var/www/ampache/lib/vendor/dropbox/dropbox-sdk'...
WARNING -     Permission denied (publickey).
WARNING -     fatal: Could not read from remote repository.
WARNING -     Please make sure you have the correct access rights
WARNING -     and the repository exists.

Here's the full log : https://paste.yunohost.org/raw/roziruboqi

check about permissions deprecated stuff in install and upgrade

/!\ 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.

Upgrade fails

Hello @aymhce, the upgrade process fails because of the variable $version which doesn't exist anymore after all helpers use local variables.

So, you have an issue here https://github.com/YunoHost-Apps/ampache_ynh/blob/master/scripts/upgrade#L87

But, my question is, which version number do you really need !?
$version from the helper, as you used before, is the version number from the manifest, https://github.com/YunoHost-Apps/ampache_ynh/blob/master/manifest.json#L8, so 1.0.
But the real version of Ampache that you use is 3.8.3 (according to the app.src).
And which file is supposed to be remove by this command ?

Update Plex API server

Hello,

I'm currently trying to configure Ampache with Plex. I finally found the link for myPlex server configuration : https://domain.tld/ampache/plex/web/index.php

Authentication and server publication work fine. But on Plex client, I have a message that the serveur is too old... Need at least V1.3.0 (latest plex version is V1.12). Currently Plex server for ampache is V0.9.9.

So my question: how can we upgrade Plex API server in ampache ?

Thanks for your help

++

Unable to bulk update podcasts through the web interface andd through the CLI interface

Describe the bug

The podcasts which are in a catalog of their own fail to update both through the web interface and through the command-line for Ampache. However, "sync"ing each podcast individually through the web interface seems to work.

Context

  • Hardware: Raspberry Pi 4B at home
  • YunoHost version: 11.2.8.2 (stable)
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
    • If yes, please explain:
  • Using, or trying to install package version/branch: 6.1.0~ynh1 6.2.0~ynh1

Steps to reproduce

  1. When I click the Update catalog button in the web interface, I get the message "Catalog update process has started" and even after a substantial time (the update isn't reflected). I have set up the, # episodes to download when new episodes are available to 3 and # latest episodes to keep to 10.

  2. In order to check what was happening, I checked the guide available at Ampache Github , and ran sudo -u www-data php /var/www/ampache/bin/cli run:updateCatalog Podcasts -a as suggested in the guide, I get the message that the user isn't authorized to do so. When I run this command as root, the error I get is,

Composer detected issues in your platform:

Your Composer dependencies require a PHP version ">= 8.2.0". You are running 7.4.33.

PHP Fatal error:  Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.2.0". You are running 7.4.33. in /var/www/ampache/vendor/composer/platform_check.php on line 24

### Expected behavior

The catalog is updated by Ampache.

### Logs

There are no relevant logs to be added.

Can't play OGG files by default

Hey there,
I noticed I couldn't play ogg files from the Ampache webplayer, nor with an Android app such as Ultrasonic.
Turns out by setting the transcode_ogg to allowed rather than required in the Ampache configuration file (/var/www/ampache/config/ampache.cfg.php), it works like a charm.

Cheers,
Guillaume

404 Not Found after installation

Hey !

Just after installation, the url domain.tld/ampache/ send back a 404, I have to append index.php to the URL to have the page loading. The solution is to enable URL Rewriting parameters in Ampache settings, but maybe it could be solved with nginx only.

Any idea on how to solve this ?

Thanks !

Update

A new version of ampache (3.8.0-beta1) is available.

Dependency not compatible with Composer v2, installation fails

Related to some comments in #62, but specific to the installation script.


Describe the bug

Installation fails due to Composer dependencies installation.

Context

  • Hardware: YunoHost's CI, YunoHost on WSL
  • YunoHost version: 4.0.8

Steps to reproduce

Try installing the app.

Expected behavior

App installation without error.

Logs

36258 WARNING Do not run Composer as root/super user! See https://getcomposer.org/root for details
36258 DEBUG + local legacy_args=mc
36258 WARNING Installing dependencies from lock file
36258 DEBUG + args_array=([m]=message= [c]=ret_code=)
36259 WARNING Verifying lock file contents can be installed on current platform.
36259 DEBUG + local -A args_array
36259 WARNING Your lock file does not contain a compatible set of packages. Please run composer update.
36259 DEBUG + local message
36259 WARNING
36260 DEBUG + local ret_code
36260 WARNING   Problem 1
36260 DEBUG + ynh_handle_getopts_args 'Unable to update core dependencies with Composer.'
36260 WARNING     - robloach/component-installer is locked to version 0.2.3 and an update of this package was not requested.
36260 DEBUG + set +o xtrace
36260 WARNING     - robloach/component-installer 0.2.3 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
36261 DEBUG + echo '! Helper used in legacy mode !'
36261 WARNING   Problem 2
36261 DEBUG + set +x
36261 WARNING     - wikimedia/composer-merge-plugin is locked to version v1.4.1 and an update of this package was not requested.
36261 DEBUG + ret_code=1
36261 WARNING     - wikimedia/composer-merge-plugin v1.4.1 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
36262 DEBUG + echo 'Unable to update core dependencies with Composer.'
36262 WARNING   Problem 3
36262 DEBUG + exit 1
36262 WARNING     - robloach/component-installer 0.2.3 requires composer-plugin-api ^1.0 -> found composer-plugin-api[2.0.0] but it does not match the constraint.
36262 DEBUG + ynh_exit_properly
36262 WARNING     - xdan/datetimepicker 2.4.5 requires robloach/component-installer * -> satisfiable by robloach/component-installer[0.2.3].
36262 DEBUG + local exit_code=1
36262 WARNING     - xdan/datetimepicker is locked to version 2.4.5 and an update of this package was not requested.
36262 DEBUG + '[' 1 -eq 0 ']'
36263 WARNING
36263 DEBUG + trap '' EXIT
36263 WARNING You are using Composer 2, which some of your plugins seem to be incompatible with. Make sure you update your plugins or report a plugin-issue to ask them to support Composer 2.
36263 DEBUG + set +o errexit
36263 WARNING Unable to update core dependencies with Composer.

Fix is incoming.

Ampache Mysql Crashed

Hello there,

i have a problem with my amapche

i m using it, but some times i have this consumation of data :

image

i found this log :

root@domaine:~# tail -f /var/lib/mysql/domaine.fr.err
180327 17:47:25 [Note] InnoDB: Initializing buffer pool, size = 128.0M
180327 17:47:25 [Note] InnoDB: Completed initialization of buffer pool
180327 17:47:26 [Note] InnoDB: Highest supported file format is Barracuda.
180327 17:47:26 [Note] InnoDB: 128 rollback segment(s) are active.
180327 17:47:26 [Note] InnoDB: Waiting for purge to start
180327 17:47:26 [Note] InnoDB:  Percona XtraDB (http://www.percona.com) 5.6.36-82.1 started; log sequence number 10155452
180327 17:47:26 [Note] Plugin 'FEEDBACK' is disabled.
180327 17:47:26 [Note] Server socket created on IP: '::'.
180327 17:47:27 [Note] /usr/sbin/mysqld: ready for connections.
Version: '10.0.32-MariaDB-0+deb8u1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Raspbian

to get work ampache again i have to do that :

root@domaine:~# sudo service mysql stop
root@domaine:~# sudo service mysql start

what do u think please ?

FLAC playback not working

I tried installing the flac package from Debian, and I tried uncommenting the line
transcode_player_webplayer_flac = required
in the settings.

No idea what to do else..

Blank page instead of ampache

Hi,
I installed Ampache but see nothing but the ampache logo on the title of the tab ( of firefox ).
Don't really know on where to get info on that ? Logs or what ?

thx

liums

dont work since update

Hello,

A think my issue is since this commit : c730a08

@stevenroose can you see it please ?

Issue after ampache install/update :
[FAIL] Restarting nginx: nginx failed!

In my nginx error log :

2015/09/07 22:36:54 [emerg] 7869#0: location "bin/" is outside location "/ampache" in /etc/nginx/conf.d/***************.d/ampache.conf:20

App redirects to "/ampache/" when installed as domain root

I tried installing this as the root on a domain using the Yunohost interface (eg: music.domain.tld).

When I went to music.domain.tld to access the app, it redirected to music.domain.tld/ampache/ and gave a 404 error. I suspect path configuration is still broken.

Can not read songs from the catalog

I tried to add songs from catalog. I can see the songs but they are not readable by the catalog.
Is there a specific folder that has readable permission for the songs ?

Moreover it requires a ldap to login which do not allow it use as public app. So can it be streamed in third party app or in android phone that way ?

Upgrade failed due to composer

2020-06-28 20:24:15,485: DEBUG - + ynh_install_composer --phpversion=7.3 --workdir=/var/www/ampache '--install_args=--prefer-source --no-dev'
2020-06-28 20:24:15,486: DEBUG - + declare -Ar args_array
2020-06-28 20:24:15,487: DEBUG - + workdir=/var/www/ampache
2020-06-28 20:24:15,487: DEBUG - + phpversion=7.3
2020-06-28 20:24:15,487: DEBUG - + install_args='--prefer-source --no-dev'
2020-06-28 20:24:15,487: DEBUG - + curl -sS https://getcomposer.org/installer
2020-06-28 20:24:15,487: DEBUG - + COMPOSER_HOME=/var/www/ampache/.composer
2020-06-28 20:24:15,487: DEBUG - + php7.3 -- --quiet --install-dir=/var/www/ampache
2020-06-28 20:24:16,891: DEBUG - + ynh_composer_exec --phpversion=7.3 --workdir=/var/www/ampache '--commands=install --no-dev --prefer-source --no-dev'
2020-06-28 20:24:16,891: INFO - [#########++++++++...] > Upgrading ampache with composer...
2020-06-28 20:24:16,892: DEBUG - + declare -Ar args_array
2020-06-28 20:24:16,893: DEBUG - + workdir=/var/www/ampache
2020-06-28 20:24:16,893: DEBUG - + phpversion=7.3
2020-06-28 20:24:16,893: DEBUG - + COMPOSER_HOME=/var/www/ampache/.composer
2020-06-28 20:24:16,893: DEBUG - + php7.3 /var/www/ampache/composer.phar install --no-dev --prefer-source --no-dev -d /var/www/ampache --quiet --no-interaction
2020-06-28 20:24:40,354: DEBUG - + ynh_die 'Unable to update core dependencies with Composer.'
2020-06-28 20:24:40,354: WARNING -
2020-06-28 20:24:40,354: WARNING -
2020-06-28 20:24:40,355: WARNING - [RuntimeException]
2020-06-28 20:24:40,355: WARNING - Source directory /var/www/ampache/lib/vendor/gettext/languages has uncommitted changes.
2020-06-28 20:24:40,355: WARNING -
2020-06-28 20:24:40,356: WARNING -
2020-06-28 20:24:40,356: WARNING - install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] []...
2020-06-28 20:24:40,356: WARNING -
2020-06-28 20:24:40,357: WARNING - Unable to update core dependencies with Composer.

subsonic api

J'ai installé sur mon instance yunohost, tout marche très bien à l'exception de l'API subsonic (depuis application android, dans mon cas)
Après avoir pas mal cherché, j'ai fini par comprendre que dans ces cas là, l'authentification yunohost / ssowat n'est pas utilisée. En changeant le mot de passe de l'utilisateur dans Ampache, ça a marché.
J'ai essayé de jeter un oeil au code, mais je n'y connais pas grand chose en php donc je ne saurais proposer un moyen de corriger ça.

Mais voilà, je voulais juste signaler le bug et en profiter pour donner une solution de contournement à ceux qui rencontreraient le même soucis.

Failed upgrade from 5.6.1 to 6.0.2

Describe the bug

Upgrade from 5.6.1~ynh1 to 6.0.2~ynh1 is failing.

Context

  • Hardware: Raspberry Pi at home
  • YunoHost version: 11.2.4
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: 6.0.2~ynh1
  • If upgrading, current package version: 5.6.1~ynh1

Steps to reproduce

  • From wabadmin, upgrade from 5.6.1~ynh1 to 6.0.2~ynh1

Expected behavior

it should work ;-)

Logs

This problem seems also to be reported by yunohost-bot automated test, since 6.0.1:

Here is a log of failed upgrade on my server: https://paste.yunohost.org/raw/uyosareyix

Change of main maintainer

Bonjour, ayant peu de disponibilité avec mon emploi du temps, je n'ai plus de possibilité de faire évoluer l'application avec un niveau de qualité satisfaisant. Aussi, et c'est le comble, je n'en suis plus utilisateur, c'était le cas avant et je vois que ça bouge ! Bientôt la version 4 !! Je souhaite passer la main pour continuer à faire vivre cette application exceptionnelle sur Yunohost ! A bientôt !

Hello, having little availability with my schedule, I have no more opportunity to upgrade the application with a satisfactory level of quality. Also, I'm not a user anymore, it was the case before and I see that it moves! Soon version 4 !! I wish to pass the hand for this exceptional application can lives on Yunohost! See you soon !

Pour info je suis (encore) investi sur l'intégration de Yunohost sur Docker et quelques autres applications...
For information, I am (yet) invested on the integration of Yunohost on Docker and some other applications ...

Your application has been elected to become official !

Hello,
Since the last week, the community members have voted to elect the next two future official applications.
(https://forum.yunohost.org/t/elis-les-futures-apps-officielles-elect-the-next-official-apps/3484)

Today, we announce to you that your app has been chosen to become official. To be sure that you agree, we need a confirmation from you within 2 weeks.

By entering in the official group of application, you will have to keep maintaining your application. You will have to create PR before commiting to the master branche and your PRs will have to be reviewed by the Apps Group of Yunohost following our guidline. Of course, you will get help from the App Group to help you maintaining this application.

No confirmation of you means that you disagree with the decision of the community and another application will join the official group instead of ampache.

Thanks,
The Apps Group

Missing utf8_encode with php7

2018/08/28 12:36:42 [error] 15425#15425: *2780 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function utf8_encode() in /var/www/ampache/lib/vendor/szymach/c-pchart/src/Resources/data/constants.php:50
Stack trace:
#0 /var/www/ampache/lib/vendor/composer/autoload_real.php(70): require()
#1 /var/www/ampache/lib/vendor/composer/autoload_real.php(60): composerRequirec36a7139a26d39786825cfccbcf1a636('6dcc7fc69104725...', '/var/www/ampach...')
#2 /var/www/ampache/lib/vendor/autoload.php(7): ComposerAutoloaderInitc36a7139a26d39786825cfccbcf1a636::getLoader()
#3 /var/www/ampache/lib/init-tiny.php(57): require_once('/var/www/ampach...')
#4 /var/www/ampache/lib/init.php(29): require_once('/var/www/ampach...')
#5 /var/www/ampache/index.php(23): require_once('/var/www/ampach...')
#6 {main}

Debian 9 with yunohost 3.1.

I have fixed this on my instance with installing lib php7.0-xml
But maybe to add to install script ?

SSO with Yunohost

Currently only the LDAP SSO is working, meaning no web SSO so you need to login twice if you come from the Yunohost dashboard.

I see some possible options in the ampache configuration which could be use to achieve login through nginx ENV vars.

Database upgrade is failing when upgrading from 5.6.x to 6.2.0

Describe the bug

Database upgrade is failing when upgrading from 5.6.x to 6.2.0

Context

  • Hardware: Raspberry Pi at home
  • YunoHost version: 11.2.9.1
  • I have access to my server: Through SSH | through the webadmin
  • Are you in a special context or did you perform some particular tweaking on your YunoHost instance?: no
  • Using, or trying to install package version/branch: 6.2.0~ynh1
  • If upgrading, current package version: 5.6.1~ynh1

Steps to reproduce

  • From wabadmin, upgrade from 5.6.1~ynh1 to 6.0.2~ynh1

Expected behavior

it should work ;-)

This is a bug in ampache 6.2.0 (ampache/ampache#3748), that has been fixed in 6.2.1.

[buster] install failure : libav-tools missing

Testing ampache_ynh on a buster install (cf YunoHost/issues#1255 )

I can't install ampache and get the following : https://paste.yunohost.org/raw/culecamugi

[snip]
2020-02-24 15:09:10,281: DEBUG - dpkg: ampache-ynh-deps: dependency problems, but configuring anyway as you requested:
2020-02-24 15:09:10,281: DEBUG -  ampache-ynh-deps depends on libav-tools; however:
2020-02-24 15:09:10,281: DEBUG -   Package libav-tools is not installed.
[snip]

libav-tools was a transition packages to ffmpeg if I understand correctly.

cc @alexAubin who is working on the buster branches for yunohost.

Artists or albums pages limited to 50 items in web interface

Hey there,
I have a problem with the web interface since I started using Ampache, a couple of months ago (since 3.8 I think but I'm not sure). Actual Ampache version is the latest, 4.4.2.

When browsing artists (https://ampache.domain.tld/index.php#browse.php?action=album_artist), the default view is 50 items. But clicking "next", "all" nor changing the page numbers in either the top or bottom navigation ribbon does anything. There is a brief "Loading" in the top right corner but that's it. Changing view options ("grid", "infinite scrolling", changing the max value...) does the same thing, that is, nothing. The same issue occurs in all those kind of view (Albums, songs...).
This quite limitating since I can only browse for the first 50 items, for the rest I have to remember them and search them up.

I'm not sure it is Yunohost-related, but in the stable Ampache demo, those buttons work fine. Does anyone else have this issue ?

Either way, thanks to the package maintener :)
Cheers,
Guillaume

Use LDAP for authentication

Speaks for itself. I might look into this when I install Ampache (probably september), but I think you might be able to fix it yourself much faster as you wrote the install script in the first place.

Most YunoHost apps use the Yuno LDAP server for authentication, so there are plenty of examples on how to do it.

Also: https://github.com/ampache/ampache/wiki/LDAP

can't edit id3 metadata

Hi, when changing info on a file (title, artist, etc.) nothing happens (no changes) in the Ampache user interface nor in file metadata.

Settings in /var/www/ampache/config/ampache.cfg.php

; This determines if we write the changes to files (as id3 tags) when modifying metadata, or only keep them in Ampache (the default).
; DEFAULT: false
write_id3 = "true"

When write_id3 is set on false or is uncommented, changes appear on the Apache user interface.

Bad config of my file ?
Is it possible to access this setting via admin interface ?

Thanks !

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.