We have moved to a new Sailfish OS Forum. Please start new discussions there.
4

[bug] sailfish os could not be updated [answered]

asked 2016-09-07 17:50:55 +0200

misc11 gravatar image

updated 2016-09-07 20:07:07 +0200

hey guys.

as the headline says i cant update... i use v2.0.1.11 and want to update to todays release of v2.0.2.51.

  • i can see the update
  • it prepares the update / does balance
  • it downloads the update

when i try to install the update, i get the usual screen with the sailfish name and logo and the loading bar. a short time later the following text appears additionally:

"Sailfish OS could not be updated. Please try again later." sailfish name, logo, loading bar "the device will restart now" OK-button

normally i would think the servers are just too busy with everybody updating, but the update did actually load! (a bit slow though). so it should be a problem with my phone right???

what i tried:

  • of course unapplied all patches
  • btrfs balance checker says im at 75% - which should be ok
  • reboots, including taking the battery out
  • /tmp is empty
  • retried updating 4 times
  • ssu re 2.0.1.11 since it was set to latest

any help or ideas?

i hear i could try version --dup but im not sure if everythings save there?

edit: after about 10 tries through the GUI is just worked - didnt change anything...

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by misc11
close date 2016-09-07 20:08:37.088830

Comments

1

I've just had this, twice while trying to update to Jämsänjoki. Unapplying patches was the first thing I did before attempting to update, but it didn't help. As per nthn's suggestion, I uninstalled ANYTHING openrepos related, including the new and nifty Warehouse app by osetr. 3rd time lucky, I have the SailfishOS Logo and the white bar..............[>>>>>>>]..........idiot bar watching, reminds me of XP days, watching that damn blue/green bar, just waiting for it all to f**k up! :D

Spam Hunter ( 2017-07-24 15:28:28 +0200 )edit

Just had this problem with the latest 2.1.2.3

I do not have openrepos installed. Only Whatsapp and Instagram are installed. Enough space is available too. What can I do to update?

devarshi84 ( 2017-10-18 13:35:53 +0200 )edit

@devarshi84 well, without openrepos that seems new. i just tried it again and again... and at some point it worked. the last update took me 3 tries. when i posted this it was like 10 tries.

if it doesnt work, please post a new thread. refer to this thread and explain in detail what version, hardware, software you are using and describe how it fails exactly. sorry i cant help, but someone sure will...

misc11 ( 2017-10-18 14:08:51 +0200 )edit

Update from 2.1.1.26 to 2.1.2.3 was downloaded but the install did not succeed. It always just hangs immediately and device has just a dark screen. From ssh journal I can see only this relevant message:

Oct 20 07:25:50 Sailfish mapplauncherd[7759]: Daemon: Exited boot mode.
Oct 20 07:25:50 Sailfish systemd[1123]: Started Signal booster-qt5 that boot is over.
Oct 20 07:25:51 Sailfish systemd[1123]: maliit-server.service: Main process exited, code=exited, status=1/FAILURE
Oct 20 07:25:51 Sailfish invoker[7754]: invoker: Invoking execution: '/usr/bin/maliit-server' 
Oct 20 07:25:51 Sailfish systemd[1123]: Failed to start The Maliit server.
Oct 20 07:25:51 Sailfish systemd[1123]: maliit-server.service: Unit entered failed state.
Oct 20 07:25:51 Sailfish systemd[1123]: maliit-server.service: Failed with result 'exit-code'.
Oct 20 07:25:52 Sailfish kernel: [05:25:52.637636] [00000002122074C0] [wpa_s]  wlan: [E :HDD] wlan_hdd_get_frame_logs: Frame Logging not init!
Oct 20 07:25:53 Sailfish kernel: [05:25:53.221404] [0000000212CB7B64] [VosMC]  wlan: [E :VOS] Country does not map to any Regulatory domain
Oct 20 07:25:53 Sailfish kernel: [05:25:53.221582] [0000000212CB88CA] [VosMC]  wlan: [E :VOS]  Country does not map to any Regulatory domain

The maliit-server.service doesn't even exist on the system

[root@Sailfish nemo]# systemctl status maliit-server.service
● maliit-server.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)

Maybe the first update failed somehow miserably.

Trying now the manual update https://together.jolla.com/question/133600/how-to-update-sailfish-the-unofficial-way/ which seems to be working.

mcfrisk ( 2017-10-20 08:48:24 +0200 )edit

@mcfrisk if its fixed now, good. if you need help, please make your own thread! this one is closed!

misc11 ( 2017-10-20 10:11:46 +0200 )edit

1 Answer

Sort by » oldest newest most voted
8

answered 2016-09-07 18:49:55 +0200

nthn gravatar image

This is always caused by some packages from OpenRepos which interfere with the update process for whatever reason. My update to 2.0.2.48 worked perfectly, then the update to .51 broke again, and I have no idea which package(s) is/are causing this problem. The workaround is:

devel-su
ssu re 2.0.2.51
version --dup

Then reboot. It shouldn't take too long because all packages are already downloaded.

edit flag offensive delete publish link more

Comments

1

@nthn for me it eventually worked through the GUI... but thanks anyway. ill mark it as the correct answer for other people....

misc11 ( 2016-09-07 20:08:27 +0200 )edit

Worked great for me, thanks!

Beethoven ( 2016-12-01 12:51:24 +0200 )edit

@nthn tell me if this could be possible:

the incompatible patches which are being uninstalled prevent the update - every try only uninstalls one patch

the reason i think this: the number of tries to update correlates with the number of patches uninstalled during the update. last time i didnt count, but this time (2.0.5) it matched

misc11 ( 2016-12-01 23:44:36 +0200 )edit
4

The same problem with 2.2.0.29 and this solution works perfectly.

Peter S. ( 2018-06-01 10:20:45 +0200 )edit
1

+1! I also had this issue with 2.2.0.29 and this worked for me as well. Thanks!

devel-su ssu re 2.2.0.29 version --dup

PK ( 2018-06-08 17:42:37 +0200 )edit

Question tools

Follow
3 followers

Stats

Asked: 2016-09-07 17:50:55 +0200

Seen: 2,154 times

Last updated: Sep 07 '16