ddvk / remarkable-update

force a full factory reset / re-update / upgrade
MIT License
172 stars 18 forks source link

Error updating #11

Open Huseyn050 opened 3 years ago

Huseyn050 commented 3 years ago

Followed all the instructions but after showing updating to 2.8 for a few seconds it says error updating,,, (I'm trying to go from 2.9 to 2.8) Stuck on what to do here. Rebooting afterwards with and without running switch.sh does nothing. Need help

Heres my log from terminal which can hopefully clear something up: requested: 2.9.1.217 platform: reMarkable2 Response: <?xml version="1.0" encoding="UTF-8"?>

192.168.0.105 - - [21/Aug/2021 02:00:18] "POST / HTTP/1.1" 200 - <?xml version="1.0" encoding="UTF-8"?>

Update done <?xml version="1.0" encoding="UTF-8"?>

wbernoudy commented 3 years ago

Hey Huseyn050, I have not contributed to this project, but I was having the same issue until I told the host machine to use the hostname I was using on the remarkable tablet. I had set

SERVER=http://MYHOSTNAME:8000

in /usr/share/remarkable/update.conf on the remarkable, so I had to run

python serve.py MYHOSTNAME

on my computer. Hope that helps.

Huseyn050 commented 3 years ago

@wbernoudy you mean putting the same IP on both? like the local IP address? cause thats what I did and it refuses to work. Unless you meant something else

wbernoudy commented 3 years ago

Yes, that is what I meant. Perhaps you can post the entire output of python serve.py, and of journalctl -u update-engine on the remarkable?

Huseyn050 commented 3 years ago

@wbernoudy Hi again! sorry for the late reply, I attached the full output for python serve.py but unfortunately I couldn't get the log from the remarkable for some reason. Might try again later. Please tell me if you notice anything specifically, thanks! Remarkable Attempted Downgrade log.txt

UPDATE: got log from remarkable as well remarkable update log.txt

wbernoudy commented 3 years ago

When I run python serve.py HOSTNAME, the logs start with

Using hostname, to override use: ./serve.py hostname
Device should use:  http://HOSTNAME:8000/
Available updates: {'reMarkable2': ('2.7.0.51', '2.7.0.51_reMarkable2.signed')}
Starting fake updater: 8000

which seems to be missing from your logs.

It looks like your server is using http://{192.168.0.114}:{8000} and you set your remarkable to use http://Huseyns-MacBook-Pro.local:8000. If it's still not working, try to post the exact command you used to run the server, the entire logs, the contents of /usr/share/remarkable/update.conf, and all the logs from the remarkable again.