Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not writing to db #131

Open
isaacrlevin opened this issue Apr 22, 2024 · 2 comments
Open

Not writing to db #131

isaacrlevin opened this issue Apr 22, 2024 · 2 comments

Comments

@isaacrlevin
Copy link

Not sure if I am doing something wrong but I create a new site, add my API Key and Hash as well as channel. When I run tg-archive --sync it starts to download content, but I see no entries in the sqlite table at all.....

@saurabhrane1199
Copy link

Do you see any specific error while running the command ?

@Adam-Reimer
Copy link

Not OP but same issue. But I've also just started.

2024-08-25 00:55:11,552: downloading media #68
2024-08-25 00:55:11,747: downloading media #69
2024-08-25 00:55:12,018: downloading media #70
2024-08-25 00:55:31,183: Disconnecting borrowed sender for DC 5
2024-08-25 00:55:31,183: Disconnecting from 91.108.56.105:443/TcpFull...
2024-08-25 00:55:31,184: Disconnection from 91.108.56.105:443/TcpFull complete!
2024-08-25 00:56:31,195: Disconnecting borrowed sender for DC 2
2024-08-25 00:56:31,195: Disconnecting from 149.154.167.50:443/TcpFull...
2024-08-25 00:56:31,196: Disconnection from 149.154.167.50:443/TcpFull complete!
2024-08-25 00:56:31,196: Disconnecting borrowed sender for DC 4
2024-08-25 00:56:31,196: Disconnecting from 149.154.167.91:443/TcpFull...
2024-08-25 00:56:31,240: Disconnection from 149.154.167.91:443/TcpFull complete!
2024-08-25 00:58:51,481: downloading media #72
2024-08-25 00:59:12,609: downloading media #73
2024-08-25 00:59:17,672: downloading media #74
2024-08-25 01:04:41,085: downloading media #75
2024-08-25 01:04:41,147: Connecting to 149.154.167.91:443/TcpFull...
2024-08-25 01:04:41,254: Connection to 149.154.167.91:443/TcpFull complete!
2024-08-25 01:04:41,680: downloading media #76
2024-08-25 01:04:45,803: downloading media #78
2024-08-25 01:04:45,984: downloading media #81
2024-08-25 01:04:56,908: downloading media #83
2024-08-25 01:06:31,383: Disconnecting borrowed sender for DC 4
2024-08-25 01:06:31,383: Disconnecting from 149.154.167.91:443/TcpFull...
2024-08-25 01:06:31,384: Disconnection from 149.154.167.91:443/TcpFull complete!

so far monitoring the data.sqlite and data.sqlite-journal they're still minimal size. 16384 bytes for data.sqlite, and 16928 bytes for data.sqlite-journal.

Without digging too much into the code, would I be correct in assuming that on first run, it'll download the files first, then start archiving the messages?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants