Errors after installing on Raspberry Pi


#1

Hi, I have installed OwnCloud for the first time on my Raspberry Pi. After that I got some issues:

  1. The test with getenv(\"PATH\") only returns an empty response.
    I read that I have to add the line "env[PATH] = /usr/local/bin:/usr/bin:/bin" in the www.conf file but I cannot find the config file.

  2. Some files have not passed the integrity check
    "INVALID_HASH": {
    ".htaccess": {
    "expected": "blablabla",
    "current": "differentblablabla"
    }
    }

  3. The "Strict-Transport-Security" HTTP header is not configured to at least "15552000" seconds

I cannot find what I need to add and where I need to put it.

Sorry but I am really a newbie. I use nginx as web server


#2
  1. Please get in touch with a community dedicated to your used environment (e.g. https://www.raspberrypi.org/forums/). They can help you to find the config file and to configure this. If unsure also just ignore this message as oC will use sane defaults anyway.

  2. See https://doc.owncloud.org/server/latest/admin_manual/issues/code_signing.html#fixing-invalid-code-integrity-messages

  3. See https://doc.owncloud.org/server/latest/admin_manual/configuration_server/security_setup_warnings.html#the-strict-transport-security-http-header-is-not-configured

Especially the messages in 2. and 3. are already pointing you to the linked documentation above.