bug: directory content not uploaded to Tracim server
@buxx ci sta già lavorando.
Dal 24/9/2024.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Hi again Bux :-),
I ran trsync manually with a simple command:
./trsync ~/Tracim/ <Tracim FQDN> <space ID> <username>
I then moved from the trsync client a directory called docs-tech to ~/Tracim. When looking on the Tracim server, the directory has indeed been created but not its content (a few text files). Here is the log of trsync:
[2024-09-23T18:55:10Z INFO trsync::run2] Proceed event Local(DiskEventWrap("docs-tech", Created("docs-tech")))
[2024-09-23T18:55:10Z INFO trsync::operation::operator] Proceed event : Local(DiskEventWrap("docs-tech", Created("docs-tech")))
[2024-09-23T18:55:11Z INFO trsync::remote::watcher] remote event : content.created.folder (159504)
[2024-09-23T18:55:11Z INFO trsync::run2] Proceed event Remote(Created(ContentId(159504)))
[2024-09-23T18:55:11Z INFO trsync::operation::operator] Ignore event (planned ignore) : Remote(Created(ContentId(159504)))
Process was still running but printed nothing after this line.
Here are the corresponding apache log on the server:
172.18.0.1 - - [23/Sep/2024:18:55:11 +0000] "POST /api/workspaces/682/contents HTTP/1.1" 200 1143 "-" "-"
172.18.0.1 - - [23/Sep/2024:18:55:11 +0000] "GET /api/workspaces/682/contents/159504 HTTP/1.1" 302 486 "-" "-"
172.18.0.1 - - [23/Sep/2024:18:55:11 +0000] "GET /api/workspaces/682/folders/159504 HTTP/1.1" 200 1201 "https://server_fqdn/api/workspaces/682/contents/159504" "-"
172.18.0.1 - - [23/Sep/2024:18:55:11 +0000] "GET /ui/login HTTP/1.1" 200 11083 "-" "Go-http-client/1.1"
172.18.0.1 - - [23/Sep/2024:18:55:11 +0000] "GET /api/workspaces/682/contents/159504 HTTP/1.1" 302 487 "-" "-"
172.18.0.1 - - [23/Sep/2024:18:55:11 +0000] "GET /api/workspaces/682/folders/159504 HTTP/1.1" 200 1201 "https://server_fqdn/api/workspaces/682/contents/159504" "-"
I then stopped and restarted trsync with the same command: files were uploaded immediately. In trsync logs, the following lines appear for each file:
[2024-09-23T19:06:14Z INFO trsync::operation::operator] Proceed event : Local(DiskEventWrap("docs-tech/foo.md", Created("docs-tech/foo.md")))
[2024-09-23T19:06:15Z INFO trsync::remote::watcher] remote event : content.created.file (159508) [2024-09-23T19:06:15Z INFO trsync::remote::watcher] remote event : content.modified.file (159508)
[2024-09-23T19:06:15Z INFO trsync::remote::watcher] remote event : content.modified.file (159508)
[2024-09-23T19:06:33Z INFO trsync::run2] Proceed event Remote(Created(ContentId(159508)))
[2024-09-23T19:06:33Z INFO trsync::operation::operator] Ignore event (planned ignore) : Remote(Created(ContentId(159508))) [2024-09-23T19:06:33Z INFO trsync::run2] Proceed event Remote(Updated(ContentId(159508)))
[2024-09-23T19:06:34Z INFO trsync::operation::operator] Ignore event (planned ignore) : Remote(Updated(ContentId(159508))) [2024-09-23T19:06:34Z INFO trsync::run2] Proceed event Remote(Updated(ContentId(159508)))
[2024-09-23T19:06:34Z INFO trsync::operation::operator] Proceed event : Remote(Updated(ContentId(159508)))
./trsync --version: basic 0.3.2
Thanks,
Yvan
- Lingua principale
- Rust
- Stelle
- 15
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 buxx/trsync
-
Bug: trsync_manager crashes when doing a permanent deleteForse di nuovo libera @buxx l’ha presa 739 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Bug: trsync crashes with "UnexpectedError"Forse di nuovo libera @buxx l’ha presa 753 giorni fa e non c’è nessuna pull request aperta. Apertabug
-
bug: password not found in secret managerForse di nuovo libera @buxx l’ha presa 763 giorni fa e non c’è nessuna pull request aperta. Aperta
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
-
Architecture by pathForse di nuovo libera @buxx l’ha presa 1338 giorni fa e non c’è nessuna pull request aperta. Apertaenhancement
Issue simili
-
documentation enhancement SIEM
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
ADORSYS-GIS/wazuh-agent-status#265 ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
manuscript-lang/manuscript#1629 ·
I maintainer di solito rispondono entro 1 giorno
-
autofixer: follow-up
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
tursodatabase/turso#10885 ·
I maintainer di solito rispondono entro 1 giorno
-
🐞 bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
nannou-org/gantz#475 ·
I maintainer di solito rispondono entro 1 giorno