GithubHelp home page GithubHelp logo

Comments (18)

mattrobenolt avatar mattrobenolt commented on July 17, 2024 1

Sounds like you're running out of memory.

from self-hosted.

thinhnd580 avatar thinhnd580 commented on July 17, 2024 1

I delete and clone agian this repo, did what readme said and good to go

from self-hosted.

mario-devops avatar mario-devops commented on July 17, 2024

the same problem with you, the pgsql has nothings

from self-hosted.

mario-devops avatar mario-devops commented on July 17, 2024

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.

exp0nge avatar exp0nge commented on July 17, 2024

+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.

KillerCodeMonkey avatar KillerCodeMonkey commented on July 17, 2024

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.

exp0nge avatar exp0nge commented on July 17, 2024

For sure he is. I think if you squash the migrations or like generate initial ones it should be fine.

from self-hosted.

KillerCodeMonkey avatar KillerCodeMonkey commented on July 17, 2024

@mattrobenolt bรครครครคm instant reply :D

sure i only tried it with micro teer.
will check with a larger type

from self-hosted.

mattrobenolt avatar mattrobenolt commented on July 17, 2024

Would love to do that some day, but that's nontrivial. :)

from self-hosted.

KillerCodeMonkey avatar KillerCodeMonkey commented on July 17, 2024

works with small instance type ๐Ÿ‘

from self-hosted.

falstack avatar falstack commented on July 17, 2024

same issue.

from self-hosted.

dmugtasimov avatar dmugtasimov commented on July 17, 2024

How much memory is required (just) to run migrations?

from self-hosted.

exp0nge avatar exp0nge commented on July 17, 2024

from self-hosted.

revolunet avatar revolunet commented on July 17, 2024

try to delete the docker volume and restart migrations with docker-compose run --rm web upgrade

from self-hosted.

lilywang711 avatar lilywang711 commented on July 17, 2024

same issue.

from self-hosted.

solars avatar solars commented on July 17, 2024

same problem...

from self-hosted.

image72 avatar image72 commented on July 17, 2024

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.

BYK avatar BYK commented on July 17, 2024

Closing as this seems to be related to memory constraints and this is now documented in the README.

from self-hosted.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.