calr0x / ot-docksucker Goto Github PK
View Code? Open in Web Editor NEWConvert your OriginTrail Docker node to dockerless.
Convert your OriginTrail Docker node to dockerless.
If no then /root/backup needs to contain backup files. If yes then confirm hostname is right.
Notify:
Make sure the firewall command is correct
We need a way to adjust rocksdb variables for science, in docker nodes, we have these vars :
from /ot-node/current/testnet/supervisord.conf
command=arangod --rocksdb.max-total-wal-size 1024000 --rocksdb.write-buffer-size 2048000 --rocksdb.max-write-buffer-number 2 --rocksdb.total-write-buffer-size 81920000 --rocksdb.dynamic-level-bytes false
dockerless :
/usr/sbin/arangod --uid arangodb --gid arangodb --pid-file /var/run/arangodb3/arangod.pid --temp.path /var/tmp/arangodb3 --log.foreground-tty true
Fix: cd /ot-node/5.0.4/modules/migration# sudo nano m1-payout-all-migration.js
ALTER:
* Run migration
/
async run() {
/ get all pending payouts */
let pendingPayOuts = await models.commands.findAll({
where: {
status: 'PENDING',
name: 'dhPayOutCommand',
},
});
TO:
* Run migration
/
async run() {
return;
/ get all pending payouts */
let pendingPayOuts = await models.commands.findAll({
where: {
status: 'PENDING',
name: 'dhPayOutCommand',
},
});
IN:
m1-payout-all-migration.js
This will prevent the automated payout.
install-from-existing-local-volume.sh
restore.sh
To add the backup server key to the node server
ssh-keyscan -H >> ~/.ssh/known_hosts
line 89
echo "mv /root/root/OT-Smoothbrain-Backup/backup/ /root/backup && rm -rf /root/root"
Error :
this moves the backup files to /root/backup/backup
Solution :
add * after /backup/
echo "mv /root/root/OT-Smoothbrain-Backup/backup/* /root/backup && rm -rf /root/root"
To the dockerless gods who run the github, I have a request!
My dockerless node has always had errors running npm install that didn't seem to break anything but i've finally figured out what fixes them:
sudo apt-get install libpq-dev
may be worth seeing if this can go in the dockerless install script if it's not already?
Very to verify
THX WALLA YOU BITCH!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.