yunohost-apps / limesurvey_ynh Goto Github PK
View Code? Open in Web Editor NEWLimeSurvey package for yunoHost
Home Page: https://www.limesurvey.org/
License: GNU Affero General Public License v3.0
LimeSurvey package for yunoHost
Home Page: https://www.limesurvey.org/
License: GNU Affero General Public License v3.0
When LimeSurvey release a new version, they remove the old link.
So we need to put the github release.
It could be cool if the sha256sum is the same than the one give by LS...
See #8 (comment)
There is some function with rm or exit in the name of the function, it trigger warning of package linter.
So I force the Level 5
I get this error when I try to install it on a root domain or a /page..
Hello,
I recently added a new user via the LDAP backend to my LimeSurvey instance, but can't login. If I login via SSO and the open the LimeSurvey admin panel, I get a browser error about too many redirects. This is quite strange, as I am currently logged in with another account. I'm also unsure about how to go about debugging this issue.
hi,
I got the following message trying to install the app on a 2.4 yunohost instance.
'L'application est incompatible avec votre version de YunoHost : Le paquet de l'application doit être mis à jour pour suivre les changements de YunoHost'
limesurvey defaults to /var/www/$app
as /
if I'm not wrong. But data files are located in /home/yunohost.app/$app/upload
and this path linked to /var/www/$app/upload
(linked as /var/www/$app/upload/upload
). So:
/home/yunohost.app/$app/upload/...
(symbolic linked as /var/www/$app/upload/upload/...
)/home/yunohost.app/$app/upload/surveys/{ID}/images/image.png
succesfully./upload/surveys/{ID}/images/image.png
to URL/
defaults to /var/www/$app
but /var/www/$app/upload/surveys/{ID}/images/image.png
is not right path/var/www/$app/upload/
upload
/surveys/{ID}/images/image.png
/upload/surveys/{ID}/images/image.png
). Add /upload
as prefix to this path. (briefly use upload twice) /upload/upload/surveys.....
please see Describe the bug
section above. But first create a survey, question group and question
One click file uploading, one click file using
#85 - currently solved uploading problem but other problems(explained in this issue) are still persist
Bonjour,
Comme déjà indiqué je compte reprendre et sans doute maintenir limesurvey_ynh si vous êtes daccord (et après avoir fait mes preuves). Cependant, j'hésite ....
Il ya 2 version en // de limesurvey
Il y a en plus : la branche 3.0 qui devrait sortir en alpha en janvier/février.
J'aurais tendance à passer sur une 2.6lts pour les mises à jours, éventuellement en modifiant le modèle par défaut (utilisation de SkeletonQuest plutot que le vieux modèle). Qu'en pensez vous ?
Hello, I use limesurvey from a short time, really appreciate it.
After adding an admin user, I don't have any more access to admin page from any yunohost user
Error "page is not well redirected"
Just the normal public page is working.
Any idea (I have a big survey in it) ?
In https://github.com/zamentur/limesurvey_ynh/blob/master/conf%2Fnginx.conf, the first location might be "location PATHTOCHANGE/" with a trailing slash, isn't it?
Limesurvey échoue à l'installation en raison d'une erreur avec la somme de contrôle !
Warning: yunohost.hook <lambda> - [746.1] Corrupt source
Please update to 2.06
Bonjour,
L'installation ne fonctionne pas avec yunohost 2.6.5 le message d'erreur est le suivant:
L'application est incompatible avec votre version de YunoHost : Le paquet de l'application doit être mis à jour pour suivre les changements de YunoHost.
Je vais donc attendre une mise à jour.
Hello,
The community list uses an old commit for your app.
Since your app has some corrections, would you please update the community list if possible.
For the Apps group.
From @Shnoulle
Hi,
Actually limesurvey_ynh is a fork of github/limesurvey, but actually, i don't think it's realy a fork.
I want to fork t : i can only add it to LimeSurvey clone i have. It make hardest to update only LS core for example.
I think, but maybe it's a false good idea, it can be cleanest if:
- limesurvey_ynh is a new project, include last build version of limesurvey for source
- make it 'not updatable' in config (easy)
- activate LDAP plugin and LDAP settings like you made it actually.
- Make a new controller command inside LS to allow using updater (DB) from LS core (i can do it ;) ).
- Update LS core is just : update sources + call this new controller.
I can start a new ls_ynh with your code if you'r OK, but i need to start from scatch and make copy/paste. I loose all GIT history ....
Denis
When LimeSurvey release a new version, they remove the old link.
So we need to put the github release.
It could be cool if the sha256sum is the same than the one give by LS...
If i try to update via ssh :
# yunohost app upgrade limesurvey -u https://github.com/Shnoulle/limesurvey_ynh
Attention : /usr/share/yunohost/helpers.d/setting: ligne 17: $3 : variable sans liaison
Attention :
Erreur : Impossible de mettre à jour limesurvey
Erreur : Aucune application à mettre à jour
Previous version : Shnoulle@ad00861
Actual version : Shnoulle@dfb9c66
Currently : the 2 version are unmodified version.
Another question : how to update from another branch (want to test some updating system).
No issue if i need to start by a clean install ...
Hello,
I don't understand why is it saying that my username and/or password is wrong because the app is supposed to support SSO and LDAP, so it should work when i login with my SSO credentials, but it doesn't.
I don't know if this is a yunohost issue, or an issue specific to this app, but python-pip is only a 'Recommended' dependency of yunohost.
Hence on the stretch CI, the install fails because pip is not installed (dunno why recommended deps are not installed) :
Warning: moulinette.interface __call__ - 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: yunohost.hook <lambda> - [812.1] 'yunohost app checkurl' is deprecated and will be removed in the future
Warning: yunohost.hook <lambda> - [812.1] sudo: pip: command not found
Warning: yunohost.hook <lambda> - [812.1] Database limesurvey not found
Warning: yunohost.hook <lambda> - [812.1] The user limesurvey was not found
Warning: yunohost.hook <lambda> - [812.1] E: Unable to locate package limesurvey-ynh-deps
Error: yunohost cli - Installation failed
My restore script will works with the future YunoHost version
So I force level 6
Hello,
This is a copy/pasta from YunoHost/issues#1084
Author Name: win8linux
YunoHost encounters internal errors during installation of LimeSurvey. Below are the details from the webinterface.
Action
POST /apps
{"locale":"en","app":"limesurvey","args":"domain=garate.nohost.me&path=%2Fpoll&admin=sysadmin&language=en_GB","label":"LimeSurvey"}
Traceback
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/api.py", line 406, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 495, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/app.py", line 692, in app_install
_check_manifest_requirements(manifest, app_id)
File "/usr/lib/moulinette/yunohost/app.py", line 1735, in _check_manifest_requirements
m18n.g('colon', m18n.n('app_incompatible'), app=app_instance_name),
File "/usr/lib/python2.7/dist-packages/moulinette/core.py", line 205, in n
return self._namespaces[self._current_namespace].translate(key, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/moulinette/core.py", line 92, in translate
return self._translations[self.locale][key].encode('utf-8').format(*args, **kwargs)
KeyError: 'app'
I am unable to install it on older and latest yunohost.
Current version: 2.6.4
Main issue was UnicodeDecodeError: 'ascii' codec can't decode byte
The trace is given below.
'yunohost app checkurl' is deprecated and will be removed in the future
Warning: Traceback (most recent call last):
Warning: File "", line 1, in
Warning: File "/usr/lib/python3.4/json/init.py", line 265, in load
Warning: return loads(fp.read(),
Warning: File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
Warning: return codecs.ascii_decode(input, self.errors)[0]
Warning: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 230: ordinal not in range(128)
Warning: Traceback (most recent call last):
Warning: File "", line 1, in
Warning: File "/usr/lib/python3.4/json/init.py", line 265, in load
Warning: return loads(fp.read(),
Warning: File "/usr/lib/python3.4/encodings/ascii.py", line 26, in decode
Warning: return codecs.ascii_decode(input, self.errors)[0]
Warning: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 230: ordinal not in range(128)
Warning:
Warning: Database limesurvey not found
Warning: The user limesurvey was not found
Warning: E: Unable to locate package limesurvey-ynh-deps
Hello, after updating limesurvey (from 3.17.1 ynh1 to 5.2.6 ynh2), I can't connect anymore to admin section.
I have a big survey in it, how can I connect back ?
Do I have to downgrade from a backup (to export the survey then reinstall a new limesurvey and try to import.
Thanks
Currently I just warn the yunoadmin to delete the user account in LimeSurvey
If the user is not the administrator we should delete it.
I would delete it via console.php command, but there is no commands to do that.
So a new LimeSurvey command should be created and added with a patch
Like the UpdateCommand we use to migrate DB https://github.com/YunoHost-Apps/limesurvey_ynh/blob/master/patches/app-0001-7ca4932.patch
@Shnoulle (or a LimeSurvey contrib) May be you are able to create a command like this ?
Hello! very nice port of limesurvey. only been able to see one issue.. but its a rather large one. when installing, only the user who installed it can log into it. so, i installed it on yunohost with user1... then it works and all. but then user2 comes on and it shows this
and.. well, no other users other than the first one are able to login. LDAP plugin seems to be disabled by default, but enabling it doesn't seem to do anything. i'm still not able to login with any other users so LDAP doesn't seem to be working.
Currently : using AuthDB : user connected to ynh with right on limesurvey (new rights) receiuve 401 when try to log in on admin part of limesurvey.
User without access are redirected to ynh home.
I take it for fixing it. Start by new setup, review update process after
Hi there,
My YunoHost server
Hardware: VPS bought online
YunoHost version: 11.2.10 (stable)
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen | …
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
update of Lime Survey 5.6.8+230227ynh1 to 5.6.8+230227ynh2 produces an error and update is interrupted
Error
./upgrade: Zeile 30: ynh_warn: Kommando nicht gefunden.
./upgrade: line 30: ynh_warn: command not found
Update should be successful
New version add Auth Permission to allow (or not) a user to Authenticate via LDAP plugin or not.
Maybe this can be used to allow update user allowed to Authenticate ?
This is OK for 'extra user' , but not for super admin user (the first created) : this one is always superadmin (user id == 1).
Then it can not really use (or not) AuthLDAP : an idea for this ? 1st user can not be deleted from YunoHost admin ? Or create another super admin user ? Inform 1st user another super admin was created during installation, give him the root email ?
In install (and update) i see $upload_path : what is the usage ?
In fact LimeSurvey have some way to manage upload directory (and url) at different place .
It's to allow multiple install with only one sources files ?
If yes : can we read different config files for each installation ?
If yes : did it work currently or i can lost this dir during update ?
After every upgrade the admin tile is visible again and I have to disable it manually again. Can we save this value somehow during an upgrade?
Just upgrade the app.
The admin tile should stay hidden if this setting was set before the upgrade.
None
When use another domain : AuthWebserver are not default then not redirected to yh login.
But LimeSurvey disable user 1 access for LDAP even with activate LDAP : seems broken.
I look further : there are solution in config : auth_webserver_user_map :)
Next update of my devel version
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.