# Command Line Import

**URL:** <https://forum.mautic.org/t/command-line-import/11852>\
**Category:** Product Support\
**Created:** [December 2, 2019, 2:08pm UTC](https://forum.mautic.org/t/command-line-import/11852 "2019-12-02T14:08:18Z")\
**Posts on this page:** 10\
**Page:** 2

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [April 21, 2020, 5:32pm UTC](https://forum.mautic.org/t/command-line-import/11852/21 "2020-04-21T17:32:23Z")

</div>

Hey @Yosu_Cadilla,

Once again I am battling with this issue. Where should I put the file ?  
I thought it was enough to put it in /mautic/app/cache/imports  
Then run mautic:import but nothing happens.

My file looks like this  
email,doNotEmail  
[my@email.com](mailto:my@email.com),1

and is saved as a csv.

Not seeing any error logs.

Any clues ?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [May 2, 2020, 1:16pm UTC](https://forum.mautic.org/t/command-line-import/11852/22 "2020-05-02T13:16:36Z")

</div>

Hi, message is for anyone that can help.

Problem remains the same as before, trying to run some auto imports but after following all the documentation I still cannot get it to work. (I do get it to work with the plugin, but this plugin is for specific use on importing my platform data)

I have read all over the net with the latest article about it here: [https://github.com/mautic/mautic/issues/6774](https://github.com/mautic/mautic/issues/6774)

In this thread people claim that it works, can someone please walk me through step by step.

I have made a file for example:  
email,firstname  
[my@email.com](mailto:my@email.com),mike

I went and used iconv to convert the file from ASCII text to UTF-8.  
I have placed it in app/cache/imports/test.csv  
then ran the import cronjob, and nothing ☹

So any help would be so much appreciated

---

<div class="post-metadata">

**Author:** ![diogo2020](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/diogo2020/32/1300_2.png) [@diogo2020](https://forum.mautic.org/u/diogo2020)\
**Post date:** [June 18, 2020, 8:30pm UTC](https://forum.mautic.org/t/command-line-import/11852/23 "2020-06-18T20:30:31Z")

</div>

@mikew, actually in here:

> <https://github.com/mautic/mautic/issues/6774>
>
> Bug Description
> When attempting to automate a nightly update to contacts in Mautic. We have scheduled an SCP copy of a contacts...

People says it does not work and presents alternative approaches.

Does the import works or not? Does anyone knows about it?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 19, 2020, 4:19am UTC](https://forum.mautic.org/t/command-line-import/11852/24 "2020-06-19T04:19:55Z")

</div>

I never got this working, had to use the custom-import-bundle plugin

---

<div class="post-metadata">

**Author:** ![diogo2020](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/diogo2020/32/1300_2.png) [@diogo2020](https://forum.mautic.org/u/diogo2020)\
**Post date:** [June 22, 2020, 2:35pm UTC](https://forum.mautic.org/t/command-line-import/11852/26 "2020-06-22T14:35:13Z")

</div>

I am trying manual installation:

- Download last version [https://github.com/mtcextendee/mautic-custom-import-bundle/releases](https://github.com/mtcextendee/mautic-custom-import-bundle/releases)
- Unzip files to plugins/MauticCustomImportBundle
- Clear cache (app/cache/prod/)
- Go to /s/plugins/reload
- Setup CustomImport integration

But I can’t find the folder /s/ in Mautic directory. Does any one knows if it is related to the mautic version tha I’m running?

@mikew Did you find that folder when you did your installation?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 22, 2020, 3:35pm UTC](https://forum.mautic.org/t/command-line-import/11852/27 "2020-06-22T15:35:58Z")

</div>

After you have cleared the cache, simply go back to Mautic -\> Settings -\> Plugins.  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/5/5c0aa40daee272017e62e0bc3d291c54aa573ec7.png)

You will then see the plugin:  
 ![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/a/a9f2002a0f244e95157a4c50ca1a3f632994d4fa.png)  
You will only see the name custom. Click on it and you will be able to configure.

---

<div class="post-metadata">

**Author:** ![diogo2020](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/diogo2020/32/1300_2.png) [@diogo2020](https://forum.mautic.org/u/diogo2020)\
**Post date:** [June 22, 2020, 3:45pm UTC](https://forum.mautic.org/t/command-line-import/11852/28 "2020-06-22T15:45:20Z")

</div>

> [@mikew](#):
>
> After you have cleared the cache, simply go back to Mautic → Settings → Plugins.

I have already cleared the cache, but the plugin did not appear there.

Do you have any idea?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [June 22, 2020, 4:11pm UTC](https://forum.mautic.org/t/command-line-import/11852/29 "2020-06-22T16:11:51Z")

</div>

Did you do update/install on the plugins page ?

---

<div class="post-metadata">

**Author:** ![diogo2020](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/diogo2020/32/1300_2.png) [@diogo2020](https://forum.mautic.org/u/diogo2020)\
**Post date:** [June 22, 2020, 6:02pm UTC](https://forum.mautic.org/t/command-line-import/11852/30 "2020-06-22T18:02:17Z")

</div>

First I tried to manually install.

After that I tried to click in:

![image](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/2X/b/b546a17fa55fc49a200343b247a216a4d7b22d6c.png)

On the plugins page. It means, install/update Plugins. But it says that 0 plugins were installed or updated.

What is your Mautic Version?

I am starting to think this problem is related to the Mautic version, since I’m not able to find the same folders that you see, inside the mautic directory.

---

<div class="post-metadata">

**Author:** ![diogo2020](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/diogo2020/32/1300_2.png) [@diogo2020](https://forum.mautic.org/u/diogo2020)\
**Post date:** [June 22, 2020, 6:28pm UTC](https://forum.mautic.org/t/command-line-import/11852/31 "2020-06-22T18:28:16Z")

</div>

I tried the automatic installation too:

- `composer require mtcextendee/mautic-custom-import-bundle`
- `php app/console mautic:plugins:reload`
- Go to /s/plugins and setup CustomImport integration

The second steps says:  
0 plugins were installed and 0 was updated.

Please help.

[Previous page](https://forum.mautic.org/t/command-line-import/11852.md?page=1)
