Skip to content

Commit 0ee2911

Browse files
Luca Forstnerlizokm
andauthored
Recommend to check symbolicator if source maps are not working on Self-Hosted (#11765)
Co-authored-by: Liza Mock <[email protected]>
1 parent 694d1eb commit 0ee2911

File tree

3 files changed

+16
-8
lines changed

3 files changed

+16
-8
lines changed

platform-includes/sourcemaps/legacy-troubleshooting/javascript.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,11 @@ Sometimes build scripts and plugins produce pre-compressed minified files (for e
239239

240240
If you're <PlatformLink to="/sourcemaps/uploading/hosting-publicly/">hosting your source maps publicly</PlatformLink>, make sure you have the "Enable JavaScript source fetching" option activated under **[Settings] > Projects > Select your project > General Settings**.
241241

242-
## Verify workers are sharing the same volume as web (if running self-hosted Sentry via Docker)
242+
## (Self-Hosted Sentry) Verify the `symbolicator` service is operating normally
243+
244+
If you're running a self-hosted version of Sentry, you can verify that the `symbolicator` service/container is operating normally by checking the container's logs.
245+
246+
## (Self-Hosted Sentry via Docker) Verify workers are sharing the same volume as web
243247

244248
Sentry does source map calculation in its workers. This means the workers need access to the files uploaded through the front end. Double check that the cron workers and web workers can read/write files from the same disk.
245249

platform-includes/sourcemaps/legacy-uploading-methods/javascript.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,16 +73,15 @@ export default defineConfig({
7373
],
7474
});
7575
```
76-
</PlatformSection>
7776

77+
</PlatformSection>
7878

7979
## Uploading using Sentry Webpack Plugin Version 1.x
8080

8181
Assuming you have the `@sentry/webpack` package installed on version `1.x`, you can learn more on how to configure the plugin in the [Sentry webpack plugin v1 documentation](https://github.com/getsentry/sentry-webpack-plugin#readme).
8282

8383
Example:
8484

85-
8685
```javascript {filename:webpack.config.js}
8786
const SentryWebpackPlugin = require("@sentry/webpack-plugin");
8887

@@ -111,7 +110,6 @@ module.exports = {
111110

112111
The Sentry webpack plugin will automatically inject a release value into the SDK so you must either omit the `release` option from `Sentry.init` or make sure `Sentry.init`'s `release` option matches the plugin's `release` option exactly:
113112

114-
115113
```javascript
116114
Sentry.init({
117115
dsn: "___PUBLIC_DSN___",
@@ -136,7 +134,6 @@ This applies when using the following packages on version `2.x` and above:
136134

137135
Example of using the `release.uploadLegacySourcemaps` option:
138136

139-
140137
```javascript {filename:webpack.config.js} {tabTitle:Webpack}
141138
const { sentryWebpackPlugin } = require("@sentry/webpack-plugin");
142139

@@ -251,7 +248,6 @@ export default {
251248

252249
The Sentry bundler plugins will automatically inject a release value into the SDK so you must either omit the `release` option from `Sentry.init` or make sure `Sentry.init`'s `release` option matches the plugin's `release.name` option exactly:
253250

254-
255251
```javascript
256252
Sentry.init({
257253
dsn: "___PUBLIC_DSN___",
@@ -506,7 +502,11 @@ If you are using `sentry-cli` to upload your artifacts, starting with version `2
506502

507503
Sometimes build scripts and plugins produce pre-compressed minified files (for example, webpack's [compression plugin](https://github.com/webpack/compression-webpack-plugin)). In these cases, you'll need to disable such plugins and perform the compression **after** the generated source maps/source files have been uploaded to Sentry.
508504

509-
### Verify workers are sharing the same volume as web (if running self-hosted Sentry via Docker)
505+
### (Self-Hosted Sentry) Verify the `symbolicator` service is operating normally
506+
507+
If you're running a self-hosted version of Sentry, you can verify that the `symbolicator` service/container is operating normally by checking the container's logs.
508+
509+
### (Self-Hosted Sentry via Docker) Verify workers are sharing the same volume as web
510510

511511
Sentry does source map calculation in its workers. This means the workers need access to the files uploaded through the front end. Double check that the cron workers and web workers can read/write files from the same disk.
512512

platform-includes/sourcemaps/troubleshooting/javascript.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,10 +166,14 @@ Sometimes build scripts and plugins produce pre-compressed minified files (for e
166166
### Verify Source Fetching is Enabled
167167

168168
If you're <PlatformLink to="/sourcemaps/uploading/hosting-publicly/">hosting your source maps publicly</PlatformLink>, make sure you have the "Enable JavaScript source fetching" option activated under **[Settings] > Projects > Select your project > General Settings**.
169+
169170
</PlatformSection>
170171

172+
### (Self-Hosted Sentry) Verify the `symbolicator` service is operating normally
173+
174+
If you're running a self-hosted version of Sentry, you can verify that the `symbolicator` service/container is operating normally by checking the container's logs.
171175

172-
### Verify Workers Are Sharing Same Volume as Web (if running self-hosted Sentry via Docker)
176+
### (Self-Hosted Sentry via Docker) Verify workers are sharing the same volume as web
173177

174178
Sentry does source map calculation in its workers. This means the workers need access to the files uploaded through the front end. Double check that the cron workers and web workers can read/write files from the same disk.
175179

0 commit comments

Comments
 (0)