Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork110
Description
Describe the bug
I'm trying to resume a slackdump archive. A couple of months ago, I fully populated it over the course of several days; and have done a resume on it several times since then. But now when I do so, after a few minutes, it shows this error, then seems to freeze a few seconds later:
2025-09-20 23:22:05 ERROR WithRetry ├ error: channel_not_found ├ attempt: 1 └ maxAttempts: 3Annoyingly, it doesn't say which channel is the problem, so I don't know what exactly happened to cause it.
The reason I am using Slackdump is that we sadly have a 6 month retention policy set, despite having a Business+ plan, and unlimited retention being a primary goal of Slack and a key reason you'd pay for it 🤦
Authentication type
Google SSO, which I did a couple of months ago (2025-07-12)
To Reproduce
- Run
time slackdump resume -refresh -v slackdump_20250712_002557 - Wait a minute or so while some dumping happens
- Observe the error being logged, then after a few seconds, logging stops
Expected behavior
If a channel has been deleted, ignore it, and continuing to dump the rest of the channels.
Output
Here is the debug output from 10 seconds before the error, up until the freeze. Nothing further was logged after the last message for over 20 minutes (I then closed it). I've tried this a few times, and this time it showed a second related error.
2025-09-20 23:32:39 DEBUG channel finalisation ├ is_complete: false └ channel_id: C01AY470Q8J2025-09-20 23:32:39 DEBUG not complete, skipping ├ channel_id: C01AY470Q8J └ is_complete: false2025-09-20 23:32:39 DEBUG - getting thread └ slack_link: C01AY470Q8J:1755236724.5570992025-09-20 23:32:39 INFO stream result: <Thread[C01AY470Q8J:1755240626.331419]>2025-09-20 23:32:39 DEBUG inserted chunk ├ channel_id: C08CS770PJ8 ├ type: ChannelInfo ├ final: false ├ thread_only: false ├ id: 117497 └ len: 12025-09-20 23:32:40 DEBUG inserted chunk ├ final: true ├ thread_only: false ├ id: 117498 ├ len: 0 ├ channel_id: C08CS770PJ8 └ type: Messages2025-09-20 23:32:40 DEBUG channel finalisation ├ channel_id: C08CS770PJ8 └ is_complete: true2025-09-20 23:32:40 DEBUG calling channel transform ├ is_complete: true └ channel_id: C08CS770PJ82025-09-20 23:32:40 DEBUG server reported channel done channel_id: C08CS770PJ82025-09-20 23:32:40 INFO stream result: <C08CS770PJ8>2025-09-20 23:32:40 DEBUG inserted chunk ├ thread_only: false ├ id: 117499 ├ len: 3 ├ channel_id: C01AY470Q8J ├ type: ThreadMessages └ final: true2025-09-20 23:32:41 DEBUG channel finalisation ├ channel_id: C01AY470Q8J └ is_complete: false2025-09-20 23:32:41 DEBUG not complete, skipping ├ channel_id: C01AY470Q8J └ is_complete: false2025-09-20 23:32:41 DEBUG - getting thread └ slack_link: C01AY470Q8J:1755214660.2013092025-09-20 23:32:41 INFO stream result: <Thread[C01AY470Q8J:1755236724.557099]>2025-09-20 23:32:41 DEBUG inserted chunk ├ thread_only: false ├ id: 117500 ├ len: 3 ├ channel_id: C07R06A4BPH ├ type: ChannelUsers └ final: false2025-09-20 23:32:41 DEBUG inserted chunk ├ final: false ├ thread_only: false ├ id: 117501 ├ len: 1 ├ channel_id: C07R06A4BPH └ type: ChannelInfo2025-09-20 23:32:41 DEBUG inserted chunk ├ id: 117502 ├ len: 0 ├ channel_id: C07R06A4BPH ├ type: Messages ├ final: true └ thread_only: false2025-09-20 23:32:42 DEBUG channel finalisation ├ channel_id: C07R06A4BPH └ is_complete: true2025-09-20 23:32:42 DEBUG calling channel transform ├ channel_id: C07R06A4BPH └ is_complete: true2025-09-20 23:32:42 DEBUG server reported channel done channel_id: C07R06A4BPH2025-09-20 23:32:42 INFO stream result: <C07R06A4BPH>2025-09-20 23:32:42 DEBUG inserted chunk ├ channel_id: C01AY470Q8J ├ type: ThreadMessages ├ final: true ├ thread_only: false ├ id: 117503 └ len: 52025-09-20 23:32:43 DEBUG channel finalisation ├ channel_id: C01AY470Q8J └ is_complete: false2025-09-20 23:32:43 DEBUG not complete, skipping ├ channel_id: C01AY470Q8J └ is_complete: false2025-09-20 23:32:43 DEBUG - getting thread └ slack_link: C01AY470Q8J:1755073396.9021592025-09-20 23:32:43 INFO stream result: <Thread[C01AY470Q8J:1755214660.201309]>2025-09-20 23:32:43 DEBUG inserted chunk ├ final: false ├ thread_only: false ├ id: 117504 ├ len: 7 ├ channel_id: C08BDF0JJB1 └ type: ChannelUsers2025-09-20 23:32:43 DEBUG inserted chunk ├ id: 117505 ├ len: 1 ├ channel_id: C08BDF0JJB1 ├ type: ChannelInfo ├ final: false └ thread_only: false2025-09-20 23:32:43 DEBUG inserted chunk ├ type: Messages ├ final: true ├ thread_only: false ├ id: 117506 ├ len: 0 └ channel_id: C08BDF0JJB12025-09-20 23:32:44 DEBUG channel finalisation ├ channel_id: C08BDF0JJB1 └ is_complete: true2025-09-20 23:32:44 DEBUG calling channel transform ├ is_complete: true └ channel_id: C08BDF0JJB12025-09-20 23:32:44 DEBUG server reported channel done channel_id: C08BDF0JJB12025-09-20 23:32:44 INFO stream result: <C08BDF0JJB1>2025-09-20 23:32:44 DEBUG inserted chunk ├ len: 2 ├ channel_id: C01AY470Q8J ├ type: ThreadMessages ├ final: true ├ thread_only: false └ id: 1175072025-09-20 23:32:46 DEBUG channel finalisation ├ channel_id: C01AY470Q8J └ is_complete: false2025-09-20 23:32:46 DEBUG not complete, skipping ├ channel_id: C01AY470Q8J └ is_complete: false2025-09-20 23:32:46 DEBUG - getting thread └ slack_link: C01AY470Q8J:1754897592.5137292025-09-20 23:32:46 INFO stream result: <Thread[C01AY470Q8J:1755073396.902159]>2025-09-20 23:32:46 DEBUG inserted chunk ├ id: 117508 ├ len: 80 ├ channel_id: CU3AG2PR7 ├ type: ChannelUsers ├ final: false └ thread_only: false2025-09-20 23:32:46 DEBUG inserted chunk ├ id: 117509 ├ len: 1 ├ channel_id: CU3AG2PR7 ├ type: ChannelInfo ├ final: false └ thread_only: false2025-09-20 23:32:46 DEBUG inserted chunk ├ id: 117510 ├ len: 5 ├ channel_id: C01AY470Q8J ├ type: ThreadMessages ├ final: true └ thread_only: false2025-09-20 23:32:48 DEBUG channel finalisation ├ channel_id: C01AY470Q8J └ is_complete: false2025-09-20 23:32:48 DEBUG not complete, skipping ├ is_complete: false └ channel_id: C01AY470Q8J2025-09-20 23:32:48 DEBUG - getting thread └ slack_link: C01AY470Q8J:1754897366.8188892025-09-20 23:32:48 INFO stream result: <Thread[C01AY470Q8J:1754897592.513729]>2025-09-20 23:32:48 DEBUG inserted chunk ├ id: 117511 ├ len: 1 ├ channel_id: CU3AG2PR7 ├ type: Messages ├ final: true └ thread_only: false2025-09-20 23:32:48 DEBUG channel finalisation ├ channel_id: CU3AG2PR7 └ is_complete: true2025-09-20 23:32:48 DEBUG calling channel transform ├ channel_id: CU3AG2PR7 └ is_complete: true2025-09-20 23:32:48 DEBUG server reported channel done channel_id: CU3AG2PR72025-09-20 23:32:48 INFO stream result: <CU3AG2PR7>2025-09-20 23:32:48 DEBUG inserted chunk ├ thread_only: false ├ id: 117512 ├ len: 3 ├ channel_id: C01AY470Q8J ├ type: ThreadMessages └ final: true2025-09-20 23:32:49 ERROR WithRetry ├ maxAttempts: 3 ├ error: channel_not_found └ attempt: 12025-09-20 23:32:49 ERROR WithRetry ├ error: error getting channel information: channel_not_found ├ attempt: 1 └ maxAttempts: 32025-09-20 23:32:49 DEBUG channel finalisation ├ channel_id: C01AY470Q8J └ is_complete: true2025-09-20 23:32:49 DEBUG calling channel transform ├ channel_id: C01AY470Q8J └ is_complete: true2025-09-20 23:32:49 DEBUG - getting thread └ slack_link: C08ML3Z71QX:1758259735.3192492025-09-20 23:32:49 DEBUG inserted chunk ├ channel_id: C04TZLPCA8Y ├ type: ChannelUsers ├ final: false ├ thread_only: false ├ id: 117513 └ len: 532025-09-20 23:32:49 DEBUG inserted chunk ├ id: 117514 ├ len: 1 ├ channel_id: C04TZLPCA8Y ├ type: ChannelInfo ├ final: false └ thread_only: false2025-09-20 23:32:50 DEBUG inserted chunk ├ final: true ├ thread_only: false ├ id: 117515 ├ len: 0 ├ channel_id: C04TZLPCA8Y └ type: Messages2025-09-20 23:32:51 DEBUG channel finalisation ├ channel_id: C04TZLPCA8Y └ is_complete: true2025-09-20 23:32:51 DEBUG calling channel transform ├ channel_id: C04TZLPCA8Y └ is_complete: true2025-09-20 23:32:51 DEBUG server reported channel done channel_id: C04TZLPCA8Y2025-09-20 23:32:51 DEBUG inserted chunk ├ thread_only: false ├ id: 117516 ├ len: 3 ├ channel_id: C08ML3Z71QX ├ type: ThreadMessages └ final: true2025-09-20 23:32:53 DEBUG channel finalisation ├ channel_id: C08ML3Z71QX └ is_complete: false2025-09-20 23:32:53 DEBUG not complete, skipping ├ channel_id: C08ML3Z71QX └ is_complete: false2025-09-20 23:32:53 DEBUG inserted chunk ├ thread_only: false ├ id: 117517 ├ len: 14 ├ channel_id: C06L55W53D3 ├ type: ChannelUsers └ final: false2025-09-20 23:32:53 DEBUG inserted chunk ├ channel_id: C06L55W53D3 ├ type: ChannelInfo ├ final: false ├ thread_only: false ├ id: 117518 └ len: 12025-09-20 23:32:53 DEBUG inserted chunk ├ channel_id: C06L55W53D3 ├ type: Messages ├ final: true ├ thread_only: false ├ id: 117519 └ len: 02025-09-20 23:32:54 DEBUG channel finalisation ├ channel_id: C06L55W53D3 └ is_complete: true2025-09-20 23:32:54 DEBUG calling channel transform ├ channel_id: C06L55W53D3 └ is_complete: true^C2025-09-20 23:54:55 DEBUG mutex locked, stopping downloader 2025-09-20 23:54:55 DEBUG requests channel closed, waiting for all downloads to │ complete2025-09-20 23:54:55 DEBUG all files processed 2025-09-20 23:54:55 DEBUG worker exiting 2025-09-20 23:54:55 DEBUG download worker terminated worker: 12025-09-20 23:54:55 DEBUG worker exiting 2025-09-20 23:54:55 DEBUG worker exiting 2025-09-20 23:54:55 DEBUG download worker terminated worker: 02025-09-20 23:54:55 DEBUG download worker terminated worker: 32025-09-20 23:54:55 DEBUG worker exiting 2025-09-20 23:54:55 DEBUG download worker terminated worker: 22025-09-20 23:54:55 DEBUG wait complete: no more files to download 2025-09-20 23:54:55 DEBUG conversations done in: runWorkers2025-09-20 23:54:55 DEBUG closing database connection 2025-09-20 23:54:55 INFO operation cancelled slackdump resume -refresh -v slackdump_20250712_002557 63.49s user 40.51s system 6% cpu 24:49.55 totalDesktop (please complete the following information):
- OS: macOS
- OS Version: 15.5 (24F74)
- Slackdump Version:
Slackdump 3.1.7 (commit: Homebrew) built on: 2025-08-10T11:08:12Z
Additional context
Edit:
It always freezes 5 or 6 seconds after the error. When the freeze happens, Activity Monitor shows no CPU or network activity for the process.
The error message mentions retries, but it doesn't appear to actually do any retrying.
It seems pretty random how long it runs for before freezing. In running it repeatedly, it's frozen after:
- 10m 02s
- 04m 42s
- 02m 31s
- 08m 12s
- 02m 20s