Bitcoin Forum
May 28, 2024, 08:30:34 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 [424] 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 ... 535 »
  Print  
Author Topic: | Nxt | Blockchain Platform | Proof of Stake | Official  (Read 940984 times)
This is a self-moderated topic. If you do not want to be moderated by the person who started this topic, create a new topic.
lurker10
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
February 12, 2017, 09:09:48 AM
 #8461

hi

i have a headless node on a raspi. now i would like to update. but i don't want to mess up my running system.

how do i update to nrs-v1.11.3? i can connect to the raspi with ssh.

do i just have to save my nxt.properties?

then wget https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.11.3.zip
unzip nxt-client-1.11.3.zip
replace nxt.properties and start up again?

thanks for the help.

Code:
kill -15 `pidof java`
to safely shut down NXT. Give it a minute to exit. 'ps auxw | grep java' to make sure it's exited.

mv nxt nxt.old
wget https://bitbucket.org/JeanLucPicard/nxt/downloads/nxt-client-1.11.3.zip
unzip nxt-client-1.11.3.zip
cp nxt.old/conf/nxt.properties nxt/conf/
mv nxt.old/nxt_db nxt/
rm -rf nxt.old

vlom
Legendary
*
Offline Offline

Activity: 1498
Merit: 1117


View Profile
February 12, 2017, 06:40:38 PM
Last edit: February 13, 2017, 01:52:43 PM by vlom
 #8462

thank you. but now the server just stops.

thats the config:
Quote
nxt.myAddress=nxtpi.duckdns.org
nxt.apiServerHost=0.0.0.0
nxt.allowedBotHosts=*
nxt.keyStorePath=keystore
nxt.keyStorePassword= --------------------
nxt.apiSSL=true
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$
nxt.myPlatform= ------------

here the output. i could not find the problem.
Quote
Initializing Nxt server version 1.11.3
javafx not supported
isHeadless=true
Runtime mode nxt.env.CommandLineMode
User home folder /home/pi/nxt
Loading nxt-default.properties from classpath
Loading nxt.properties from classpath
Loading logging-default.properties from classpath
2017-02-12 18:31:22 INFO: nxt.enableStackTraces = "true"
2017-02-12 18:31:23 INFO: nxt.enableLogTraceback = "false"
2017-02-12 18:31:23 INFO: logging enabled
2017-02-12 18:31:23 INFO: socksProxyHost not defined
2017-02-12 18:31:23 INFO: socksProxyPort not defined
2017-02-12 18:31:23 FINE: java.version = 1.8.0_121
2017-02-12 18:31:23 FINE: java.vm.version = 25.121-b13
2017-02-12 18:31:23 FINE: java.vm.name = Java HotSpot(TM) Client VM
2017-02-12 18:31:23 FINE: java.vendor = Oracle Corporation
2017-02-12 18:31:23 FINE: java.vm.vendor = Oracle Corporation
2017-02-12 18:31:23 FINE: java.home = /usr/local/java/jre
2017-02-12 18:31:23 FINE: java.library.path = /usr/java/packages/lib/arm:/lib:/usr/lib
2017-02-12 18:31:23 FINE: java.class.path = classes:lib/jetty-io-9.3.16.v20170120.jar:lib/lucene-queries-5.3.2.jar:lib/lucene-queryparser-5.3.2.jar:lib/javase-3.3.0.jar:lib/jetty-servlet-9.3.16.v20170120.jar:lib/jetty-continuation-9.3.16.v20170120.jar:lib/websocket-servlet-9.3.16.v20170120.jar:lib/json-simple-1.1.1.jar:lib/jetty-client-9.3.16.v20170120.jar:lib/javax.servlet-api-3.1.0.jar:lib/slf4j-api-1.7.22.jar:lib/tika-parsers-1.13.jar:lib/lucene-core-5.3.2.jar:lib/websocket-server-9.3.16.v20170120.jar:lib/jetty-proxy-9.3.16.v20170120.jar:lib/tika-core-1.13.jar:lib/bcprov-jdk15on-156.jar:lib/jetty-security-9.3.16.v20170120.jar:lib/jetty-server-9.3.16.v20170120.jar:lib/weupnp-0.1.4.jar:lib/lucene-analyzers-common-5.3.2.jar:lib/jetty-http-9.3.16.v20170120.jar:lib/websocket-api-9.3.16.v20170120.jar:lib/jetty-servlets-9.3.16.v20170120.jar:lib/jetty-util-9.3.16.v20170120.jar:lib/h2-1.4.193.jar:lib/websocket-common-9.3.16.v20170120.jar:lib/core-3.3.0.jar:lib/slf4j-jdk14-1.7.22.jar:lib/websocket-client-9.3.16.v20170120.jar:conf:addons/classes:addons/lib/*
2017-02-12 18:31:23 FINE: os.arch = arm
2017-02-12 18:31:23 FINE: sun.arch.data.model = 32
2017-02-12 18:31:23 FINE: os.name = Linux
2017-02-12 18:31:23 FINE: file.encoding = ANSI_X3.4-1968
2017-02-12 18:31:23 FINE: java.security.policy = null
2017-02-12 18:31:23 FINE: java.security.manager = null
2017-02-12 18:31:23 FINE: nxt.runtime.mode = null
2017-02-12 18:31:23 FINE: nxt.runtime.dirProvider = null
2017-02-12 18:31:23 FINE: availableProcessors = 1
2017-02-12 18:31:23 FINE: maxMemory = 648806400
2017-02-12 18:31:23 FINE: processId = 1290
2017-02-12 18:31:23 INFO: nxt.isTestnet = "false"
2017-02-12 18:31:23 INFO: nxt.isOffline = "false"
2017-02-12 18:31:23 INFO: nxt.isLightClient = "false"
2017-02-12 18:31:23 INFO: nxt.maxRollback = "800"
2017-02-12 18:31:23 INFO: nxt.forgingDelay = "20"
2017-02-12 18:31:23 INFO: nxt.forgingSpeedup = "3"
2017-02-12 18:31:23 INFO: nxt.maxPrunableLifetime = "7776000"
2017-02-12 18:31:23 INFO: nxt.includeExpiredPrunable = "true"
2017-02-12 18:31:23 INFO: nxt.correctInvalidFees = "false"
2017-02-12 18:31:23 INFO: nxt.statementLogThreshold = "10000"
2017-02-12 18:31:23 INFO: nxt.transactionLogThreshold = "15000"
2017-02-12 18:31:23 INFO: nxt.transactionLogInterval = "15"
2017-02-12 18:31:23 INFO: nxt.dbCacheKB = "0"
2017-02-12 18:31:23 INFO: nxt.dbUrl = "jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$"
2017-02-12 18:31:23 INFO: nxt.dbType = "h2"
2017-02-12 18:31:23 INFO: nxt.dbDir = "./nxt_db/nxt"
2017-02-12 18:31:23 INFO: nxt.dbParams = "DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE"
2017-02-12 18:31:23 INFO: nxt.dbUsername = "sa"
2017-02-12 18:31:23 INFO: nxt.dbPassword = "{not logged}"
2017-02-12 18:31:23 INFO: nxt.maxDbConnections = "30"
2017-02-12 18:31:23 INFO: nxt.dbLoginTimeout = "70"
2017-02-12 18:31:23 INFO: nxt.dbDefaultLockTimeout = "60"
2017-02-12 18:31:23 INFO: nxt.dbMaxMemoryRows = "1000000"
2017-02-12 18:31:24 FINE: Database jdbc url set to jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$;MV_STORE=FALSE;CACHE_SIZE=250880 username sa
2017-02-12 18:31:28 INFO: nxt.useStrongSecureRandom = "false"
2017-02-12 18:31:29 SEVERE: org.h2.jdbc.JdbcSQLException: URL format error; must be "jdbc:h2:{ {.|mem:}[name] | [file:]fileName | {tcp|ssl}:[//]server[:port][,server2[:port]]/name }[;key=value...]" but is "jdbc:h2:/home/pi/usbdrv/nxt_db/nxt" [90046-193]
java.lang.RuntimeException: org.h2.jdbc.JdbcSQLException: URL format error; must be "jdbc:h2:{ {.|mem:}[name] | [file:]fileName | {tcp|ssl}:[//]server[:port][,server2[:port]]/name }[;key=value...]" but is "jdbc:h2:/home/pi/usbdrv/nxt_db/nxt" [90046-193]
   at nxt.db.BasicDb.init(BasicDb.java:147)
   at nxt.Db.init(Db.java:40)
   at nxt.Nxt$Init.<clinit>(Nxt.java:343)
   at nxt.Nxt.init(Nxt.java:312)
   at nxt.Nxt.main(Nxt.java:299)
Caused by: org.h2.jdbc.JdbcSQLException: URL format error; must be "jdbc:h2:{ {.|mem:}[name] | [file:]fileName | {tcp|ssl}:[//]server[:port][,server2[:port]]/name }[;key=value...]" but is "jdbc:h2:/home/pi/usbdrv/nxt_db/nxt" [90046-193]

2017-02-12 18:31:46 INFO: Nxt server 1.11.3 stopped.
lurker10
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
February 12, 2017, 07:04:13 PM
 #8463

thank you. but now the server just stops.

It complains about
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

I don't know what the correct format for that setting should be, but you may try to symlink the blockchain directory on the external drive instead of using this setting:

Code:
ln -s /home/pi/usbdrv/nxt_db /home/pi/nxt/nxt_db

vlom
Legendary
*
Offline Offline

Activity: 1498
Merit: 1117


View Profile
February 12, 2017, 08:09:29 PM
Last edit: February 12, 2017, 09:55:19 PM by vlom
 #8464

thank you. but now the server just stops.

It complains about
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

I don't know what the correct format for that setting should be, but you may try to symlink the blockchain directory on the external drive instead of using this setting:

Code:
ln -s /home/pi/usbdrv/nxt_db /home/pi/nxt/nxt_db

you found the problem. after i deleted the line in nxt.properties it works.

BUT before the update it worked with this.
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

 Undecided

EDIT: You found the problem thank you. i cant read these logs. now i have found the solution.

this one worked with  1.11.2
Quote
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

and this one works with  1.11.3
Quote
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE

i checked nxt-default.properties and there the part at the end was different.
Trade_BTC
Hero Member
*****
Offline Offline

Activity: 785
Merit: 502



View Profile
February 12, 2017, 08:37:37 PM
 #8465

Companies starting to get ready for Ardor i really am liking this Janus team and the nxt software. Does this community  support bigger projects like them or are they just marketing themselves so far?
lurker10
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
February 13, 2017, 07:51:53 AM
 #8466

this one worked with  1.11.2
Quote
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;M$

and this one works with  1.11.3
Quote
nxt.dbUrl=jdbc:h2:/home/pi/usbdrv/nxt_db/nxt;DB_CLOSE_ON_EXIT=FALSE;MVCC=TRUE;MV_STORE=FALSE

i checked nxt-default.properties and there the part at the end was different.

This is great, you added to the knowledge base of NXT node operations!
I never used that setting in my nodes.

wolffang
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
February 13, 2017, 11:39:30 AM
 #8467

The weekly newsletter by Nxter.org is now published.
https://nxter.org/nxt-news-february-2017-ii-the-best-way-to-predict-your-future-is-to-create-it/
bitpotter
Sr. Member
****
Offline Offline

Activity: 1451
Merit: 258


View Profile
February 13, 2017, 12:19:00 PM
 #8468

Hopefully NXT can return to the expensive price at that time in 2014.
gerasrocha
Hero Member
*****
Offline Offline

Activity: 797
Merit: 500


Inver-Crypto


View Profile
February 13, 2017, 08:45:22 PM
 #8469

holding this coin, i think gonna recover this year... good work admin

Trade_BTC
Hero Member
*****
Offline Offline

Activity: 785
Merit: 502



View Profile
February 13, 2017, 08:49:18 PM
 #8470

Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.
lurker10
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
February 14, 2017, 07:27:23 AM
 #8471

Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.

Be sure to run a node and start forging Wink

Trade_BTC
Hero Member
*****
Offline Offline

Activity: 785
Merit: 502



View Profile
February 14, 2017, 03:19:08 PM
 #8472

Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.

Be sure to run a node and start forging Wink

Do i have to run a node to forge? If i dont run a node and just forge does it still help the blockchain or no?
lurker10
Sr. Member
****
Offline Offline

Activity: 378
Merit: 250


View Profile
February 14, 2017, 06:43:14 PM
 #8473

Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.

Be sure to run a node and start forging Wink

Do i have to run a node to forge? If i dont run a node and just forge does it still help the blockchain or no?

You can forge on a private node, this is still a node, just not a public one.
You help the blockchain when you forge. The more forging power, the more secure is the blockchain.

wolffang
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
February 14, 2017, 07:01:01 PM
 #8474

Bought my first 600k nxt and buying couple assets. This blockchain is the only one my friends been whispering about lately.

Be sure to run a node and start forging Wink

Do i have to run a node to forge? If i dont run a node and just forge does it still help the blockchain or no?

You can forge on a private node, this is still a node, just not a public one.
You help the blockchain when you forge. The more forging power, the more secure is the blockchain.

Starting the Nxt NRS client makes you forge. You need to have it open though to keep forging.

You can also run it on rasp Pi or Odroid and keep it 24/7 powered by solar panel with battery.

Also you can lease your balance to another forger.
revelacaogr
Legendary
*
Offline Offline

Activity: 1316
Merit: 1021

2009 Alea iacta est


View Profile
February 15, 2017, 11:36:08 AM
 #8475

Full Demo of builtin blockchain features - NRS client


https://demo.nxt.org/index.html
wolffang
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
February 15, 2017, 04:46:49 PM
 #8476

Nxt is in an academic article titled Scripting Smart Contracts for Distributed Ledger Technology blockchain
https://eprint.iacr.org/2016/1156.pdf
wolffang
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
February 16, 2017, 09:11:15 PM
 #8477

Snapshot, the book about Nxt by @Nxter_org, is now in the northernmost public library in the world.
Svalbard - Longyearbyen

wolffang
Hero Member
*****
Offline Offline

Activity: 770
Merit: 500


View Profile
February 17, 2017, 01:07:28 PM
 #8478

Little brother Ardor has a new updated testnet version.
Go try it out now and enjoy!

Ardor testnet v2.0.1e is up!
Updates include bugfixes and UI improvements.

Download the latest version today on https://www.ardorplatform.org.
farl4web
Legendary
*
Offline Offline

Activity: 1205
Merit: 1000



View Profile
February 17, 2017, 01:30:05 PM
 #8479

Everybody is ready the book about Nxt. Is just crazy.  Grin

DiCE1904
Legendary
*
Offline Offline

Activity: 1118
Merit: 1002


View Profile WWW
February 17, 2017, 02:53:08 PM
 #8480

Forgot how cool of a project NXT is. Excited to be back using it and cant wait for Ardor

Pages: « 1 ... 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 [424] 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 ... 535 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!