<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Дополнительные bash скрипты]]></title><description><![CDATA[<p dir="auto">В версию ноды 0.1.1 добавлены дополнительные bash скрипты для упрощения запуска, остановки и мониторинга нод.<br />
Если в вашей ноде нет этих скриптов<br />
выполняем в папке</p>
<pre><code>git fetch &amp;&amp; git merge
</code></pre>
<p dir="auto"><em>!upd. Добавлен скрипт обновления нод</em><br />
Список скриптов:</p>
<pre><code># остановить ноду: 
bash stop.sh
</code></pre>
<blockquote>
<p dir="auto">запустить ноду:  <strong>bash <a href="http://run.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run.sh</a></strong></p>
</blockquote>
<blockquote>
<p dir="auto">консоль мониторинга: <strong>bash <a href="http://console.sh" target="_blank" rel="noopener noreferrer nofollow ugc">console.sh</a></strong></p>
</blockquote>
<p dir="auto">Скрипт быстрого обновления ноды</p>
<blockquote>
<p dir="auto"><strong>bash <a href="http://update.sh" target="_blank" rel="noopener noreferrer nofollow ugc">update.sh</a></strong></p>
</blockquote>
<ul>
<li>останавливает ноду</li>
<li>получает обновления с гитхаб</li>
<li>запускает ноду</li>
<li>запускает консоль</li>
</ul>
<p dir="auto"><em>Дополнительно.</em><br />
Если предоставить скриптам права на запуск, тогда можно запускать без команды bash, для предоставления прав используется команда</p>
<blockquote>
<p dir="auto"><strong>chmod +x ./run.sh<br />
chmod +x ./stop.sh<br />
chmod +x ./console.sh<br />
chmod +x ./update.sh</strong></p>
</blockquote>
<p dir="auto">после выполнения вы можете запускать скрипты так:</p>
<blockquote>
<p dir="auto"><strong>./console.sh<br />
./stop.sh<br />
./run.sh</strong></p>
</blockquote>
<p dir="auto">upd.<br />
если не выходит обновление и с</p>
<blockquote>
<p dir="auto">git fetch &amp;&amp; git merge</p>
</blockquote>
<p dir="auto">выполняем так</p>
<blockquote>
<p dir="auto">git checkout -p</p>
</blockquote>
<p dir="auto">на все вопросы жмем y</p>
<p dir="auto">затем</p>
<blockquote>
<p dir="auto">git pull</p>
</blockquote>
<p dir="auto">но в этом последнем варианте необходимо заново указать секретную фразу, т.к. она слетит</p>
<p dir="auto">и в завершение запускаем контрольный</p>
<blockquote>
<p dir="auto">bash <a href="http://update.sh" target="_blank" rel="noopener noreferrer nofollow ugc">update.sh</a></p>
</blockquote>
]]></description><link>https://community.smartholdem.io/topic/48/дополнительные-bash-скрипты</link><generator>RSS for Node</generator><lastBuildDate>Tue, 15 Sep 2026 21:06:42 GMT</lastBuildDate><atom:link href="https://community.smartholdem.io/topic/48.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 25 Dec 2017 21:59:33 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Дополнительные bash скрипты on Sun, 31 Dec 2017 07:14:33 GMT]]></title><description><![CDATA[<p dir="auto">@patinity said in <a href="/post/395">Дополнительные bash скрипты</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/30">@stasiulman</a> said in <a href="/post/386">Дополнительные bash скрипты</a>:</p>
<blockquote>
<p dir="auto">[inf] 2017-12-30 18:23:06 | New block received - {"id":"17557601612525060079","height":139486,"transactions":0,"peer":"46.101.211.116:6100"}<br />
[inf] 2017-12-30 18:23:14 | New block received - {"id":"2447356752494765610","height":139487,"transactions":0,"peer":"85.217.171.214:6100"}<br />
[inf] 2017-12-30 18:23:22 | New block received - {"id":"6641643334502998807","height":139488,"transactions":0,"peer":"194.87.109.198:6100"}<br />
[inf] 2017-12-30 18:23:30 | New block received - {"id":"11139420745089260896","height":139489,"transactions":0,"peer":"194.87.146.50:6100"}<br />
[inf] 2017-12-30 18:23:39 | New block received - {"id":"8980381093865356149","height":139490,"transactions":0,"peer":"188.120.241.109:6100"}<br />
[inf] 2017-12-30 18:23:46 | New block received - {"id":"11853436952771474611","height":139491,"transactions":0,"peer":"107.181.174.203:6100"}<br />
[inf] 2017-12-30 18:23:54 | New block received - {"id":"10985840749270045155","height":139492,"transactions":0,"peer":"46.101.211.116:6100"}<br />
[inf] 2017-12-30 18:24:03 | New block received - {"id":"2273221184082392768","height":139493,"transactions":0,"peer":"185.205.210.106:6100"}<br />
[inf] 2017-12-30 18:24:13 | New block received - {"id":"15194616238149026998","height":139494,"transactions":0,"peer":"185.205.209.96:6100"}<br />
Сейчас пишет сл, нужно ждать или что то не так сделал? С списке делегатов не появился.</p>
</blockquote>
<p dir="auto">nano config.smartholdem.json секретная фраза 12 слов в кавычках стоит?</p>
</blockquote>
<p dir="auto">@patinity это говорит о синхронизации блокчейн<br />
в ближайшее время создадим snapshots блокчейн для более быстрой синхронизации</p>
]]></description><link>https://community.smartholdem.io/post/401</link><guid isPermaLink="true">https://community.smartholdem.io/post/401</guid><dc:creator><![CDATA[TechnoL0g]]></dc:creator><pubDate>Sun, 31 Dec 2017 07:14:33 GMT</pubDate></item><item><title><![CDATA[Reply to Дополнительные bash скрипты on Sun, 31 Dec 2017 07:13:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/1">@technol0g</a> в данном случае необходимо полное обновление, при полном обновлении будет удален ключ, его заново пропишите в конфиге</p>
<p dir="auto">git checkout -p<br />
y<br />
y<br />
git pull</p>
<p dir="auto">после этих команд скачаются все дополнительные скрипты и обновится конфиг<br />
в следующих версиях конфиг добавлен в исключение<br />
не забываем прописать заново ключ в config.smartholdem.json</p>
]]></description><link>https://community.smartholdem.io/post/399</link><guid isPermaLink="true">https://community.smartholdem.io/post/399</guid><dc:creator><![CDATA[TechnoL0g]]></dc:creator><pubDate>Sun, 31 Dec 2017 07:13:02 GMT</pubDate></item><item><title><![CDATA[Reply to Дополнительные bash скрипты on Sun, 31 Dec 2017 05:15:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/1">@technol0g</a> said in <a href="/post/262">Дополнительные bash скрипты</a>:</p>
<blockquote>
<p dir="auto">bash <a href="http://update.sh" target="_blank" rel="noopener noreferrer nofollow ugc">update.sh</a></p>
</blockquote>
<p dir="auto">Да, в кавычках</p>
]]></description><link>https://community.smartholdem.io/post/397</link><guid isPermaLink="true">https://community.smartholdem.io/post/397</guid><dc:creator><![CDATA[stasiulman]]></dc:creator><pubDate>Sun, 31 Dec 2017 05:15:13 GMT</pubDate></item><item><title><![CDATA[Reply to Дополнительные bash скрипты on Sat, 30 Dec 2017 19:36:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/30">@stasiulman</a> А вы в кошельке ноду регистрировали? И еще нужно голосовать за ноду, чтобы у нее был ненулевой рейтинг. Какое название вашей ноды?</p>
]]></description><link>https://community.smartholdem.io/post/390</link><guid isPermaLink="true">https://community.smartholdem.io/post/390</guid><dc:creator><![CDATA[greench]]></dc:creator><pubDate>Sat, 30 Dec 2017 19:36:03 GMT</pubDate></item><item><title><![CDATA[Reply to Дополнительные bash скрипты on Sat, 30 Dec 2017 18:25:56 GMT]]></title><description><![CDATA[<p dir="auto">[inf] 2017-12-30 18:23:06 | New block received - {"id":"17557601612525060079","height":139486,"transactions":0,"peer":"46.101.211.116:6100"}<br />
[inf] 2017-12-30 18:23:14 | New block received - {"id":"2447356752494765610","height":139487,"transactions":0,"peer":"85.217.171.214:6100"}<br />
[inf] 2017-12-30 18:23:22 | New block received - {"id":"6641643334502998807","height":139488,"transactions":0,"peer":"194.87.109.198:6100"}<br />
[inf] 2017-12-30 18:23:30 | New block received - {"id":"11139420745089260896","height":139489,"transactions":0,"peer":"194.87.146.50:6100"}<br />
[inf] 2017-12-30 18:23:39 | New block received - {"id":"8980381093865356149","height":139490,"transactions":0,"peer":"188.120.241.109:6100"}<br />
[inf] 2017-12-30 18:23:46 | New block received - {"id":"11853436952771474611","height":139491,"transactions":0,"peer":"107.181.174.203:6100"}<br />
[inf] 2017-12-30 18:23:54 | New block received - {"id":"10985840749270045155","height":139492,"transactions":0,"peer":"46.101.211.116:6100"}<br />
[inf] 2017-12-30 18:24:03 | New block received - {"id":"2273221184082392768","height":139493,"transactions":0,"peer":"185.205.210.106:6100"}<br />
[inf] 2017-12-30 18:24:13 | New block received - {"id":"15194616238149026998","height":139494,"transactions":0,"peer":"185.205.209.96:6100"}<br />
Сейчас пишет сл, нужно ждать или что то не так сделал? С списке делегатов не появился.</p>
]]></description><link>https://community.smartholdem.io/post/386</link><guid isPermaLink="true">https://community.smartholdem.io/post/386</guid><dc:creator><![CDATA[stasiulman]]></dc:creator><pubDate>Sat, 30 Dec 2017 18:25:56 GMT</pubDate></item><item><title><![CDATA[Reply to Дополнительные bash скрипты on Fri, 29 Dec 2017 11:52:43 GMT]]></title><description><![CDATA[<p dir="auto">запускаю bash <a href="http://run.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run.sh</a> пишет сл:<br />
smartholdem@Krasnoyarsk:~/smartholdem-node-a$ bash <a href="http://run.sh" target="_blank" rel="noopener noreferrer nofollow ugc">run.sh</a><br />
warn:    --minUptime not set. Defaulting to: 1000ms<br />
warn:    --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms<br />
info:    Forever processing file: app.js<br />
smartholdem@Krasnoyarsk:~/smartholdem-node-a$</p>
<p dir="auto">ввожу bash <a href="http://console.sh" target="_blank" rel="noopener noreferrer nofollow ugc">console.sh</a> пишел следующее:<br />
smartholdem@Krasnoyarsk:~/smartholdem-node-a$ bash <a href="http://console.sh" target="_blank" rel="noopener noreferrer nofollow ugc">console.sh</a><br />
tail: cannot open './logs/sth.log' for reading: No such file or directory<br />
tail: no files remaining<br />
smartholdem@Krasnoyarsk:~/smartholdem-node-a$</p>
<p dir="auto">Что делаю не так?</p>
]]></description><link>https://community.smartholdem.io/post/350</link><guid isPermaLink="true">https://community.smartholdem.io/post/350</guid><dc:creator><![CDATA[stasiulman]]></dc:creator><pubDate>Fri, 29 Dec 2017 11:52:43 GMT</pubDate></item><item><title><![CDATA[Reply to Дополнительные bash скрипты on Wed, 27 Dec 2017 01:37:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.smartholdem.io/uid/47">@stil99</a> если нода последней версии достаточно выполнить</p>
<blockquote>
<p dir="auto">bash <a href="http://update.sh" target="_blank" rel="noopener noreferrer nofollow ugc">update.sh</a></p>
</blockquote>
]]></description><link>https://community.smartholdem.io/post/298</link><guid isPermaLink="true">https://community.smartholdem.io/post/298</guid><dc:creator><![CDATA[TechnoL0g]]></dc:creator><pubDate>Wed, 27 Dec 2017 01:37:51 GMT</pubDate></item><item><title><![CDATA[Reply to Дополнительные bash скрипты on Tue, 26 Dec 2017 20:13:26 GMT]]></title><description><![CDATA[<p dir="auto">Ставлю товарищу ноду с 0 и вылезла такая же ошибка, связанная с голосами</p>
]]></description><link>https://community.smartholdem.io/post/293</link><guid isPermaLink="true">https://community.smartholdem.io/post/293</guid><dc:creator><![CDATA[stil99]]></dc:creator><pubDate>Tue, 26 Dec 2017 20:13:26 GMT</pubDate></item><item><title><![CDATA[Reply to Дополнительные bash скрипты on Tue, 26 Dec 2017 06:35:11 GMT]]></title><description><![CDATA[<p dir="auto">Вот это круто! Видимо, начали уже доставать с этими обновлениями нод. Сейчас процесс сильно упростился</p>
]]></description><link>https://community.smartholdem.io/post/275</link><guid isPermaLink="true">https://community.smartholdem.io/post/275</guid><dc:creator><![CDATA[greench]]></dc:creator><pubDate>Tue, 26 Dec 2017 06:35:11 GMT</pubDate></item></channel></rss>