Installation Issues


So I am new to Cozy and I am trying to install it on a clean Ubuntu 16.04 environment. I have run the following commands:

curl | \
    apt-key --keyring /etc/apt/trusted.gpg.d/cozy.gpg add -
curl | \
    apt-key --keyring /etc/apt/trusted.gpg.d/cozy.gpg add -

apt-get update && apt-get install cozy -y

there were several prompts which i followed, inputted the passwords but then I got an error:

Where did I make a mistake?


Hi, you did not make any error, this is a known issue discussed in other threads and on Github.

Line 4 of your paste you can see the following message:

Error: Could not find config file "cozy-admin-passphrase"

This file is not created anymore for reason outside my comprehension yet, a developer wrote this is a regression and that a fix is in the newest version but not in the packages yet.

You can create this file with touch /etc/cozy/cozy-admin-passphrase. It will permit to install the packages and continue the installation.

Afterwards, you will have to fill it with your Cozy admin password, hashed, so that calls to cozy-stack command-line tools will not prompt you for a password. This is optional but really handy is you ant to use LetsEncrypt, Nginx and the provided helper tools.