-
Notifications
You must be signed in to change notification settings - Fork 12
Known errors and fixes
"[ShareRecorder] Fallback due to Npgsql: PostgresExeception (23514: no partition of relation 'shares' found for row)"
Due to this, shares are not registered in the database and no payments can be done.
Solution: Some database configuration is not done or does not exest for this coin
- Advanced PostgreSQL Database setup
The following step needs to performed once for every new coin you add to your server or cluster.
Be sure to replace all occurences of pools_id
in the statement below with the id of your pool from your config.json
file:
sudo -u postgres -i
psql -d miningcore
CREATE TABLE shares_pools_id PARTITION OF shares FOR VALUES IN ('pools_id');
!!! Do this for every Coin you add to you server. If you have multiple server, add it on every server !!!
EXAMPLE:
lookup for the pools id in you config.json file. In this example pools id is VerusCoin
CREATE TABLE shares_VerusCoin PARTITION OF shares FOR VALUES IN ('VerusCoin');
config.json:
"pools": [
{
"id": "VerusCoin",
"enabled": true,
"coin": "VerusCoin",
"address": "RE9v8tCKiALVmkWbirTKc5cZpSJtuXswJ8",
Please help us to make this a great project by supporting in development.
You can also send a donation to support the project with any expenses needed to achieve our goal making this the number one!
- BTC: 3QT2WreQtanPHcMneg9LT2aH3s5nrSZsxr
- LTC: LTVnLEv8Xj6emGbf981nTyN54Mnyjbfgrg
- DASH: Xc2vm9SfRn8t1hyQgqi8Zrt3oFeGcQtw
- ETH: 0xBfD360CDd9014Bc5B348B65cBf79F78381694f4E
- ETC: 0xF4BFFC324bbeB63348F137B84f8d1Ade17B507E4
- XMR: 44riGcQcDp4EsboDJP284CFCnJ2qP7y8DAqGC4D9WtVbEqzxQ3qYXAUST57u5FkrVF7CXhsEc63QNWazJ5b9ygwBJBtB2kT
- ZEC: t1JtJtxTdgXCaYm1wzRfMRkGTJM4qLcm4FQ