maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Jolla1 & TOH (https://talk.maemo.org/forumdisplay.php?f=56)
-   -   Jolla Phone won't update to Sailfish 3 (https://talk.maemo.org/showthread.php?t=100695)

Mivas_Greece 2019-03-16 07:55

Jolla Phone won't update to Sailfish 3
 
Hi to everyone!

I recently got a 2nd hand Jolla Phone, since I was already a MeeGo fan and wanted to try out its evolution :)

Unfortunately, it won't update to Sailfish 3, although the update is already downloaded. It shows me an error and please try again later.

Any ideas?

nieldk 2019-03-16 08:26

Re: Jolla Phone won't update to Sailfish 3
 
Quote:

Originally Posted by Mivas_Greece (Post 1555263)
Hi to everyone!

I recently got a 2nd hand Jolla Phone, since I was already a MeeGo fan and wanted to try out its evolution :)

Unfortunately, it won't update to Sailfish 3, although the update is already downloaded. It shows me an error and please try again later.

Any ideas?

Possibly some installed packages.
You may want to do a reset, and then update from GUI (multiple steps, you can’t upgrade directly from old version)

But, to start, please show us the error message

peterleinchen 2019-03-16 09:34

Re: Jolla Phone won't update to Sailfish 3
 
Niel, if he updates via the GUI the error message is as above already said: oops, something happened!

Is it a Jolla1?
Did you reset it when received?
some more info is always good.

I would say the same as nieldk: backup whatever you have pit on device, reset and update/update/update... and configure.


--
if you know how to deal with shell and root rights you might try the manual update way and get to know a bit more (probably).

I ran into a situation where I had mixex libraries from old and new SFOS version and helpdesk's only help was: RESET! Which I definitely denied and even asking them for zpecifoc packages and locations was not answered. So it took me a few days to recover.
Long story short: reset.

Mivas_Greece 2019-03-16 10:06

Re: Jolla Phone won't update to Sailfish 3
 
Thank you both for the replies. It is the "First One". I did a reset, after reboot it was Sailfish 1, then a few updates, but still the Sailfish 3 won't install.

When I attempt it, it reboots, then the Sailfish logo appears and a line below that shows it starts installing the update but while it is still in the beginning, it stops and shows me the error message.

https://1drv.ms/u/s!AvxUhrQRLGXBgYImWQC3OwS06pZGEg

nthn 2019-03-16 10:14

Re: Jolla Phone won't update to Sailfish 3
 
It's either a conflict with packages installed from OpenRepos, but as you've reset your phone, it seems more likely that it's a strange bug that's been there since the very beginning and was never fixed. Out of all updates, I've only ever been able to install three of them the official way. All of the others I've had to install as such:
  • Enable developer mode
  • Set a password
  • Open terminal
  • Enter "devel-su", followed by your password
  • Enter "ssu re re.lease.num.ber (where re.lease.num.ber is something like 3.0.1.11, the release you want to update to)
  • Enter "pkcon refresh" (this is not mandatory, but you'll probably run into another issue with missing or conflicting packages at some point, which this helps you avoid/resolve)
  • Enter "version --dup"
  • Wait until it's finished, then reboot your device
  • That's it!

chilango 2019-03-16 14:47

Re: Jolla Phone won't update to Sailfish 3
 
often i have similar problem to update or update apps.
Than devel-su and pkcon refresh helps a lot

Mivas_Greece 2019-03-16 14:59

Re: Jolla Phone won't update to Sailfish 3
 
Thank you very much all of you guys! After 3 full resets, I managed to get it to the 3rd edition!

However, I will bookmark your comments, if it happens again, so that I avoid all of these resets, reupdating, reinstallation of apps etc...

peterleinchen 2019-03-16 15:09

Re: Jolla Phone won't update to Sailfish 3
 
--edit
oops, had this open in browser and doing other things
nevetheless:
--

Strange, should not happen with a 'fresh' device.

But follow nthn and we will probably know more.
pkcon refresh is not really necessary (but also does not hurt) as it is executed within version --dup.

I would redirect the output for easier reading
version --dup > /home/nemo/Documents/update.log
wait for finishing, then
cat /home/nemo/Documents/update.log
if everything good
sync
reboot

If not upload the log...

olf 2019-03-16 16:20

Re: Jolla Phone won't update to Sailfish 3
 
This is exactly one of the situations I created sfos-upgrade for.
It also automatically provides a log file in addition to the "live" output at the screen.

And please don't make people omitting "stop releases" by advising to blindly use ssu re <version> && version --dup, because this will likely result in failing to upgrade. Unfortunately this advice is regularly provided at TJC and here at TMO (also in this thread).
BTW, AFAICS 3.0.0.8 is also a "stop release", which should not be omitted to install!

peterleinchen 2019-03-16 16:56

Re: Jolla Phone won't update to Sailfish 3
 
Absolutely true.

nthn 2019-03-17 16:09

Re: Jolla Phone won't update to Sailfish 3
 
Quote:

Originally Posted by peterleinchen (Post 1555280)
pkcon refresh is not really necessary (but also does not hurt) as it is executed within version --dup

Interesting, I had no idea. I wonder why the issue I described still occurs even after version --dup-ing to a new version.

Quote:

Originally Posted by olf (Post 1555283)
This is exactly one of the situations I created sfos-upgrade for.
It also automatically provides a log file in addition to the "live" output at the screen.

And please don't make people omitting "stop releases" by advising to blindly use ssu re <version> && version --dup, because this will likely result in failing to upgrade. Unfortunately this advice is regularly provided at TJC and here at TMO (also in this thread).
BTW, AFAICS 3.0.0.8 is also a "stop release", which should not be omitted to install!

Great point, I always forget about stop releases as I've never had to reinstall any device, so I've always been only 1 update away from the latest version.

feedme 2019-03-17 18:11

Re: Jolla Phone won't update to Sailfish 3
 
Any one have a list of stop releases?

peterleinchen 2019-03-17 19:11

Re: Jolla Phone won't update to Sailfish 3
 
Quote:

Originally Posted by olf (Post 1555283)

Did you click any of these already provided links?

Or did you do a search with 'stop releases' on TMO? https://talk.maemo.org/showthread.ph...=stop+releases

olf 2019-03-17 22:51

Re: Jolla Phone won't update to Sailfish 3
 
Quote:

Originally Posted by nthn (Post 1555301)
Interesting, I had no idea. I wonder why the issue I described still occurs even after version --dup-ing to a new version.

Oh, this seems to be a misunderstanding:
A pkcon refresh (shouldn't be, but factually) is advisable after an SailfishOS upgrade per version --dup succeeded and one has rebooted the device.
It is not necessary in between the ssu re <version> and the version --dup, because a version --dup implicitly refreshes all active repositories before downloading and installing the updated packages.

chemist 2019-03-18 01:03

Re: Jolla Phone won't update to Sailfish 3
 
Careful with following instructions on talk or together! There are several serious misunderstandings on how SFOS works.

For starters, "installed apps" may cause dependency issues that get resolved by doing a "version --dup" even before you attempt to do anything else. Setting the release version with ssu and using version leaves out sanity checks the gui-updater does. Rebooting the system is properly done with dsmetool on cli or gui only, all other variants you may know from desktop computers may work in most circumstances and brick your devices in others (like never use "reboot" on SFOS cli especially not after an upgrade). If there was something wrong with the upgrade and you fail to recognize it you may brick your device and keep both pieces. There should be a comprehensive list of stop-releases on together.

I could go on fo hours writing up what you can and should not do, what is save to assume and append a beginners guide - oh wait, did most of that on tjc (together by jolla https://together.jolla.com/).

nthn 2019-03-18 10:11

Re: Jolla Phone won't update to Sailfish 3
 
Quote:

Originally Posted by chemist (Post 1555312)
Rebooting the system is properly done with dsmetool on cli or gui only, all other variants you may know from desktop computers may work in most circumstances and brick your devices in others (like never use "reboot" on SFOS cli especially not after an upgrade).

I won't comment on the rest, but this is total nonsense.

stickymick 2019-03-19 09:26

Re: Jolla Phone won't update to Sailfish 3
 
Not sure if it's related, but I've been getting failed updates on my Jolla 1 devices the last couple times (mainly not enough memory is the one that pops up mostly). Takes a few attempts but gets there in the end, sometimes having to uninstall apps to get it to update.

peterleinchen 2019-03-19 12:15

Re: Jolla Phone won't update to Sailfish 3
 
Quote:

Originally Posted by stickymick (Post 1555357)
Not sure if it's related, but I've been getting failed updates on my Jolla 1 devices the last couple times (mainly not enough memory is the one that pops up mostly). Takes a few attempts but gets there in the end, sometimes having to uninstall apps to get it to update.

One of the sanity check that the GUI cares about and the CLI method not.

Have >500MB free on rootfs.
On Jolla1 BTRFS also plays a role

olf 2019-04-11 14:40

Re: Jolla Phone won't update to Sailfish 3
 
@chemist, I would love to enhance sfos-upgrade, but unfortunately your post does not contain anything specific or at least pointers to specific information. So, currently it just appears to be unsubstantiated to me.

Specifically:

Quote:

Originally Posted by chemist (Post 1555312)
[...]
For starters, "installed apps" may cause dependency issues that get resolved by doing a "version --dup" even before you attempt to do anything else.

Yes, just as updating at the GUI: this is no difference, unavoidable and O.K.

Quote:

Originally Posted by chemist (Post 1555312)
Setting the release version with ssu and using version leaves out sanity checks the gui-updater does.

Which are?
Do you think I missed any in sfos-upgrade?

Quote:

Originally Posted by chemist (Post 1555312)
Rebooting the system is properly done with dsmetool on cli or gui only, all other variants you may know from desktop computers may work in most circumstances and brick your devices in others (like never use "reboot" on SFOS cli especially not after an upgrade).

Can you provide a little reasoning for your statement?
It sounds like FUD, as Jolla suggests to use reboot after upgrading SFOS at the CLI (e.g. here and at other places) and it just invokes systemd's reboot target, AFAICS.

Quote:

Originally Posted by chemist (Post 1555312)
If there was something wrong with the upgrade and you fail to recognize it you may brick your device and keep both pieces.

Well, this is always the case, regardless how an SFOS upgrade is performed, like "if there was something wrong with your food and you fail to recognize it, you may die".

Quote:

Originally Posted by chemist (Post 1555312)
There should be a comprehensive list of stop-releases on together.

No, not on TJC, but the correct link has been provided multiple times in this thread, already.

Quote:

Originally Posted by chemist (Post 1555312)
I could go on fo hours writing up what you can and should not do, what is save to assume and append a beginners guide - oh wait, did most of that on tjc (together by jolla https://together.jolla.com/).

Unfortunately searching TJC did not provide any relevant postings from you addressing SFOS ugrades at the CLI.
Can you please provide a web link or really start "writing up what you can and should not do, [and] what is save to assume"?
Thanks!


All times are GMT. The time now is 10:25.

vBulletin® Version 3.8.8