欢迎光临
我们一直在努力

owncloud私有云控制台故障问题

owncloud授权

[astel@tk2-234-26965 ~]$ cat /etc/redhat-releaseCentOS release 6.7 (Final)[astel@tk2-234-26965 ~]$ uname -r2.6.32-573.3.1.el6.x86_64[astel@tk2-234-26965 ~]$ php --versionPHP 5.4.44 (cli) (built: Aug  6 2015 07:41:49) Copyright (c) 1997-2014 The PHP GroupZend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies[astel@tk2-234-26965 ~]$ nginx -Vnginx version: nginx/1.8.0built by gcc 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) built with OpenSSL 1.0.1e-fips 11 Feb 2013

hp does not seem to be setup properly to query system environment variables. The test with getenv(“PATH”) only returns an empty response.
Please check the installation documentation for php configuration notes and the php configuration of your server, especially when using php-fpm.
このサーバーはインターネットに接続されていません。この場合、外部ストレージのマウント、更新の通知やサードパーティ製のアプリ、といったいくつかの機能が使えません。また、リモート接続でのファイルアクセス、通知メールの送信のような機能も利用できない可能性があります。全ての機能を利用するためには、このサーバーからインターネットに接続できるようにすることをお勧めします。
メモリキャッシュが設定されていません。パフォーマンスを向上するために、可能であれば memcache を設定してください。 より詳しい情報については、documentation を参照してください。
cURL is using an outdated NSS version (NSS/3.19.1 Basic ECC). Please update your operating system or features such as installing and updating apps via the app store or Federated Cloud Sharing will not work reliably.
You are accessing this site via HTTP. We strongly suggest you configure your server to require using HTTPS instead as described in our security tips.
Please double check the installation guides , and check for any errors or warnings in the log.

まずこれ

php does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response.Please check the installation documentation for php configuration notes and the php configuration of your server, especially when using php-fpm.

参考
OWNCLOUD8をアップデートしたら、管理画面に”THE TEST WITH GETENV(“PATH”) ONLY RETURNS AN EMPTY RESPONSE.”と表示されたとき

php-fpm.conf のグローバル設定項目
clear_env boolean
FPM ワーカー内の環境をクリアする。 任意の環境変数が FPM ワーカープロセスに到達してしまうことを防ぐために、 ワーカー内の環境をいったんクリアしてから、このプールの設定で指定された環境変数を追加します。 PHP 5.4.27、PHP 5.5.11、PHP 5.6.0 以降で利用可能です。 デフォルト値: Yes

これをnoにする

/etc/php-fpm.d/www.conf に
clear_env = no
と追記する

http://astail.net/?p=906

赞(0)
【声明】:本博客不参与任何交易,也非中介,仅记录个人感兴趣的主机测评结果和优惠活动,内容均不作直接、间接、法定、约定的保证。访问本博客请务必遵守有关互联网的相关法律、规定与规则。一旦您访问本博客,即表示您已经知晓并接受了此声明通告。