[Webtrees] A genealogy app

@mrmars

The sub-path issue has been fixed now. Please update your Webtrees. Most probably everything should go well now.

it works :grinning:
thanks

1 Like

Sub-path not fixed. At least, by the web api.

With the github link, and without sub-path, no error. :slight_smile:

But… no email. :confused:

Please, the first user, can he choose a password in the install ? :blush:

@FugazziPL
The changes take time to get to web interface.
Can you install from command-line and see.

$ yunohost app install https://github.com/YunoHost-Apps/Webtrees_ynh

I did it. No mail. :cry:

Nowhere it ask me what’s my SMTP to send mails.
He ask me twice whats the name of admin user but…

I’ve no password. Sorry. :confused:

The email will go to admin email account of the Yunohost server. So the first user you ever created on yunohost server will get the email. It will be something like admin@your_domain.tld

Can you check the admin email account for the your Yunohost server and see if you get the email.

If you don’t get the email in admin account please send me the install logs for this command.

$ yunohost app install https://github.com/YunoHost-Apps/Webtrees_ynh --debug

Really sorry for my english. :sweat_smile:

If anyone has te same problem than me…

Thx this, i have my password. :laughing:

But, no mail, again. I’d just took my password from the debug line.

Now, I’ve configured my server, it’s all good. But, for other people…

I send you, anonymised, the end of debug.

138478 DEBUG + ynh_replace_string PATH / /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138479 DEBUG + local delimit=@
138480 DEBUG + local match_string=PATH
138481 DEBUG + local replace_string=/
138483 DEBUG + local workfile=/etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138484 DEBUG + match_string=PATH
138485 DEBUG + replace_string=/
138487 DEBUG + sudo sed --in-place s@PATH@/@g /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138589 DEBUG + test -n genealogie.domain.tld
138590 DEBUG + ynh_replace_string DOMAIN genealogie.domain.tld /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138591 DEBUG + local delimit=@
138592 DEBUG + local match_string=DOMAIN
138593 DEBUG + local replace_string=genealogie.domain.tld
138595 DEBUG + local workfile=/etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138596 DEBUG + match_string=DOMAIN
138597 DEBUG + replace_string=genealogie.domain.tld
138599 DEBUG + sudo sed --in-place s@DOMAIN@genealogie.domain.tld@g /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138600 DEBUG + test -n ‘’
138600 DEBUG + test -n webtrees
138601 DEBUG + ynh_replace_string NAME webtrees /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138602 DEBUG + local delimit=@
138603 DEBUG + local match_string=NAME
138604 DEBUG + local replace_string=webtrees
138605 DEBUG + local workfile=/etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138606 DEBUG + match_string=NAME
138607 DEBUG + replace_string=webtrees
138608 DEBUG + sudo sed --in-place s@NAME@webtrees@g /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138709 DEBUG + test -n /var/www/webtrees
138711 DEBUG + ynh_replace_string FINALPATH /var/www/webtrees /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138712 DEBUG + local delimit=@
138713 DEBUG + local match_string=FINALPATH
138715 DEBUG + local replace_string=/var/www/webtrees
138716 DEBUG + local workfile=/etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138718 DEBUG + match_string=FINALPATH
138719 DEBUG + replace_string=/var/www/webtrees
138720 DEBUG + sudo sed --in-place s@FINALPATH@/var/www/webtrees@g /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138821 DEBUG + ‘[’ / ‘!=’ / ‘]’
138823 DEBUG + ynh_replace_string ‘^#root_path_only’ ‘’ /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138824 DEBUG + local delimit=@
138825 DEBUG + local ‘match_string=^#root_path_only’
138826 DEBUG + local replace_string=
138827 DEBUG + local workfile=/etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138828 DEBUG + match_string=‘^#root_path_only’
138830 DEBUG + replace_string=
138831 DEBUG + sudo sed --in-place ‘s@^#root_path_only@@g’ /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138832 DEBUG + ynh_store_file_checksum /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138834 DEBUG + local checksum_setting_name=checksum__etc_nginx_conf.d_genealogie.domain.tld.d_webtrees.conf
138836 DEBUG ++ sudo md5sum /etc/nginx/conf.d/genealogie.domain.tld.d/webtrees.conf
138837 DEBUG ++ cut ‘-d ’ -f1
138938 DEBUG + ynh_app_setting_set webtrees checksum__etc_nginx_conf.d_genealogie.domain.tld.d_webtrees.conf 739ff198c6131e54a6b4fa8a37abc646
138939 DEBUG + sudo yunohost app setting webtrees checksum__etc_nginx_conf.d_genealogie.domain.tld.d_webtrees.conf --value=739ff198c6131e54a6b4fa8a37abc646 --quiet
140044 DEBUG + sudo systemctl reload nginx
140447 DEBUG + ynh_system_user_create webtrees
140448 DEBUG + ynh_system_user_exists webtrees
140450 DEBUG + getent passwd webtrees
140451 DEBUG + ynh_add_fpm_config
140453 DEBUG + local fpm_config_dir=/etc/php/7.0/fpm
140454 DEBUG + local fpm_service=php7.0-fpm
140456 DEBUG ++ ynh_get_debian_release
140457 DEBUG +++ lsb_release --codename --short
140760 DEBUG ++ echo stretch
140761 DEBUG + ‘[’ stretch == jessie ‘]’
140765 DEBUG + ynh_app_setting_set webtrees fpm_config_dir /etc/php/7.0/fpm
140766 DEBUG + sudo yunohost app setting webtrees fpm_config_dir --value=/etc/php/7.0/fpm --quiet
141871 DEBUG + ynh_app_setting_set webtrees fpm_service php7.0-fpm
141873 DEBUG + sudo yunohost app setting webtrees fpm_service --value=php7.0-fpm --quiet
142978 DEBUG + finalphpconf=/etc/php/7.0/fpm/pool.d/webtrees.conf
142979 DEBUG + ynh_backup_if_checksum_is_different /etc/php/7.0/fpm/pool.d/webtrees.conf
142980 DEBUG + local file=/etc/php/7.0/fpm/pool.d/webtrees.conf
142981 DEBUG + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_webtrees.conf
142982 DEBUG ++ ynh_app_setting_get webtrees checksum__etc_php_7.0_fpm_pool.d_webtrees.conf
142984 DEBUG ++ sudo yunohost app setting webtrees checksum__etc_php_7.0_fpm_pool.d_webtrees.conf --output-as plain --quiet
144088 DEBUG + local checksum_value=
144089 DEBUG + ‘[’ -n ‘’ ‘]’
144090 DEBUG + sudo cp …/conf/php-fpm.conf /etc/php/7.0/fpm/pool.d/webtrees.conf
144191 DEBUG + ynh_replace_string NAMETOCHANGE webtrees /etc/php/7.0/fpm/pool.d/webtrees.conf
144192 DEBUG + local delimit=@
144194 DEBUG + local match_string=NAMETOCHANGE
144195 DEBUG + local replace_string=webtrees
144196 DEBUG + local workfile=/etc/php/7.0/fpm/pool.d/webtrees.conf
144198 DEBUG + match_string=NAMETOCHANGE
144199 DEBUG + replace_string=webtrees
144205 DEBUG + sudo sed --in-place s@NAMETOCHANGE@webtrees@g /etc/php/7.0/fpm/pool.d/webtrees.conf
144207 DEBUG + ynh_replace_string FINALPATH /var/www/webtrees /etc/php/7.0/fpm/pool.d/webtrees.conf
144208 DEBUG + local delimit=@
144209 DEBUG + local match_string=FINALPATH
144212 DEBUG + local replace_string=/var/www/webtrees
144213 DEBUG + local workfile=/etc/php/7.0/fpm/pool.d/webtrees.conf
144214 DEBUG + match_string=FINALPATH
144214 DEBUG + replace_string=/var/www/webtrees
144215 DEBUG + sudo sed --in-place s@FINALPATH@/var/www/webtrees@g /etc/php/7.0/fpm/pool.d/webtrees.conf
144317 DEBUG + ynh_replace_string USER webtrees /etc/php/7.0/fpm/pool.d/webtrees.conf
144318 DEBUG + local delimit=@
144319 DEBUG + local match_string=USER
144320 DEBUG + local replace_string=webtrees
144322 DEBUG + local workfile=/etc/php/7.0/fpm/pool.d/webtrees.conf
144323 DEBUG + match_string=USER
144325 DEBUG + replace_string=webtrees
144326 DEBUG + sudo sed --in-place s@USER@webtrees@g /etc/php/7.0/fpm/pool.d/webtrees.conf
144327 DEBUG + sudo chown root: /etc/php/7.0/fpm/pool.d/webtrees.conf
144429 DEBUG + ynh_store_file_checksum /etc/php/7.0/fpm/pool.d/webtrees.conf
144431 DEBUG + local checksum_setting_name=checksum__etc_php_7.0_fpm_pool.d_webtrees.conf
144432 DEBUG ++ sudo md5sum /etc/php/7.0/fpm/pool.d/webtrees.conf
144433 DEBUG ++ cut ‘-d ’ -f1
144535 DEBUG + ynh_app_setting_set webtrees checksum__etc_php_7.0_fpm_pool.d_webtrees.conf b1d3daa73b8794699be8038d9b23848f
144536 DEBUG + sudo yunohost app setting webtrees checksum__etc_php_7.0_fpm_pool.d_webtrees.conf --value=b1d3daa73b8794699be8038d9b23848f --quiet
145641 DEBUG + ‘[’ -e …/conf/php-fpm.ini ‘]’
145643 DEBUG + finalphpini=/etc/php/7.0/fpm/conf.d/20-webtrees.ini
145645 DEBUG + ynh_backup_if_checksum_is_different /etc/php/7.0/fpm/conf.d/20-webtrees.ini
145646 DEBUG + local file=/etc/php/7.0/fpm/conf.d/20-webtrees.ini
145647 DEBUG + local checksum_setting_name=checksum__etc_php_7.0_fpm_conf.d_20-webtrees.ini
145648 DEBUG ++ ynh_app_setting_get webtrees checksum__etc_php_7.0_fpm_conf.d_20-webtrees.ini
145649 DEBUG ++ sudo yunohost app setting webtrees checksum__etc_php_7.0_fpm_conf.d_20-webtrees.ini --output-as plain --quiet
146753 DEBUG + local checksum_value=
146754 DEBUG + ‘[’ -n ‘’ ‘]’
146756 DEBUG + sudo cp …/conf/php-fpm.ini /etc/php/7.0/fpm/conf.d/20-webtrees.ini
146757 DEBUG + sudo chown root: /etc/php/7.0/fpm/conf.d/20-webtrees.ini
146858 DEBUG + ynh_store_file_checksum /etc/php/7.0/fpm/conf.d/20-webtrees.ini
146860 DEBUG + local checksum_setting_name=checksum__etc_php_7.0_fpm_conf.d_20-webtrees.ini
146863 DEBUG ++ sudo md5sum /etc/php/7.0/fpm/conf.d/20-webtrees.ini
146864 DEBUG ++ cut ‘-d ’ -f1
146966 DEBUG + ynh_app_setting_set webtrees checksum__etc_php_7.0_fpm_conf.d_20-webtrees.ini df8facd6d6ceccd1e9df3d7ea698a653
146967 DEBUG + sudo yunohost app setting webtrees checksum__etc_php_7.0_fpm_conf.d_20-webtrees.ini --value=df8facd6d6ceccd1e9df3d7ea698a653 --quiet
148074 DEBUG + sudo systemctl reload php7.0-fpm
148176 DEBUG + chown -R webtrees: /var/www/webtrees
148378 DEBUG + sudo chmod -R 700 /var/www/webtrees/data
148480 DEBUG + ‘[’ 1 -eq 1 ‘]’
148482 DEBUG + ynh_app_setting_set webtrees unprotected_uris /
148484 DEBUG + sudo yunohost app setting webtrees unprotected_uris --value=/ --quiet
149695 DEBUG + systemctl reload nginx
150098 DEBUG + message=’ webtrees was successfully installed :slight_smile:
150099 DEBUG
150100 DEBUG Please open https://genealogie.domain.tld/
150101 DEBUG
150103 DEBUG The admin username is: MyName
150104 DEBUG And the admin password is: O9dt6nNbO6pU1pUCaiYuLAl2
150105 DEBUG
150106 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: GitHub - YunoHost-Apps/webtrees_ynh: Webtrees package for YunoHost
150108 DEBUG + ynh_send_readme_to_admin ’ webtrees was successfully installed :slight_smile:
150109 DEBUG
150110 DEBUG Please open https://genealogie.domain.tld/
150111 DEBUG
150113 DEBUG The admin username is: MyName
150114 DEBUG And the admin password is: O9dt6nNbO6pU1pUCaiYuLAl2
150115 DEBUG
150116 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: GitHub - YunoHost-Apps/webtrees_ynh: Webtrees package for YunoHost
150117 DEBUG + local ‘app_message= webtrees was successfully installed :slight_smile:
150118 DEBUG
150120 DEBUG Please open https://genealogie.domain.tld/
150121 DEBUG
150122 DEBUG The admin username is: MyName
150124 DEBUG And the admin password is: O9dt6nNbO6pU1pUCaiYuLAl2
150125 DEBUG
150127 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: GitHub - YunoHost-Apps/webtrees_ynh: Webtrees package for YunoHost
150128 DEBUG + local recipients=root
150130 DEBUG ++ find_mails root
150131 DEBUG ++ local list_mails=root
150132 DEBUG ++ local mail
150134 DEBUG ++ local ‘recipients= ’
150135 DEBUG ++ for mail in $list_mails
150137 DEBUG ++ ‘[’ root = root ‘]’
150138 DEBUG ++ recipients=’ root’
150139 DEBUG ++ echo ’ root’
150141 DEBUG + recipients=’ root’
150142 DEBUG + local ‘mail_subject=☁️🆈🅽🅷☁️: webtrees has important message for you’
150143 DEBUG ++ yunohost tools diagnosis
150145 DEBUG ++ sed /services:/d
150146 DEBUG ++ grep -B 100 services:
163682 DEBUG + local ‘mail_message=This is an automated message from your beloved YunoHost server.
163684 DEBUG Specific information for the application webtrees.
163686 DEBUG webtrees was successfully installed :slight_smile:
163687 DEBUG
163689 DEBUG Please open https://genealogie.domain.tld/
163690 DEBUG
163692 DEBUG The admin username is: MyName
163693 DEBUG And the admin password is: O9dt6nNbO6pU1pUCaiYuLAl2
163695 DEBUG
163696 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: GitHub - YunoHost-Apps/webtrees_ynh: Webtrees package for YunoHost
163698 DEBUG —
163700 DEBUG Automatic diagnosis data from YunoHost
163701 DEBUG host: Debian 9.5
163703 DEBUG kernel: 4.9.78-xxxx-std-ipv6-64
163704 DEBUG packages:
163706 DEBUG yunohost:
163707 DEBUG repo: stable
163708 DEBUG version: 3.2.0
163710 DEBUG yunohost-admin:
163711 DEBUG repo: stable
163713 DEBUG version: 3.2.0
163714 DEBUG moulinette:
163716 DEBUG repo: stable
163717 DEBUG version: 3.2.0
163718 DEBUG ssowat:
163719 DEBUG repo: stable
163721 DEBUG version: 3.2.0
163722 DEBUG backports:
163723 DEBUG system:
163724 DEBUG disks:
163726 DEBUG root: Mounted on /, 19.1GiB (3.6GiB free)
163727 DEBUG sda2: Mounted on /home, 53.5GiB (15.2GiB free)
163728 DEBUG memory:
163729 DEBUG ram: 3.8GiB (2.7GiB free)
163730 DEBUG swap: 511.0MiB (502.3MiB free)
163731 DEBUG nginx:
163733 DEBUG - nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
163734 DEBUG - nginx: configuration file /etc/nginx/nginx.conf test is successful’
163735 DEBUG + ‘[’ -e /usr/bin/bsd-mailx ‘]’
163737 DEBUG + local mail_bin=/usr/bin/mail.mailutils
163738 DEBUG + echo ‘This is an automated message from your beloved YunoHost server.
163741 DEBUG Specific information for the application webtrees.
163743 DEBUG webtrees was successfully installed :slight_smile:
163744 DEBUG
163745 DEBUG Please open https://genealogie.domain.tld/
163747 DEBUG
163748 DEBUG The admin username is: MyName
163749 DEBUG And the admin password is: O9dt6nNbO6pU1pUCaiYuLAl2
163750 DEBUG
163752 DEBUG If you facing an issue or want to improve this app, please open a new issue in this project: GitHub - YunoHost-Apps/webtrees_ynh: Webtrees package for YunoHost
163753 DEBUG —
163754 DEBUG Automatic diagnosis data from YunoHost
163756 DEBUG host: Debian 9.5
163757 DEBUG kernel: 4.9.78-xxxx-std-ipv6-64
163758 DEBUG packages:
163760 DEBUG yunohost:
163761 DEBUG repo: stable
163762 DEBUG version: 3.2.0
163764 DEBUG yunohost-admin:
163765 DEBUG repo: stable
163766 DEBUG version: 3.2.0
163768 DEBUG moulinette:
163769 DEBUG repo: stable
163770 DEBUG version: 3.2.0
163772 DEBUG ssowat:
163773 DEBUG repo: stable
163774 DEBUG version: 3.2.0
163776 DEBUG backports:
163777 DEBUG system:
163778 DEBUG disks:
163779 DEBUG root: Mounted on /, 19.1GiB (3.6GiB free)
163780 DEBUG sda2: Mounted on /home, 53.5GiB (15.2GiB free)
163781 DEBUG memory:
163783 DEBUG ram: 3.8GiB (2.7GiB free)
163784 DEBUG swap: 511.0MiB (502.3MiB free)
163786 DEBUG nginx:
163787 DEBUG - nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
163788 DEBUG - nginx: configuration file /etc/nginx/nginx.conf test is successful’
163789 DEBUG + /usr/bin/mail.mailutils -a ‘Content-Type: text/plain; charset=UTF-8’ -s ‘:cloud:🆈🅽🅷:cloud:: webtrees has important message for you’ ’ root’
163891 DEBUG + ynh_exit_properly
163892 DEBUG + local exit_code=0
163893 DEBUG + ‘[’ 0 -eq 0 ‘]’
163894 DEBUG + exit 0
172741 SUCCESS La configuration de SSOwat a été générée
172743 SUCCESS Installation terminée
172744 DEBUG system hook folder not found for action ‘post_app_install’ in /usr/share/yunohost/hooks/
172744 DEBUG custom hook folder not found for action ‘post_app_install’ in /etc/yunohost/hooks.d/
172755 INFO untranslated key ‘log_app_install’ for locale ‘fr’
172755 INFO untranslated key ‘log_help_to_get_log’ for locale ‘fr’
172756 DEBUG To view the log of the operation ‘Install ‘webtrees’ application’, use the command ‘yunohost log display 20180914-080955-app_install-webtrees’
172772 INFO untranslated key ‘log_operation_unit_unclosed_properly’ for locale ‘fr’
172773 DEBUG action [6260.1] executed in 171.854s
172774 DEBUG lock has been released

That’s all

@FugazziPL

Please change your password. Your logs have the password. I will try to fix the mail error.

Already done. :wink:

1 Like

Webtrees for Yunohost has been updated to version 1.7.12.

Update from admin interface or by command line with following command.

$ yunohost app upgrade -u https://github.com/YunoHost-Apps/Webtrees_ynh webtrees

1 Like

HI, thank you for Webtrees and Webtrees on YNH.

Also Webtrees works fine, I noted an issue on the current 2.0.16 version.
“Page isn’t redirecting properly” page error #31

Thank you for your time and consideration.

José from France.

Hi,
I need some help on best practices to migrate my Webtrees to a new server with a new domain.
I looked at the info here - FAQ - move to a new server

So will it be enught to:

  1. install Webtrees on the new server
  2. move or copy files from old to new server from
/var/www/webtrees/data  

  1. how to move the data base within YH?
    how about these locations?
/var/lib/mysql/webtrees
/etc/yunohost/apps/webtrees
/home/tomas/webtrees
/home/admin/webtrees

Any help is much appreciated!

Hello,

Why can’t we use an existing LDAP user as admin when installing the app ?

I’m stuck installing webtrees. I got no email with credentials for the first login.