Closed TheCorp closed 1 year ago
Hi @TheCorp sorry that I'm only responding now.
If you can share the following details I can try to help you:
No problem at all, I know this is a small side project!
signalexport output --chats=SomeChatName
and the output is consistently what I listed in the original comment above. I can tell its actually doing something because when I don't specify a chat it runs for longer but I never see any output.Any tips? Should I just go back and try the direct Docker method? ie something like this?
-v "$SIGNAL_INPUT:/Signal" \
-v "$SIGNAL_OUTPUT:/output" \
carderne/signal-export:latest --overwrite --chats=Jim```
Ahhh man, I am very dumb. I had not set the env variables! I somehow missed that step. Maybe a better warning or error there would help the dummies like me. I got it working when trying to run the actual direct Docker commands rather than going directly to the helper.
That being said, the helper still doesn't work, not sure why. I can try and mess around with that again if you can't think of anything. Maybe something to do with the "realpath" command not found
part?
Can you try changing helper.sh
as follows and see if it works. (Baiscally, replace realpath
with readlink -f
.)
- output=$(readlink -f $1)
+ output=$(realpath $1)
I had a report #55 that readlink
doesn't work, but some Googling suggests its more likely to work than realpath
.
(Don't forget to resource the script afterwards source helper.sh
).
Actually have a better solution. I just https://github.com/carderne/signal-export/commit/2b9ea75a7f3ee4e1d184920137503096a27db52c updated the helper.sh
script to avoid the realpath
issue.
Download/pull the latest version and try it out!
Huzzah, it works! Thanks man, this is great. Appreciate the extended help.
What's the best way to do feature requests? I think my only request at this point is to have a single page of full output of each chat (maybe separate from the paginated version) to make it easier to search. Not a huge issue regardless. Thanks again.
You can add -p 0
to get a non-paginated version.
So I used the Docker method which seemed to work smoothly, I also used the helper.sh method to make it easier. I see no output though despite what seems to be a clean run... No output to be found... Am I doing something wrong here?