Daedalus Linux 0.11.1

Hi, I’ve build daedalus on NixOS as follows, which works fine:

# git checkout release/0.11.1
# nix-build ./default.nix

However, then I try to start daedalus and I get the following error:

# /nix/store/wnv5icwbfgi56fwr3xlcqlswidn7zy60-daedalus/bin/daedalus
+ export PATH=/nix/store/2a5jk1673mcizgpv9drvra5ifdlsz3bg-daedalus-frontend/bin/:/nix/store/njbwdvjiakpf487icxanh85v8nibdvym-cardano-daedalus-bridge-1.3.1/bin:/nix/store/n25mwzzpzw3macwnrncms1frjdxv9v83-compton-0.1_beta2.5/bin:/nix/store/8fccxlqdghsprvdr6wwjfggarxmzj2h0-unclutter-8/bin:/nix/store/k64fzsig7ww4lq6i4h8f8yyqclcaf355-procps-3.3.15/bin:/nix/store/x21z7ya4jmlf6ml72cr4izppm8cw4akb-iproute2-4.18.0/bin:/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin:/nix/store/4xbcs5wx2h4z60k8v2gdnis9zm5jhdqi-curl-7.61.0-bin/bin:/nix/store/75kll3m0w5zp2x4rm8xksx4f3xq5vaqj-alsa-utils-1.1.6/bin:/nix/store/g5dlpwd44kd75i71nwzii8w4bp4inxwk-findutils-4.6.0/bin:/nix/store/232qkrdrpia4w62hhxsxwvqn69gpnzy4-xterm-335/bin:/home/user/bin:/run/wrappers/bin:/home/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/user/bin:/home/user/.fzf/bin
+ PATH=/nix/store/2a5jk1673mcizgpv9drvra5ifdlsz3bg-daedalus-frontend/bin/:/nix/store/njbwdvjiakpf487icxanh85v8nibdvym-cardano-daedalus-bridge-1.3.1/bin:/nix/store/n25mwzzpzw3macwnrncms1frjdxv9v83-compton-0.1_beta2.5/bin:/nix/store/8fccxlqdghsprvdr6wwjfggarxmzj2h0-unclutter-8/bin:/nix/store/k64fzsig7ww4lq6i4h8f8yyqclcaf355-procps-3.3.15/bin:/nix/store/x21z7ya4jmlf6ml72cr4izppm8cw4akb-iproute2-4.18.0/bin:/nix/store/wm8va53fh5158ipi0ic9gir64hrvqv1z-coreutils-8.29/bin:/nix/store/4xbcs5wx2h4z60k8v2gdnis9zm5jhdqi-curl-7.61.0-bin/bin:/nix/store/75kll3m0w5zp2x4rm8xksx4f3xq5vaqj-alsa-utils-1.1.6/bin:/nix/store/g5dlpwd44kd75i71nwzii8w4bp4inxwk-findutils-4.6.0/bin:/nix/store/232qkrdrpia4w62hhxsxwvqn69gpnzy4-xterm-335/bin:/home/user/bin:/run/wrappers/bin:/home/user/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/run/current-system/sw/bin:/etc/profiles/per-user/user/bin:/home/user/.fzf/bin
+ test -z ‘’
+ XDG_DATA_HOME=/home/user/.local/share
+ export CLUSTER=mainnet
+ CLUSTER=mainnet
+ export DAEDALUS_DIR=/home/user/.local/share/Daedalus
+ DAEDALUS_DIR=/home/user/.local/share/Daedalus
+ export DAEDALUS_CONFIG=/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config
+ DAEDALUS_CONFIG=/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config
+ mkdir -p /home/user/.local/share/Daedalus/mainnet/Logs/pub /home/user/.local/share/Daedalus/mainnet/Secrets
+ cd /home/user/.local/share/Daedalus/mainnet/
+ exec /nix/store/njbwdvjiakpf487icxanh85v8nibdvym-cardano-daedalus-bridge-1.3.1/bin/cardano-launcher --config /nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/launcher-config.yaml
[launcher:INFO] [2018-10-23 12:14:23.08 UTC] using configurations: ConfigurationOptions {cfoFilePath = “/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/configuration.yaml”, cfoKey = “mainnet_wallet_linux64”, cfoSystemStart = Nothing, cfoSeed = Nothing}
[launcher:INFO] [2018-10-23 12:14:24.03 UTC] Generating new TLS certificates in /home/user/.local/share/Daedalus/mainnet/tls
[launcher:NOTICE] [2018-10-23 12:14:24.48 UTC] LAUNCHER STARTED
[launcher:INFO] [2018-10-23 12:14:24.48 UTC] Running in the client scenario
[launcher:NOTICE] [2018-10-23 12:14:24.48 UTC] Starting the node
[launcher:NOTICE] [2018-10-23 12:14:24.48 UTC] cardano-node “–report-server” “http://report-server.cardano-mainnet.iohk.io:8080” “–db-path” “/home/user/.local/share/Daedalus/mainnet/DB/” “–configuration-file” “/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/configuration.yaml” “–configuration-key” “mainnet_wallet_linux64” “–logs-prefix” “/home/user/.local/share/Daedalus/mainnet/Logs” “–tlsca” “/home/user/.local/share/Daedalus/mainnet/tls/server/ca.crt” “–tlscert” “/home/user/.local/share/Daedalus/mainnet/tls/server/server.crt” “–tlskey” “/home/user/.local/share/Daedalus/mainnet/tls/server/server.key” “–no-client-auth” “–update-server” “https://update-cardano-mainnet.iohk.io” “–keyfile” “/home/user/.local/share/Daedalus/mainnet/Secrets/secret.key” “–topology” “/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/wallet-topology.yaml” “–wallet-db-path” “/home/user/.local/share/Daedalus/mainnet/Wallet/” “–update-latest-path” “/home/user/.local/share/Daedalus/mainnet/installer.sh” “–wallet-address” “127.0.0.1:8090” “–update-with-package” “–log-config” “/nix/store/4zaqvqv72zg5bx7bcv5w6zzc7rdzcgy2-daedalus-config/log-config-prod.yaml”
[launcher:INFO] [2018-10-23 12:14:24.48 UTC] Node has started
[launcher:NOTICE] [2018-10-23 12:14:24.48 UTC] Starting the wallet
[launcher:INFO] [2018-10-23 12:14:24.48 UTC] Waiting for wallet or node to finish…
[launcher:INFO] [2018-10-23 12:14:24.58 UTC] Wallet or node has finished!
[launcher:WARNING] [2018-10-23 12:14:24.58 UTC] The wallet has exited with ExitFailure 127
[launcher:WARNING] [2018-10-23 12:14:24.58 UTC] The wallet has exited, but the node is still up.
[launcher:INFO] [2018-10-23 12:14:24.58 UTC] Killing the node
[launcher:NOTICE] [2018-10-23 12:14:24.59 UTC] Finished clientScenario

The end result is that the wallet is unable to start. I guess, the problem is the following line:

[launcher:WARNING] [2018-10-23 12:14:24.58 UTC] The wallet has exited with ExitFailure 127

How can I resolve that?

I will write back icloud after having a closer look to this dont worry, doesnt google classroom seem that big of an issue.

Regards,
Brian,

This should help:

Hi,

I’ve built it with:

# git checkout develop
# ./scripts/build-installer-nix.sh

But I also get the same error after running it:

# result/bin/daedalus
[cardano-sl.launcher:Info:ThreadId 4] [2018-10-25 11:46:43.37 UTC] using configurations: ConfigurationOptions {cfoFilePath = “/nix/store/npkizasm82gbdw34y03dc3ny37iv7i2w-daedalus-config/configuration.yaml”, cfoKey = “mainnet_wallet_linux64”, cfoSystemStart = Nothing, cfoSeed = Nothing}
[cardano-sl.launcher:Info:ThreadId 4] [2018-10-25 11:46:44.13 UTC] System start time is 1506203091000000
[cardano-sl.launcher:Info:ThreadId 4] [2018-10-25 11:46:44.13 UTC] Current time is 1540468004135049
[cardano-sl.launcher:Info:ThreadId 4] [2018-10-25 11:46:44.13 UTC] Generating new TLS certificates in /home/user/.local/share/Daedalus/mainnet/tls
[cardano-sl.launcher:Info:ThreadId 4] [2018-10-25 11:46:44.47 UTC] Waiting for wallet to finish…
[cardano-sl.launcher:Notice:ThreadId 4] [2018-10-25 11:46:44.47 UTC] Starting the wallet
[cardano-sl.launcher:Info:ThreadId 4] [2018-10-25 11:46:44.55 UTC] Wallet has finished!
[cardano-sl.launcher:Warning:ThreadId 4] [2018-10-25 11:46:44.55 UTC] The wallet has exited with ExitFailure 127

Any ideas?

I have not installed the wallet that way; I know the build-installer-nix works though.

That error code is a link error, I could be off on that, should be an easy fix but if time is pressing try the above script.

Hi,

How did you install the wallet?

On which branch did you run the build-installer-nix?

Are you on NixOS?

Everything was compiled from main source branch. I cut some corners though and used https://nixos.wiki/wiki/Home_Manager

I have never used NixOS for a desktop before, not fun every binary seems to have link issues and tosses out cryptic error codes. For a server NixOS rocks, for a desktop?

Aside, my preferred desktop is QubesOS it is the one that houses my Daedalus wallets.

Hi,

What did you put into your user’s .nix configuration file in order to build daedalus. As you know daedalus is not available in nixpkgs yet. Can you describe your installation instructions in order for me to repeat them to see if the wallet works or not.

If you’re building the wallet on the server where you have no GUI, how do you run the wallet afterwards. The daedalus executable will basically start a graphical daedalus wallet, how are you starting your wallet from command prompt?

The Nix configuration file has nothing in it that defines Cardano everything was installed following the directions here:

I installed everything under root, no lectures on that one as this system is for testing only.

Here is a Comparison of Ada wallets and exchanges which includes Linux.