question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

CLI --rescan argument unrecognized

See original GitHub issue

Running 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:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
peleioncommented, Nov 12, 2019

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.

0reactions
peleioncommented, Nov 12, 2019

OK - I’ll try it out and report back. Closing this for now.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found