# N8n custom docker, sqlite error

**URL:** <https://community.n8n.io/t/n8n-custom-docker-sqlite-error/15899>\
**Category:** Questions\
**Tags:** deployment\
**Created:** [July 19, 2022, 2:19pm UTC](https://community.n8n.io/t/n8n-custom-docker-sqlite-error/15899 "2022-07-19T14:19:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wassim](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wassim](https://community.n8n.io/u/wassim)\
**Post date:** [July 19, 2022, 2:19pm UTC](https://community.n8n.io/t/n8n-custom-docker-sqlite-error/15899/1 "2022-07-19T14:19:16Z")

</div>

Hello,  
I use custom image docker to test new node added to n8n. However, after merging latest master, we have an issue in deploying docker image.

I use this command to generate docker  
`docker build -t wassim/n8n:0.116.1 -f docker/images/n8n-custom/Dockerfile .`

However when deploying it, we have this issue :

```auto
n8n_1 | Initializing n8n process
n8n_1 | There was an error initializing DB: "SQLite package has not been found installed. Try to install it: npm install sqlite3 --save"
n8n_1 |
n8n_1 | Stopping n8n...

```

## Information on your n8n setup

- **n8n version:** 0.186.1

repo : [GitHub - wassimd/n8n: Free and open fair-code licensed node based Workflow Automation Tool. Easily automate tasks across different services. · GitHub](https://github.com/wassimd/n8n)

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [July 20, 2022, 8:36am UTC](https://community.n8n.io/t/n8n-custom-docker-sqlite-error/15899/2 "2022-07-20T08:36:44Z")

</div>

Hi @wassim, thanks so much for bringing this to our attention and sorry for the trouble!

I could reproduce this problem with the current `master` branch of the [official repo](https://github.com/n8n-io/n8n) and will add this to our internal bug tracker for a closer look.

---

<div class="post-metadata">

**Author:** ![wassim](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@wassim](https://community.n8n.io/u/wassim)\
**Post date:** [July 26, 2022, 1:29pm UTC](https://community.n8n.io/t/n8n-custom-docker-sqlite-error/15899/4 "2022-07-26T13:29:35Z")

</div>

Hi thanks @MutedJam, do you have an expected delay for fix ?

---

<div class="post-metadata">

**Author:** ![MutedJam](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/mutedjam/32/70851_2.png) [@MutedJam](https://community.n8n.io/u/MutedJam)\
**Post date:** [July 26, 2022, 1:35pm UTC](https://community.n8n.io/t/n8n-custom-docker-sqlite-error/15899/5 "2022-07-26T13:35:31Z")

</div>

I am afraid not, but perhaps @sirdavidoff can confirm when this will be looked at?
