Permissions locked out after install

Steps to reproduce

  1. install to ubuntu 18.04 following https://doc.owncloud.org/server/10.4/admin_manual/installation/ubuntu_18_04.html
  2. Then around " Finalise the Installation" all permissions are locked out for both my user and root accounts.

Expected behaviour

Tell us what should happen
The guide would work

Actual behaviour

Tell us what happens instead
Permissions locked out for my accounts

Server configuration

Operating system: Ubuntu 18.04

Web server: Whatever is listed in the guide

Database: Whatever is listed in the guide

PHP version: Whatever is listed in the guide

ownCloud version: (see ownCloud admin page) Whatever is listed in the guide

Updated from an older ownCloud or fresh install: Fresh install

Where did you install ownCloud from: https://doc.owncloud.org/server/10.4/admin_manual/installation/ubuntu_18_04.html

So you followed the instructions at the link you provided and are stuck in the step “Finalise the Installation”?

Did you just copy and paste the script as it is or did you set the correct variables?

Everything within the curly brackets must be replaced with the acutal values, where for Ubuntu htuser and htgroup are apache, ocpath and datadir must be the paths you used for your installation:

eg:

ocpath="/var/www/owncloud"
datadir="/var/www/owncloud/data"
htuser="www-data"
htgroup="www-data"

htuser and htgroup apache is for CentOS, on Ubuntu/Debian it is www-data

1 Like

Of course, thanks! I fixed it in my original post.