Comments (12)
Is this the entirety of your docker compose yml file? If so, I don't expect this process to work since there are a lot of other infrastructure components that are needed to run self-hosted here. This can be seen here:
https://github.com/getsentry/self-hosted/blob/419d6ccf4e4d0dde2db301e43370d019f9a4c69b/docker-compose.yml
from self-hosted.
Yes , this is my entirety docker compose yml file. I run your docker compose file it give me so many error. every time i solve a error this gives me another error. how do i solve this
from self-hosted.
WARNING: The SNUBA_IMAGE variable is not set. Defaulting to a blank string.
WARNING: The SYMBOLICATOR_IMAGE variable is not set. Defaulting to a blank string.
WARNING: The SENTRY_EVENT_RETENTION_DAYS variable is not set. Defaulting to a blank string.
WARNING: The SENTRY_BIND variable is not set. Defaulting to a blank string.
WARNING: The RELAY_IMAGE variable is not set. Defaulting to a blank string.
WARNING: The VROOM_IMAGE variable is not set. Defaulting to a blank string.
ERROR: The Compose file './docker-compose.yaml' is invalid because:
Unsupported config option for x-sentry-defaults: 'platform'
Unsupported config option for volumes: 'sentry-postgres'
Unsupported config option for services: 'snuba-generic-metrics-counters-consumer'
x-sentry-defaults.build contains an invalid type, it should be a string
errors i get from this file when i run docker compose up cmd
from self-hosted.
The docker-compose.yml
file from the repository is not something that you can run directly as Sentry services requires some setup and migrations beforehand. You can see the installation docs here https://develop.sentry.dev/self-hosted/#getting-started (it's also on the repository's README file).
from self-hosted.
I read the README file and the self-hosted Sentry page blogs. I followed all the instructions in the "Getting Started" and "Recommended System Resource" sections of the self-hosted Sentry page. However, I am concerned because I need to run Sentry as a GitOps-managed tool. I am unable to configure this setup within GitHub itself.
From my understanding, the only way to achieve this is by creating a Docker Compose file that runs the GitOps pipeline and Sentry. If you know of any other methods to configure Sentry as a GitOps-managed tool, please let me know.
from self-hosted.
I'm not familiar with GitOps - is the only way to configure it via docker-compose.yml? Or can you ex: have shell scripts triggered beforehand? It seems like you may not have run ./install.sh
in the location the code is being run from?
from self-hosted.
Yes, you are right. I did not run the ./install.sh
file because there is no such file. I only created the docker-compose.yml
file and ran the docker compose up
command. All containers were running initially but stopped after some time.
For GitOps or any CI/CD integration, I need to add my Sentry setup to the Git repository. However, since Sentry is already running from a git clone, I cannot add its git repo inside my private repo. Instead, I created a docker-compose.yml
file and added this file to my git repo for pipeline execution. Unfortunately, this docker-compose.yml
file is not working as expected.
from self-hosted.
However, as you mentioned, I need to run the ./install.sh
script. To do this, I need to create a shell script that includes the Docker Compose commands and add this script to my repository to run the pipeline. I'm not sure if this is the correct approach, so if you know of any other methods to configure this setup, please let me know.
from self-hosted.
Sorry, this isn't really a supported workflow. The only supported way to install self-hosted is via git clone + ./install.sh
. You are free to write automation to do this for you (maybe a docker-compose wrapper that does this, maybe inspired by something like this), but ultimately that is outside the scope of what we can support.
from self-hosted.
So i need run git clone and + ./install.sh in the cicd pipeline for configure install and run sentry.
from self-hosted.
Yes, that is correct.
from self-hosted.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you remove the label Waiting for: Community
, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
from self-hosted.
Related Issues (20)
- Error /settings/projects/internal/metrics/c%3Acustom%2Fddm.add_custom_metric%40none HOT 1
- Sentry and GitLab installed and running together will cause the CPU to occupy 100% HOT 3
- Github integration not working HOT 3
- Sentry doesn't process errors? HOT 2
- does sentry self-hosted have autofix feature HOT 3
- Cron API after update 24.5.0 to 24.7.1 check-in event using CURL API returns: failed to queue envelope HOT 7
- relay_server::services::project_upstream HOT 4
- Connection to Kafka with SASL for Sentry containers HOT 4
- How to upgrade to 24.7.1 HOT 9
- Error in upgrading process (Postgres) HOT 1
- Sourcemap not linking to events even though matched via debug ID HOT 2
- Upgrade path is probably wrong HOT 4
- Kafka ingest-replay-events makes disk full, retention variables didn't work HOT 1
- Container sentry-self-hosted-web-1 is unhealthy HOT 1
- build.version is unknown HOT 2
- How can I attempt to reload a .dll file for a specific Code ID?
- How to handle session replays (lenght, sum storage)
- next 12.x sentry7.1.. wrapGetServerSidePropsWithSentry It seems invalid, no errors have been collected, HOT 3
- The CPU and RAM raised to 100% regularly HOT 2
- (Open Source) Docker Desktop is Absolutely Not Cooperating on Install HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from self-hosted.