我有一个已经死亡的服务器上运行的Owncloud,我记得安装很容易,我已经迁移服务器和Owncloud是最后安装的应用程序之一。
好的刚刚下载并安装在Ubuntu 14.04服务器与PHP 5.5.9-1最新版本的Owncloud,我正在尝试手动安装。 我已经尝试添加回购和从apt-get安装owncloud安装,没有为我工作:/,whereis owncloud什么都没有报告。 它的安装,但从来没有能够提出网站。
现在对于我的问题,我完成了手动安装从.tar.bz2到时间login我收到
“此网页有redirect循环”
,我收到来自Chrome和Safari浏览器的错误。 我无法login,没有用户,我得到错误页面。
不知道它是否相关,但在这里看看owncloud-error.log
“configuration为”mysite.com“的RSA证书不包含与服务器名称”
安装新的ssl证书与CN作为我的ServerName指令在虚拟主机configuration文件,同样的错误:/重新安装owncloud同样的问题…出于想法。
在此先感谢,jmituzas
这听起来像它可能不是从ServerName指令,而是从系统(即hostname ),或从另一个configuration指令获取服务器名称。 根据适当的stream程修正机器的主机名可能会有帮助。
如果在owncloud-error.log中还有其他应用程序错误,您也应该更正它们。
我编辑了default-ssl.conf文件以适应owncloud。 这是我更新的文件:
<IfModule mod_ssl.c> <VirtualHost _default_:52000> ServerAdmin webmaster@localhost DocumentRoot /var/www/owncloud # Available loglevels: trace8, ..., trace1, debug, info, notice, warn, # error, crit, alert, emerg. # It is also possible to configure the loglevel for particular # modules, eg #LogLevel info ssl:warn ErrorLog ${APACHE_LOG_DIR}/owncloud.error.log CustomLog ${APACHE_LOG_DIR}/owncloud.access.log combined # SSL Engine Switch: # Enable/Disable SSL for this virtual host. SSLEngine on # A self-signed (snakeoil) certificate can be created by installing # the ssl-cert package. See # /usr/share/doc/apache2/README.Debian.gz for more info. # If both key and certificate are stored in the same file, only the # SSLCertificateFile directive is needed. SSLCertificateFile /etc/apache2/ssl/owncloud.pem SSLCertificateKeyFile /etc/apache2/ssl/owncloud.key #SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire <FilesMatch "\.(cgi|shtml|phtml|php)$"> SSLOptions +StdEnvVars </FilesMatch> <Directory /usr/lib/cgi-bin> SSLOptions +StdEnvVars </Directory> BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown # Have apache 2.4 <Directory /var/www/owncloud> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> </VirtualHost> </IfModule>
修正了我在cloud-error.log中的错误,确定清除了cookies,调出owncloudlogin页面,input凭据点击login,获取错误:
This webpage has a redirect loop
如果我可以login,现在就修正了一个错误。