ALLinONE-nknnode script, deploy nodes faster, with your own ChainDB!

I am looking at the nkn-node location:

nkn@localhost:~/nkn-commercial/services/nkn-node$ ls -alh
total 39M
drwxr-xr-x  6 nkn nkn 4.0K Jul  1 00:36 .
drwxr-xr-x  7 nkn nkn 4.0K Jun  2 09:23 ..
drwxr-xr-x  2 nkn nkn 184K Jul  1 01:23 ChainDB
-rw-r--r--  1 nkn nkn  232 May 11 13:04 ChainDB.config
drwxr--r--  2 nkn nkn 4.0K Jun 29 12:34 Log
drwxr-xr-x  2 nkn nkn 4.0K Jun  2 09:23 certs
-rwxr-xr-x  1 nkn nkn 2.2K May 11 12:53 config.json
-rw-r--r--  1 nkn nkn 2.2K Jun  2 09:23 default.json
-rw-r--r--  1 nkn nkn 763K Jul  1 02:03 nkn-node.log
-rw-r--r--  1 nkn nkn 1.1M Jul  1 00:36 nkn-node.log.1
-rwxr-xr-x  1 nkn nkn   23 Jun  2 09:23 nkn-service.json
-rwxr-xr-x  1 nkn nkn  15M Jun  2 09:23 nknc
-rwxr-xr-x  1 nkn nkn  23M Jun  2 09:23 nknd
-rwxr-xr-x  1 nkn nkn  323 May 11 12:53 wallet.json
-rwxr-xr-x  1 nkn nkn   33 May 11 12:53 wallet.pswd
drwxr-xr-x 10 nkn nkn 4.0K Jun  2 09:23 web
nkn@localhost:~/nkn-commercial/services/nkn-node$ cd Log/
nkn@localhost:~/nkn-commercial/services/nkn-node/Log$ ls -alh
total 99M
drwxr--r-- 2 nkn nkn 4.0K Jun 29 12:34 .
drwxr-xr-x 6 nkn nkn 4.0K Jul  1 00:36 ..
-rw-r--r-- 1 nkn nkn  21M Jun 24 10:06 2021-06-22_15.30.43_LOG.log
-rw-r--r-- 1 nkn nkn  21M Jun 26 03:42 2021-06-24_10.06.49_LOG.log
-rw-r--r-- 1 nkn nkn  21M Jun 27 20:39 2021-06-26_03.42.20_LOG.log
-rw-r--r-- 1 nkn nkn  21M Jun 29 12:34 2021-06-27_20.39.30_LOG.log
-rw-r--r-- 1 nkn nkn  19M Jul  1 02:04 2021-06-29_12.34.38_LOG.log
nkn@localhost:~/nkn-commercial/services/nkn-node/Log$

If I delete all *.log files, the situation will not change radically

I believe that the NKN blockchain is growing and takes up free space and the minimum 25GB recommended for NKN node deployment will not be enough.

Is it possible to build in the script the function of periodically freeing free space from non-essential files on the hard disk?

You are correct, currently the ChainDB is 17 GB, plus the server software, it gets to 25 GB pretty quickly.

Using glances on my server it tells me that my server is 23.4 GB out of 29.5 GB (a 30 GB storage server).

That can vary a lot since the Linux OS install sizes vary a lot. Some providers have normal or minimal installs. That can vary up to 2 GB in size on the OS side.

Apart from getting bigger servers there’s nothing much you can do.

1 Like

I installed a fresh NKN node with Debian 10, 25GB today at Vultr.
It has 5.6GB of space left after synced. You can have a try. Debian and Ubuntu is almost the same.
image

You can also check journalctl --disk-usage
Sometimes it may eat up few hundreds of MB if you node is under ddos attack.

Version 1.6.0 released:

Added script support for ARM,
Many fixes

sorry for the long absence.

3 Likes

I have nkn & I want to transfer them in my binance or coinbase nkn wallet but binance or coinbase nkn receiving wallet address showing error when i add ?

Can we not transfer mining nkn to other nkn wallet like in Coinbase or Binance nkn wallet ?

Hello, is it possible to run the script and to not have the final screen asking me to exit the script?

I mean a completely and unattended installation if using variables while running your script.

“start script with flags” read the instructions again

I’m using “flags” but at the end of the installation it shows a screen which needs interaction.
I would not have it.

why is that a problem? just disconnect the terminal or press ctrl+C, since it’s all done anyway

I would run the script into a “screen” session and forget it without having the window prompting for something… :slight_smile:

All done installed,
it was really easy and
send 10 nkn to NKNH25gEVj4qxWUAm3eEhSBuaFAjGWZ21VBM
& its all working fine …
Thanks

1 Like

there’s a pause at the end so people can read the information on what to do next. It can get annoying if you’re a pro deploying many nodes indeed.

I guess I could look into removing the end pause if flags/parameters are used to start the script.

Hello!

I installed nWatch using script no.112358, for a long time it worked without failures, but I had to reinstall it on a new server and now I cannot make changes through the web interface, pressing the “save” button results in a blank page with the message “nope”.

What do I need to do to enter my wallet and nkn-node data?

Thanks

upd:
Unexpectedly today I found an error output when choosing a position “4) Check node / wallet status”,
in the script “NODE STATUS Checker: 5) in-script NKN node monitor (no112358)”:

IP: Status: Height: Version: Uptime: NKN mined:
nkndeploy.sh: line 862: ./nknc: No such file or directory
(standard_in) 2: syntax error

Some time ago, everything worked fine.
A fresh installation does not fix the error.

Does everyone enter data into web forms without problems?

This happens when trying to migrate nodeID from old server. How to solve?Снимок экрана (2)

  1. Add a field RegisterIDTxnFee in your node’s config.json file, the unit is 1e-8 NKN. For example, for 1e-6 NKN txn fee, you should set it to 100:
"RegisterIDTxnFee": 100

Can’t find the file in SFTP :sleepy:

I sent you Request on Discrod! can’t genarate ID , Tried opening port didn’t work out .I will give you some azure 200 Accounts :love_letter:

Tried 6 days! help me I will give you some Azure 200$ Accounts, I couldn;t get it up and runing. Send you discord invitation

This script might not work properly, due to the generate id fee was introduced last year. @no112358 can you please test and upgrade in light of recent changes?