What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Is there a way to run just one store vendor/bin/install? right now, because of data:import part of t
Is there a way to run just one store vendor/bin/install?
right now, because of data:import part of testing.yml AT is imported for some reason, even I already removed it from stores.php
and running with:APPLICATION_ENV=devtest APPLICATION_STORE=EN cd /data/shop/development/current && vendor/bin/install
Comments
-
You could adapt config/install/.yml
There is a stores array at the top which you can reduce by the AT store.Btw. EN is not a Store by default, probably you meant US
0 -
no, i WANTED to run this on just my own store
0 -
but you're right, adding stores section to testing.yml makes it go away (but i'm still not sure why AT kicks in, since i cannot find it to be defined anywhere)
0 -
hm, ok, back to the main question because:
why is this calling stores not in the config?
0 -
Are you sure the store is installed in the spy_store table?
0 -
no, I think this is because default data/import files have AT mentioned
0 -
but those should be ignored by the importer...
0 -
eh, I understand I need to cleanup dataimport files for this to work, but still, if config is not respected, this is unintuitive
0 -
@UK5DS29L2 I suggest to have a look at the config/installer/.yml this is the main source of truth for the installer.
Depending from the config key βstoresβ in those file and the βstores: trueβ flag for the command you want to run in config/installer/.yml the installer sets the APPLICATION_STORE environment variable and runs the command with it.If you can not solve your issue, please paste the content of your config/installer/devtest.yml, config/Shared/stores.php and the spy_stores table the next time, so it will be easier to see the issue without guessing what could be wrong
0 -
@UL6DGRULR that has been suggested yesterday.
it's what is there.
I'm already running it withAPPLICATION_STORE=EN
which was already given in this thread.0 -
spy_stores table is created with
vendor/bin/install
so there should be nothing there yet (as in any new setup with empty database, I guess)0 -
@UK5DS29L2 What does your config/Shared/stores.php looks like?
Did you already tried to debug the installation routine to see were the AT store is coming from?
https://documentation.spryker.com/installation/debugging/debugging-setup.htm0 -
stores.php does not contain
AT
in it0 -
giovanni.piemontese Technical Lead @ LΓΆffelhardt Spryker Solution Partner Posts: 871 π§π»βπ - Cadet
@UK5DS29L2 You have to clean the imports data (in your case discount_store.csv) because there are discount relation for store AT, but AT does not exists in your devtest
Otherwise you have to define the store AT Configuration (with sharedPersistence with EN) and then you can import the data so as are..p.s.: EN is not a valid Store!
0 -
yep, some import
csv
files have hardcoded stores, includingAT
... this is quite annoying if setup is different0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 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
- 70 Spryker Safari Questions
- 50 Random