mirror of
https://github.com/hoppscotch/hoppscotch.git
synced 2026-04-25 16:55:59 +03:00
[GH-ISSUE #3994] [bug]: not able to run hoppscotch-backend latest in docker compose #1407
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#1407
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 @mtariqsajid on GitHub (Apr 21, 2024).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/3994
Originally assigned to: @mirarifhasan on GitHub.
Is there an existing issue for this?
Current behavior
whenever run hoppscotch-backend it always show the error in docker
error logs
Steps to reproduce
exact docker images version:
this is the docker compose file that i am running in
docker version:
docker compose version:
docker-compose.yml
the env
Environment
Production
Version
Self-hosted
@liyasthomas commented on GitHub (Apr 22, 2024):
cc: @balub
@mirarifhasan commented on GitHub (Apr 22, 2024):
Hi @mtariqsajid
Thanks for reaching out! I took a look at your
docker-compose.yamlfile, specifically thehoppscotch-backendservice.I noticed that the
command: pnpx prisma migrate deploycauses the backend application to run database migrations instead of starting the application itself.So, I suggest you not to add
commandin the service. Let'shoppscotch-backendrun its way. In terms of database migration, you can follow the following way,Ref: https://docs.hoppscotch.io/documentation/self-host/community-edition/install-and-build#running-migrations
@mtariqsajid commented on GitHub (Apr 22, 2024):
still not working also i don't what is the issue how to enable verbose logs
@mirarifhasan commented on GitHub (Apr 22, 2024):
@mtariqsajid, Add
restart: alwaysin yourhoppscotch-backendservice. It will resolve the issue.@mtariqsajid commented on GitHub (Apr 22, 2024):
i am not able to login in admin i try mailtrap its not working
can you help me ?
also google login not working
VITE_ALLOWED_AUTH_PROVIDERS=GOOGLE,EMAILeven though google is specify but on login screen it still show email
email env
MAILER_SMTP_URL="smtp://b00bdd74:8ccf7ad6347@sandbox.smtp.mailtrap.io"@mtariqsajid commented on GitHub (Apr 22, 2024):
@mirarifhasan can you help please ?
@mirarifhasan commented on GitHub (Apr 23, 2024):
Sure @mtariqsajid
Regarding Email Error
There is a known issue (#3949) with the email-module. We are trying to resolve that as soon as possible. Until it gets resolved, you may continue logging in by enabling other SSO.
Regarding Google SSO
You have to hard reset the configuration. Execute the following cmd inside your Database container:
After that run the
hoppscotch-backendwith.env(containing Google SSO configs).After successfully login to the Admin dashboard, you can enable more SSO providers and change other configs.
@mtariqsajid commented on GitHub (Apr 23, 2024):
Google SSO work thank you
I just remove the db and re-run the migration