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..

Hi everyone, I have to execute the commande "vendor/bin/console data:import" from Jenkins to import

U046CE1BNMU
U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

Hi everyone,
I have to execute the commande "vendor/bin/console data:import" from Jenkins to import all the data from my .csv files. In the documentation it explained that it's possible but even when i follow the tutorial step by step it does'nt work and return "vendor/bin/console: not found"

Someone have an idea to resolve this ?

Comments

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    Hey! Can you post a screenshot please?

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    I believe job's configuration is incorrect. Could you please try to create a new one by copying existing one? So it looks like on the second screenshot (btw, sync:data doesn't import data from csv file but exports existing data from the DB to Redis and ElasticSearch).

  • U046CE1BNMU
    U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

    i try it immediatly

  • U046CE1BNMU
    U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

    Sorry but i don't have any auto-completion and the code doesn't work...

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    I know what is the problem. Let us fix something for your staging env and Jenkins will be full of predefined jobs.

  • U046CE1BNMU
    U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

    Perfect ! Thank You !

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice
    edited November 2022

    Staging's Jenkins has been fixed. I'm going to do the same for Prod now.

  • U046CE1BNMU
    U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

    I try to execute the same command with your recommandation but it return an error again.

    You don't have a script create to upload the csv file ? we want to change language and add some CMS bloc

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    You need to commit changed file and push it into the repository together with the project. And re-deploy.
    Or you need to implement your own data import functionality based on your requirements.

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    You can see the actual output of the job in the console of the job. There are exceptions about missing FR locale data and something about missing AT store.

  • U046CE1BNMU
    U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

    Ok i'll show what i can do about it

  • U046CE1BNMU
    U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

    I don't see chere the problem come from, we don't ask for an AT store we only want an FR general store and several regional stores, and some language like french, english, italian...

  • Valerii Trots
    Valerii Trots SRE @ Spryker Sprykee Posts: 1,654 ✨ - Novice

    This has to be investigated by development team from your side (if you are not a dev).

  • U046CE1BNMU
    U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

    I am and i search since this morning and not a single change function

  • U046CE1BNMU
    U046CE1BNMU Posts: 38 πŸ§‘πŸ»β€πŸš€ - Cadet

    work*