carderne / signal-export

Export your Signal chats to markdown files with attachments
Other
436 stars 46 forks source link

Docker issue config.json #52

Closed vinnytroia closed 2 years ago

vinnytroia commented 2 years ago

Hi. I am trying to load the docker image and I keep getting: /Signal/config.json not found in directory /Signal

I'm not sure where it is looking for this config file. I have tried setting env variables with the input and output paths but that doesn't seem to help.

I am running Mac 12.1

Thanks

carderne commented 2 years ago

Please share the exact commands you entered. And make sure that there are actually Signal files in the directory you set as SIGNAL_INPUT.

vinnytroia commented 2 years ago

Which environment do you set these variables? I also replaced the variable names with the full path on my computer /users/name/library, etc Can’t I edit this after the docket is launched ?

Vinny Troia, PhD

Founder, Head of Research // ShadowByte


From: Chris Arderne @.> Sent: Saturday, February 5, 2022 8:55:13 AM To: carderne/signal-export @.> Cc: Vinny Troia @.>; Author @.> Subject: Re: [carderne/signal-export] Docker issue config.json (Issue #52)

Please share the exact commands you entered. And make sure that there are actually Signal files in the directory you set as SIGNAL_INPUT.

— Reply to this email directly, view it on GitHubhttps://github.com/carderne/signal-export/issues/52#issuecomment-1030638747, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAMY7T3VJ4M572BSXKLB6D3UZU25DANCNFSM5NSU5B3Q. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.***>

carderne commented 2 years ago

Hi @vinnytroia I can't help if you don't share the command you entered.

These are the environment variables:

SIGNAL_INPUT=~/Library/Application Support/Signal
SIGNAL_OUTPUT=~/Downloads/signal-output

They are substituted in when you run the script:

docker run --rm -it --name signal-export \
  -v ${SIGNAL_INPUT}:/Signal \
  -v ${SIGNAL_OUTPUT}:/output \
  carderne/signal-export:latest

An alternative is to just enter them in directly without the env vars:

docker run --rm -it --name signal-export \
  -v ~/Library/Application Support/Signal:/Signal \
  -v ~/Downloads/signal-output:/output \
  carderne/signal-export:latest
vinnytroia commented 2 years ago

Sorry, re-visiting this. This SHOULD work, but i keep getting: docker: invalid reference format: repository name must be lowercase. WHich is strange because everything is lowercase except for the path info.

For reference:

docker run --rm -it --name signal-export -v ~/Library/Application Support/Signal:/Signal -v ~/Downloads/signal-output:/output signal-export:latest