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

[1.1.2.16] System update fails to download

asked 2015-03-05 11:08:00 +0200

J24 gravatar image

updated 2015-03-05 12:16:43 +0200

Earlier update appeared to be downloaded succesfully, but trying to install it gave: "Sailfish OS couldn't be updated, try again later. Device will now reboot".

Now, after I've done

rm /home/nemo/.cache/store-client/os-info
pkill store-client

and booted the device (both several times), I cannot even download the update anymore. The device tries to download the update, but progress indicator does not move forward and after 10+ seconds it says update failed.

During the download attempt journalctl gives me

maalis 05 09:48:31 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::isolateNext:96 - disabling "openrepos-Dax" 
...
maalis 05 09:48:33 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::isolateNext:96 - disabling "openrepos-sarkh" 
maalis 05 09:48:33 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::isolateNext:96 - disabling "store" 
maalis 05 09:48:37 J24jolla [3574]: [D] Package::DistUpgradeTransactionPkgKit::start:42 - virtual void Package::DistUpgradeTransactionPkgKit::start() 
maalis 05 09:48:37 J24jolla [3574]: [D] Package::DistUpgradeTransactionPkgKit::start:43 - SSU device configuration pattern: "jolla-configuration-sbj" 
maalis 05 09:48:37 J24jolla [3574]: [D] Package::DistUpgradeTransactionPkgKit::refresh:72 - void Package::DistUpgradeTransactionPkgKit::refresh() 
maalis 05 09:48:40 J24jolla [3574]: [D] PackageHandler::slotUpgradeProgress:665 - void PackageHandler::slotUpgradeProgress(int) 1 
maalis 05 09:48:40 J24jolla [3574]: [D] DBusConnector::storeCredentials:519 - void DBusConnector::storeCredentials(const QDBusMessage&) 
maalis 05 09:48:40 J24jolla kernel: PK-Backend(3606) send signal 9 to ssu(3687)
maalis 05 09:48:42 J24jolla [3574]: [D] DBusConnector::storeCredentials:519 - void DBusConnector::storeCredentials(const QDBusMessage&) 
maalis 05 09:48:42 J24jolla kernel: PK-Backend(3606) send signal 9 to ssu(3690)
maalis 05 09:48:44 J24jolla [3574]: [D] DBusConnector::storeCredentials:519 - void DBusConnector::storeCredentials(const QDBusMessage&) 
maalis 05 09:48:44 J24jolla kernel: PK-Backend(3606) send signal 9 to ssu(3693)
maalis 05 09:48:46 J24jolla packagekitd[3606]: Needs authentication: https://store-repository.jolla.com/releases/1.1.2.16/jolla-hw/adaptation-android-common/armv7hl/?credentials=store
maalis 05 09:48:47 J24jolla packagekitd[3606]: Needs authentication: https://store-repository.jolla.com/releases/1.1.2.16/jolla-hw/adaptation-android-common/armv7hl/?credentials=store
maalis 05 09:48:47 J24jolla [3574]: [D] Package::DistUpgradeTransactionPkgKit::slotTransactionError:154 - void Package::DistUpgradeTransactionPkgKit::slotTransactionError(PackageKit::Transaction::Error, const QString&) 37 "Authentication failed (is SSU set up correctly?)" 
maalis 05 09:48:54 J24jolla [3574]: [D] Package::DistUpgradeTransactionPkgKit::slotTransactionFinished:114 - void Package::DistUpgradeTransactionPkgKit::slotTransactionFinished(PackageKit::Transaction::Exit, uint) 2 16590 
maalis 05 09:48:54 J24jolla [3574]: [D] PackageHandler::slotUpgradeFailure:689 - void PackageHandler::slotUpgradeFailure(const QString&) "Authentication failed (is SSU set up correctly?)" 
maalis 05 09:48:54 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::slotWrappedTransactionFailure:244 - Wrapped transaction failed: "Authentication failed (is SSU set up correctly?)" 
maalis 05 09:48:54 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::setSsuVersion:181 - void Package::RepositoryTransactionPkgKit::setSsuVersion(const QString&) new version "1.1.2.16" current version "1.1.2.16" 
maalis 05 09:48:54 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::restoreNext:129 - enabling "openrepos-Dax" 
maalis 05 09:48:54 J24jolla [3574]: [D] Package::DistUpgradeTransactionPkgKit::~DistUpgradeTransactionPkgKit:37 - virtual Package::DistUpgradeTransactionPkgKit::~DistUpgradeTransactionPkgKit() 
maalis 05 09:48:54 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::restoreNext:129 - enabling "openrepos-Elleo" 
...
maalis 05 09:48:56 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::restoreNext:129 - enabling "openrepos-sarkh" 
maalis 05 09:48:56 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::restoreNext:129 - enabling "store" 
maalis 05 09:48:57 J24jolla [3574]: [D] PackageHandler::slotUpgradeSuccess:674 - void PackageHandler::slotUpgradeSuccess() 0 
maalis 05 09:48:57 J24jolla [3574]: [D] PackageHandler::slotUpgradeSuccess:677 - Already failed earlier. 
maalis 05 09:48:57 J24jolla [3574]: [D] Package::RepositoryTransactionPkgKit::~RepositoryTransactionPkgKit:30 - deleting RepositoryTransactionPkgKit

At this point ssu re printed Device release is currently: 1.1.2.16. My device information page says current version is 1.1.1.27 so I did ssu re 1.1.1.27 and tried to update again, still fails to download.

EDIT: Before anyone asks, I've triple checked the obvious: The device is connected to the internet. Tried to download the update both over WiFi and mobile data.

edit retag flag offensive close delete

Comments

Maybe you got some issues through the usage of some openrepos applications?

strassi ( 2015-03-05 12:35:14 +0200 )edit

Try to remove your jolla account in settings -> accounts. Then add it again. This should update your credentials on device.

xfade ( 2015-03-05 13:45:08 +0200 )edit

@xfade, yesterday removed the account and added it again. Tried to download update, no luck. Tried again in the evening (without logging out), download starts, downloads little bit (~1/6) at normal speed, then suddenly jumps to being "complete" suspiciously fast. I try updating. Update progresses to about 1/6, then "Sailfish OS couldn't be updated, try again later. Device will now reboot".

After some time the device goes completely dark and does not respond to anything. After waiting a couple of minutes I removed battery (which I prolly shouldn't have). Currently in bootloop. Trying recovery mode next. Good thing I have automatic daily full filesystem backups.

J24 ( 2015-03-06 14:22:42 +0200 )edit

@strassi, this seems most probable. Any easy way of finding out which one it could be? I have installed guite a few. No patchmanager tho.

J24 ( 2015-03-06 14:25:08 +0200 )edit

I don't know a easy way of determining, which package causes your problems. You also could have a problem with the cache. Check out this threat.

strassi ( 2015-03-09 16:04:40 +0200 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2015-03-26 23:41:29 +0200

J24 gravatar image

After some upgrade attempts my problem escalated into a bootloop. I was able to finish the upgrade manually in recovery mode after which the phone booted (almost) normally.

I suspect the actual problem causing this had nothing to do with any specific package I had installed. Instead, my phone was suffering from a btrfs allocation problem. Especially after the manual upgrade, my phone started having various strange stability problems, which soon escalated into more and more severe ones. In the end all my accounts stopped working, messages could not be received, most apps crashed right after starting...

I was able to resolve this by carrying out the btrfs balance operation as described by @Manatus in the article linked above.

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
1 follower

Stats

Asked: 2015-03-05 11:08:00 +0200

Seen: 730 times

Last updated: Mar 26 '15