CLI --rescan argument unrecognized
See original GitHub issueRunning EPS (0.1.6) under Debain Buster (fresh, in a Docker) the CLI argument --rescan returns “unrecognized arguments” when trying to set up a wallet with existing transactions.
root@a3509f5df03e:/usr/local/bin# electrum-personal-server --rescan /usr/local/etc/electrum-personal-server/config.cfg
usage: electrum-personal-server [-h] [-l LOG] [-a] [-f LOGFMT] [--loglevel {DEBUG,INFO,WARNING,ERROR,CRITICAL}] config_file
electrum-personal-server: error: unrecognized arguments: --rescan
root@a3509f5df03e:/usr/local/bin#
What does work is the electrum-personal-server-rescan script that scans from genesis without problem.
EPS runs perfectly once rescanned.
Docker setup files here although I really don’t think this is a Docker specific issue.
ADDED: The Docker container is built by unpacking the tarball as this saves space in the container by not having to install git (which has lots of dependencies). Were there any commits after the tarball was made? I can modify it to do a github pull if this is the case - it just increases the container file size.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Using --testURL as a CLI option results in Unrecognized CLI ...
Bug Report When running jest via the command line with a --testURL argument it says the parameter is unrecognized.
Read more >"Unrecognized command or argument 'upgrade'" when ...
An error with message "Unrecognized command or argument 'upgrade'" is observed when upgrading a project with the Sitefinity CLI.
Read more >Release notes & updates – Azure CLI - Microsoft Learn
Learn about the latest Azure Command-Line Interface (CLI) release notes and updates for both the current and beta versions of the CLI.
Read more >Command-Line Interface - Gradle User Manual
Options that accept values can be specified with or without = between the option and argument; however, use of = is recommended. --console=plain....
Read more >sqlpackage exception: Unrecognized command line argument ...
Very simple solution :) I had to run the CMD as administrator.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ideally, especially for Docker use (and BTCpay integration) there would be an option like --rescan-all that would rescan from genesis without user input. A full rescan from genesis only took about 1 hour for one 2,000 address Electrum wallet on moderately slow hardware and I think this would be the most bullet-proof (and user-proof) solution.
OK - I’ll try it out and report back. Closing this for now.