2020-11-11 11:47:10 +01:00
---
title: KeeWeb for Nextcloud
template: docs
taxonomy:
2020-11-14 14:14:50 +01:00
category: docs, apps
2021-02-06 18:22:00 +01:00
routes:
default: '/app_nextcloud_keeweb'
2020-11-11 11:47:10 +01:00
---
2019-09-28 22:09:11 +02:00
The KeeWeb application is a password manager integrated into Nextcloud. For example, it allows you to read a KeePass file (*.kdbx*) stored on your Nextcloud instance.
But sometimes Nextcloud does not let the application support these files, which makes it impossible to read them from KeeWeb. To remedy this,
2019-12-24 17:19:47 +01:00
[a solution ](https://github.com/jhass/nextcloud-keeweb/blob/master/README.md#mimetype-detection ) exists.
2019-09-28 22:09:11 +02:00
Go to the Nextcloud configuration directory:
```bash
cd /var/www/nextcloud/config/
```
If it does not exist, create the *mimetypemapping.json* file whose owner is the user *nextcloud* :
```bash
sudo su nextcloud -c "nano mimetypemapping.json"
```
Then add in this file the following text:
```bash
{
"kdbx": ["x-application/kdbx"]
}
```
Save the file (**CTRL** + **o** ) and exit nano (**CTRL** + **c** ).
2019-12-24 17:19:47 +01:00
Then run a scan by executing next command as root:
```bash
sudo -u nextcloud php /var/www/nextcloud/occ files:scan --all
```
2019-09-28 22:09:11 +02:00
Now the problem is fixed.