martialblog / docker-limesurvey

A Docker Image for LimeSurvey
https://hub.docker.com/r/martialblog/limesurvey/
MIT License
157 stars 71 forks source link

Resources managemet issue #131

Open Saddamus opened 2 years ago

Saddamus commented 2 years ago

Hello. I use apache image with reverse proxy from kubernetes ingress. I can not use add / edit resources. Interface does not react, browser displays errors like: Failed to launch 'kcact:upload' because the scheme does not have a registered handler Is it proxy related issue ?

martialblog commented 2 years ago

Hi, can you provide some details on your deployment? How the Container is deployed and maybe the Ingress configuration?

Saddamus commented 2 years ago

Hello, I used this hart: https://github.com/martialblog/helm-charts/tree/master/limesurvey Ingress: https://github.com/martialblog/helm-charts/blob/master/limesurvey/templates/ingress.yaml In my case its made by nginx. What may matter is that ingress does SSL, while deployment is non ssl - I didn't find any settings like "run unencrypted, but think you are ssl".

martialblog commented 2 years ago

By resources you mean uploads? Can you describe how to recreate the issue?

Saddamus commented 2 years ago

Serveys -> Select one from the list -> resources. There is option to import / export - this works, but menu below to upload, refresh, settings and listing files does not work.

image
martialblog commented 2 years ago

My first guess would be the Persistent Volume permissions. If you are using the 5.* Image, it starts as user www-data, could be that the permissions on the volume are not correct.

Saddamus commented 2 years ago

There is an option to import resource zip archive, which works. Would it be the case if permissions were wrong ?

On Mon, 24 Oct 2022 at 09:19, Markus Opolka @.***> wrote:

My first guess would be the Persistent Volume permissions. If you are using the 5.* Image, it starts as user www-data, could be that the permissions on the volume are not correct.

— Reply to this email directly, view it on GitHub https://github.com/martialblog/docker-limesurvey/issues/131#issuecomment-1288530642, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABW3VBBTOVVQXXUQN6QPDITWEYZ7VANCNFSM6AAAAAARLC4BPI . You are receiving this because you authored the thread.Message ID: @.***>

-- Kind regards,

-- Adam Obuchowski

Saddamus commented 2 years ago
image

Do you have any other suggestions ? Did you test this with reverse proxy (https) to non https docker apache image ?

Saddamus commented 2 years ago

It's not loading regardless if if I use reverse proxy or redirect pod to localhost and come over localhost url. This must be general issue. Does anybody else use it ?

martialblog commented 2 years ago

Sorry, I haven't have the time for extensive debugging at the moment. We have some example of reverse proxy configuration in the repository, so yes that was tested. However, it's always been tricky with this application finding the right config.

Have you tested the various options for BASE_URL and PUBLIC_URL? Maybe setting the DEBUG option will help gathering some information about whats happening.

Saddamus commented 2 years ago

Yes, tested these parameters with no result. I just realized that this plugin is not enabled by default. Probably it was switched on by some of my colegues. The code of plugin is from 2014. To make things clear, im talkking about kcfinder - not this import / export stuff, but kcfinder that you can see below import / export on pasted screen at the beggining of this issue. Can you confirm that this plugin works properly on your docker image ?

albion2790 commented 6 months ago

Hi guys. By any chance, is there a potential fix for this yet?