Closed tubia closed 1 year ago
Hi @tubia .
I can't replicate that here. Can you please confirm you haven't edited the configuration file?
Please try from a new blank directory or remove the config subdirectory from the local filesystem where the docker-compose file is located.
Adam
Hi Adam, thank you for your reply.
It was an issue with some password chars.
Now the error has been fixed, but I have a new one in the Limesurvey container: MySQL Connection Error: ()
This is the docker-compose.yml
I am using:
version: '2'
services:
limesurvey:
image: acspri/limesurvey:5.3.28
depends_on:
- mysql
ports:
- 8082:80
environment:
LIMESURVEY_DB_PASSWORD: <pwd>
LIMESURVEY_ADMIN_USER: admin
LIMESURVEY_ADMIN_PASSWORD: <pwd2>
LIMESURVEY_ADMIN_NAME: Administrator
LIMESURVEY_ADMIN_EMAIL: <name>
volumes:
- /srv/limesurvey/plugins:/var/www/html/plugins
- /srv/limesurvey/upload:/var/www/html/upload
- /srv/limesurvey/config:/var/www/html/application/config
mysql:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: <pwd>
You may need to set the LIMESURVEY_DB_HOST environment var just to be sure. Eg: LIMESURVEY_DB_HOST: mysql
Also I suggest you use the mariadb:10.5 image tag
Images tested:
5.3.27
,5.3.28
Hi,
I used the
docker-compose.yml
template suggested in the repo to setup an instance of limesurvey.Unfortunately, I got an error when I launch the containers, in the limesurvey container:
Any hint on what could it be?