-
Notifications
You must be signed in to change notification settings - Fork 72
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
ckfinder not working - nginx error #133
Comments
Hi, could this be related to the issue #131 ? There also was some mentioning of the ckfinder plugin. My first instinct is to thing about the BASE_URL and PUBLIC_URL parameters. However, there are also issues reported with the app not playing nicely with reverse proxies regardless of the parameters. Could be related. Regards |
Yes i think so. It's maybe relative to a config parameter as a workaround i hacked I get a more fonctionnal webpage (with css/js resources). But the module is not working better... |
There's probably a way to tell the Yii::app that it is running behind a proxy, so that the routing is handled correctly. |
I cannot get it to work either. The 500 error reported at the top of this issue seems to be an nginx server config issue. The nginx config file has a Script
All of these throw a 404 error, because I see this with @martialblog's LimeSurvey 6.x as well as 5.x images. What puzzles me is that the LimeSurvey image by @adamzammit does not exhibit this behavior. I tried to find out what the differences are between the images by @martialblog and @adamzammit, but I was unable to see anything that might be relevant (e.g., different configuration or so). This is what the 'ressources' page of a survey looks like in my browser with @martialblog 's image (the buttons are not functional): And this is a screenshot of LimeSurvey running in a container based on @adamzammit's image (buttons are functional): To summarize, there seems to be a directory issue with the kcfinder plugin in this image. |
P.S. Here's a (expand)
services:
adamzammit:
image: adamzammit/limesurvey
ports:
- 127.0.0.1:9090:80
environment:
LIMESURVEY_DB_PASSWORD: example
LIMESURVEY_ADMIN_USER: admin
LIMESURVEY_ADMIN_PASSWORD: admin
LIMESURVEY_ADMIN_NAME: Admin
LIMESURVEY_ADMIN_EMAIL: [email protected]
depends_on:
- mysql
martialblog:
image: docker.io/martialblog/limesurvey:latest
environment:
- DBENGINE=InnoDB
- DB_TYPE=mysql
- DB_HOST=mysql
- DB_PASSWORD=example
- DB_NAME=martialblog
- DB_USERNAME=root
- ADMIN_USER=admin
- ADMIN_NAME=Admin
- ADMIN_PASSWORD=admin
- [email protected]
- PUBLIC_URL=foobar.com
ports:
- 127.0.0.1:9091:8080
depends_on:
- mysql
mysql:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: example Start up these services in the usual way, invoke http://localhost:9090/admin and http://localhost:9091/admin, log in with admin/admin, quickly create new surveys, and go to the 'Resources' page to see whether ckfinder works or does not work. |
I've never been able to figure out why one image works (with regard to this issue) and the other doesn't, despite diff'ing entire directory trees. However, in case anyone else besides me experiences problems with this, I've forked @adamzammit's Works well on my server. |
Issue still exists, unable to find a working solution. Have to use an other image :( |
Adam Zammit's image works very well and since reporting this issue, we have introduced support for Postgres databases, if that is why you were using this one here. https://github.com/adamzammit/limesurvey-docker |
Hi, I have just tested it and I am running in the same error someone else already mentioned. |
Well that's odd. I've had some very "interesting" issues with stray/dangling Docker volumes in the past, maybe you want to double-check that you really start your container from scratch? Just an idea. Or try my |
@jonas-kiesewetter That's too bad, I'm afraid I do not have enough Docker karma to solve this... The |
using nginx + docker 5.4.10 version
When accessing to "browse the server" to upload images for example.
The page on URI : /third_party/kcfinder/browse.php?type=images&CKEditor=description_fr&CKEditorFuncNum=2&langCode=fr has missing js and css files witch are rendered by css/index.php and js/index.php files.
in logs we have nginx errors :
maybe an nginx error configuration
The text was updated successfully, but these errors were encountered: