Question about multi-location / multi-user sqlite setups
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- docker, docker-compose, sqlite
- Ambito
- databases, devops, infrastructure
Direzione di ricerca
Inizia da tests/docker-compose.sqlite.yml e dal mapping del volume aggiunto a /var/www/wallabag/data/db, quindi esamina i log del container alla ricerca dell’Exit code 1 e dello stato unhealthy segnalati. Il lavoro sarà considerato completato quando sarà disponibile un approccio documentato e riproducibile per condividere o spostare i dati SQLite e gestire la configurazione in due posizioni e multiutente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hello I'm a new Wallabag user and I just took example from this docker compose file to set up Wallabag with sqlite database.
Since in my use case I'll be in France or in Italy and will need to access my links also in case of faulty connection (or in case my raspberry goes down as sometimes might happen) I chose to avoid using maria-db. This would give me the option of easily migrating the saved images/files, with the sqlite database and just change the server url in the mobile app.
A first question about this setup: what composer entry could I use to store the sqlite database file with the rest of the data ? Alternatively how can I export/import the sqlite file from one container to the other to manually sync the two ?
Would it be necessary to wipe the android app cache at every server swap or just updating the sqlite and other files would be fine ?
Second issue: while in France I would be the only wallabag user while in Italy the users will be two.
To get a fast usable setup I simply created two separate containers for each user and two subdomains.
In this particular case are there other better solutions ?
Thanks for this wonderful tool. I've been looking for something like this for so long !
V.
EDIT: I just double checked for wallabag.sqlite file and added the following line to the volumes section of the docker compose file. - /DATA/AppData/wallabag/sqlite:/var/www/wallabag/data/db
Unfortunately, with that extra line, the container exits right after start and Portainer gives me Exit code 1 Status "Unhealty".
I'm not skilled enough (yet) to troubleshoot this. Any help will be greatly appreciated.
- Lingua principale
- Shell
- Stelle
- 775
- Fork
- 171
- Merge medio
- 38m
- PR unite (30g)
- 1
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di wallabag/docker
-
Docker fresh install failing with Postrgesql DBForse già presa @j0k3r l’ha presa 1 giorno fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 57/100
-
Awaiting response
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 28/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
-
Awaiting response
Difficoltà 4/5 3-5 giorni Idoneità per principianti 32/100
Tutte le issue di wallabag/docker
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 70/100
WordPress/Documentation-Issue-Tracker#2540 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 67/100
jfrog/JFrog-Cloud-Installers#535 ·
-
Delete outputs/lstmApertaNRDS AWS Costs NRDS AWS Output Data
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
CIROH-UA/ngen-datastream#435 ·
-
Update migenAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
YosysHQ/oss-cad-suite-build#220 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
docker-library/redmine#430 ·