YunoHost-Apps / shaarli_ynh

Shaarli package for YunoHost
GNU General Public License v3.0
20 stars 13 forks source link

Failed installation from webadmin #72

Open xmgz opened 3 years ago

xmgz commented 3 years ago

Install failed

tried to install from web-admin interface failed

Context

Steps to reproduce

go to apps section on webadmin; search shaali; click on green Install button; set admin user for Shaarli and its password; choose a label; let default installation route

Expected behavior

have a Shaarli instance for personal use, but I got this

2021-05-12 10:23:16,623: WARNING - PHP Parse error: syntax error, unexpected end of file in Command line code on line 1

Logs

Full log: https://paste.yunohost.org/raw/oxufatinec

Relevant to the issue:

2021-05-12 10:23:16,461: INFO - [##########++........] > Configuring Shaarli...
2021-05-12 10:23:16,462: DEBUG - + echo '[##########++........] > Configuring Shaarli...'
2021-05-12 10:23:16,463: DEBUG - ++ cat /etc/timezone
2021-05-12 10:23:16,468: DEBUG - + timezone=Europe/London
2021-05-12 10:23:16,470: DEBUG - ++ php7.3 -r 'echo sha1(uniqid("", true) ."_". mt_rand());'
2021-05-12 10:23:16,549: DEBUG - + salt=a092761f47ce6b20e0807c44b630cbff2b69f489
2021-05-12 10:23:16,552: DEBUG - ++ php7.3 -r 'echo sha1('\'**********\''.'\''xmgz'\''.'\''a092761f47ce6b20e0807c44b630cbff2b69f489'\'');'
2021-05-12 10:23:16,623: WARNING - PHP Parse error:  syntax error, unexpected end of file in Command line code on line 1
2021-05-12 10:23:16,631: DEBUG - + hash=
2021-05-12 10:23:16,632: DEBUG - + ynh_exit_properly
2021-05-12 10:23:16,632: DEBUG - + local exit_code=254
2021-05-12 10:23:16,633: DEBUG - + rm -rf /var/cache/yunohost/download/
2021-05-12 10:23:16,637: DEBUG - + '[' 254 -eq 0 ']'
2021-05-12 10:23:16,638: DEBUG - + trap '' EXIT
2021-05-12 10:23:16,638: DEBUG - + set +o errexit
2021-05-12 10:23:16,638: DEBUG - + set +o nounset
2021-05-12 10:23:16,639: DEBUG - + sleep 0.5
2021-05-12 10:23:17,140: DEBUG - + type -t ynh_clean_setup
2021-05-12 10:23:17,141: DEBUG - + ynh_clean_setup
2021-05-12 10:23:17,141: DEBUG - + true
2021-05-12 10:23:17,142: DEBUG - + exit 1
2021-05-12 10:23:17,144: ERROR - Unable to install shaarli: An error occurred inside the app installation script

thank you

lapineige commented 3 years ago

I have no idea about why this php error is happening… and from where this is coming…

By any chance, if you try again, does it work ?

xmgz commented 3 years ago

I'll try later and let you know about the result. Thanks