Comments (9)
@besendorf @vocux
I added a docker-compose
file example at docker hub, too. I tested it with the alpine container.
version: '3'
services:
etesync:
container_name: etesync
image: grburst/etesync:alpine
restart: always
ports:
- "80:3735"
volumes:
- data-etesync:/data
environment:
SERVER: ${SERVER:-uwsgi}
SUPER_USER: ${SUPER_USER:-admin}
SUPER_PASS: ${SUPER_PASS:-admin}
volumes:
data-etesync:
from docker-etebase.
I also ran into this. Workaround for me was to mount the existing database file into the container directly at /etesync/db.sqlite3
: /path/to/db.sqlite3:/etesync/db.sqlite3
, and then set the ETESYNC_DB_PATH
environment variable to /etesync
. It found the database, and started up just fine then. Both etesync itself and the admin pages work.
from docker-etebase.
@ProjectMoon Awesome - did the trick for me too :) Actually didn't realise you could mount files direct in docker - thought it was directories only! Appreciate the insight (though curious how this was working for project author)!
from docker-etebase.
Is this the same issue I have as desribed here? #6
I tried to do what @ProjectMoon said with docker-compose:
version: "3"
services:
etesync:
image: victorrds/etesync:alpine
restart: always
volumes:
- /home/user/etesync/data:/etesync
environment:
SUPER_USER: "admin"
SUPER_PASS: "censored"
SERVER: "http-socket"
ETESYNC_DB_PATH: "/etesync"
networks:
- etesync
but then I get this error:
etesync_1 | Starting ETESync
etesync_1 | realpath() of etesync.ini failed: No such file or directory [core/utils.c line 3654]
from docker-etebase.
If you mount the data directory to /etesync, you will overwrite the entirety of the etesync directory, which will wipe out all the files that would be there in the container.
from docker-etebase.
I've never used any previous version but also get the 500 error when trying to hook up a client or log in at the admin page. I can't get anything to work.
Tried @ProjectMoon s suggestion:
etesync:
image: victorrds/etesync
container_name: 'etesync'
environment:
SERVER: http
SUPER_USER: test
SUPER_PASS: test
ETESYNC_DB_PATH: "/etesync"
restart: always
volumes:
- ./etesync/db.sqlite3:/etesync/db.sqlite3
ports:
- 80:3735
It never writes any database files.
Also a completely 'clean' version as suggested in the readme doesn't work:
etesync:
image: victorrds/etesync
container_name: 'etesync'
environment:
SERVER: http
SUPER_USER: test
SUPER_PASS: test
restart: always
ports:
- 80:3735
I get the same error.
Am I overlooking something major here?
from docker-etebase.
@vocux
The container also has some permission issues as mentioned by @stevesbrain.
I ran into these issues, too. Since there are open pull requests (like #8) and no responses from the author @victor-rds, I forked this repo and pushed the container on dockerhub (grburst/etesync).
from docker-etebase.
@GRBurst Works like a charm, thank you! :)
from docker-etebase.
I've revamped the Dockerfile, and since someone already forked and fixed I will close this
from docker-etebase.
Related Issues (20)
- Dependency Dashboard
- Action Required: Fix Renovate Configuration
- 404 Not Found for static files in standalone docker-compose example HOT 2
- Error loading psycopg2 module: No module named 'psycopg2' HOT 1
- ModuleNotFoundError: No module named 'myauth' HOT 1
- Add LDAP support HOT 1
- Update releases on Dockerhub HOT 2
- Make GitHub releases HOT 4
- Static path HOT 1
- Cannot build a working docker image HOT 5
- Difference to the upstream docker images (and the reason for existence ;)) HOT 4
- Docker-compose examples link is broken 404. HOT 1
- Apache as a reverse proxy with docker-etebase
- etesync can't connect to database " could not translate host name "postgres" to address: Temporary failure in name resolution" HOT 1
- Failed to start , Redis URL must specify one of the following schemes (redis://, rediss://, unix://) HOT 3
- Alpine ARM build failing HOT 3
- Connection timeout to postgres database HOT 1
- Timezone Issue
- Add CORS option
- Docker Hub images potentially out of date HOT 1
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 docker-etebase.