carderne / signal-export

Export your Signal chats to markdown files with attachments
Other
481 stars 50 forks source link

Error: config.json not found in directory #104

Closed seanwynwins closed 6 months ago

seanwynwins commented 9 months ago

Desktop (please complete the following information):

Describe the bug A clear and concise description of what the bug is. Running

docker run carderne/sigexport --source ~/Library/Application\ Support/Signal/ --list-chats

this occurs:

Error: /Users/MyUser/Library/Application Support/Signal/config.json not found in directory /Users/MyUser/Library/Application Support/Signal

I've verified that the config.json exists at this path. I also tried giving read permissions to the relevant directories which didn't work.

To reproduce Steps to reproduce the behavior. Please include the exact commands tried.

  1. docker run carderne/sigexport --source ~/Library/Application\ Support/Signal/ --list-chats
carderne commented 6 months ago

Sorry that I never responded to this, I thought this would be some niggly user-specific thing but it's simply that you never mounted the volume. Docker doesn't have access to directories in your filesystem unless you specifically mount them.

Please follow the instructions here: https://github.com/carderne/signal-export?tab=readme-ov-file#-no-python-install

seanwynwins commented 4 months ago

Thanks! Followed the instructions, sigexport ~/signal-chats works now!