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

Installing on OS5 #95

Open
ISQman opened this issue Jun 1, 2021 · 1 comment
Open

Installing on OS5 #95

ISQman opened this issue Jun 1, 2021 · 1 comment

Comments

@ISQman
Copy link

ISQman commented Jun 1, 2021

Hello, i tryed to install syncthing on my wd cloud os 5, but there is no user root on ssh and without editing your script it not possible to install. The best way what i found - to change TARGET="$2" to TARGET="sshd@$2" and BINARY=$(find packages/$PACKAGE -name "${MODEL}${PACKAGE}.bin" | sort | tail -n1), also after install - need to login to the device and restart service manually, after it works. Also here logs:

./build_and_install.sh syncthing 172.16.0.123 WDMyCloud
Building syncthing version 1.11.1
ERROR: unknown model_name: WDMyCloudEX4
ERROR: unknown model_name: WDMyCloudEX2
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
ERROR: unknown model_name: WDMyCloudMirrorGen2
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
Move binaries
Bundle sources
Select model WDMyCloud
Created packages/syncthing/WDMyCloud_syncthing_1.11.1.bin

Upload the app packages/syncthing/WDMyCloud_syncthing_1.11.1.bin
[email protected]'s password:
WDMyCloud_syncthing_1.11.1.bin 100% 15KB 3.5MB/s 00:00

Install the app
[email protected]'s password:
Warning: this usually doesn't work!
[email protected]'s password:
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
SUCCESS!

Run test hooks
grep: /usr/local/apache2/conf/httpd.conf: No such file or directory
nc: getaddrinfo for host "[email protected]" port 8384: Name or service not known
Waiting for server...
nc: getaddrinfo for host "[email protected]" port 8384: Name or service not known
Waiting for server...
nc: getaddrinfo for host "[email protected]" port 8384: Name or service not known
Waiting for server...
nc: getaddrinfo for host "[email protected]" port 8384: Name or service not known
Waiting for server...
nc: getaddrinfo for host "[email protected]" port 8384: Name or service not known
Waiting for server...
nc: getaddrinfo for host "[email protected]" port 8384: Name or service not known
Waiting for server...
nc: getaddrinfo for host "[email protected]" port 8384: Name or service not known
Waiting for server...

Server become reachable only after i restarted it from web gui.

@JediNite
Copy link
Collaborator

JediNite commented Jul 4, 2021

@ISQman,

Why not use something like what is mentioned in https://unix.stackexchange.com/questions/344903/how-to-force-user-in-ssh-config-file to override the user that is logged into on the destination rather than updating how the "$2" variable works. It looks to have broken other stuff.

JediNite

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

2 participants