How to host a Virtual Node

Could anyone help me trouble shoot this…?

image

1 Like

Hi, can you try to split the command into two rows?
curl https://node.incognito.org/run.sh > run.sh && sed -i “s/xxx/validator_key/” run.sh
sudo bash run.sh
Let me know how it works.

2 Likes

Same thing it seems…

root@vmi347454:~# curl https://node.incognito.org/run.sh > run.sh && sed -i “s/xxx/mykeyhere/” run.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 3043 100 3043 0 0 3747 0 --:–:-- --:–:-- --:–:-- 3752
sed: -e expression #1, char 1: unknown command: `▒’
root@vmi347454:~#

2 Likes

I am checking, please wait a moment.

2 Likes

Hi Geodesix, let’s remove the double quotation mark. Please try again with this command:
curl https://node.incognito.org/run.sh > run.sh && sed -i s/xxx/validator_key/ run.sh && sudo bash run.sh

4 Likes

That seems to have worked, thanks…

2 Likes

When the image is updated, the container restarts. This is OK and at this condition, “CREATED” and “STATUS” parameters in the output of “sudo docker ps” are the same. Unless the node image is updated, why do the containers restart? In that case, “CREATED” becomes older than “STATUS”. Is restarting used for fault-tolerancy? @khanhj

In general, when is the restart of a container an indicator of a problem? Could we understand from “log.txt” under “data” directory?

2 Likes

Yeah, it would be the case, that why the run.sh keep running in background to restart the docker container when it crashed.

You can check the log.txt and error_log.txt under data/ folder for more detail.

3 Likes

But there is a problem. The contents of log.txt and error_log.txt start after the restart :slight_smile: Should I change some settings?

In addition, error_log.txt is not so readable as below. Why?

2020/02/24 01:05:27 privacy-token-���]3^YC@��k�k�H/^?^Z�
/T8)�ܿ^[^S-��^G���;^@^@^@^@�ɚ;
2020/02/24 01:12:06 privacy-token-���]3^YC@��k�k�H/^?^Z�
/T8)�ܿ^[^S-��^G���;^@^@^@^@�ɚ;
2020/02/24 01:16:05 privacy-token-���]3^YC@��k�k�H/^?^Z�
/T8)�ܿ^[^S-��^G���;^@^@^@^@�ɚ;
2020/02/24 01:22:05 privacy-token-���]3^YC@��k�k�H/^?^Z�
/T8)�ܿ^[^S-��^G���;^@^@^@^@�ɚ;
2020/02/24 03:32:05 privacy-token-���]3^YC@��k�k�H/^?^Z�
/T8)�ܿ^[^S-��^G���;^@^@^@^@�ɚ;
2020/02/24 08:38:06 privacy-token-{8TE�~P
 ��^Q����1�5p^ZR^Y�9�NxRQe�^G-��;^@^@^@^@�ɚ;
2 Likes

I have no idea about this. Let’s wait for khanhj’s assistance.

2 Likes

Hey @abduraman,

I confirm this is an issue, can you create new ticket here so that our dev will fix it later?

This problem related to decoding character.

4 Likes

A post was merged into an existing topic: How to check your server storage for your Virtual Node

Hey guys, I’d like to move my setup to a workstation. What are all the ports that should be forwarded in the router when using default script?

3 Likes

I had some problems with my newly added node, I tried to rescale to a bigger VPS, now I cannot restart my node.
What can I do now? I cannot access my node to withdraw my stake.

Update: I had to free up some space with deleting data/blocks and then restart the server to complete the migration to a bigger one, now I was able to start my node again!

Now Im running a massive server with 4vcpu and 16gb ram, but still cant see any earnings in the app.

4 Likes

Hi Peacemaker, do you still need help on this concern?

2 Likes

Hi Imperator, Well done. As if you are using the same validator key on your new server, it’s ok to keep up running. How long is it since you staked?

2 Likes

I staked since 3 days with two nodes and they are both fully synced but not earning. :frowning:

3 Likes

Welcome! :hugs:
empty pockets01
23 days is the longest anyone has not earned. :sob:

10 Likes

Why is it taking so long? :question:

6 Likes
9 Likes