Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

Error after upgrading #7

Open
nemomaximus opened this issue Dec 7, 2022 · 2 comments
Open

Error after upgrading #7

nemomaximus opened this issue Dec 7, 2022 · 2 comments

Comments

@nemomaximus
Copy link

Just did an update of monero-bash to the following versions:

monero-bash | v1.9.5
Monero      | v0.18.1.2
XMRig       | v6.18.1
P2Pool      | v2.6

However, P2Pool doesn't seem to work as it should, monero-bash status returns the following:

[P2Pool] ONLINE
| %CPU |     ELAPSED |     PID |
|  211 |       00:22 |     332 |
--------------------------------
/usr/local/share/monero-bash/src/func/status.sh: line 177: warning: command substitution: ignored null byte in input
[monero-bash warning] P2Pool API file was not found, stats will be inaccurate!
[monero-bash warning] Consider restarting P2Pool. It will regenerate necessary files.

How shall I fix this?

@nemomaximus
Copy link
Author

Seems to be working now, but I still get the warning:

[P2Pool] ONLINE
| %CPU |     ELAPSED |     PID |
| 27.0 |       17:59 |     332 |
--------------------------------
/usr/local/share/monero-bash/src/func/status.sh: line 177: warning: command substitution: ignored null byte in input
Wallet        | [xxxxxxxxxxx]
Effort        | [average: 0%] [current: 9.555%]
Hashrate      | [15s/1h/24h] [9005 H/s] [8585 H/s] [8585 H/s]
Connection    | [miners: 2] [sidechain: P2Pool Mini]
~~~

@hinto-janai
Copy link
Owner

P2Pool doesn't immediately create the API file so you'll see that error until it does.

The line 177 warning means your p2pool.log has a null byte in it. It doesn't really matter but if it annoys you, you could try restarting P2Pool (with monero-bash restart p2pool) which will reset the log for you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants