-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
docker container image to run slackdump #206
Comments
Hey @akostadinov , thanks for the suggestion. It is possible to make the docker container with the Slackdump, however, that would not solve the problem that you're seeing — it won't be able to show the browser window in the OS from inside the docker container easily. Probably there's a way to make it connect to the X-window system on the host running the container, but that won't work on Windows or macOS that don't have X-windows installed. I'll see what I can do about this error, I don't remember if master branch has the ability to choose the browser, but that would have helped. The workaround meanwhile would be the same as with containers - get the credentials (token/cookie) manually. |
Hey @akostadinov , i propagated the browser selection to the cli, you can try and use the flag |
Also, if anyone else is experiencing this issue, please let me know. For the record, what type and version of Linux are you using, @akostadinov? |
Thank you! I'll give it a try and report if I see issues. I'm on Fedora 36 |
Just FYI the So I had to use the manual credentials which appears to work, at least it shows log messages that threads are downloaded. I see errors like this though:
|
Thanks a lot for the great program! Things seem to work. The empty attachments I think are google docs attachments that are not real attachments. So maybe it is worth making Just want to point out that For getting the exports, either use While it will not allow auto-login with a browser, it will still help people that don't want to run downloaded executables or don't want to pollute their home dirs with stuff like the playwright downloads. |
Thanks for checking and your suggestions on goreleaser deployment — I'll have a look at that. Regarding the file attachment, this error can also happen if you're running on a free Slack Workspace and the file attachment is older than 90 days and and slack hides it, but as you're saying that it's a google docs, it's interesting because I have never encountered this with google docs. Would you be able to lookup the file "mode" value in the "files" object for it? You can locate it in the dump JSON file by searching for "F06DJ8P72J0". I guessing it would be of a "tombstone" type? Or, if you feel comfortable attaching the "files" object entirely, (you can remove the download URLs, filename and all identifiable fields, I'll be looking at the system fields only), I'd greatly appreciate that. This is my public GPG key that you could use to encrypt it and then just post it here:
|
I tried to randomize the file id, user id and URL to begin with. Also I doubt there's anything very secret in the document. But encrypting it to err on the safe side anyway. For lurkers, the file is listed as:
-----BEGIN PGP MESSAGE----- hQIMA+FHKt6pGXQBAQ//ft8TnbsyUN7P0OY4dpL0qCBj2YDcC8yRE5ANeSEDgPL5 P.S. Plan is presently not free, I don't know exactly what it is. But we are migrating off that instance, that's how I found this project. |
Thank you! I successfully decrypted and checked the JSON, will modify the downloader to skip the "external" files. Looks like these types of files appear when one has come kind of google drive integration, strange that no one reported it yet 🤔 Will have to mess around with this, maybe it would be even possible to fetch those. TODO:
|
Is your feature request related to a problem? Please describe.
Hi, would be easier to have a container to run instead of relying on installing things on host machine. For example I tried to run slackdump locally and I see
[pid=617132][err] /home/user/.cache/ms-playwright/firefox-1319/firefox/libstdc++.so.6: version 'GLIBCXX_3.4.30' not found (required by /lib64/libicuuc.so.69)
Describe the solution you'd like
Add docker image to release matrics. Using ghcr.io or dockerhub doesn't matter.
Describe alternatives you've considered
Alternative is to figure out local machine setup which is not ideal and not always feasible.
The text was updated successfully, but these errors were encountered: