[4.5.0.16][Xperia 10 III] Signal doesn't do backup to sdcard anymore

REPRODUCIBILITY: 100% (always)
OSVERSION: 4.5.0.16
HARDWARE: Sony Xperia 10 III - aarch64
UI LANGUAGE: Deutsch (user: de_DE, os: de_DE.utf8)
REGRESSION: yes (since: update)

DESCRIPTION:

Backup of Signal messages stopped working after updating to SFOS 4.5.

PRECONDITIONS:

Signal was installed before update.

STEPS TO REPRODUCE:

  1. update your phone
  2. start a backup from Signal settings
  3. check files on your SDCard

EXPECTED RESULTS:

Backup is created.

ACTUAL RESULTS:

Backup is not created.

MODIFICATIONS:

  • Patchmanager: no
  • OpenRepos: yes
  • Chum: no
  • Other: none specified

ADDITIONAL INFORMATION:

Device Owner User: defaultuser
Home Encryption: enabled
SDCard: ext4

I suspect this is a problem with users/uids groups/gids that have changed. When I check the backup from before the update, the user/group it was created with doesn’t exist anymore.

[Edit 1]: I was right with my suspicion. This seems to be a general problem with user/group-rights for android artifacts after the migration. Related to: 4-5-0-16-10ii-android-app-audible-is-unusable-saying-sd-card-requiredPreformatted text
[Edit 2]: I think I’ve solved the problem although I wasn’t successful yet in performing a backup. But at least after turning off backup Signal cleaned the old backup files as expected this time. There is a backup scheduled during the night. I’ll give a heads-up tomorrow. What I did so far:

  1. Find the group that is used by android apps in sailfish now:
[root@JollaBart android_storage]# getfacl /home/defaultuser/android_storage/
# file: home/defaultuser/android_storage/
# owner: 501023
# group: appsupport-media_rw
user::rwx
group::rwx
group:defaultuser:rwx
mask::rwx
other::---
default:user::rwx
default:group::rwx
default:group:defaultuser:rwx
default:mask::rwx
default:other::---
  1. chown and chmod the directory for the backup on the SDCard recursively:
[root@JollaBart android_storage]# chown -R :appsupport-media_rw /run/media/defaultuser/1ae588c3-0da0-44f9-97c6-e3e2f496efdc/Signal
[root@JollaBart android_storage]# chmod -R g+rw /run/media/defaultuser/1ae588c3-0da0-44f9-97c6-e3e2f496efdc/Signal/
[root@JollaBart android_storage]# ls -ld /run/media/defaultuser/1ae588c3-0da0-44f9-97c6-e3e2f496efdc/Signal/
drwxrwxr-x    2 media_rw appsuppo      4096 Feb 14 17:11 /run/media/defaultuser/1ae588c3-0da0-44f9-97c6-e3e2f496efdc/Signal/
2 Likes