D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] OwnCloud.

 



On 27/07/15 14:00, aaron moore wrote:
Hi All
I would really like to try using Own Cloud, but am having big trouble installing it.  The forum seems a bit too techie for my humble IT skills.
 
I am getting error message from the log that goes;
 
{"reqId":"YV3UzQyFpApIq+6VnGyM","remoteAddr":"::1","app":"PHP","message":"fopen(\/var\/www\/owncloud\/config\/config.php): failed to open stream: No such file or directory at \/var\/www\/owncloud\/lib\/private\/config.php#191","level":3,"time":"2015-07-26T18:26:43+00:00"}
 
Can anyone make any sense of it and if so how can I fix it.
 
As ever very gratful for any response
 
Aaron


Aaron

/var/www is the usual location for your webserver files. Presumably you can connect to your server with a browser?

/var/www/owncloud is where it thinks your owncloud installation is. Is that true? And if so, does /var/www/owncloud/lib/private/config.php exist?

Assuming the files and locations match up, perhaps it's an access rights issue, try running these commands:

sudo chown -R www-data:www-data /var/www/owncloud
sudo find /var/www/owncloud -type d -exec chmod 755 {} \;
sudo find /var/www/owncloud -type f -exec chmod 644 {} \;

1. Sets the file/folder ownership to www-data (Ubuntu/Debian default apache user account)
2. Set all directories to 755
3. Sets all files to 644

Check the details of the Owncloud install procedure, sometimes when installing web applications, you need to make the config file editable whilst you configure the install and make it read-only again afterwards...

Martin




-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq