duniter issueshttps://git.duniter.org/nodes/typescript/duniter/-/issues2017-01-25T09:14:37+01:00https://git.duniter.org/nodes/typescript/duniter/-/issues/802Document 'webmhost' and 'webmport' options2017-01-25T09:14:37+01:00Cédric MoreauDocument 'webmhost' and 'webmport' options*Created by: M5oul*
`--webmhost` and `--webmport` options are used to change the host and port for the WebUI.*Created by: M5oul*
`--webmhost` and `--webmport` options are used to change the host and port for the WebUI.https://git.duniter.org/nodes/typescript/duniter/-/issues/797Document wizard sub-commands2017-01-31T17:50:51+01:00Cédric MoreauDocument wizard sub-commands*Created by: M5oul*
`duniter wizard network`
It seems there is other wizard sub-commands, but I can't remember them.
```bash
duniter -h
config Register configuration in database
wizard [st...*Created by: M5oul*
`duniter wizard network`
It seems there is other wizard sub-commands, but I can't remember them.
```bash
duniter -h
config Register configuration in database
wizard [step] Launch the configuration wizard.
reset [config|data|peers|tx|stats|all] Reset configuration, data, peers, transactions or everything in the database
```0.90.5https://git.duniter.org/nodes/typescript/duniter/-/issues/796New way to install webui2017-01-26T19:38:42+01:00Cédric MoreauNew way to install webui*Created by: M5oul*
The daemon is stopped may be due to an issue with the web admin:
```bash
duniter.sh webstart
Starting duniter_default daemon...
duniter_default daemon stopped.
```
```bash
duniter.sh webrestart
Stopping d...*Created by: M5oul*
The daemon is stopped may be due to an issue with the web admin:
```bash
duniter.sh webstart
Starting duniter_default daemon...
duniter_default daemon stopped.
```
```bash
duniter.sh webrestart
Stopping duniter_default daemon...
duniter_default daemon stopped.
Starting duniter_default daemon...
duniter_default daemon stopped.
```https://git.duniter.org/nodes/typescript/duniter/-/issues/743Duniter config help ? 2016-12-30T16:29:22+01:00insoDuniter config help ? While trying to check help to add a BMAS endpoint, I encountered the following error :
```
testnet@vps55093:/opt/testnet$ duniter config help
2016-12-06T01:08:07+01:00 - debug: Plugging file system...
2016-12-06T01:08:08+01:00 - d...While trying to check help to add a BMAS endpoint, I encountered the following error :
```
testnet@vps55093:/opt/testnet$ duniter config help
2016-12-06T01:08:07+01:00 - debug: Plugging file system...
2016-12-06T01:08:08+01:00 - debug: Loading conf...
2016-12-06T01:08:08+01:00 - debug: Loading crypto functions...
2016-12-06T01:08:08+01:00 - info: Checking UPnP features...
2016-12-06T01:08:10+01:00 - info: DNS: No
2016-12-06T01:08:10+01:00 - info: Local & Remote IPv4: 127.0.0.1:8999
2016-12-06T01:08:10+01:00 - info: Local & Remote IPv6: 2001:41d0:52:a00::648:8999
2016-12-06T01:08:10+01:00 - info: Key: generated
2016-12-06T01:08:10+01:00 - error: Error: TypeError: Cannot read property 'saveConf' of undefined
at Error (native)
at /opt/testnet/.duniter/app/cli.js:692:15
at process._tickCallback (node.js:412:9)
2016-12-06T01:08:10+01:00 - error: Error: TypeError: Cannot read property 'saveConf' of undefined
at Error (native)
at /opt/testnet/.duniter/app/cli.js:692:15
at process._tickCallback (node.js:412:9)
```0.80.0https://git.duniter.org/nodes/typescript/duniter/-/issues/729Wizard network has a strange behaviour2016-11-28T09:12:15+01:00insoWizard network has a strange behaviourI have a strange problem with the network wizard.
First, I totally reset the data and the configuration :
```bash
/opt/testnet/.duniter$ rm -rf ~/.config/duniter/
/opt/testnet/.duniter$ duniter wizard network
```
Then I choo...I have a strange problem with the network wizard.
First, I totally reset the data and the configuration :
```bash
/opt/testnet/.duniter$ rm -rf ~/.config/duniter/
/opt/testnet/.duniter$ duniter wizard network
```
Then I choose my network settings :
```bash
/opt/testnet/.duniter$ duniter wizard network
2016-11-25T18:32:37+01:00 - debug: Plugging file system...
2016-11-25T18:32:37+01:00 - debug: Loading conf...
2016-11-25T18:32:37+01:00 - debug: Loading crypto functions...
2016-11-25T18:32:37+01:00 - info: Checking UPnP features...
? IPv4 interface: lo 127.0.0.1
? IPv6 interface: None
? Port: 8999
? Remote IPv4: None
? Does this server has a DNS name? Yes
? DNS name: testnet.duniter.inso.ovh
2016-11-25T18:32:58+01:00 - debug: Configuration saved.
2016-11-25T18:32:58+01:00 - debug: Plugging file system...
2016-11-25T18:32:58+01:00 - debug: Loading conf...
2016-11-25T18:32:58+01:00 - debug: Loading crypto functions...
2016-11-25T18:32:58+01:00 - debug: Opening SQLite database "/opt/testnet/.config/duniter/duniter_default/duniter.db"...
2016-11-25T18:32:58+01:00 - debug: Upgrade database...
2016-11-25T18:32:58+01:00 - info: Checking UPnP features...
2016-11-25T18:33:00+01:00 - info: DNS: testnet.duniter.inso.ovh
2016-11-25T18:33:00+01:00 - info: Local & Remote IPv4: 127.0.0.1:80
2016-11-25T18:33:00+01:00 - info: Local & Remote IPv6: 2001:41d0:52:a00::648:80
2016-11-25T18:33:00+01:00 - debug: Configuration saved.
2016-11-25T18:33:00+01:00 - debug: Loading conf...
2016-11-25T18:33:00+01:00 - debug: Loading crypto functions...
2016-11-25T18:33:00+01:00 - debug: Trying to close SQLite...
2016-11-25T18:33:00+01:00 - info: Database closed.
```
As you can see, in `Info`, it does not show what I chose. I didn't choose ipv6, still it is present, I didn't choose a remote ipv4, still it shown. There is something weird here.
In the `conf.json` file, I can see that the wrong settings are there.
Then, when it starts, it crashes :
```bash
2016-11-25T18:35:26+01:00 - error: Error on WS Server
2016-11-25T18:35:26+01:00 - error: Error: listen EACCES 127.0.0.1:80
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at Server._listen2 (net.js:1221:19)
at listen (net.js:1270:10)
at net.js:1379:9
at _combinedTickCallback (node.js:386:13)
at process._tickCallback (node.js:407:11)
2016-11-25T18:35:26+01:00 - error: Error: listen EACCES 127.0.0.1:80
at Object.exports._errnoException (util.js:890:11)
at exports._exceptionWithHostPort (util.js:913:20)
at Server._listen2 (net.js:1221:19)
at listen (net.js:1270:10)
at net.js:1379:9
at _combinedTickCallback (node.js:386:13)
```0.50.3https://git.duniter.org/nodes/typescript/duniter/-/issues/696configure duniter-server using the comand line wizard 2016-11-11T18:15:05+01:00Benoit Lavenierconfigure duniter-server using the comand line wizard I try to configure a node from duniter-server (.deb) package.
when i run :
```
duniter wizard network
```
I choose a value for network. But then the process freeze:
```
2016-11-09T12:10:23+01:00 - debug: Plugging file system....I try to configure a node from duniter-server (.deb) package.
when i run :
```
duniter wizard network
```
I choose a value for network. But then the process freeze:
```
2016-11-09T12:10:23+01:00 - debug: Plugging file system...
2016-11-09T12:10:23+01:00 - debug: Loading conf...
2016-11-09T12:10:23+01:00 - debug: Loading crypto functions...
2016-11-09T12:10:23+01:00 - info: Checking UPnP features...
? IPv4 interface eth0 192.168.0.5
```
The second question is never display...
0.50.1https://git.duniter.org/nodes/typescript/duniter/-/issues/659CLI is missing restart and webrestart commands2016-10-15T18:34:55+02:00Cédric MoreauCLI is missing restart and webrestart commands*Created by: M5oul*
``` bash
Commands:
start Start Duniter server.
webwait Start Duniter web admin.
webstart Start Duniter w...*Created by: M5oul*
``` bash
Commands:
start Start Duniter server.
webwait Start Duniter web admin.
webstart Start Duniter web admin + immediately start the server.
wizard [step] Launch the configuration Wizard
```
0.40https://git.duniter.org/nodes/typescript/duniter/-/issues/631Cli: gen-root > not arguments check (host, port, dificulty)2016-11-07T16:57:01+01:00Benoit LavenierCli: gen-root > not arguments check (host, port, dificulty)when calling command `gen-root` : mandatory arguments are not checked is missing.
This cause error `[TypeError: Cannot read property 'match' of undefined]` when computing block :
```
2016-09-30T10:47:29+02:00 - info: Generating proof-o...when calling command `gen-root` : mandatory arguments are not checked is missing.
This cause error `[TypeError: Cannot read property 'match' of undefined]` when computing block :
```
2016-09-30T10:47:29+02:00 - info: Generating proof-of-work with NaN leading zeros followed by [0-undefined]... (CPU usage set to 60%) for block#0 Biryrz
[TypeError: Cannot read property 'match' of undefined]
[TypeError: Cannot read property 'match' of undefined]
[TypeError: Cannot read property 'match' of undefined]
[TypeError: Cannot read property 'match' of undefined]
(...)
```
il faut ensuite stopper manuellement le process.
0.50.0Benoit LavenierBenoit Lavenierhttps://git.duniter.org/nodes/typescript/duniter/-/issues/586Errors when sending peering document2016-09-17T18:35:10+02:00Cédric MoreauErrors when sending peering document*Created by: M5oul*
Errors when sending peering document, but it seems to works:
``` bash
duniter peer duniter.org 8999
2016-09-10T00:10:55+02:00 - debug: Plugging file system...
2016-09-10T00:10:55+02:00 - debug: Loading conf...
2016-...*Created by: M5oul*
Errors when sending peering document, but it seems to works:
``` bash
duniter peer duniter.org 8999
2016-09-10T00:10:55+02:00 - debug: Plugging file system...
2016-09-10T00:10:55+02:00 - debug: Loading conf...
2016-09-10T00:10:56+02:00 - debug: Loading crypto functions...
2016-09-10T00:10:56+02:00 - debug: Upgrade database...
2016-09-10T00:10:56+02:00 - info: Fetching peering record at duniter.org:8999...
2016-09-10T00:10:58+02:00 - info: Apply peering ...
2016-09-10T00:10:58+02:00 - info: Applied
2016-09-10T00:10:58+02:00 - info: Send self peering ...
2016-09-10T00:10:58+02:00 - debug: --> new Peer to be sent to 1 peer(s)
2016-09-10T00:10:58+02:00 - info: POST Peer J78bPUvLjx#37595
2016-09-10T00:10:58+02:00 - debug: `--> to peer BSmbyQCeRx [------] (51.255.197.83:8999)
2016-09-10T00:10:58+02:00 - info: Sent.
2016-09-10T00:10:58+02:00 - error: Exiting
2016-09-10T00:10:58+02:00 - error: Error: Exiting
at Error (native)
at /opt/duniter/sources/app/cli.js:237:15
at process._tickCallback (node.js:412:9)
2016-09-10T00:10:58+02:00 - error: Error: Error: Exiting
at Error (native)
at /opt/duniter/sources/app/cli.js:829:15
at process._tickCallback (node.js:412:9)
2016-09-10T00:10:58+02:00 - error: Error: Error: Exiting
at Error (native)
at /opt/duniter/sources/app/cli.js:829:15
at process._tickCallback (node.js:412:9)
```
On the code, it seems db or conf issue.
0.31https://git.duniter.org/nodes/typescript/duniter/-/issues/527Better display for help command2016-08-12T16:29:40+02:00Cédric MoreauBetter display for help command*Created by: M5oul*
With `duniter -h` the alignment is not well done, so we can miss `[diff]` option for instance:
``` bash
Commands:
start Start Duniter server.
webwait Start Duniter web admi...*Created by: M5oul*
With `duniter -h` the alignment is not well done, so we can miss `[diff]` option for instance:
``` bash
Commands:
start Start Duniter server.
webwait Start Duniter web admin.
webstart Start Duniter web admin + immediately start the server.
wizard [step] Launch the configuration Wizard
sync [host] [port] [to] Synchronize blockchain from a remote Duniter node
peer [host] [port] Exchange peerings with another node
init [host] [port] Setup a node configuration and sync data with given node
dump [what] Diverse dumps of the inner data
forward [host] [port] [to] Forward local blockchain to a remote Duniter node
revert [count] Revert (undo + remove) the top [count] blocks from the blockchain. EXPERIMENTAL
revert-to [number] Revert (undo + remove) top blockchain blocks until block #[number] is reached. EXPERIMENTAL
gen-next [host] [port] [diff] Tries to generate the next block of the blockchain
gen-root [host] [port] [diff] Tries to generate root block, with choice of root members
export-bc [upto] Exports the whole blockchain as JSON array, up to [upto] block number (excluded).
check-config Checks the node's configuration
config Register configuration in database
reset [config|data|peers|tx|stats|all] Reset configuration, data, peers, transactions or everything in the database
```
It would be great to have a blank vertical line splitting cmds + opts and descriptions.
0.22https://git.duniter.org/nodes/typescript/duniter/-/issues/501Node unreacheable2016-07-29T19:37:55+02:00Cédric MoreauNode unreacheable*Created by: M5oul*
I upgraded my node from v0.20.0 to v0.20.1a9, and the node is unreacheable:
``` fish
2016-07-23T08:55:32-04:00 - error: No UPnP gateway found: your node won't be reachable from the Internet. Use --noupnp option to a...*Created by: M5oul*
I upgraded my node from v0.20.0 to v0.20.1a9, and the node is unreacheable:
``` fish
2016-07-23T08:55:32-04:00 - error: No UPnP gateway found: your node won't be reachable from the Internet. Use --noupnp option to avoid this message.
```
I could reach it with for a while, then it's not working:
``` bash
duniter webstart --noupnp
```
In the conf file, upnp is at `false`.
0.21https://git.duniter.org/nodes/typescript/duniter/-/issues/498Make the salt not viewable2016-07-11T09:46:36+02:00Cédric MoreauMake the salt not viewableAs said in #460 : the salt is a kind of password field, it should not be displayed while typing it.
As said in #460 : the salt is a kind of password field, it should not be displayed while typing it.
https://git.duniter.org/nodes/typescript/duniter/-/issues/496Update nan module to handle Nodejs v62016-10-07T13:55:23+02:00Cédric MoreauUpdate nan module to handle Nodejs v6*Created by: M5oul*
Every commands result in JS/C stack traces.
Testing `organization` branch with Node 6.2, I get many JS/C stack traces for every commands:
- [Logs](https://moul.re/zerobin/?db2169092d18478b#td5PNVxEadva2ZwRWjnlbxrzIpT...*Created by: M5oul*
Every commands result in JS/C stack traces.
Testing `organization` branch with Node 6.2, I get many JS/C stack traces for every commands:
- [Logs](https://moul.re/zerobin/?db2169092d18478b#td5PNVxEadva2ZwRWjnlbxrzIpTUddpFAEarl3Q13Oo=)
0.40https://git.duniter.org/nodes/typescript/duniter/-/issues/454Wrong symlink and wrong path at ARM debian package creation2016-07-03T11:53:01+02:00Cédric MoreauWrong symlink and wrong path at ARM debian package creation*Created by: M5oul*
On my ARM board, after removing and reinstalling with `dpkg`:
``` fish
which duniter
/usr/bin/duniter
```
The [symlink is not pointing to the good place as in issue #420](https://github.com/duniter/duniter/issues/4...*Created by: M5oul*
On my ARM board, after removing and reinstalling with `dpkg`:
``` fish
which duniter
/usr/bin/duniter
```
The [symlink is not pointing to the good place as in issue #420](https://github.com/duniter/duniter/issues/420):
``` fish
ls -al /usr/bin/duniter*
lrwxrwxrwx 1 root root 31 May 25 12:36 /usr/bin/duniter -> /opt/duniter/sources/bin/ucoind
```
``` fish
duniter --version
0.20.0a66
```
I did a good symlink, but when running `duniter`, [I get issue #444 ](https://github.com/duniter/duniter/issues/444):
``` fish
Node.js is not embedded in this version of Duniter
```
0.20https://git.duniter.org/nodes/typescript/duniter/-/issues/453Export from command line interface2016-07-20T22:37:56+02:00vincentuxExport from command line interfacePour ceux qui non pas accès à l'interface web de duniter, il serait bien de pouvoir faire les exports de compte via le terminal.
Pour ceux qui non pas accès à l'interface web de duniter, il serait bien de pouvoir faire les exports de compte via le terminal.
Horizonhttps://git.duniter.org/nodes/typescript/duniter/-/issues/222Add CLI testing2016-07-06T10:23:00+02:00Cédric MoreauAdd CLI testingIt should be found a way to test the CLI to avoid regressions on commands.
It should be found a way to test the CLI to avoid regressions on commands.
Horizon