Comments (6)
can you please share your full docker-compose file.
When you say "everything erases" do you mean the files or the LimeSurvey content such as surveys? LimeSurvey stores most data in the database so please ensure that the database container volume will persist.
from limesurvey-docker.
Thanks for the response!
please ensure that the database container volume will persist
That might be my issue... what is the volume that contains the db? Here's the complete compose
version: '2'
services:
limesurvey:
image: adamzammit/limesurvey
container_name: ccea-lime
networks:
- cceadockernet
restart: always
expose:
- 80
environment:
LIMESURVEY_DB_HOST: ccea-lime-db
LIMESURVEY_DB_PASSWORD: secret
LIMESURVEY_ADMIN_USER: secret
LIMESURVEY_ADMIN_PASSWORD: secret
LIMESURVEY_ADMIN_NAME: secret
LIMESURVEY_ADMIN_EMAIL: secret
LIMESURVEY_FROM_EMAIL: secret
LIMESURVEY_SMTP_HOST: secret
LIMESURVEY_SMTP_USER: secret
LIMESURVEY_SMTP_PASSWORD: secret
LIMESURVEY_SMTP_SSL: ssl
LIMESURVEY_DEBUG: 1
volumes:
- /docker/ccea/lime/uploads:/var/www/html/upload
- /docker/ccea/lime/plugins:/var/www/html/plugins
- /docker/ccea/lime/config:/var/www/html/application/config
- /docker/ccea/lime/session:/var/lime/sessions
mysql:
image: mariadb:10.5
container_name: ccea-lime-db
networks:
- cceadockernet
restart: always
environment:
MYSQL_ROOT_PASSWORD: secret
networks:
cceadockernet:
external: true
I'm guessing that I need another volume bind in the mysql service?
Additionally, I renamed the container so that I can differentiate it from another instance running on the same host. Is that possibly an issue?
from limesurvey-docker.
try adding this to the mysql service
volumes:
- /docker/ccea/lime/mysql:/var/lib/mysql
from limesurvey-docker.
You are magical!
Thank you for the help! Adding that line to the docker-compose.yml did the trick! You may want to add that to the README.md for future noobs like me.
from limesurvey-docker.
First off, thanks again for your help! I really appreciate it and hope I am not taking advantage of your kindness.
Since making this change, I get this error upon survey submit... any thoughts?
from limesurvey-docker.
So a simple restart of the container and a refresh of the browser has solved this, but I'm not sure what caused it to begin with. Thanks for the help!
from limesurvey-docker.
Related Issues (20)
- Unbound variable error HOT 2
- Mysql errors after upgrading containers HOT 2
- CAPTCHA query not always reliable HOT 2
- unable to start limesurvey container: syntax error in config.php HOT 3
- Set timezone HOT 3
- Feature: Persistent sessions accross container restarts HOT 2
- Cannot access backend with nginx reverse proxy HOT 3
- Cannot reinstall limesurvey HOT 1
- Cannot sign in HOT 1
- docker-compose fails HOT 2
- Impossible to export structure lss survey HOT 6
- Persistent mode issue HOT 1
- SMTP mail from not set correctly HOT 2
- Permission Denied when restarting the server HOT 7
- Why I am getting this error? HOT 4
- Unable to copy survey HOT 7
- Reverse proxy limesurvey to sub-path HOT 2
- KC finder not working (cant upload anything) HOT 2
- index.php showing up in URLs HOT 3
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-docker.