# Can't create Sqlite database in mounted volume

**URL:** <https://community.fly.io/t/cant-create-sqlite-database-in-mounted-volume/2925>\
**Category:** Questions / Help\
**Created:** [October 25, 2021, 1:32pm UTC](https://community.fly.io/t/cant-create-sqlite-database-in-mounted-volume/2925 "2021-10-25T13:32:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![sudhir.j](https://sea1.discourse-cdn.com/fly1/user_avatar/community.fly.io/sudhir.j/32/39775_2.png) [@sudhir.j](https://community.fly.io/u/sudhir.j)\
**Post date:** [October 25, 2021, 1:51pm UTC](https://community.fly.io/t/cant-create-sqlite-database-in-mounted-volume/2925/2 "2021-10-25T13:51:17Z")

</div>

Would you mind sharing the script that does the DB file init?

Only possible solution that I can think of right now is that the second volume isn’t automatically replicated, so you might have to create the DB file again there (if you haven’t done so already).

---

_[View the full topic](https://community.fly.io/t/cant-create-sqlite-database-in-mounted-volume/2925)._
