Error when running propel install in the CLI container
Comments
-
it seems like this container does not have
SPRYKER_DB_*
env vars declared
0 -
I could work it around by just running the command propel:install in zed instead of the CLI container
0 -
can you try
localhost
instead of127.0.0.1
? (wild guess)0 -
password is
secret
?0 -
I tried also π
0 -
the password is secret by default isnt it?
0 -
yes
0 -
I am using secret as password
0 -
on my system the database is called "postgres" and "eu-docker" is a schema.
0 -
I tried postgres also but did not work
0 -
thats why I changed it to eu-docker
0 -
what are other params that you are using?
0 -
No, no other parameters.
Do you have another Postgress instance running on your machine, which would not know anything about the spryker user?!0 -
what does your
deploy.dev.yml
say?0 -
any customization?
0 -
0
-
May be you have MySQL/Maria instead of PGSQL running. Check it too
0 -
π
0 -
of course it is running, on port 5432
0 -
@UJN2JRU4F no customization
0 -
Do you have 5432 port forwarded to the host? (it should be declared in deploy.yml file as separate tcp endpoint)
Also please check that credentials in deploy.yml file for database.
0 -
yes
0 -
running this command
0 -
β nc -vz 0.0.0.0 5432
Connection to 0.0.0.0 port 5432 [tcp/postgresql] succeeded!
0 -
is success
0 -
the port is open on the host because it is forwarded from the Gateway container
0 -
spryker_b2b_dev_gateway_1 /docker-entrypoint.sh ngin ... Up 0.0.0.0:16379->16379/tcp,:::16379->16379/tcp, 0.0.0.0:443->443/tcp,:::443->443/tcp, 0.0.0.0:5432->5432/tcp,:::5432->5432/tcp, 0.0.0.0:5672->5672/tcp,:::5672->5672/tcp, 0.0.0.0:80->80/tcp,:::80->80/tcp, 0.0.0.0:9200->9200/tcp,:::9200->9200/tcp
0 -
sudo lsof -nP -i4TCP:5432 | grep LISTEN
0 -
thank you
0 -
this last command listed 2 processes
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 65 Spryker News
- 879 Developer Corner
- 743 Spryker Development
- 84 Spryker Dev Environment
- 360 Spryker Releases
- 3 Oryx frontend framework
- 33 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 22 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 68 Spryker Safari Questions
- 50 Random