After that the program freezes.
Is this a bug?
~ $ sudo duniter webrestart
Stopping duniter_default daemon...
duniter_default daemon stopped.
Starting duniter_default daemon...
duniter_default daemon stopped.
After that the program freezes.
Is this a bug?
~ $ sudo duniter webrestart
Stopping duniter_default daemon...
duniter_default daemon stopped.
Starting duniter_default daemon...
duniter_default daemon stopped.
Could you try
duniter direct_webstart
By the way, using duniter with sudo is not a good idea IMHO, you shouldn’t need to do this. Check an explanation here (in French, sorry) : Changement de Public Key effectué, Noeud Down - #10 by jytou
No problem there. I still start with sudo
until I get acknowledgement from moul…
admin@Xroklaus:~ $ sudo duniter direct_webstart
2017-11-14T18:00:35+00:00 - debug: Plugging file system...
2017-11-14T18:00:36+00:00 - debug: Loading conf...
2017-11-14T18:00:36+00:00 - debug: Configuration saved.
2017-11-14T18:00:36+00:00 - debug: Opening SQLite database "/root/.config/duniter/duniter_default/duniter.db"...
2017-11-14T18:00:36+00:00 - debug: Upgrade database...
2017-11-14T18:00:36+00:00 - info: Block resolution: 0 potential blocks for root block...
2017-11-14T18:00:36+00:00 - info: Web administration accessible at following address: http://localhost:9220
…which I just did and he advised me to try and run on duniter user as well.
Did you go to http://localhost:9220 and configure your install to connect to the p2p network? It seems to me you haven’t done the configuration part. Remember that duniter is a p2p program that can connect to any currency (currently only g1 and g1-test) so you have to configure it before it can do anything at all.
The problem apparently only applies to root user, which shouldn’t be the user running duniter.
folatt@Xroklaus:~ $ duniter direct_webstart
2017-11-15T09:21:10+00:00 - debug: Plugging file system...
2017-11-15T09:21:10+00:00 - debug: Loading conf...
2017-11-15T09:21:10+00:00 - debug: Configuration saved.
2017-11-15T09:21:10+00:00 - debug: Opening SQLite database "/home/folatt/.config/duniter/duniter_default/duniter.db"...
2017-11-15T09:21:12+00:00 - debug: Upgrade database...
2017-11-15T09:21:13+00:00 - info: Block resolution: 0 potential blocks for root block...
2017-11-15T09:21:13+00:00 - info: Web administration accessible at following address: http://localhost:9220
^C2017-11-15T09:21:20+00:00 - debug: Trying to close SQLite...
2017-11-15T09:21:20+00:00 - info: Database closed.
folatt@Xroklaus:~ $ duniter status
Duniter is not running.
folatt@Xroklaus:~ $ duniter webstart
Starting duniter_default daemon...
duniter_default daemon started. PID: 2152
folatt@Xroklaus:~ $ duniter webrestart
Stopping duniter_default daemon...
duniter_default daemon stopped.
Starting duniter_default daemon...
duniter_default daemon started. PID: 2186