Help setup ownCloud through One.com

php_issue
9.1.x

#1

Hi,

My Website and Domain Hosting is currently with One.com, I've set up a subfolder that contains all files needed to setup ownCloud, it worked initially, no problems when I first tried it 3 months ago.
I have now updated to the new(est) version as of today, it is giving me some errors;

  • Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)

  • /dev/urandom is not readable by PHP which is highly discouraged for security reasons. Further information can be found in our documentation.

  • The "Strict-Transport-Security" HTTP header is not configured to at least "15552000" seconds. For enhanced security, we recommend enabling HSTS as described in our security tips.

I'm not too sure if it's just my hosting but I can't seem to actually fix any of theses issues. especially the integrity check, I've replaced Index.php and the test, given permissions to "/dev/urandom" and the problem persists.

Any help or advice is greatly appreciated.


Security Message
#2

I forgot to mention the fact that I have also tried using the web installer and the same problem arises.


#3

Hi,

i think it might help more if you explain what steps you did and what issues you're still facing. The only pointers currently which can be given here is the documentation, providing all needed info to solve this message (see below).

So have a look at the documentation and work your way through it. I think the people in here are happy to answer any specific questions you have when doing so.

Depending on your hoster it might be possible that you can't fix the second and third message at all. Then you can ignore these or contact the support of your hoster and ask for help.

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

https://doc.owncloud.org/server/latest/admin_manual/configuration_server/security_setup_warnings.html#dev-urandom-is-not-readable-by-php

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


#4

Brilliant, I shall try what you've recommended, and I will get back to you ASAP.

Many thanks.