1.Install a fresh Ubuntu 20.04 (in a virtual machine running on a Mac via VMware Fusion)
2. Go through the steps as described here: Install ownCloud on Ubuntu 20.04 :: ownCloud Documentation.
3. ‘Preparation’ steps work when eventually work out that I need to prefix each line with sudo
4. When I run the next step to create the occ Helper Script, I get an error message “bash: /usr/local/bin/occ: Permission denied”
Expected behaviour
occ helper scripts installs
Actual behaviour
From the instructions, I’ve tried copy+paste the whole console section and I’ve tried pasting it line-by-line. I’ve also tried adding sudo to each line:
Did you set proper permissions? In the docs it reads:
chmod +x /usr/local/bin/occ
You can ignore the helper script part, if you do not know how to get it running. Instead use sudo -u www-data php /path/to/your/owncloud/installation/occ
followed by the occ command you want to execute.
So everytime the documentation says occ replace it with the above line.
In any case, you absolutely do not need that helper script. I’d recommend to use the sudo -u www-data php /path/to/your/owncloud/installation/occ
variant
I’m a bit confused and wondering if we’re talking about the same set of instructions. I’m attaching a screenshot of the ones I’m looking at, in which it has these steps:
As I wrote before, ignore the helper script. You did not succeed to create this file and I’ll not provide basic Linux knowlege. There are lots of tutorials on the web.
Use my variant calling occ, but only when it comes to occ. not before. So your next step is “Install the Required Packages”