Etherpad_mypads can't install

My YunoHost server

Hardware: VPS bought online /
YunoHost version: 4.0.8.3
I have access to my server : through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Etherpad_mypads installation is failed.

 Started Etherpad...
2020-12-08 14:10:11,430: DEBUG - e[36m[2020-12-08 14:09:53.838] [DEBUG] console - e[39mRunning on Node v12.20.0 (minimum required Node version: 10.13.0)
2020-12-08 14:10:11,430: DEBUG - e[32m[2020-12-08 14:09:54.038] [INFO] console - e[39mAll relative paths will be interpreted relative to the identified Etherpad base dir: /var/www/etherpad_mypads
2020-12-08 14:10:11,430: DEBUG - e[32m[2020-12-08 14:09:54.039] [INFO] console - e[39mRandom string used for versioning assets: b44ec844
2020-12-08 14:10:11,430: DEBUG - e[36m[2020-12-08 14:09:54.040] [DEBUG] AbsolutePaths - e[39mRelative path "settings.json" can be rewritten to "/var/www/etherpad_mypads/settings.json"
2020-12-08 14:10:11,430: DEBUG - e[36m[2020-12-08 14:09:54.040] [DEBUG] AbsolutePaths - e[39mRelative path "credentials.json" can be rewritten to "/var/www/etherpad_mypads/credentials.json"
2020-12-08 14:10:11,431: DEBUG - e[32m[2020-12-08 14:09:54.048] [INFO] console - e[39msettings loaded from: /var/www/etherpad_mypads/settings.json
2020-12-08 14:10:11,431: DEBUG - e[31m[2020-12-08 14:09:54.049] [ERROR] console - e[39mThere was an error processing your credentials file from /var/www/etherpad_mypads/credentials.json: Unexpected token ; in JSON at position 196
2020-12-08 14:10:11,431: DEBUG - RESTART!
2020-12-08 14:10:11,442: DEBUG - Ensure that all dependencies are up to date...  If this is the first time you have run Etherpad please be patient.'
2020-12-08 14:10:11,442: DEBUG - + ynh_clean_check_starting
2020-12-08 14:10:11,442: DEBUG - + '[' -n 23147 ']'
2020-12-08 14:10:11,442: DEBUG - + kill -SIGTERM 23147
2020-12-08 14:10:11,443: DEBUG - + '[' -n /tmp/tmp.Q7URr55Znf ']'
2020-12-08 14:10:11,443: DEBUG - + ynh_secure_remove /tmp/tmp.Q7URr55Znf
2020-12-08 14:10:11,448: DEBUG - + local 'forbidden_path=     /var/www     /home/yunohost.app'
2020-12-08 14:10:11,448: DEBUG - + '[' 1 -ge 2 ']'
2020-12-08 14:10:11,448: DEBUG - + [[ -z /tmp/tmp.Q7URr55Znf ]]
2020-12-08 14:10:11,449: DEBUG - + [[      /var/www     /home/yunohost.app =~ /tmp/tmp\.Q7URr55Znf ]]
2020-12-08 14:10:11,449: DEBUG - + [[ /tmp/tmp.Q7URr55Znf =~ ^/[[:alnum:]]+$ ]]
2020-12-08 14:10:11,449: DEBUG - + [[ f = \/ ]]
2020-12-08 14:10:11,449: DEBUG - + '[' -e /tmp/tmp.Q7URr55Znf ']'
2020-12-08 14:10:11,450: DEBUG - + rm --recursive /tmp/tmp.Q7URr55Znf
2020-12-08 14:10:11,450: DEBUG - + '[' 1 -eq 1 ']'
2020-12-08 14:10:11,450: DEBUG - + ynh_replace_string --match_string=__LANGUAGE__ --replace_string=en --target_file=../conf/lang_mypads.sql
2020-12-08 14:10:11,657: DEBUG - + local delimit=@
2020-12-08 14:10:11,657: WARNING - ERROR 1146 (42S02) at line 1: Table 'etherpad_mypads.store' doesn't exist
2020-12-08 14:10:11,658: DEBUG - + match_string=__LANGUAGE__
2020-12-08 14:10:11,658: DEBUG - + replace_string=en
2020-12-08 14:10:11,658: DEBUG - + sed --in-place s@__LANGUAGE__@en@g ../conf/lang_mypads.sql
2020-12-08 14:10:11,658: DEBUG - + mysql -u etherpad_mypads -p********** etherpad_mypads
2020-12-08 14:10:11,659: DEBUG - + ynh_exit_properly
2020-12-08 14:10:11,659: DEBUG - + local exit_code=1
2020-12-08 14:10:11,659: DEBUG - + '[' 1 -eq 0 ']'
2020-12-08 14:10:11,659: DEBUG - + trap '' EXIT
2020-12-08 14:10:11,659: DEBUG - + set +o errexit
2020-12-08 14:10:11,659: DEBUG - + set +o nounset
2020-12-08 14:10:11,660: DEBUG - + sleep 0.5
2020-12-08 14:10:12,162: DEBUG - + type -t ynh_clean_setup
2020-12-08 14:10:12,163: DEBUG - + ynh_clean_setup
2020-12-08 14:10:12,163: DEBUG - + ynh_clean_check_starting
2020-12-08 14:10:12,163: DEBUG - + '[' -n '' ']'
2020-12-08 14:10:12,163: DEBUG - + '[' -n '' ']'
2020-12-08 14:10:12,163: DEBUG - + exit 1
2020-12-08 14:10:12,178: ERROR - Could not install etherpad_mypads: An error occurred inside the app installation script

https://paste.yunohost.org/raw/zituqikezi

How can I solve this problem. Thanks for your attention.

There was an error processing your credentials file from /var/www/etherpad_mypads/credentials.json: Unexpected token ; in JSON at position 196

Uuuuh I’m not sure but I’m thinking it could be a password-with-special-characters issue? Could you try with a less sophisticated password ? :sweat_smile:

Thanks, solved.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.