question-mark
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.

Source code not found (docker / on-permise)

See original GitHub issue

OS:

  • Windows
  • MacOS
  • Linux

Platform:

  • iOS
  • Android 9

SDK:

  • @sentry/react-native 1.0.4
  • react-native-sentry

react-native version: 0.59.9

Init Code:

Sentry.init({
    dsn: Config.SENTRY_DSN,
});

I have following issue:

I build an apk with ./gradlew assembleStaging

During the build, artifacts are uploaded with success :

image

I double checked on sentry, seems OK

image

My app crash at startup (only on variant staging, I setup sentry to debug this strange behaviour) and I am unable to get a proper stacktrace …

image image

I’ve searched some similar issues (there is many).

I double checked release and distribution, everything match between the sentry issue and uploaded release / distrib. There is a ~/index.android.bundle artifact in release com.captotheque-1.0 distrib 3145729 when issue is looking for app:///index.android.bundle

I’ve updated my sentry instance to 9.1.2 but same issue.

I spent 3 hours debugging but I’m out of ideas, am I missing something ?

Thanks for your awesome work !

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
eliecharracommented, Sep 16, 2019

Finally I make it work, we need to share volume beetween sentry container and worker container, thanks to @jonaskello solution : https://github.com/getsentry/sentry/issues/4168#issuecomment-341679115

After mounting volumes, I also had to remove files entries in database (see https://github.com/getsentry/sentry-cli/issues/141#issuecomment-486268346)

delete from sentry_releasefile; 
delete from sentry_fileblobindex; 
delete from sentry_fileblob; 
delete from sentry_file;

Thanks @HazAT for your suggestions, closing now 👍

0reactions
eliecharracommented, Sep 16, 2019

Ok thanks 👍 maybe it is related to docker setup, I’m gonna try https://github.com/getsentry/sentry/issues/4168#issuecomment-341679115

Read more comments on GitHub >

github_iconTop Results From Across the Web

Deploy a registry server - Docker Documentation
Before you can deploy a registry, you need to install Docker on the host. A registry is an instance of the registry image,...
Read more >
tryretool/retool-onpremise: Deploying Retool On Prem - GitHub
Run Command git clone https://github.com/tryretool/retool-onpremise.git ... In your docker.env file (this file will only exist after step 11).
Read more >
Using Visual Studio Code from a docker image locally or ...
Right-click on the Docker taskbar item and update Settings / Preferences > Shared Drives / File Sharing with any source code locations you...
Read more >
Remote Development FAQ - Visual Studio Code
VS Code manages the server's lifecycle so you do not need to worry about whether or not it is running. Can VS Code...
Read more >
GitLab Docker images
Docker for Windows is not officially supported. There are known issues with volume permissions, and potentially other unknown issues.
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found