can't update to 2.0.0.10 [Fatal error: Authentication failed (is SSU set up correctly?)] [answered]
Ok, so i can't seem to update to 2.0.0.10.
what happened:
- I got notification for 1.1.9.30 (from 1.1.9.28 ?)
- I did that update with backups
- After this, i got notification for 2.0.0.10
- I too started did this with backups
- I remember it saying (250MB) size
- After download, i did the update
- After it rebooted (after update), it seemed ok-ish, except that i got another update to 2.0.0.10
- I thought what the hell, and did it once more
- but this time, the download said: store error: cannot determine download size or something similar
- i rebooted and rechecked and stuff, and tried the download several times, it just keeps stuck in downloading
- after this, i figured, i should check btrfs, and i noticed all blocks were allocated, and figured a btrfs rebalance would be useful (size is 8/13.6), thinking that due to the backups, i might get too much metadata and run out of metadata space.
- after the rebalance, i got several blocks unallocated
- now, i retried download, but still got "download size unknown" error
- this time, i checked ssu s and pkcon refresh and noticed pkcon refresh had the fatal error: authentication failed
- but ssu domain was correct, release was set to 2.0.0.10, but otherwise looked, ok. i noticed the fatal error came after 44% and looking at global list in ssu lr, the 5th of 9 items, was the "customer-jolla" repository
- i should note that i have an exact copy of this one in the user entries, which is odd, it being there twice.
- anyway, disabling this one with "ssu dr" does result in pkcon refresh actually working
- i should note that i removed jolla account and readded it successfully, just to see if that would work too
- after all this, i did ssu release 1.1.9.30 && version --dup
- this worked, but that doesn't quite solve the problem of updating to 2.0.0.10
- a normal upgrade, still had the download issue
- i'm not sure, but maybe this all is related to that "customer-jolla" repository that's in there twice(once in global, once in user)? maybe it's overriding token credentials and thus failing to authenticate or something...
if anyone has some more ideas, please, let me know...
Step 4: If there is little disk space left and/or btrfs is out of balance, then it would be better to do the backup separately before the OS update, copy the backup data to your SD card, and then delete that data from the phone using Sailfish Utilities.
Step 14: Become root first with
devel-su
, then dopkcon refresh
.Step 22: Borrowing tigeli's advice from https://together.jolla.com/question/116139/20010-upgrade-failed-wlan-networking-broken-11930/:
devel-su
ssu dr customer-jolla
as it's currently causing authentication issues.pkcon refresh
succeeds nowversion --dup
should work now.ssu er customer-jolla
.I hope this helps. Best of luck!
jovirkku ( 2015-11-06 14:15:52 +0200 )editi did that in step 17 to 19..
AL13N ( 2015-11-13 03:17:20 +0200 )editversion --dup just gets me 1.1.9.30 and updates it...
should i do a ssu release 2.0.0.10 ?
also, wouldn't it be better if i could get back to normal situation with customer-jolla? because after update, and re-enabling customer-jolla, pkcon refresh would likely still fail... which means i would only be half updated...
can't i just do a ssu rr and reinstall the package that would have customer-jolla repository? (whichever one it is?)
AL13N ( 2015-11-15 20:11:27 +0200 )editvia editing /etc/ssu/ssu.ini i got the problem resolved of duplicate repository, but something still fails with the customer-jolla repository.
i'm retrying the steps above now, but if i still get 1.1.9.30, i'll try ssu release 2.0.0.10 and retry once more
AL13N ( 2015-11-21 12:21:12 +0200 )editok, the solution worked. after the update (using version --dup), i enabled the customer-jolla again and now the refresh works once more...
AL13N ( 2015-11-21 12:54:01 +0200 )edit