Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[windows] panic: interface conversion: interface {} is nil, not bool #39

Open
cr1cr1 opened this issue Apr 17, 2022 · 1 comment
Open

Comments

@cr1cr1
Copy link
Contributor

cr1cr1 commented Apr 17, 2022

orgalorg version: 1.2.0
platform: windows x64

orgalorg -v -s -u root -y -e -r / -S etc
2022-04-17 18:00:48 [DEBUG] building files list from 1 sources
2022-04-17 18:00:48 [DEBUG] file list contains 1 files
2022-04-17 18:00:48 [DEBUG] trying windows pageant
2022-04-17 18:00:48 [DEBUG]     pageant is not found
2022-04-17 18:00:48 [DEBUG] trying windows openssh-agent
2022-04-17 18:00:48 [DEBUG] using 16 threads
2022-04-17 18:00:48 [DEBUG] connecting to 3 nodes
2022-04-17 18:00:48 [DEBUG]    1/3 (0 failed) connection established: [root@srv1:22]
2022-04-17 18:00:48 [DEBUG]    2/3 (0 failed) connection established: [root@srv2:22]
2022-04-17 18:00:48 [DEBUG]    3/3 (0 failed) connection established: [root@srv3:22]
2022-04-17 18:00:48 [DEBUG] connection established to 3 nodes
panic: interface conversion: interface {} is nil, not bool

goroutine 1 [running]:
main.upload(0xfaddb7, 0xc0003b4c00, {0xc0003ae120, 0x1, 0x1})
        /home/runner/work/orgalorg/orgalorg/main.go:543 +0x566
main.handleSynchronize(0xf62b00)
        /home/runner/work/orgalorg/orgalorg/main.go:484 +0x6a7
main.main()
        /home/runner/work/orgalorg/orgalorg/main.go:282 +0x6ef

where etc is a local directory containing a file

Expected: synchronize /some/dir/etc/file to remote /etc/file

@cr1cr1
Copy link
Contributor Author

cr1cr1 commented Apr 17, 2022

On Ubuntu (WSL) I get:

orgalorg -s -u root -y -e -r / -S etc
2022-04-17 17:16:39  [INFO]     1/1 sending file: 'etc/tmux.conf'
srv1 bash: /usr/lib/orgalorg/sync: No such file or directory
srv2 bash: /usr/lib/orgalorg/sync: No such file or directory
srv3 bash: /usr/lib/orgalorg/sync: No such file or directory
2022-04-17 17:16:39 [FATAL] failed to run sync command
                            └─ failed to finish sync tool command
                               └─ commands are failed on all 3 nodes
                                  └─ code 127 (3 nodes)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant