Thanks for the package. The installation stops with error.
Hope the verbose output may help…
yunohost app install https://github.com/YunoHost-Apps/galette_ynh/tree/testing --verbose
root@domain_two:~# yunohost app install https://github.com/YunoHost-Apps/galette_ynh/tree/testing --verbose
Wird heruntergeladen…
Wird entpackt…
Erledigt
Überprüfe notwendige Pakete…
Verfügbare Domains:
- domain_one.org
- domain_two.org
Choose a domain for galette (default: domain_two.org):
Choose a path for galette (default: /galette):
Is it a public application ? [0 | 1] (default: 1): 0
Skript ‘/var/cache/yunohost/from_file/galette_ynh-testing/scripts/install’ wird ausgeührt…
- source _common.sh
- source /usr/share/yunohost/helpers
+++ run-parts --list /usr/share/yunohost/helpers.d
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
++ . /usr/share/yunohost/helpers.d/backend
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
++ . /usr/share/yunohost/helpers.d/filesystem
+++ CAN_BIND=1
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
++ . /usr/share/yunohost/helpers.d/ip
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
++ . /usr/share/yunohost/helpers.d/mysql
+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
++ . /usr/share/yunohost/helpers.d/network
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
++ . /usr/share/yunohost/helpers.d/package
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
++ . /usr/share/yunohost/helpers.d/print
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
++ . /usr/share/yunohost/helpers.d/setting
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
++ . /usr/share/yunohost/helpers.d/string
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
++ . /usr/share/yunohost/helpers.d/system
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
++ . /usr/share/yunohost/helpers.d/user
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
++ . /usr/share/yunohost/helpers.d/utils
- ynh_abort_if_errors
- set -eu
- trap ynh_exit_properly EXIT
- app=galette
- domain=domain_two.org
- path_url=/galette
- is_public=0
- final_path=/var/www/galette
- test ‘!’ -e /var/www/galette
++ ynh_normalize_url_path /galette
++ local path_url=/galette
++ test -n /galette
++ ‘[’ / ‘!=’ / ‘]’
++ ‘[’ e == / ‘]’
++ echo /galette
- path_url=/galette
- ynh_webpath_available domain_two.org /galette
- local domain=domain_two.org
- local path=/galette
- sudo yunohost domain url-available domain_two.org /galette
True
- ynh_webpath_register galette domain_two.org /galette
- local app=galette
- local domain=domain_two.org
- local path=/galette
- sudo yunohost app register-url galette domain_two.org /galette
- ynh_app_setting_set galette domain domain_two.org
- sudo yunohost app setting galette domain --value=domain_two.org --quiet
- ynh_app_setting_set galette path /galette
- sudo yunohost app setting galette path --value=/galette --quiet
- ynh_app_setting_set galette is_public 0
- sudo yunohost app setting galette is_public --value=0 --quiet
++ ynh_sanitize_dbid galette
++ local dbid=galette
++ echo galette
- db_name=galette
++ ynh_string_random 15
++ dd if=/dev/urandom bs=1 count=200
++ tr -c -d A-Za-z0-9
++ sed -n ‘s/(.{15}).*/\1/p’
- db_pwd=password
- ynh_app_setting_set galette db_name galette
- sudo yunohost app setting galette db_name --value=galette --quiet
- ynh_mysql_setup_db galette galette password
- local db_user=galette
- local db_name=galette
++ ynh_string_random
++ dd if=/dev/urandom bs=1 count=200
++ tr -c -d A-Za-z0-9
++ sed -n ‘s/(.{24}).*/\1/p’
- local new_db_pwd=uShr64bnZn2JKsaNoavPbQQl
- db_pwd=password
- ynh_mysql_create_db galette galette password
- local db=galette
- local ‘sql=CREATE DATABASE galette;’
- [[ 3 -gt 1 ]]
- sql+=’ GRANT ALL PRIVILEGES ON galette.* TO ‘’‘galette’’’@’’‘localhost’’’’
- [[ -n password ]]
- sql+=’ IDENTIFIED BY ‘’‘password’’’’
- sql+=’ WITH GRANT OPTION;’
- ynh_mysql_execute_as_root ‘CREATE DATABASE galette; GRANT ALL PRIVILEGES ON galette.* TO ‘’‘galette’’’@’’‘localhost’’’ IDENTIFIED BY ‘’‘password’’’ WITH GRANT OPTION;’
++ sudo cat /etc/yunohost/mysql
- ynh_mysql_connect_as root password ‘’
- mysql -u root --password=password -B ‘’
- ynh_app_setting_set galette mysqlpwd password
- sudo yunohost app setting galette mysqlpwd --value=password --quiet
- ynh_app_setting_set galette final_path /var/www/galette
- sudo yunohost app setting galette final_path --value=/var/www/galette --quiet
- ynh_setup_source /var/www/galette
- local dest_dir=/var/www/galette
- local src_id=app
++ cut -d= -f2-
++ grep SOURCE_URL= /var/cache/yunohost/from_file/galette_ynh-testing/scripts/…/conf/app.src
- local src_url=http://download.tuxfamily.org/galette/galette-0.9.tar.bz2
++ grep SOURCE_SUM= /var/cache/yunohost/from_file/galette_ynh-testing/scripts/…/conf/app.src
++ cut -d= -f2-
- local src_sum=139a5143c0f0d777e69e18633e9b751d1e50b45b9be05320eac00fd2bb685645
++ grep SOURCE_SUM_PRG= /var/cache/yunohost/from_file/galette_ynh-testing/scripts/…/conf/app.src
++ cut -d= -f2-
- local src_sumprg=sha256sum
++ cut -d= -f2-
++ grep SOURCE_FORMAT= /var/cache/yunohost/from_file/galette_ynh-testing/scripts/…/conf/app.src
- local src_format=tar.bz2
++ grep SOURCE_IN_SUBDIR= /var/cache/yunohost/from_file/galette_ynh-testing/scripts/…/conf/app.src
++ cut -d= -f2-
- local src_in_subdir=
++ grep SOURCE_FILENAME= /var/cache/yunohost/from_file/galette_ynh-testing/scripts/…/conf/app.src
++ cut -d= -f2-
- local src_filename=
- src_sumprg=sha256sum
- src_in_subdir=true
- src_format=tar.bz2
++ echo tar.bz2
++ tr ‘[:upper:]’ ‘[:lower:]’
- src_format=tar.bz2
- ‘[’ ‘’ = ‘’ ‘]’
- src_filename=app.tar.bz2
- local local_src=/opt/yunohost-apps-src/galette/app.tar.bz2
- test -e /opt/yunohost-apps-src/galette/app.tar.bz2
- wget -nv -O app.tar.bz2 http://download.tuxfamily.org/galette/galette-0.9.tar.bz2
Warnung: 2018-03-25 15:18:43 URL:http://download.tuxfamily.org/galette/galette-0.9.tar.bz2 [4058387/4058387] -> “app.tar.bz2” [1]
- sha256sum -c --status
- echo ‘139a5143c0f0d777e69e18633e9b751d1e50b45b9be05320eac00fd2bb685645 app.tar.bz2’
- mkdir -p /var/www/galette
- ‘[’ tar.bz2 = zip ‘]’
- local strip=
- true
- strip=’–strip-components 1’
- [[ tar.bz2 =~ ^tar.gz|tar.bz2|tar.xz$ ]]
- tar -xf app.tar.bz2 -C /var/www/galette --strip-components 1
++ find /var/cache/yunohost/from_file/galette_ynh-testing/scripts/…/sources/patches/ -type f -name ‘app-*.patch’
++ wc -l
- (( 0 > 0 ))
- test -e /var/cache/yunohost/from_file/galette_ynh-testing/scripts/…/sources/extra_files/app
- mv /var/www/galette/galette/composer.json /var/www/galette/galette/composer.lock /var/www/galette/galette/config /var/www/galette/galette/cron /var/www/galette/galette/data /var/www/galette/galette/docs /var/www/galette/galette/galette.doap /var/www/galette/galette/includes /var/www/galette/galette/index.php /var/www/galette/galette/install /var/www/galette/galette/lang /var/www/galette/galette/lib /var/www/galette/galette/plugins /var/www/galette/galette/post_contribution_test.php /var/www/galette/galette/templates /var/www/galette/galette/vendor /var/www/galette/galette/webroot /var/www/galette/
- ynh_secure_remove /var/www/galette/tests
- local path_to_remove=/var/www/galette/tests
- local ‘forbidden_path= /var/www /home/yunohost.app’
- [[ /var/www /home/yunohost.app =~ /var/www/galette/tests ]]
- [[ /var/www/galette/tests =~ ^/[[:alnum:]]+$ ]]
- [[ s = / ]]
- ‘[’ -e /var/www/galette/tests ‘]’
- sudo rm -R /var/www/galette/tests
- chown -R root:root /var/www/galette
- ynh_add_nginx_config
- finalnginxconf=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- ynh_backup_if_checksum_is_different /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local file=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- local checksum_setting_name=checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf
++ ynh_app_setting_get galette checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf
++ sudo yunohost app setting galette checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf --output-as plain --quiet
- local checksum_value=
- ‘[’ -n ‘’ ‘]’
- sudo cp …/conf/nginx.conf /etc/nginx/conf.d/domain_two.org.d/galette.conf
- test -n /galette
- local path_url_slash_less=/galette
- ynh_replace_string PATH/ /galette/ /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local delimit=@
- local match_string=PATH/
- local replace_string=/galette/
- local workfile=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- match_string=PATH/
- replace_string=/galette/
- sudo sed --in-place s@PATH/@/galette/@g /etc/nginx/conf.d/domain_two.org.d/galette.conf
- ynh_replace_string PATH /galette /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local delimit=@
- local match_string=PATH
- local replace_string=/galette
- local workfile=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- match_string=PATH
- replace_string=/galette
- sudo sed --in-place s@PATH@/galette@g /etc/nginx/conf.d/domain_two.org.d/galette.conf
- test -n domain_two.org
- ynh_replace_string DOMAIN domain_two.org /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local delimit=@
- local match_string=DOMAIN
- local replace_string=domain_two.org
- local workfile=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- match_string=DOMAIN
- replace_string=domain_two.org
- sudo sed --in-place s@DOMAIN@domain_two.org@g /etc/nginx/conf.d/domain_two.org.d/galette.conf
- test -n ‘’
- test -n galette
- ynh_replace_string NAME galette /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local delimit=@
- local match_string=NAME
- local replace_string=galette
- local workfile=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- match_string=NAME
- replace_string=galette
- sudo sed --in-place s@NAME@galette@g /etc/nginx/conf.d/domain_two.org.d/galette.conf
- test -n /var/www/galette
- ynh_replace_string FINALPATH /var/www/galette /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local delimit=@
- local match_string=FINALPATH
- local replace_string=/var/www/galette
- local workfile=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- match_string=FINALPATH
- replace_string=/var/www/galette
- sudo sed --in-place s@FINALPATH@/var/www/galette@g /etc/nginx/conf.d/domain_two.org.d/galette.conf
- ynh_store_file_checksum /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local checksum_setting_name=checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf
++ sudo md5sum /etc/nginx/conf.d/domain_two.org.d/galette.conf
++ cut '-d ’ -f1
- ynh_app_setting_set galette checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf f049405681dd39363359f9d959d4f9b6
- sudo yunohost app setting galette checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf --value=f049405681dd39363359f9d959d4f9b6 --quiet
- sudo systemctl reload nginx
- ynh_system_user_create galette
- ynh_system_user_exists galette
- getent passwd galette
- ‘[’ 1 -ge 2 ‘]’
- local user_home_dir=–no-create-home
- sudo useradd --no-create-home --system --user-group galette --shell /usr/sbin/nologin
- ynh_add_fpm_config
- finalphpconf=/etc/php5/fpm/pool.d/galette.conf
- ynh_backup_if_checksum_is_different /etc/php5/fpm/pool.d/galette.conf
- local file=/etc/php5/fpm/pool.d/galette.conf
- local checksum_setting_name=checksum__etc_php5_fpm_pool.d_galette.conf
++ ynh_app_setting_get galette checksum__etc_php5_fpm_pool.d_galette.conf
++ sudo yunohost app setting galette checksum__etc_php5_fpm_pool.d_galette.conf --output-as plain --quiet
- local checksum_value=
- ‘[’ -n ‘’ ‘]’
- sudo cp …/conf/php-fpm.conf /etc/php5/fpm/pool.d/galette.conf
- ynh_replace_string NAMETOCHANGE galette /etc/php5/fpm/pool.d/galette.conf
- local delimit=@
- local match_string=NAMETOCHANGE
- local replace_string=galette
- local workfile=/etc/php5/fpm/pool.d/galette.conf
- match_string=NAMETOCHANGE
- replace_string=galette
- sudo sed --in-place s@NAMETOCHANGE@galette@g /etc/php5/fpm/pool.d/galette.conf
- ynh_replace_string FINALPATH /var/www/galette /etc/php5/fpm/pool.d/galette.conf
- local delimit=@
- local match_string=FINALPATH
- local replace_string=/var/www/galette
- local workfile=/etc/php5/fpm/pool.d/galette.conf
- match_string=FINALPATH
- replace_string=/var/www/galette
- sudo sed --in-place s@FINALPATH@/var/www/galette@g /etc/php5/fpm/pool.d/galette.conf
- ynh_replace_string USER galette /etc/php5/fpm/pool.d/galette.conf
- local delimit=@
- local match_string=USER
- local replace_string=galette
- local workfile=/etc/php5/fpm/pool.d/galette.conf
- match_string=USER
- replace_string=galette
- sudo sed --in-place s@USER@galette@g /etc/php5/fpm/pool.d/galette.conf
- sudo chown root: /etc/php5/fpm/pool.d/galette.conf
- ynh_store_file_checksum /etc/php5/fpm/pool.d/galette.conf
- local checksum_setting_name=checksum__etc_php5_fpm_pool.d_galette.conf
++ sudo md5sum /etc/php5/fpm/pool.d/galette.conf
++ cut '-d ’ -f1
- ynh_app_setting_set galette checksum__etc_php5_fpm_pool.d_galette.conf 8f3fc225be37a9b1566083b6960cd5c3
- sudo yunohost app setting galette checksum__etc_php5_fpm_pool.d_galette.conf --value=8f3fc225be37a9b1566083b6960cd5c3 --quiet
- ‘[’ -e …/conf/php-fpm.ini ‘]’
- sudo systemctl reload php5-fpm
- chown galette /var/www/galette/config
- chmod 750 /var/www/galette/config
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/attachments
- chmod 750 /var/www/galette/data/attachments
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/cache
- chmod 750 /var/www/galette/data/cache
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/exports
- chmod 750 /var/www/galette/data/exports
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/files
- chmod 750 /var/www/galette/data/files
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/imports
- chmod 750 /var/www/galette/data/imports
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/logs
- chmod 750 /var/www/galette/data/logs
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/photos
- chmod 750 /var/www/galette/data/photos
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/templates_c
- chmod 750 /var/www/galette/data/templates_c
- for folder in attachments cache exports files imports logs photos templates_c tempimages
- chown galette /var/www/galette/data/tempimages
- chmod 750 /var/www/galette/data/tempimages
- ynh_use_logrotate
- local ‘customtee=tee -a’
- ‘[’ 0 -gt 0 ‘]’
- ‘[’ 0 -gt 1 ‘]’
- ‘[’ 0 -gt 0 ‘]’
- local ‘logfile=/var/log/galette/*.log’
- cat
++ dirname ‘/var/log/galette/*.log’
- sudo mkdir -p /var/log/galette
- cat galette-logrotate
- sudo tee -a /etc/logrotate.d/galette
- [[ /galette == / ]]
- ynh_replace_string ‘^#sub_path_only’ ‘’ /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local delimit=@
- local ‘match_string=^#sub_path_only’
- local replace_string=
- local workfile=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- match_string=’^#sub_path_only’
- replace_string=
- sudo sed --in-place ‘s@^#sub_path_only@@g’ /etc/nginx/conf.d/domain_two.org.d/galette.conf
- ynh_store_file_checksum /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local checksum_setting_name=checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf
++ sudo md5sum /etc/nginx/conf.d/domain_two.org.d/galette.conf
++ cut '-d ’ -f1
- ynh_app_setting_set galette checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf e95cdd9b741d6af5df3e6fd2404d3176
- sudo yunohost app setting galette checksum__etc_nginx_conf.d_domain_two.org.d_galette.conf --value=e95cdd9b741d6af5df3e6fd2404d3176 --quiet
- ‘[’ 0 -eq 0 ‘]’
- ynh_app_setting_delete galette skipped_uris
- sudo yunohost app setting -d galette skipped_uris --quiet
- ‘[’ 0 -eq 1 ‘]’
- systemctl reload nginx
- message='Galette need you to finish the installation manually.
Please open https://domain_two.org/galette
Database information you’’'ll need:
Type: mysql
Host: localhost
Port: 3306
User: galette
Password: password
Name: galette
Important: after the installation, you should run:
chmod -R 500 /var/www/galette/config
rm -rf /var/www/galette/install
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/galette_ynh’
- ynh_send_readme_to_admin 'Galette need you to finish the installation manually.
Please open https://domain_two.org/galette
Database information you’’'ll need:
Type: mysql
Host: localhost
Port: 3306
User: galette
Password: password
Name: galette
Important: after the installation, you should run:
chmod -R 500 /var/www/galette/config
rm -rf /var/www/galette/install
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/galette_ynh’
- local 'app_message=Galette need you to finish the installation manually.
Please open https://domain_two.org/galette
Database information you’’'ll need:
Type: mysql
Host: localhost
Port: 3306
User: galette
Password: password
Name: galette
Important: after the installation, you should run:
chmod -R 500 /var/www/galette/config
rm -rf /var/www/galette/install
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/galette_ynh’
- local recipients=root
++ find_mails root
++ local list_mails=root
++ local mail
++ local ‘recipients= ’
++ for mail in ‘$list_mails’
++ ‘[’ root = root ‘]’
++ recipients=’ root’
++ echo ’ root’
- recipients=’ root’
- local ‘mail_subject=☁️🆈🅽🅷☁️:
galette
was just installed!’
++ grep -B 100 services:
++ sed /services:/d
++ yunohost tools diagnosis
- local 'mail_message=This is an automated message from your beloved YunoHost server.
Specific information for the application galette.
Warnung: _common.sh: Zeile 49: mail: Kommando nicht gefunden.
Galette need you to finish the installation manually.
Please open https://domain_two.org/galette
Database information you’’'ll need:
Type: mysql
Host: localhost
Port: 3306
User: galette
Password: password
Name: galette
Important: after the installation, you should run:
chmod -R 500 /var/www/galette/config
rm -rf /var/www/galette/install
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/galette_ynh
Automatic diagnosis data from YunoHost
host: Debian 8.10
kernel: 3.16.0-5-amd64
packages:
yunohost:
repo: stable
version: 2.7.10
yunohost-admin:
repo: stable
version: 2.7.7
moulinette:
repo: stable
version: 2.7.7
ssowat:
repo: stable
version: 2.7.7
backports: php-net-ldap3
system:
disks:
sda1: Mounted on /boot, 231.3MiB (179.9MiB free)
sda2: Mounted on /, 491.8GiB (485.6GiB free)
Warnung: _common.sh: Zeile 49: echo: Schreibfehler: Datenübergabe unterbrochen (broken pipe).
memory:
ram: 5.8GiB (5.4GiB free)
swap: 0B (0B free)
nginx:
- nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
- nginx: configuration file /etc/nginx/nginx.conf test is successful’
- mail -a ‘Content-Type: text/plain; charset=UTF-8’ -s ‘️🆈🅽🅷:cloud:️:
galette
was just installed!’ ’ root’
- echo 'This is an automated message from your beloved YunoHost server.
Specific information for the application galette.
Galette need you to finish the installation manually.
Please open https://domain_two.org/galette
Database information you’’'ll need:
Type: mysql
Host: localhost
Port: 3306
User: galette
Password: password
Name: galette
Important: after the installation, you should run:
chmod -R 500 /var/www/galette/config
Warnung: !!
rm -rf /var/www/galette/install
Warnung: galette’s script has encountered an error. Its execution was cancelled.
If you facing an issue or want to improve this app, please open a new issue in this project: https://github.com/YunoHost-Apps/galette_ynh
Warnung: !!
Automatic diagnosis data from YunoHost
host: Debian 8.10
Warnung:
kernel: 3.16.0-5-amd64
packages:
yunohost:
repo: stable
version: 2.7.10
yunohost-admin:
repo: stable
version: 2.7.7
moulinette:
repo: stable
version: 2.7.7
ssowat:
repo: stable
version: 2.7.7
backports: php-net-ldap3
system:
disks:
sda1: Mounted on /boot, 231.3MiB (179.9MiB free)
sda2: Mounted on /, 491.8GiB (485.6GiB free)
memory:
ram: 5.8GiB (5.4GiB free)
swap: 0B (0B free)
nginx:
- nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
- nginx: configuration file /etc/nginx/nginx.conf test is successful’
- ynh_exit_properly
- local exit_code=127
- ‘[’ 127 -eq 0 ‘]’
- trap ‘’ EXIT
- set +eu
- echo -e ‘!!\n galette’’‘s script has encountered an error. Its execution was cancelled.\n!!’
- type -t ynh_clean_setup
- ynh_die
- echo ‘’
- exit 1
Skript ‘/var/cache/yunohost/from_file/galette_ynh-testing/scripts/remove’ wird ausgeührt…
- source _common.sh
- source /usr/share/yunohost/helpers
+++ run-parts --list /usr/share/yunohost/helpers.d
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/backend ‘]’
++ . /usr/share/yunohost/helpers.d/backend
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/filesystem ‘]’
++ . /usr/share/yunohost/helpers.d/filesystem
+++ CAN_BIND=1
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/ip ‘]’
++ . /usr/share/yunohost/helpers.d/ip
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/mysql ‘]’
++ . /usr/share/yunohost/helpers.d/mysql
+++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/network ‘]’
++ . /usr/share/yunohost/helpers.d/network
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/package ‘]’
++ . /usr/share/yunohost/helpers.d/package
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/print ‘]’
++ . /usr/share/yunohost/helpers.d/print
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/setting ‘]’
++ . /usr/share/yunohost/helpers.d/setting
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/string ‘]’
++ . /usr/share/yunohost/helpers.d/string
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/system ‘]’
++ . /usr/share/yunohost/helpers.d/system
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/user ‘]’
++ . /usr/share/yunohost/helpers.d/user
++ for helper in ‘$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)’
++ ‘[’ -r /usr/share/yunohost/helpers.d/utils ‘]’
++ . /usr/share/yunohost/helpers.d/utils
- app=galette
++ ynh_app_setting_get galette domain
++ sudo yunohost app setting galette domain --output-as plain --quiet
- domain=domain_two.org
++ ynh_app_setting_get galette port
++ sudo yunohost app setting galette port --output-as plain --quiet
- port=
++ ynh_app_setting_get galette db_name
++ sudo yunohost app setting galette db_name --output-as plain --quiet
- db_name=galette
- db_user=galette
++ ynh_app_setting_get galette final_path
++ sudo yunohost app setting galette final_path --output-as plain --quiet
- final_path=/var/www/galette
- ynh_mysql_remove_db galette galette
- local db_user=galette
- local db_name=galette
++ sudo cat /etc/yunohost/mysql
- local mysql_root_password=password
- grep -q ‘^| galette’
- mysqlshow -u root -ppassword
- echo ‘Removing database galette’
- ynh_mysql_drop_db galette
- ynh_mysql_execute_as_root ‘DROP DATABASE galette;’
Warnung: Removing database galette
++ sudo cat /etc/yunohost/mysql
- ynh_mysql_connect_as root password ‘’
- mysql -u root --password=password -B ‘’
++ ynh_mysql_user_exists galette
++ local user=galette
+++ ynh_mysql_execute_as_root ‘SELECT User from mysql.user WHERE User = ‘’‘galette’’’;’
++++ sudo cat /etc/yunohost/mysql
+++ ynh_mysql_connect_as root password ‘’
+++ mysql -u root --password=password -B ‘’
++ [[ -z User
galette ]]
++ return 0
- ynh_mysql_drop_user galette
- ynh_mysql_execute_as_root ‘DROP USER ‘’‘galette’’’@’’‘localhost’’’;’
++ sudo cat /etc/yunohost/mysql
- ynh_mysql_connect_as root password ‘’
- mysql -u root --password=password -B ‘’
- ynh_secure_remove /var/www/galette
- local path_to_remove=/var/www/galette
- local ‘forbidden_path= /var/www /home/yunohost.app’
- [[ /var/www /home/yunohost.app =~ /var/www/galette ]]
- [[ /var/www/galette =~ ^/[[:alnum:]]+$ ]]
- [[ e = / ]]
- ‘[’ -e /var/www/galette ‘]’
- sudo rm -R /var/www/galette
- ynh_remove_nginx_config
- ynh_secure_remove /etc/nginx/conf.d/domain_two.org.d/galette.conf
- local path_to_remove=/etc/nginx/conf.d/domain_two.org.d/galette.conf
- local ‘forbidden_path= /var/www /home/yunohost.app’
- [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/domain_two.org.d/galette.conf ]]
- [[ /etc/nginx/conf.d/domain_two.org.d/galette.conf =~ ^/[[:alnum:]]+$ ]]
- [[ f = / ]]
- ‘[’ -e /etc/nginx/conf.d/domain_two.org.d/galette.conf ‘]’
- sudo rm -R /etc/nginx/conf.d/domain_two.org.d/galette.conf
- sudo systemctl reload nginx
- ynh_remove_fpm_config
- ynh_secure_remove /etc/php5/fpm/pool.d/galette.conf
- local path_to_remove=/etc/php5/fpm/pool.d/galette.conf
- local ‘forbidden_path= /var/www /home/yunohost.app’
- [[ /var/www /home/yunohost.app =~ /etc/php5/fpm/pool.d/galette.conf ]]
- [[ /etc/php5/fpm/pool.d/galette.conf =~ ^/[[:alnum:]]+$ ]]
- [[ f = / ]]
- ‘[’ -e /etc/php5/fpm/pool.d/galette.conf ‘]’
- sudo rm -R /etc/php5/fpm/pool.d/galette.conf
- ynh_secure_remove /etc/php5/fpm/conf.d/20-galette.ini
- local path_to_remove=/etc/php5/fpm/conf.d/20-galette.ini
- local ‘forbidden_path= /var/www /home/yunohost.app’
- [[ /var/www /home/yunohost.app =~ /etc/php5/fpm/conf.d/20-galette.ini ]]
- [[ /etc/php5/fpm/conf.d/20-galette.ini =~ ^/[[:alnum:]]+$ ]]
- [[ i = / ]]
- ‘[’ -e /etc/php5/fpm/conf.d/20-galette.ini ‘]’
- echo ‘/etc/php5/fpm/conf.d/20-galette.ini wasn’’‘t deleted because it doesn’’‘t exist.’
/etc/php5/fpm/conf.d/20-galette.ini wasn’t deleted because it doesn’t exist.
- sudo systemctl reload php5-fpm
- ynh_remove_logrotate
- ‘[’ -e /etc/logrotate.d/galette ‘]’
- sudo rm /etc/logrotate.d/galette
Warnung: Avoid deleting /var/log/galette/.
- ynh_secure_remove /var/log/galette/
- local path_to_remove=/var/log/galette/
- local ‘forbidden_path= /var/www /home/yunohost.app’
- [[ /var/www /home/yunohost.app =~ /var/log/galette/ ]]
- [[ /var/log/galette/ =~ ^/[[:alnum:]]+$ ]]
- [[ / = / ]]
- echo ‘Avoid deleting /var/log/galette/.’
- ynh_system_user_delete galette
- ynh_system_user_exists galette
- getent passwd galette
- echo ‘Remove the user galette’
Warnung: Remove the user galette
- sudo userdel galette