# The file could not be uploaded because the destination "private://farm/asset/2023-01" is invalid

**URL:** <https://farmos.discourse.group/t/the-file-could-not-be-uploaded-because-the-destination-private-farm-asset-2023-01-is-invalid/1480>\
**Category:** Hosting farmOS\
**Tags:** support-request\
**Created:** [January 17, 2023, 7:22pm UTC](https://farmos.discourse.group/t/the-file-could-not-be-uploaded-because-the-destination-private-farm-asset-2023-01-is-invalid/1480 "2023-01-17T19:22:11Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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:** [January 17, 2023, 10:01pm UTC](https://farmos.discourse.group/t/the-file-could-not-be-uploaded-because-the-destination-private-farm-asset-2023-01-is-invalid/1480/10 "2023-01-17T22:01:28Z")

</div>

> [@Farmer-Ed](#):
>
> Was it mentioned by someone in a meeting recently too?

Indeed it was.

> [@Farmer-Ed](#):
>
> I suppose by right the settings.php file should be configured before installing the site?

It can be (that’s what I do personally), but I think it’s a bit simpler (from a new user documentation perspective) to let Drupal create the `settings.php` file during installation and then add this line + cache clear after. Otherwise the instructions involve a lot more manual editing of `settings.php`, which Drupal’s `install.php` handles with a nice UI. 🙂

---

_[View the full topic](https://farmos.discourse.group/t/the-file-could-not-be-uploaded-because-the-destination-private-farm-asset-2023-01-is-invalid/1480)._
