On Mon, Apr 18, 2016 at 11:32:32AM -0400, Nick wrote:
> ## I think this error can be safely ignored, is that correct? OpenBSD changed 
> the way environment variables are handled.. (?)
> 1. php does not seem to be setup properly to query system environment 
> variables. The test with getenv("PATH") only returns an empty response.
> 
> ## This I'm not sure of, is it to do with the server needing access to 
> /etc/hosts and /etc/resolv? Would you recommend it?
> 2. This server has no working Internet connection. This means that some of 
> the features like mounting external storage, notifications about updates
> or installation of third-party apps will not work. Accessing files remotely 
> and sending of notification emails might not work, either. We suggest to 
> enable
> Internet connection for this server if you want to have all features.
> 
> ## Is it safe to allow this to be readable by PHP? If so, what do you think 
> might be the best way to go about it?
> 3. /dev/urandom is not readable by PHP which is highly discouraged for 
> security reasons. Further information can be found in our 
> [documentation](https://doc.owncloud.org/server/8.2/go.php?to=admin-security).
> 
> ## I have already set the server to direct to HTTPS using the letsencrypt 
> certs I created, so I figure that this is unnecessary to change - would you 
> agree?
> 4. The "Strict-Transport-Security" HTTP header is not configured to least 
> "15768000" seconds. For enhanced security we recommend enabling HSTS as 
> described in our [security 
> tips](https://nofacade.co.uk/owncloud/index.php/settings/admin#admin-tips).
> 
> ## This one is a real pain to work out:
> 5. No memory cache has been configured. To enhance your performance please 
> configure a memcache if available. Further information can be found in our 
> [documentation](https://doc.owncloud.org/server/8.2/go.php?to=admin-performance).
> 
> ## Reading through /usr/local/share/doc/pkg-readmes/owncloud-8.2.2p3 - it 
> advises me to adapt and append the ownloud/config/config.php file with:
> 'memcache.local' => '\OC\Memcache\Redis',
> 'redis' => array(
> 'host' => 'localhost',
> 'port' => 6379,
> 'timeout' => 0.0,
> ),
> Problem is that after a server restart, I am blocked from accessing my 
> owncloud server. Until I remove the recommended code and restart.
> 
> Here's what I have tried and which hasn't worked for me:
> ln -sf /etc/php-5.6.sample/redis.ini /etc/php-5.6/

That is documented.

> pkg_add redis && rcctl enable redis && rcctl start redis

I though it was kind of obvious that if you wanted redis support, you should 
have a redis server...
Also it does not need to be on the same box.

> rcctl restart httpd
> rcctl restart php56_fpm -df
> 
> 
> Thanks for taking the time to look through this. Cheers
> 

-- 
Antoine

Reply via email to