antosubash / AbpMicroservice

An abp microservice sample
MIT License
91 stars 37 forks source link

Cannot Run Tasky.DbMigrator #30

Closed P9avel closed 2 years ago

P9avel commented 2 years ago

Hi, please look image

P9avel commented 2 years ago

image

antosubash commented 2 years ago

@P9avel migration is running successfully. error is coming from rabbitmq and redis. there is no rabbitmq and redis config in the appsettings of dbmigrator. if you are in part 6. ignore this and move along to the next part.

P9avel commented 2 years ago

I am get sources from repository. i am run command 'tye run', but cannot loggining by admin@abp.io 1q2w3E*

P9avel commented 2 years ago

image

antosubash commented 2 years ago

@P9avel I just tried it seems to work. check the logs.

P9avel commented 2 years ago

Can you to prepare docker compose file with DBMS, RabbitMQ and Redis. I am want open solution in VS and run whole application by button press. Many thinx for your work and articles

antosubash commented 2 years ago

@P9avel my docker stack is here https://github.com/antosubash/docker_stack

P9avel commented 2 years ago

I am dont undestand what i did wrong. can you to see my video?

https://user-images.githubusercontent.com/95086762/175116689-e39f4dbe-0b90-4c7f-99d3-7f19811829c4.mp4

P9avel commented 2 years ago

Issue was in empty AbpUser table. Because when creating new User in Rabbit sending events. But in Tasky.DbMigrator in appsettings.json not exists settings. Please add values in appsettings.json

"RabbitMQ": { "Connections": { "Default": { "HostName": "localhost" } }, "EventBus": { "ClientName": "Tasky_DbMigrator", "ExchangeName": "Tasky" } }, "Redis": { "Configuration": "127.0.0.1" }