Skip to content
This repository has been archived by the owner on Aug 31, 2021. It is now read-only.

repush.sh script stuck for ever #34

Open
GBZH opened this issue Feb 11, 2021 · 7 comments
Open

repush.sh script stuck for ever #34

GBZH opened this issue Feb 11, 2021 · 7 comments

Comments

@GBZH
Copy link

GBZH commented Feb 11, 2021

Hi,
I have installed your scripts on my laptop running under Linux Ubuntu 20.04.
I enabled the USB Web UI on the remarkable 2 tablet.
Typing the following command:
reMarkable/scripts/host/repush.sh -r xxx.xxx.x.xx wcs.pdf
root@xxx.xxx.x.xx's password:
with good IP address and password, nothing happens, no error message and no file copied on the tablet. It stays there forever.
After killing the command with CTRL c, I get an error message if I try to rerun the command w/o restarting the reMarkable 2 tablet:
repush: Port 9000 is already used by a different process!

Any hints on how to solve this problem is very welcome.
Thanks,
Gilles

@trou
Copy link

trou commented Feb 11, 2021

This is probably issue #31, you can try the fix in the PR: #35

@GBZH
Copy link
Author

GBZH commented Feb 12, 2021 via email

@trou
Copy link

trou commented Feb 12, 2021

It's probably because the Web UI is disabled when the rM is disconnected.
Can you post the output of bash -x repush.sh -r x.x.x.x file.pdf ?

@GBZH
Copy link
Author

GBZH commented Feb 12, 2021 via email

@trou
Copy link

trou commented Feb 12, 2021

As the script outputs: repush: Port 9000 is already used by a different process!, you have a leftover SSH session, kill it.

@GBZH
Copy link
Author

GBZH commented Feb 12, 2021 via email

@trou
Copy link

trou commented Feb 12, 2021

the script does not work without the cable

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

No branches or pull requests

2 participants