Keepass (keeweb) for Nextcloud

KeePass (keeweb) is a free open source password manager, which helps you to manage your passwords in a secure way within your Nextcloud. You can put all your passwords in one database, which is locked with one master key or a key file. So you only have to remember one single master password or select the key file to unlock the whole database.

Download, extract, enable and enjoy!

Download:
Browse to the releases page and download the latest version (e.g. 0.5.0) or issue

sudo -s 
cd /usr/local/src
wget https://github.com/jhass/nextcloud-keeweb/releases/download/v0.5.0/keeweb-0.5.0.tar.gz

Extract:
Extract it to /var/www/nextcloud/apps by issuing

tar xvf keeweb-0.5.0.tar.gz -C /var/www/nextcloud/apps 

Enable:
Apply the proper permissions and enable the app

chown -R www-data:www-data /var/www/nextcloud
sudo -u www-data php /var/www/nextcloud/occ app:enable keeweb
sudo -u www-data vi /var/www/nextcloud/config/mimetypemapping.json
{
"kdbx": ["application/x-kdbx"]
}
sudo -u www-data php /var/www/nextcloud/occ files:scan --all
sudo -u www-data php /var/www/nextcloud/occ maintenance:mimetype:update-db
sudo -u www-data php /var/www/nextcloud/occ maintenance:mimetype:update-js

Enjoy:
Enjoy your personal data in your secured and hardened Nextcloud-Server!

Don’t forget to backup your Nextcloud

Find more instructions here: Nextcloud backup and restore


Carsten Rieger

Carsten Rieger

Carsten Rieger is a senior system engineer in full-time and also working as an IT freelancer. He is working with linux environments for more than 13 years, an Open Source enthusiast and highly motivated on linux installation and troubleshooting. Mostly working with Debian/Ubuntu Linux, Nginx and Apache web server, MariaDB/MySQL/PostgreSQL, PHP, Cloud infrastructure (e.g. Nextcloud) and other open source projects (e.g. Roundcube) and in voluntary work for the Dr. Michael & Angela Jacobi Stiftung for more than 6 years.

8 Responses

  1. Tom says:

    Hi Carsten,

    I’ve used that app long time ago, but it was not maintained anymore … so glad to hear!!! 🙂
    But I’m getting a network error after entering my password for my kdbx-file.
    Any idea?

    Cheers, Tom

  2. Jerry says:

    Cool! Great tutorial!
    But after this I can’t open my docs, jpg, pdf and so on files any more. Only gives me the option to download them. Maybe I messed up something with this “mimetypemapping.json” file. Do You have the same problem?
    Thanks!

Leave a Reply to Carsten Rieger Cancel reply

Your email address will not be published. Required fields are marked *