Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

emergency config export fails

See original GitHub issue

Clicking the emergency expot button gives a nondescriptive error (with a suggestion to look for it in logcat). The message I found in logcat: Failed to export config. Could not determine app’s private files directory on external storage.

The directory /storage/emulated/0/Android/media/com.github.catfriend1.syncthingandroid is created, but empty.

Description of the issue

Reproduction Steps

Version Information

  • App Version:
  • Syncthing Version: v1.x.y
  • Android Version: Android 11 MIUI 12.2.4
  • Device manufacturer: POCO (Xiaomi)
  • Device model: f2 pro

Device platform info

Android Log

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

Catfriend1commented, Mar 23, 2021

The question (from my mind) is , the last drive could be an external sdcard where prior Android 11 the export never worked because of SAF requirements. Will re-check this when I have more time and on PC.

Catfriend1commented, May 25, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Scheduled Config Export fails with error message "Failed ...
This article explains the reason for the export config bundle failure with the error message in system log.
Read more >
commit to file failed during export to /config/juniper.conf+
This error message is generated when trying to commit a configuration. After this error message is generated, the configuration will not be ...
Read more >
"Configuration in the database does not ... - Acquia Support
The best immediate fix for this problem is to simply re-export configuration immediately after receiving this error: drush @foo.local ...
Read more >
Single item import fails with validation errors from other config
Hello, I have a Drupal 8 development site with an error that gets me stuck with migrating content. So I am trying to...
Read more >
Exchange Emergency Mitigation (EM) service - Microsoft Learn
You can verify that an Exchange server has connectivity to the OCS by using the Test-MitigationServiceConnectivity.ps1 script in the V15\Scripts ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found