You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
On Ubuntu 24.04, when running Nethermind (v1.30.2 and later) via systemd, the application crashes when the --datadir argument is passed using the ‘=’ syntax (e.g., --datadir=/vm-datadisk/nethermind). The error message produced is:
Unrecognized command or argument '/vm-datadisk/nethermind'.
Steps to Reproduce
Create or update a systemd service file with the following flags (in this exact order):
I recall a user reported a similar issue on Discord that we couldn't reproduce. The workaround was to make the --data-dir not to be the first parameter. But we don't have any changes related to = handling.
This could be a bug in the underlying parser library. Needs an investigation.
We were not able to reproduce the issue on our end. @mostwanted7 Could you please try the same with Docker?
Also, a few remarks about the report above:
--network=holesky: Nethermind doesn't have a --network option. It's -c, --config instead. Otherwise, there will be the "Unrecognized command or argument..." error.
Even though the flag is getting deprecated and replaced by data-dir, it is still supported with a warning, and therefore should work.
What warning do you mean? There should not be any warning about that.
ohko4711
added a commit
to ohko4711/EthPillar-Endurance
that referenced
this issue
Feb 23, 2025
Description
On Ubuntu 24.04, when running Nethermind (v1.30.2 and later) via systemd, the application crashes when the --datadir argument is passed using the ‘=’ syntax (e.g., --datadir=/vm-datadisk/nethermind). The error message produced is:
Unrecognized command or argument '/vm-datadisk/nethermind'.
Steps to Reproduce
Workarounds
Environment
Additional context
The text was updated successfully, but these errors were encountered: