# When i try to install "Migrate Source CSV" module csv path not found error coming?

**URL:** <https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918>\
**Category:** Hosting farmOS\
**Tags:** support-request\
**Created:** [March 6, 2024, 5:29am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918 "2024-03-06T05:29:10Z")\
**Posts on this page:** 17\
**Page:** 2

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [September 27, 2024, 11:11am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/21 "2024-09-27T11:11:28Z")

</div>

Sir, do you mean ? Uninstall and reinstall this farm\_import\_csv module?. I didn’t do that. I will try this also. Thank you.

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 1, 2024, 7:05am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/22 "2024-11-01T07:05:12Z")

</div>

@mstenta sir, previous month i couldn’t continue update. but, i am trying today. when i trying update via “composer” that same issue coming.

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/f/f926cb6f12f179c83802c4fe1f39b3fed814c03e.png)

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [November 1, 2024, 1:48pm UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/23 "2024-11-01T13:48:21Z")

</div>

@aathi179 My guess would be that either a) something was interrupted during the installation of `farm_import_csv`, or b) some other modules were installed that have not been tested with farmOS.

Can you try uninstalling `migrate_source_csv` (and all of the modules that depend on it) and see if the error goes away? If the error is gone after that, then you can try reinstalling `farm_import_csv` to see if it works properly.

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 1, 2024, 1:55pm UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/24 "2024-11-01T13:55:01Z")

</div>

Ok sir I will try.

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 2, 2024, 4:04am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/25 "2024-11-02T04:04:07Z")

</div>

@mstenta, sir, you are correct. when i reinstalling `farm_import_csv` then this error came in terminal but site working as usual. Before, `farm_import_csv` installation i reinstalled `migrate_source_csv`. but, error not came.

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 2, 2024, 4:14am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/26 "2024-11-02T04:14:31Z")

</div>

when run `drush cr` cmd on terminal it’ showing bleow error

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/1/1c405bf7dce16378ea9907e910978b3cc4da9784.png)

But i tried clear cache on browser, error not appeared.

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/6/6459d0ef6429b9445efd0e01746b50ae528b16fd.png)

csv import option not available in menu.

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/d/d2abd1a26a86dcd8ed91534fbb36c20f29bcab64.png)

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 2, 2024, 5:14am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/27 "2024-11-02T05:14:03Z")

</div>

@mstenta sir, line missing or not updating properly in `farm_import_csv` module.

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/5/5ea1728cc1df3b2b8730f614cceb53e0849b3693.png)

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/0/0d2b5d00bb4d8078d0d23325ebe497686d6b975a.png)

farmOS version in composer.lock

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/c/c25f80adb0805ae7290cf059a170af7574d41144.png)

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 2, 2024, 6:54am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/28 "2024-11-02T06:54:02Z")

</div>

i just added the missing lines and tested. it says the same error.  
csv import option not showing in “farmOS\>setup\>import”.

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [November 2, 2024, 12:45pm UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/29 "2024-11-02T12:45:17Z")

</div>

@aathi179 Here is what I would like you to try, if you can (I assume this is a testing instance and it’s OK to delete the database and start fresh):

1. Install farmOS with default modules from scratch via Drush, **this will wipe your database and delete all data** (adjust the database credentials if you need to… these are the default development environment credentials): `drush site-install -y --db-url=pgsql://farm:farm@db/farm --account-pass=admin`
2. Install the farmOS CSV import module via Drush: `drush en -y farm_import_csv`
3. Clear the cache via Drush: `drush cr`

Do you see the error when you do that?

If you do see the error, then I would like you to create a zip/tarball of your entire codebase and upload it somewhere that I can see it. I want to see if you have anything different or unusual, so do not add/remove anything.

If you do not see the error after doing those steps, then it would suggest that you had some other module installed that was affecting things. If you want to pinpoint the issue, you could try enabling the additional modules you want one at a time after that.

> [@aathi179](#):
>
> after, i was added smtp,farmos notification, plan and other modules from configuration-\>extend menu.

I highly recommend that you do not enable modules through the Drupal `/admin/extend` menu unless you are 100% aware of what you are enabling. There may be modules in that list that break farmOS. Use the farmOS-specific module list at `/setup/modules` to enable farmOS modules. If you have specific modules that are not in that list (like `smtp`) you can use `/admin/extend` for those, or just enable them via Drush (`drush en smtp`).

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 2, 2024, 2:15pm UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/30 "2024-11-02T14:15:18Z")

</div>

Ok sir, I will try.

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 10, 2024, 8:53am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/31 "2024-11-10T08:53:23Z")

</div>

> [@mstenta](#):
>
> drush site-install -y --db-url=pgsql://farm:farm@db/farm --account-pass=admin

i have run this code for mysql. Now, site looks like fresh installed farmOS.

 ![Screenshot (475)](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/9/93072bceecfed5c9344069d3579b604fa6e5da18.png)

but, default modules only enabled.

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/c/c37cef9157897501b70cbbf6dcfdf1dab39c46a6.png)

import option not there. (also not installed in default)

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/8/844a4b03d7a249b49a765e524c8e8d3a7ef10abb.png)

i am going to try by installing all farmos modules (farmOS Import CSV).

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 10, 2024, 9:07am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/32 "2024-11-10T09:07:16Z")

</div>

All of the core module installed no issue happened. Even `drush cr` also run without error.

I am going to try with all other custom modules one by one.

 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/c/c6277e78f1e372d42fbdb91be17958e89ed5a85a.png)

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 10, 2024, 9:24am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/33 "2024-11-10T09:24:23Z")

</div>

That above modules have installed without error (not installed maple - no need for me).

But, i want to install PHPmailer, [SMTP Authentication Support](https://www.drupal.org/project/smtp),[user redirect](https://www.drupal.org/project/user_redirect) and menu ui(drupal core module)

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 10, 2024, 9:41am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/34 "2024-11-10T09:41:12Z")

</div>

1. PHPmailer already installed.
2. SMTP authentication support - `composer require 'drupal/smtp:^1.4'`
3. User redirect - `composer require 'drupal/user_redirect:^2.0'`
4. menu UI -  
 ![image](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/4/43089ad9d12d8493dbdf0d89c6e05da3e5aad169.png)

All are installed without error.

> [@mstenta](#):
>
> Do you see the error when you do that?

I don’t see any error.  
then, may be i made mistake. so, i need to test by copy of live instance. after, this test i will report here.  
@mstenta thank you.

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 11, 2024, 9:00am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/35 "2024-11-11T09:00:05Z")

</div>

i am testing with another instance it throw error. During update time also it says following error.

 ![error1](https://global.discourse-cdn.com/free1/uploads/farm_os/original/2X/8/8fe2a50e0d1e1401680dcb4e7e7cd68ffc4b80d8.png)

[https://github.com/advisories/GHSA-mg8j-w93w-xjgc](https://github.com/advisories/GHSA-mg8j-w93w-xjgc)

when i was try to access from browser it say " _Symfony\Component\Routing\Exception\RouteNotFoundException_: Route “view.farm\_log\_quantity.page” does not exist. in _Drupal\Core\Routing\RouteProvider-\>getRouteByName()_ (line _208_ of _core/lib/Drupal/Core/Routing/RouteProvider.php_)."

But, this error not related to previous one (You must declare the “path” to the source CSV file in your source settings.)

---

<div class="post-metadata">

**Author:** ![aathi179](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/aathi179/32/1539_2.png) [@aathi179](https://farmos.discourse.group/u/aathi179)\
**Post date:** [November 11, 2024, 11:24am UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/36 "2024-11-11T11:24:42Z")

</div>

> [@aathi179](#):
>
> ```auto
> drush updb -y
> 
> ```

after run this command that issue disappeared.

i think update completed.

thank you sir.

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [November 11, 2024, 8:24pm UTC](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918/37 "2024-11-11T20:24:18Z")

</div>

Great! Glad to hear you got it working @aathi179!

[Previous page](https://farmos.discourse.group/t/when-i-try-to-install-migrate-source-csv-module-csv-path-not-found-error-coming/1918.md?page=1)
