数据文件夹owncloud Ubuntu服务器

我有一个自己的云在我的Ubuntu服务器上工作,数据文件夹是/ var / owncloud / data在Ubuntu的重大更新后,它不再工作,所以我重新安装owncloud

/var/owncloud/config/congig.php文件指向相同的原始数据文件夹:

<?php $CONFIG = array ( 'instanceid' => 'xxxxxx', 'passwordsalt' => 'xxxxxx', 'datadirectory' => '/var/owncloud/data', 'dbtype' => 'mysql', 'version' => '5.0.20', 'dbname' => 'owncloud', 'dbhost' => 'localhost', 'dbtableprefix' => 'oc_', 'dbuser' => 'oc_xxxx', 'dbpassword' => 'xxxxxx', 'installed' => true, ); ?> 

在站点中的default-ssl.conf中,可以设置owncloud基础文件夹:

 <IfModule mod_ssl.c> # <VirtualHost _default_:443> <VirtualHost *:443> ServerAdmin [email protected] ServerName tillandsia.nl ServerAlias www.tillandsia.nl DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/ssl_access.log combined Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 </Directory> SSLEngine on SSLCertificateFile /etc/apache2/ssl/owncloud.pem SSLCertificateKeyFile /etc/apache2/ssl/owncloud.key <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 BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown <Directory /var/owncloud> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted Satisfy Any </Directory> </VirtualHost> </IfModule> 

从客户端访问时,它从原始数据文件夹的/ var / lib / owncloud instaid开始。 我能做些什么来回到原来的文件夹?