Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed installation from webadmin #72

Open
xmgz opened this issue May 12, 2021 · 2 comments
Open

Failed installation from webadmin #72

xmgz opened this issue May 12, 2021 · 2 comments

Comments

@xmgz
Copy link

xmgz commented May 12, 2021

Install failed

tried to install from web-admin interface failed

Context

  • Hardware: Pi_thing (v4)
  • YunoHost version: current (latest 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
  • Using, or trying to install package version/branch: provided by web interface app manager

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
Copy link
Member

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
Copy link
Author

xmgz commented May 13, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants