Comments (18)
Sounds like you're running out of memory.
from self-hosted.
I delete and clone agian this repo, did what readme said and good to go
from self-hosted.
the same problem with you, the pgsql has nothings
from self-hosted.
postgres-# \l
List of databases
Name | Owner | Encoding | Collate | Ctype | Access privileges
-----------+----------+----------+------------+------------+-----------------------
postgres | postgres | UTF8 | en_US.utf8 | en_US.utf8 |
template0 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
template1 | postgres | UTF8 | en_US.utf8 | en_US.utf8 | =c/postgres +
| | | | | postgres=CTc/postgres
(3 rows)
from self-hosted.
+1
edit: @jean @mario-devops Are you sure the initial call to upgrade
worked? Or does the initial call not even migrate
at all?
from self-hosted.
same issue. it happens on my EC2 instance. if i run the upgrade command it gets stuck by migration 298 and i am not even able to connect to my instance in another shell Oo.
after a while i can reconnect to my instance and run the migration command again. After that this error occurs.
from self-hosted.
For sure he is. I think if you squash the migrations or like generate initial ones it should be fine.
from self-hosted.
@mattrobenolt bรครครครคm instant reply :D
sure i only tried it with micro teer.
will check with a larger type
from self-hosted.
Would love to do that some day, but that's nontrivial. :)
from self-hosted.
works with small instance type ๐
from self-hosted.
same issue.
from self-hosted.
How much memory is required (just) to run migrations?
from self-hosted.
from self-hosted.
try to delete the docker volume and restart migrations with docker-compose run --rm web upgrade
from self-hosted.
same issue.
from self-hosted.
same problem...
from self-hosted.
maybe resolve that.
Install-Sentry-services
docker-compose run --rm web shell
from sentry.models import Project
from sentry.receivers.core import create_default_projects
create_default_projects([Project])
// getsentry/sentry#9270 (comment)
docker exec -it onpremise_postgres_1 bash
psql -h 127.0.0.1 -d postgres -U postgres
create or replace function sentry_increment_project_counter( project bigint, delta int) returns int as $$ declare new_val int; begin loop update sentry_projectcounter set value = value + delta where project_id = project returning value into new_val; if found then return new_val; end if; begin insert into sentry_projectcounter(project_id, value) values (project, delta) returning value into new_val; return new_val; exception when unique_violation then end; end loop; end $$ language plpgsql;
from self-hosted.
Closing as this seems to be related to memory constraints and this is now documented in the README.
from self-hosted.
Related Issues (20)
- Redis "missing flush" blocks event ingestion HOT 13
- Add a way to identity spammy users / many events? HOT 5
- Crons: check-ins did not time out. HOT 2
- How to enable multiple social login, including email? HOT 11
- Upgrading to 24.5.0 breaks PostgreSQL indexes and causes upgrade to fail sometimes HOT 7
- Release 24.5.1
- Errors-only Self-hosted HOT 3
- souremap has been unable to display HOT 4
- Github Integration Broken HOT 7
- clickhouse broken after upgrade to 24.5.1 from 23.6.2 (from 22.1.0) HOT 6
- GitHub Integration Problem HOT 3
- Connection refused while sending mails HOT 2
- Debian based Image build failure when try to install/update HOT 5
- Clickhouse generating stack trace in logs HOT 3
- GitHub Integration Problem HOT 4
- implement sentry as a gitops manage project HOT 11
- "Unable to fetch all project stats" for API "api/0/organizations/sentry/projects/" 500 HOT 5
- Upgrade to 24.5 failed HOT 5
- Can't upload Source maps HOT 2
- Self-hosted - not getting any events in Sentry HOT 7
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.