REPRODUCIBILITY (% or how often): 100%
BUILD ID = OS VERSION (Settings > About product): 4.0.1.45
HARDWARE (Jolla1, Tablet, XA2,…): XA2 Dual Sim
DESCRIPTION:
I want to open a core app (e.g. Mail, Phone, Contact, Notes, Documents, Mediaplayer…), at first startup it asked for permissions (e.g. to access contacts). I accepted.
The app tries to load and can be seen on the app grid for two second and then closes. After this the app always closes.
The phone is completely unusable at the moment. I cant even receive calls, since the phone app cant be started.
PRECONDITIONS:
Fresh install of 4.0.1.45
I read the instructions for system update carefully. Everything worked fine. No patches or other critical apps installed.
ADDITIONAL INFORMATION:
What I tried so far (and does not work):
use backup data
reboot phone
refreshing sync accounts
deleting a core app an reinstalling it (media player)
What did work:
starting an app by terminal works, but the app does not show any data (screenshot attached). May be the terminal output has some useful information.
I cannot open the Calendar. Tap on the icon and the larger app icon appears the circle spins for several seconds then the larger icon closes. The upcoming calendar events are showing in the notifications panel but when you choose more the calendar won’t open.
The Phone app opens and works OK, but the the keyboard cannot be accessed for the search function. Tapping on the search function in the Phone app doesn’t do anything.
The search function works from within the People app.
Otherwise the core apps seem to be working properly.
The lack of the Calendar is limiting for me as I use my phone as my diary and refer to the calendar several time a day.
EDIT.
I see in the release notes that the Dynamic Calendar Icon by Fravaccaro has been reported to break the Calendar app. I just need to figure out how I remove this icon. It doesn’t show up as an installed app.
I have also discovered the Clock app will not work. I was also using the Dynamic icon for that.
I see that these apps are no longer in the Store/Storeman and so far I have been unable to find a way to switch back to the original icons. I have sent a message to Fravaccaro asking for help, though it looks as if he has no Sailfish apps anymore, so I’m no sure I’ll hear back from him.
I’m looking for suggestions as to how I might revert back to the original icons.
As a last resort I can uninstall/reinstall the Calendar app but there doesn’t seem to be a way to this for the clock.
In my case it is definitely a problem with sandboxing a.k.a. firejail. Non of the apps that need permission does start.
Is there a way to repair/test the firejail implementation - or a way way to check whether the update process was correct?
I also tried to create a new user, but the problems persists with other users. I am really afraid, I need another reflash of the phone - which was already the case with the last system update. I have not patches or system tweaks - just a few harbour apps.
Hello, in my case, a reinstall did not help. However, I was able to get the gallery-app started by modifying the *desktop file
The original looks like this:
Brilliant. Thank you @peterleinchen Had same issue here on XA2.
Had removed dyncal and dynclock entries but neither Clock or Calendar App would work. Using pkcon to reinstall jolla-clock and jolla-calendar solved this for me too. Many thanks.
I run journalctl -f as root and watched the log entries when starting the browser. firejail complained about /etc/hosts. Right, my /etc/hosts was a link to a file downloaded from https://github.com/StevenBlack/hosts
After restoring the original /etc/hosts file the problem is gone for the 4 affected applications.
P.S. It has already been reported that the browser does no longer obey such modified /etc/hosts files, I haven’t looked into the solution given there yet.
Thanks for the tip @ugeuder ! I had also a modified etc/hosts . Restoring the original etc/hosts however didn’t really help (but that may also be a result of my modification of the *dekstop files to get the apps working).
Hello, for me it also complained in the journalctl log that “[sailjail] ERROR: no section for jolla-clock in /usr/share/applications/jolla-clock.desktop”
And it’s launched via invoker -s --type=silica-qt5
I tried to reinstall or to change the line by sailjail -p one to no avail…
BUT changing the line to sailjail -p xxx (in clock and calendar) and THEN reinstalling the app worked.
I guess it may be dyncal and dynclock which had messed with sailjail ?
Is sailjail new to the last update ? Is it the thing that asks for permissions ? What is the expected Exec= for clock and calendar ?
Dyncal/clock altered .desktop files and update wasn’t prepared to update changed files.
Yes, sailjail is new in 4.x, and is an attempt to provide sandboxing in SFOS (sailfish layer for firejail).
I have the same problem here (custom /etc/hosts from the web, but as a static file). I already copied back the original /etc/hosts file and also did a reboot, but I still get the log error:
I can run the apps manually from the terminal without the sandbox, but then the phone app does not have any access to the contacts, I only see the numbers, and the mail program is also empty.
Any hints on how to solve this without a complete flash? This is very anoying, as I can’t even take an incomming call, I have to wait for them to hang up, check the number in the notifications and then call them back from a different phone.
So readlink does not return anything, hosts.backup is the backup of the original file which I restored to the hosts file and the other two are different versions of a custom hosts file.