mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-26 01:06:00 +03:00
[GH-ISSUE #3683] [bug]: Hoppscotch not starting ( ERROR: relation "public.InfraConfig" does not exist ) #1271
Labels
No labels
CodeDay
a11y
browser limited
bug
bug fix
cli
core
critical
design
desktop
discussion
docker
documentation
duplicate
enterprise
feature
feature
fosshack
future
good first issue
hacktoberfest
help wanted
i18n
invalid
major
minor
need information
need testing
not applicable to hoppscotch
not reproducible
pull-request
question
refactor
resolved
sandbox
self-host
spam
stale
testmu
wip
wont fix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/hoppscotch#1271
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @czepan on GitHub (Dec 20, 2023).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3683
Is there an existing issue for this?
Current behavior
When starting Hoppscotch I get the following error message and the aio container starts bootlooping:
This is my docker-compose.yml, it's completely simple and taken from the official one in the repo:
My .env file is exactly the same as in the repo.
Using the 3 single Containers instead of the AIO one also crash with the same error message.
I tried using an older release ( 2023.8.4 ) and this one works.
Greetings
Encz
Steps to reproduce
Environment
Production
Version
Self-hosted
@sats268842 commented on GitHub (Dec 20, 2023):
If you are using Docker Compose, use this command to perform migrations:
@czepan commented on GitHub (Dec 20, 2023):
@sats268842
I saw that in the official documentation but this sadly doesn't seem to be possible in the current scenario because the hoppscotch container is constantly rebooting because of the error above.
@czepan commented on GitHub (Dec 20, 2023):
Ah I got it to work. I needed to give postgres a persistent volume:
Then I was able to do the manual migration.
Seems a little bit cumbersome to me that the docker images don't work ( as in constantly crash ) when one is starting them on a fresh installation :/ but as long as it works.
Thanks for your feedback! :)
Greetings
Encz
@balub commented on GitHub (Dec 21, 2023):
@czepan for next time, when trying to use the
entrypointapproach to get it to work you will have to temporarily stop the container and then restart the container once the migration has been run.