Comments (6)
Is it possible to repeat this test by running those command with --verbose --debug options ?
from limesurvey_ynh.
What is your yunohost version :
yunohost -v
from limesurvey_ynh.
Sorry ... lack of verbose ....
After sudo -i
root@riva:~# yunohost -v
yunohost: 2.5.4
yunohost-admin: 2.5.1
moulinette: 2.5.2
ssowat: 2.6.1
root@riva:~# yunohost app upgrade limesurvey --verbose --debug -u https://github.com/Shnoulle/limesurvey_ynh
182 DEBUG loading actions map namespace 'yunohost'
200 DEBUG extra parameter classes loaded: ['ask', 'password', 'required', 'pattern']
201 DEBUG initializing base actions map parser for cli
206 DEBUG registering new callback action 'yunohost.utils.packages.ynh_packages_version' to ['-v', '--version']
482 DEBUG initialize authenticator 'ldap-anonymous' with: uri='ldap://localhost:389', base_dn='dc=yunohost,dc=org', user_rdn='None'
486 DEBUG lock has been acquired
581 INFO processing action [9683.1]: yunohost.app.upgrade with args={'url': 'https://github.com/Shnoulle/limesurvey_ynh', 'app': ['limesurvey'], 'auth': <moulinette.authenticators.ldap.Authenticator object at 0x7f6186f582d0>, 'file': None}
827 INFO Téléchargement...
1956 INFO Extraction...
1980 INFO Terminé
2657 INFO Vérification des paquets requis...
7958 DEBUG no arguments found for 'upgrade' in manifest
7989 INFO Exécution de la commande « sudo -n -u admin -H sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_APP_ID=limesurvey YNH_APP_INSTANCE_NAME=limesurvey BASH_XTRACEFD=7 /bin/bash -x "./upgrade" limesurvey 7>&1 »...
8079 INFO + source /usr/share/yunohost/helpers
8082 INFO +++ run-parts --list /usr/share/yunohost/helpers.d
8086 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8087 INFO ++ '[' -r /usr/share/yunohost/helpers.d/filesystem ']'
8088 INFO ++ . /usr/share/yunohost/helpers.d/filesystem
8090 INFO +++ CAN_BIND=1
8092 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8093 INFO ++ '[' -r /usr/share/yunohost/helpers.d/ip ']'
8095 INFO ++ . /usr/share/yunohost/helpers.d/ip
8096 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8097 INFO ++ '[' -r /usr/share/yunohost/helpers.d/mysql ']'
8099 INFO ++ . /usr/share/yunohost/helpers.d/mysql
8101 INFO +++ MYSQL_ROOT_PWD_FILE=/etc/yunohost/mysql
8103 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8105 INFO ++ '[' -r /usr/share/yunohost/helpers.d/package ']'
8106 INFO ++ . /usr/share/yunohost/helpers.d/package
8108 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8109 INFO ++ '[' -r /usr/share/yunohost/helpers.d/print ']'
8110 INFO ++ . /usr/share/yunohost/helpers.d/print
8111 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8112 INFO ++ '[' -r /usr/share/yunohost/helpers.d/setting ']'
8113 INFO ++ . /usr/share/yunohost/helpers.d/setting
8115 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8116 INFO ++ '[' -r /usr/share/yunohost/helpers.d/string ']'
8117 INFO ++ . /usr/share/yunohost/helpers.d/string
8118 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8119 INFO ++ '[' -r /usr/share/yunohost/helpers.d/user ']'
8120 INFO ++ . /usr/share/yunohost/helpers.d/user
8122 INFO ++ for helper in '$(run-parts --list /usr/share/yunohost/helpers.d 2>/dev/null)'
8123 INFO ++ '[' -r /usr/share/yunohost/helpers.d/utils ']'
8124 INFO ++ . /usr/share/yunohost/helpers.d/utils
8125 INFO + source _common.sh
8127 INFO +++ cd ../
8129 INFO +++ pwd
8131 INFO ++ PKG_DIR=/var/cache/yunohost/from_file/limesurvey_ynh-master
8132 INFO + ynh_trap_on
8133 INFO + set -eu
8134 INFO + trap ynh_exit_properly EXIT
8136 INFO + export app=limesurvey
8137 INFO + app=limesurvey
8139 INFO + user=limesurvey
8140 INFO ++ ynh_app_setting_get limesurvey domain
8141 INFO ++ sudo yunohost app setting limesurvey domain --output-as plain --quiet
8866 INFO + export domain=maison.shnoulle.net
8867 INFO + domain=maison.shnoulle.net
8869 INFO ++ ynh_app_setting_get limesurvey path
8870 INFO ++ sudo yunohost app setting limesurvey path --output-as plain --quiet
9601 INFO + export path=/limesurvey
9602 INFO + path=/limesurvey
9604 INFO ++ ynh_app_setting_get limesurvey admin
9605 INFO ++ sudo yunohost app setting limesurvey admin --output-as plain --quiet
10335 INFO + export admin=denis
10336 INFO + admin=denis
10339 INFO ++ ynh_app_setting_get limesurvey mysqlpwd
10340 INFO ++ sudo yunohost app setting limesurvey mysqlpwd --output-as plain --quiet
11070 INFO + db_pwd='6XA]RAp2jGKcgXqL9NI2NbRe'
11072 INFO ++ ynh_app_setting_get limesurvey local_path
11074 INFO ++ sudo yunohost app setting limesurvey local_path --output-as plain --quiet
11807 INFO + export local_path=
11808 INFO + local_path=
11810 INFO ++ ynh_app_setting_get limesurvey is_public
11811 INFO ++ sudo yunohost app setting limesurvey is_public --output-as plain --quiet
12546 INFO + export is_public=
12547 INFO + is_public=
12549 INFO ++ ynh_app_setting_get limesurvey prefix
12551 INFO ++ sudo yunohost app setting limesurvey prefix --output-as plain --quiet
13297 INFO + export prefix=
13298 INFO + prefix=
13299 INFO ++ ynh_read_json /etc/yunohost/apps/limesurvey/manifest.json version
13301 INFO ++ sudo python3 -c 'import sys, json;print(json.load(open('\''/etc/yunohost/apps/limesurvey/manifest.json'\''))['\''version'\''])'
13472 INFO ++ echo 2.0.5
13473 INFO + version=2.0.5
13475 INFO ++ ynh_read_manifest version
13477 INFO ++ ynh_read_json ../manifest.json version
13478 INFO ++ sudo python3 -c 'import sys, json;print(json.load(open('\''../manifest.json'\''))['\''version'\''])'
13650 INFO + last_version=2.62.2
13651 INFO + ynh_exit_if_up_to_date
13653 INFO + '[' 2.0.5 = 2.62.2 ']'
13654 INFO + ynh_check_var limesurvey 'app name not set'
13655 INFO + test -n limesurvey
13656 INFO + ynh_user_exists denis
13657 INFO + sudo yunohost user list --output-as json
13660 INFO + grep -q '"username": "denis"'
14353 INFO + ynh_normalize_url_path /limesurvey
14354 INFO + path=/limesurvey
14355 INFO + test -n /limesurvey
14356 INFO + '[' / '!=' / ']'
14358 INFO + '[' y == / ']'
14360 INFO + echo /limesurvey
14362 INFO /limesurvey
14363 INFO + '[' 2.0.5 = 2.0.5 ']'
14365 INFO + ynh_save_args path is_public prefix
14366 INFO + for var in '$@'
14368 INFO + ynh_app_setting_set limesurvey path /limesurvey
14369 INFO + sudo yunohost app setting limesurvey path -v /limesurvey --quiet
15101 INFO + for var in '$@'
15100 WARNING /usr/share/yunohost/helpers.d/setting: ligne 17: $3 : variable sans liaison
15102 INFO + ynh_app_setting_set limesurvey is_public
15102 WARNING
15103 INFO ++ ynh_exit_properly
15105 INFO ++ exit_code=1
15114 INFO ++ '[' 1 -eq 0 ']'
15115 INFO ++ trap '' EXIT
15117 INFO ++ set +eu
15118 INFO ++ echo -e '\e[91m \e[1m'
15120 INFO
15122 INFO ++ err 'limesurvey script has encountered an error.'
15123 INFO ++ log '[ERR] limesurvey script has encountered an error.'
15125 INFO ++ echo '[ERR] limesurvey script has encountered an error.'
15126 INFO [ERR] limesurvey script has encountered an error.
15127 INFO ++ type -t CLEAN_SETUP
15128 INFO ++ ynh_die
15129 INFO ++ echo ''
15130 INFO ++ exit 1
15175 ERROR Impossible de mettre à jour limesurvey
15176 DEBUG action [9683.1] ended after 14.594s
15177 DEBUG lock has been released
15178 ERROR Aucune application à mettre à jour
from limesurvey_ynh.
I have push this commit 3a5de2c
It should fix your issue
from limesurvey_ynh.
Sorry .... delete the App ....
I can :
- revert my version in git
- install my version (2.05)
- update my version in git to this master
- update ynh version on my server
It can work ?
from limesurvey_ynh.
Sorry again : how choose another branch than master when install from github ? You don't have to answer here : i go to post on ynh forum
from limesurvey_ynh.
Related Issues (20)
- Some improvement on quality
- User are not created when added in ynh management
- Other domain : unable to use primary user
- Failed for Corrupt source HOT 2
- E: Unable to locate package limesurvey-ynh-deps HOT 2
- Unable to install HOT 2
- Erreur à l'installation avec l'interface web HOT 5
- Dependency to python-pip ? HOT 1
- Your app is out of date on the community list
- Internal errors in YunoHost while installing LimeSurvey yunohost/issues#1084 HOT 2
- How do you enable LDAP? HOT 6
- Incorrect username and/or password when using SSO credentials HOT 1
- No more admin access HOT 1
- Install fails on bullseye to due dependency to python(2)-pip HOT 1
- Login fails due to too many redirects HOT 1
- No more admin access after upgrade
- upload folder is not right, uploading/using uploaded files are not working HOT 3
- Update fails HOT 1
- Value for admin tile visibility isn't saved during an upgrade
- Limesurvey can't write to uploads folder
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from limesurvey_ynh.