# Error while installing metabase Dashboard

**URL:** <https://discourse.crowdsec.net/t/error-while-installing-metabase-dashboard/1037>\
**Category:** Uncategorized\
**Created:** [November 19, 2022, 9:38am UTC](https://discourse.crowdsec.net/t/error-while-installing-metabase-dashboard/1037 "2022-11-19T09:38:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![bullerwins](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/bullerwins/32/475_2.png) [@bullerwins](https://discourse.crowdsec.net/u/bullerwins)\
**Post date:** [November 19, 2022, 9:38am UTC](https://discourse.crowdsec.net/t/error-while-installing-metabase-dashboard/1037/1 "2022-11-19T09:38:11Z")

</div>

Hi!  
I just installed a fresh instance of crowdsec in an Ubuntu 20.04 alongside a Mastodon server.  
I followed the steps to install like this:

curl -s [https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh](https://packagecloud.io/install/repositories/crowdsec/crowdsec/script.deb.sh) | sudo bash  
sudo apt install crowdsec  
sudo apt install crowdsec-firewall-bouncer-iptables

Up to this works great! I have access to the hub list, as well as the decision list just fine.

But when trying to install the dashboard:

sudo apt install [docker.io](http://docker.io)  
sudo cscli dashboard setup --listen 0.0.0.0 --port 3001

I had to use 3001 as port, as apparently the dashboard uses port 3000 and it’s being used by mastodon. I did this before without anyport and got the error.

But after changing the port I get this error:

WARN[19-11-2022 10:19:46 AM] You are using sqlite without WAL, this can have an impact of performance. If you do not store the database in a network share, set db\_config.use\_wal to true. Set explicitly to false to disable this warning.  
WARN[19-11-2022 10:19:46 AM] You are using sqlite without WAL, this can have an impact of performance. If you do not store the database in a network share, set db\_config.use\_wal to true. Set explicitly to false to disable this warning.  
? For metabase docker to be able to access SQLite file we need to add a new group called ‘crowdsec’ to the system, is it ok for you ? Yes  
INFO[19-11-2022 10:19:48 AM] Pulling docker image metabase/metabase:v0.41.5  
…  
INFO[19-11-2022 10:19:59 AM] creating container ‘crowdsec-metabase’  
INFO[19-11-2022 10:20:00 AM] waiting for metabase to be up (can take up to a minute)  
…  
FATA[19-11-2022 10:20:48 AM] update database: http error: map[dbname:/metabase-data/crowdsec.db (Permission denied) message:/metabase-data/crowdsec.db (Permission denied) valid:false]

---

<div class="post-metadata">

**Author:** ![klausagnoletti](https://dub1.discourse-cdn.com/flex013/user_avatar/discourse.crowdsec.net/klausagnoletti/32/201_2.png) [@klausagnoletti](https://discourse.crowdsec.net/u/klausagnoletti)\
**Post date:** [November 19, 2022, 10:46am UTC](https://discourse.crowdsec.net/t/error-while-installing-metabase-dashboard/1037/2 "2022-11-19T10:46:27Z")

</div>

Hey! It’s a known bug that surfaced in v1.4.2. You can see details on the issue as well as a workaround here: [cscli dashboard setup doesn't work · Issue #1873 · crowdsecurity/crowdsec · GitHub](https://github.com/crowdsecurity/crowdsec/issues/1873). You’re welcome and thanks for being a CrowdSec user! We really appreciate it!
