Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Question about multi-location / multi-user sqlite setups

Aperta
#341 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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

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

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di wallabag/docker

Tutte le issue di wallabag/docker

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.