signal-cli-rest-api icon indicating copy to clipboard operation
signal-cli-rest-api copied to clipboard

signal-cli config does not default to /home/.local/share/signal-cli/ so account information does not persist

Open eric72777 opened this issue 1 year ago • 1 comments

The problem

The container does not default to having the signal-cli config default to /home/.local/share/signal-cli/ so if the user sets up the system per the documentation, the signal account registration information won't persist after a docker compose down.

Temporary Fix for Users

To temporarily fix this, I explicitly added the env variable - SIGNAL_CLI_CONFIG_DIR=/home/.local/share/signal-cli/ and it works fine. However, this isn't the fix for the bug since the container should default to this location per the documentation.

Are you using the latest released version?

  • [X] Yes

Have you read the troubleshooting page?

  • [X] Yes

What type of installation are you running?

signal-cli-rest-api Docker Container

In which mode are you using the docker container?

JSON-RPC Mode

What's the architecture of your host system?

x86-64

Additional information

No response

eric72777 avatar Sep 08 '24 05:09 eric72777

Can't reproduce that issue. Have you maybe set the SIGNAL_CLI_CONFIG_DIR environment variable before (to some other value)?

bbernhard avatar Sep 13 '24 18:09 bbernhard