PDA

View Full Version : Issue with Store? [SOLVED by device reset]


minimos
2013-12-14, 09:50
Does anybody else have issues with installing apps/updates from Store or is my device only? :confused:

Yesterday when I came back home I turned on my Jolla (latest version, Laadunjärvi) and shortly after that I got notification of update available for two apps, quicklist and bluewhale, and I pulled-down the 'update all' option.
I didn't check the device during the updates but towards the end I briefly saw the top bar notifying an install failure.

Later I tried also to install a new app from Store: failure (store down?)
Note: wifi network was working ok, I could use browser, email, etc.

Wait until this morning: still failure to install apps. Hmm...

I'm not sure what commands to try from CLI, but e.g.:
[root@localhost nemo]# ssu ur
[D] NetworkService::setPath:447 - void NetworkService::setPath(const QString&) "Method "GetProperties" with signature "" on interface "net.connman.Service" doesn't exist
"

(Not sure which user I should be to run that command)
Similarly for "ssu lr" it does report all repos but in top there is the same network error message.

Edit:

minimos
2013-12-14, 19:38
It seems that somehow my device was not able to install anymore stuff from Jolla Store, for some reason.
The error I reported in previous post could probably give some clue.

I solved the problem by using the 'reset device' option: after that all is working.
The interesting discovery is that after the reset, the device was back to the original version 1.0.0.5 and it had to download and run again the system upgrade to 1.0.1.10. Coming from N9 experience, that was unexpected.

If anybody is interested in the upgrade details, before applying the upgrade, I saved the list of packages that have been downloaded, and uploaded it to pastebin: http://pastebin.com/KzuG90VB

Watchmaker
2013-12-14, 19:46
I read somewhere here on TMO that enabling developer updates when enabling developer mode breaks the store. Don't know if it was your case.

minimos
2013-12-14, 21:41
I read somewhere here on TMO that enabling developer updates when enabling developer mode breaks the store. Don't know if it was your case.
Thanks, but unless developer mode itself breaks the store (as I did not enable developer updates), it must probably something else.
And just to clarify I didn't mangle with files or settings while logged via ssh.

Watchmaker
2013-12-15, 01:45
Thanks, but unless developer mode itself breaks the store (as I did not enable developer updates), it must probably something else.
And just to clarify I didn't mangle with files or settings while logged via ssh.

No, not according what I read. So the cause of your problem was most surely something else. :)

Boxeri
2013-12-15, 07:17
Currently I have rhe same problem. I can't update nor install anything from store. No devrloper updates enabled and reboot not helping. Does not work in either wlan or gsm.

I dont want to do factory reset. Does anyone know how to reinstal store from terminal?

Will write care@jolla if some help could be got that way

rainisto
2013-12-15, 08:02
Have you tried running following commands from terminal: (it can be runned as root or nemo, I usually run it as nemo).

ssu domain sales
pkcon refresh

* This will change your domain back to normal end user mode and store will start to work after that. Reason for this bug (which will be fixed in future updates) is that if you ever press the devel updates field (and even if you enter wrong password and disable it afterwards, it changes your domain accidentally to devel repositories, and then pkcon will fail as currently only jolla employees have login credentials to devel repoes. And you need to switch back to sales domain to switch back to repositories that dont require devel credentials.

PS. that NetworkService::setPath debug line can be ignored, as its nothing to do with the problem itself ;-)

PS2. and second most common error, is that datetime is 1 minute behind the real time (and https certificate checking will fail in that case), so please double check that your time is correctly setup.

Boxeri
2013-12-15, 08:48
I get:

Vakava virhe (fatal error): Autheticaton failed (is SSU set up corretly?)

minimos
2013-12-15, 08:55
ssu domain sales
pkcon refresh

Can you explain a bit what the 'ssu domain sales' does, and should be run as nemo or root?

pycage
2013-12-15, 09:26
Can you explain a bit what the 'ssu domain sales' does, and should be run as nemo or root?

Do it as root. It switches the domain of package repositories to the package repositories that are open for sales devices, if for some reason you got the domain switched to development repositories.

rcolistete
2013-12-15, 22:18
Does anyone know the solution for the issue below ?
https://lists.sailfishos.org/pipermail/devel/2013-December/001797.html

c.mort
2013-12-17, 10:07
Solved the same problem with the store by deleting /etc/ssu/ssu.ini (removing the credentials from the file could work as well), removing my Jolla account from the phone and adding it back.

Probably because of all this the device now suggests downgrade from 1.0.1.10 to 1.0.0.5 whereas update to 1.0.1.12 is promised to solve the problem with the store for good.

Well at least the store is working for now...

Alfdererste
2013-12-18, 11:27
Hi,
I have a similar problem.
Can't install Apps from Jolla store except System Apps.
Install clock, mail, calendar... etc. is working but everything else "Problem with store: harbour-someAppName can't be installed"

ssu domain is set to "sales", sytem Time is correct, also tried to register a new Jolla account and finally i reseted the phone nothing worked!

Any other Ideas?

pycage
2013-12-18, 11:49
Solved the same problem with the store by deleting /etc/ssu/ssu.ini (removing the credentials from the file could work as well), removing my Jolla account from the phone and adding it back.

Probably because of all this the device now suggests downgrade from 1.0.1.10 to 1.0.0.5 whereas update to 1.0.1.12 is promised to solve the problem with the store for good.

Well at least the store is working for now...

Probably removing the ssu.ini is the reason why you get 1.0.0.5 offered for update now. It holds information about repositories. Maybe to get back into a good state, you should go down the road back to 1.0.0.5, then update to 1.0.1.12 again.
Otherwise, your device might not be able to get notified about future updates.

Alfdererste
2013-12-19, 12:14
Hi,
I have a similar problem.
Can't install Apps from Jolla store except System Apps.
Install clock, mail, calendar... etc. is working but everything else "Problem with store: harbour-someAppName can't be installed"

ssu domain is set to "sales", sytem Time is correct, also tried to register a new Jolla account and finally i reseted the phone nothing worked!

Any other Ideas?

Somebody expirienced similar problems?
I still have the problem even after reset the device to delivery state.. very strange.

"pkmon" shows only percentage of progress, but no package name to be downloaded as on apps that work..

can I check repositories missing or somthing? And how?

I contacted Jolla allready, but don't know how long it will take until an anwer..

So if anyone has an idea, i would be lucky.. :)

c.mort
2013-12-20, 19:06
Somebody expirienced similar problems?
I still have the problem even after reset the device to delivery state.. very strange.

"pkmon" shows only percentage of progress, but no package name to be downloaded as on apps that work..

can I check repositories missing or somthing? And how?

I contacted Jolla allready, but don't know how long it will take until an anwer..

So if anyone has an idea, i would be lucky.. :)

Have you had any luck updating SailfishOS to 1.0.1.12? Should help with some problems relating to store. If it won't do you any good, you can always try updating repositories (in terminal) with:

ssu ur

and listing them with:

ssu lr

Listed repositories should be (depending on your OS version) something like:

Enabled repositories (global):
- adaptation0 ... https://store-repository.jolla.com/releases/1.0.1.12/jolla-hw/adaptation-android-common/armv7hl/
- adaptation1 ... https://store-repository.jolla.com/releases/1.0.1.12/jolla-hw/adaptation-qualcomm-sbj/armv7hl/
- aliendalvik ... https://store-repository.jolla.com/releases/1.0.1.12/aliendalvik/SbJ/
- apps ... https://releases.jolla.com/jolla-apps/1.0.1.12/armv7hl/
- eas ... https://store-repository.jolla.com/features/1.0.1.12/eas/armv7hl/
- hotfixes ... https://releases.jolla.com/releases/1.0.1.12/hotfixes/armv7hl/
- jolla ... https://releases.jolla.com/releases/1.0.1.12/jolla/armv7hl/

Enabled repositories (user):
- store ... https://store-repository.jolla.com/SbJ/armv7hl/

Disabled repositories (global, might be overridden by user config):

Disabled repositories (user):
- home ... https://download.jollamobile.com/home:/honeybadger/latest_armv7hl/

Probably removing the ssu.ini is the reason why you get 1.0.0.5 offered for update now. It holds information about repositories. Maybe to get back into a good state, you should go down the road back to 1.0.0.5, then update to 1.0.1.12 again.
Otherwise, your device might not be able to get notified about future updates.

Did just what you suggested after checking that changing "release=latest" to "release=1.0.1.12" in ssu.ini alone wasn't changing the downgrade to an update. Downgrade didn't seem to change the OS version (didn't delve too deep into this), but I was able to make the update afterwards.

Meanwhile in the process of deleting ssu.ini I would have lost the url for home repo without a backup. Otherwise the device seems very resilient on recreating the file (with few changes like the release part) .

Alfdererste
2013-12-21, 12:29
Have you had any luck updating SailfishOS to 1.0.1.12? Should help with some problems relating to store. If it won't do you any good, you can always try updating repositories (in terminal) with:..


The problem appeared first after updating to 1.0.1.12 but maybe it existed before..
however, I solved it in meantime:

I deleted the ssu.ini downgraded to 1.0.0.5 then I did a device reset(still not working) and a second device reset.
After the second reset it worked :D
Then updated to 1.0.1.12 and now it is still working!
Hooray! :)

Anyway, thanks for your help!