RemoteServiceException Error (where to send zip)

Hi there. New to the E/OS. Pretty much since I started using the OS with a murena-account I get the following error (at least) 2 times per day. It’s not a big deal, but it’s becoming a bit of an annoyance. I have a Samsung S9 (starlte):

Debug info
ZIP archive
Contains debug info and logs

Share the archive to transfer it to a computer, to send it by email or attach it to a support ticket.

RemoteServiceException
Context.startForegroundService() did not then call Service.startForegound(): ServiceRecord{2a4c9a u0 foundation.e.accountmanager/androidx.work.imp.foreground.SystemForegroundService}

Where do I email this zip-file to and where can I find it on my phone?

Thanks for the help in advance.

you could send it to yourself, search for “RemoteServiceException” in the text log, purge it of any personal info if present and post the stacktrace here that’s attached with a few dozen lines to the initial error message, also name the version you’re currently on.

Two example exceptions stacktraces looks like this.

The ST will help identify the code line things fail at. In the end I guess comparing your config options will come up. There’s no catalogued “RemoteServiceException” yet in the issue tracker.

Thanks for the reply.

I understand that I can send it myself, but I want to know to whom. Since you mentioned I can place it here, there’s still the issue of where the text-file is located on my phone. Which folder should I look in, so I can transfer it to my computer. I don’t have mail on the phone. The link you sent doesn’t contain info about that.

I linked only for an impression of a java exception stacktrace for you to identify it when opening a plaintext logfile. Yes, it has no further info on where to find it.

Where do I email this zip-file to and where can I find it on my phone?

As far as the support FAQ goes, sending in bugreports to the helpdesk by mail (if set up) isn’t encouraged. The wording in the popup originates with davx/accountmanager and isn’t customized by /e/ as far as I can tell to be more instructive what to do - so you’re right to ask for directions.

If the popup doesn’t ask you where to store the zip file and you don’t see the filesystem as share target, a mini app like Send to sdcard helps to get this and store the bugreport where you can find it again.

Thank you. It would have been nice to save it on the phone itself as soon as it’s get generated though. That’s something I can request I hope.

There are 2 files located in the zip: debug-info.txt and logcat.txt.
This is from the debug-info.txt:

--- BEGIN DEBUG INFO ---

EXCEPTION
android.app.RemoteServiceException: Context.startForegroundService() did not then call Service.startForeground(): ServiceRecord{1028686 u0 foundation.e.accountmanager/androidx.work.impl.foreground.SystemForegroundService}
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2005)
	at android.os.Handler.dispatchMessage(Handler.java:106)
	at android.os.Looper.loop(Looper.java:223)
	at android.app.ActivityThread.main(ActivityThread.java:7664)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

SOFTWARE INFORMATION

┌────────────────────────────────┬───────────┬───────────┬───────────┬───────┐
│ Package                        │ Version   │ Code      │ Installer │ Notes │
├────────────────────────────────┼───────────┼───────────┼───────────┼───────┤
│ foundation.e.accountmanager    │ 4.3.9-ose │ 403090002 │ —         │       │
│ foundation.e.tasks             │ 1.4.2     │ 8300      │ —         │       │
│ com.android.providers.contacts │ 11        │ 30        │ —         │       │
│ com.android.providers.calendar │ 11        │ 30        │ —         │       │
│ foundation.e.calendar          │ 11        │ 30        │ —         │       │
└────────────────────────────────┴───────────┴───────────┴───────────┴───────┘


SYSTEM INFORMATION

Android version: 11 (e_starlte-user 11 RQ3A.211001.001 eng.root.20240506.224422 dev-keys)
Device: samsung SM-G960F (starlte)

Locale(s): [en_US,nl_NL]
Time zone: Europe/Amsterdam
Internal memory (/data): 50 GB free of 51 GB


CONNECTIVITY

 ☒ wlan0
   - [ Transports: WIFI Capabilities: NOT_METERED INTERNET NOT_RESTRICTED TRUSTED NOT_VPN VALIDATED NOT_ROAMING FOREGROUND NOT_CONGESTED NOT_SUSPENDED LinkUpBandwidth>=734296Kbps LinkDnBandwidth>=734296Kbps SignalStrength: -47 AdministratorUids: [] RequestorUid: -1 RequestorPackageName: null]
   - DNS: **.***.**.**, **.***.**.**

Data saver: disabled


CONFIGURATION

App standby bucket: 5
Power saving disabled: yes
System-wide synchronization: automatically

Notifications:
 - sync isBlocked=false
  * syncProblems: importance=3
  * syncIoErrors: importance=1
  * syncWarnings: importance=2
 - status: importance=2
 - general: importance=3
 - debug: importance=4

Permissions:
 - ACCESS_NETWORK_STATE: granted
 - ACCESS_WIFI_STATE: granted
 - FOREGROUND_SERVICE: granted
 - INTERNET: granted
 - POST_NOTIFICATIONS: granted
 - READ_SYNC_SETTINGS: granted
 - READ_SYNC_STATS: granted
 - WRITE_SYNC_SETTINGS: granted
 - RECEIVE_BOOT_COMPLETED: granted
 - REQUEST_IGNORE_BATTERY_OPTIMIZATIONS: granted
 - SYSTEM_ALERT_WINDOW: granted
 - READ_CONTACTS: granted
 - WRITE_CONTACTS: granted
 - READ_CALENDAR: granted
 - WRITE_CALENDAR: granted
 - foundation.e.permission.ADD_ACCOUNT: granted
 - ACCESS_COARSE_LOCATION: granted
 - ACCESS_FINE_LOCATION: granted
 - ACCESS_BACKGROUND_LOCATION: granted
 - USE_CREDENTIALS: granted
 - foundation.e.permission.READ_TASKS: granted
 - foundation.e.permission.WRITE_TASKS: granted
 - org.tasks.permission.READ_TASKS: denied
 - org.tasks.permission.WRITE_TASKS: denied
 - at.techbee.jtx.permission.READ: denied
 - at.techbee.jtx.permission.WRITE: denied
 - WAKE_LOCK: granted
 - foundation.e.accountmanager.DYNAMIC_RECEIVER_NOT_EXPORTED_PERMISSION: granted


ACCOUNTS

 - Account: ***@murena.io

┌──────────────────────────────────────────┬────────────┬───────────────────┬──────────┬───────────────────────────────────┐
│ Authority                                │ isSyncable │ syncAutomatically │ Interval │ Entries                           │
├──────────────────────────────────────────┼────────────┼───────────────────┼──────────┼───────────────────────────────────┤
│ foundation.e.accountmanager.addressbooks │ 1          │ true              │ 15 min   │ —                                 │
│ com.android.calendar                     │ 1          │ true              │ 15 min   │ 15 event(s)                       │
│ at.techbee.jtx.provider                  │ 0          │ false             │ —        │ n/a                               │
│ foundation.e.tasks                       │ 1          │ false             │ 15 min   │ 0 OpenTasks task(s)               │
│ org.tasks.opentasks                      │ 0          │ false             │ —        │ n/a                               │
│ com.android.contacts                     │ 0          │ false             │ —        │ 0 wrongly assigned raw contact(s) │
└──────────────────────────────────────────┴────────────┴───────────────────┴──────────┴───────────────────────────────────┘

  Authentication: user name, password
  WiFi only: false
  Contact group method: GROUP_VCARDS
  Time range (past days): 365
  Default alarm (min before): null
  Manage calendar colors: true
  Use event colors: false

Sync workers:

┌───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────┬──────────────────┬───────────────┬─────────┬────────────┬──────────────┐
│ Tags                                                                                                                              │ Authority                                │ State            │ Next run      │ Retries │ Generation │ Periodicity  │
├───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────┼──────────────────┼───────────────┼─────────┼────────────┼──────────────┤
│ [.syncadapter.SyncWorker, sync foundation.e.accountmanager.addressbooks e.foundation.webdav.eelo/***@murena.io]                   │ foundation.e.accountmanager.addressbooks │ SUCCEEDED (-256) │ —             │ 1       │ 0          │ not periodic │
│ [periodic-sync foundation.e.accountmanager.addressbooks e.foundation.webdav.eelo/***@murena.io, .syncadapter.PeriodicSyncWorker]  │ foundation.e.accountmanager.addressbooks │ ENQUEUED (-256)  │ In 14 minutes │ 0       │ 3          │ every 15 min │
│ [sync com.android.calendar e.foundation.webdav.eelo/***@murena.io, .syncadapter.SyncWorker]                                       │ com.android.calendar                     │ ENQUEUED (-512)  │ In 0 minutes  │ 1       │ 0          │ not periodic │
│ [periodic-sync com.android.calendar e.foundation.webdav.eelo/***@murena.io, .syncadapter.PeriodicSyncWorker]                      │ com.android.calendar                     │ ENQUEUED (-256)  │ In 14 minutes │ 0       │ 14         │ every 15 min │
│ [.syncadapter.SyncWorker, sync foundation.e.tasks e.foundation.webdav.eelo/***@murena.io]                                         │ foundation.e.tasks                       │ SUCCEEDED (-256) │ —             │ 1       │ 0          │ not periodic │
│ [periodic-sync foundation.e.tasks e.foundation.webdav.eelo/***@murena.io, .syncadapter.PeriodicSyncWorker]                        │ foundation.e.tasks                       │ ENQUEUED (-256)  │ In 14 minutes │ 0       │ 5          │ every 15 min │
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────┴──────────────────┴───────────────┴─────────┴────────────┴──────────────┘


  * Address book: Contacts (***@murena.io OQ)
    
    ┌──────────────────────┬────────────┬───────────────────┬──────────┬───────────────────┐
    │ Authority            │ isSyncable │ syncAutomatically │ Interval │ Entries           │
    ├──────────────────────┼────────────┼───────────────────┼──────────┼───────────────────┤
    │ com.android.contacts │ 1          │ true              │ —        │ 44 raw contact(s) │
    └──────────────────────┴────────────┴───────────────────┴──────────┴───────────────────┘
    
    URL: https://murena.io/remote.php/dav/addressbooks/users/***/contacts/
    Read-only: 0
  * Address book: Webmail (***@murena.io 5w)
    
    ┌──────────────────────┬────────────┬───────────────────┬──────────┬──────────────────┐
    │ Authority            │ isSyncable │ syncAutomatically │ Interval │ Entries          │
    ├──────────────────────┼────────────┼───────────────────┼──────────┼──────────────────┤
    │ com.android.contacts │ 1          │ true              │ —        │ 0 raw contact(s) │
    └──────────────────────┴────────────┴───────────────────┴──────────┴──────────────────┘
    
    URL: https://murena.io/remote.php/dav/addressbooks/users/***/webmail/
    Read-only: 0

DATABASE DUMP

android_metadata

┌────────┐
│ locale │
├────────┤
│ en_US  │
└────────┘

service

┌────┬────────────────┬───────────┬──────────────────────────┬───────────────────────────────────────────────┬─────────┬─────────────────────────────────────────────────────────┐
│ id │ accountName    │ authState │ accountType              │ addressBookAccountType                        │ type    │ principal                                               │
├────┼────────────────┼───────────┼──────────────────────────┼───────────────────────────────────────────────┼─────────┼─────────────────────────────────────────────────────────┤
│ 3  │ ***@murena.io  │ —         │ e.foundation.webdav.eelo │ foundation.e.accountmanager.eelo.address_book │ carddav │ https://murena.io/remote.php/dav/principals/users/***/  │
│ 4  │ ***@murena.io  │ —         │ e.foundation.webdav.eelo │ foundation.e.accountmanager.eelo.address_book │ caldav  │ https://murena.io/remote.php/dav/principals/users/***/  │
└────┴────────────────┴───────────┴──────────────────────────┴───────────────────────────────────────────────┴─────────┴─────────────────────────────────────────────────────────┘

sqlite_sequence

┌────────────┬──────┐
│ name       │ seq  │
├────────────┼──────┤
│ service    │ 4    │
│ homeset    │ 7    │
│ collection │ 11   │
│ syncstats  │ 2449 │
│ principal  │ 6    │
└────────────┴──────┘

homeset

┌────┬───────────┬──────────┬───────────────────────────────────────────────────────────┬──────────┬─────────────┐
│ id │ serviceId │ personal │ url                                                       │ privBind │ displayName │
├────┼───────────┼──────────┼───────────────────────────────────────────────────────────┼──────────┼─────────────┤
│ 6  │ 3         │ 1        │ https://murena.io/remote.php/dav/addressbooks/users/***/  │ 1        │ —           │
│ 7  │ 4         │ 1        │ https://murena.io/remote.php/dav/calendars/***/           │ 1        │ —           │
└────┴───────────┴──────────┴───────────────────────────────────────────────────────────┴──────────┴─────────────┘

collection

┌────┬───────────┬───────────┬─────────┬──────────────┬──────────────────────────────────────────────────────────────────────────┬──────────────────┬────────────┬───────────────┬─────────────────────────┬──────────────────────────────────┬───────────┬──────────┬────────────────┬───────────────┬──────────────────┬─────────────────────────────────────────────────────────────┬──────┐
│ id │ serviceId │ homeSetId │ ownerId │ type         │ url                                                                      │ privWriteContent │ privUnbind │ forceReadOnly │ displayName             │ description                      │ color     │ timezone │ supportsVEVENT │ supportsVTODO │ supportsVJOURNAL │ source                                                      │ sync │
├────┼───────────┼───────────┼─────────┼──────────────┼──────────────────────────────────────────────────────────────────────────┼──────────────────┼────────────┼───────────────┼─────────────────────────┼──────────────────────────────────┼───────────┼──────────┼────────────────┼───────────────┼──────────────────┼─────────────────────────────────────────────────────────────┼──────┤
│ 6  │ 3         │ 6         │ 5       │ ADDRESS_BOOK │ https://murena.io/remote.php/dav/addressbooks/users/***/contacts/        │ 1                │ 1          │ 0             │ Contacts                │ —                                │ —         │ —        │ —              │ —             │ —                │ —                                                           │ 1    │
│ 7  │ 3         │ 6         │ 5       │ ADDRESS_BOOK │ https://murena.io/remote.php/dav/addressbooks/users/***/webmail/         │ 1                │ 1          │ 0             │ Webmail                 │ Recipients from Murena's webmail │ —         │ —        │ —              │ —             │ —                │ —                                                           │ 1    │
│ 8  │ 4         │ 7         │ 6       │ CALENDAR     │ https://murena.io/remote.php/dav/calendars/***/***/                      │ 1                │ 1          │ 0             │ ***                     │ —                                │ -3205974  │ —        │ 1              │ 0             │ 0                │ —                                                           │ 1    │
│ 9  │ 4         │ 7         │ 6       │ CALENDAR     │ https://murena.io/remote.php/dav/calendars/***/***/                      │ 1                │ 1          │ 0             │ ***                     │ —                                │ -12978005 │ —        │ 1              │ 0             │ 0                │ —                                                           │ 1    │
│ 10 │ 4         │ 7         │ 6       │ CALENDAR     │ https://murena.io/remote.php/dav/calendars/***/***/                      │ 1                │ 1          │ 0             │ ***                     │ —                                │ -2241707  │ —        │ 1              │ 0             │ 0                │ —                                                           │ 1    │
│ 11 │ 4         │ 7         │ 6       │ WEBCAL       │ https://murena.io/remote.php/dav/calendars/***/holidays-in-netherlands/  │ 1                │ 1          │ 0             │ Holidays in Netherlands │ —                                │ -16675331 │ —        │ 1              │ —             │ —                │ https://www.thunderbird.net/media/caldata/DutchHolidays.ics │ 1    │
└────┴───────────┴───────────┴─────────┴──────────────┴───────────────────────────────────────────────────────────────────────── ┴──────────────────┴────────────┴───────────────┴─────────────────────────┴──────────────────────────────────┴───────────┴──────────┴────────────────┴───────────────┴──────────────────┴─────────────────────────────────────────────────────────────┴──────┘

principal

┌────┬───────────┬────────────────────────────────────────────────────────┬─────────────┐
│ id │ serviceId │ url                                                    │ displayName │
├────┼───────────┼────────────────────────────────────────────────────────┼─────────────┤
│ 5  │ 3         │ https://murena.io/remote.php/dav/principals/users/***  │ ***         │
│ 6  │ 4         │ https://murena.io/remote.php/dav/principals/users/***  │ ***         │
└────┴───────────┴────────────────────────────────────────────────────────┴─────────────┘

syncstats

┌──────┬──────────────┬──────────────────────┬───────────────┐
│ id   │ collectionId │ authority            │ lastSync      │
├──────┼──────────────┼──────────────────────┼───────────────┤
│ 2445 │ 6            │ com.android.contacts │ 1717936952137 │
│ 2446 │ 7            │ com.android.contacts │ 1717936952138 │
│ 2447 │ 9            │ com.android.calendar │ 1717936952146 │
│ 2448 │ 8            │ com.android.calendar │ 1717936953906 │
│ 2449 │ 10           │ com.android.calendar │ 1717936954653 │
└──────┴──────────────┴──────────────────────┴───────────────┘

webdav_document: 0 row(s), data not listed here

webdav_mount

┌────┬──────┬─────┐
│ id │ name │ url │
├────┼──────┼─────┤
└────┴──────┴─────┘

room_master_table

┌────┬──────────────────────────────────┐
│ id │ identity_hash                    │
├────┼──────────────────────────────────┤
│ 42 │ 188191fc58f4554baa135c298f85cd2f │
└────┴──────────────────────────────────┘


APP SETTINGS

1. SharedPreferencesProvider canWrite=true

┌─────────┬───────┐
│ Setting │ Value │
├─────────┼───────┤
└─────────┴───────┘

2. DefaultsProvider canWrite=false

┌────────────────────────────────┬────────────────────────────────────────────────┐
│ Setting                        │ Value                                          │
├────────────────────────────────┼────────────────────────────────────────────────┤
│ default_sync_interval          │ 900                                            │
│ distrust_system_certs          │ false                                          │
│ force_read_only_addressbooks   │ false                                          │
│ ignore_vpns                    │ true                                           │
│ preselect_collections          │ 1                                              │
│ preselect_collections_excluded │ /z-app-generated--contactsinteraction--recent/ │
│ proxy_host                     │ localhost                                      │
│ proxy_port                     │ 9050                                           │
│ proxy_type                     │ -1                                             │
└────────────────────────────────┴────────────────────────────────────────────────┘

--- END DEBUG INFO ---

In this log I see that there is a WEBCAL for DutchHolidays.ics (line 202), but that one never gets imported into te calendar for whatever reason. I’ll test that as soon as possible the unfortunate thing is that I don’t know when the exception occurs. I’ll keep an eye on it.

EDIT: No, issue still there, even after removing the holidays.

I removed the Murena account yesterday and so far no errors anymore. I’ll look for something else. Thanks for your time.