Can someone please help me with this. I’m very much a novice on ubuntu or on setting up web server, so please bear with me. I am having a trouble finalize the installation of owncloud onto my Ubuntu desktop.
I’m trying to install owncloud on my Ubuntu 22.04 desktop carefully following the instructions on owncloud documentation, and I believe I got all the prerequisites and configurations listed properly, though I could be wrong. I’ve gone through the prerequisites several times so if there’s something wrong, I wouldn’t be able to detect it on my own.
I downloaded the ownCloud binary, and followed script-guided installation which seemed to have worked. But when I tried to finalize the installation with graphical installation wizard, I was told:
MySQL/MariaDB enter the database username and name.
Can’t create or write into the data directory /var/www/owncloud/data
Can’t create or write into the apps-external directory /var/www/owncloud/apps-external
Tried command line installation instead, and got similar error message.
After much looking and poking around with configuration, prerequisites, and chown command, I decided to delete the owncloud folder and re-install. Now I cannot open the graphical installation wizard on my browser.
Expected behaviour
Tell us what should happen
Proper installation and running of ownCloud on my Ubuntu 22.04 desktop
Actual behaviour
Tell us what happens instead
at the final step in installation, I get error telling me:
Can’t create or write into the data directory /var/www/owncloud/data
Can’t create or write into the apps-external directory /var/www/owncloud/apps-external
Steps to reproduce
- Followed instructions on owncloud documentations, tried both the quick guide and detailed guide (maybe that’s the problem?).
- I believe I install all the prerequisite without trouble.
- Following the detailed instructions, downloaded the latest version of the owncloud. Untar-ed into /var/www/owncloud/
- Tried to finalize the installation using the graphical installation wizard, entering the name and password.
- got error saying “MySQL/MariaDB enter the database username and name. Can’t create or write into the data directory /var/www/owncloud/data Can’t create or write into the apps-external directory /var/www/owncloud/apps-external”
- after several tries, I removed the owncloud directory and un-tar the owncloud again, now following the quick installation guide.
- Now the problem seemed to have gotten worse because I cannot open the graphical installation wizard on my browser anymore.
Server configuration
Operating system:
Ubuntu 22.04
Web server:
Apache2
Database:
mySQL/MariaDB
PHP version:
7.4
8.3
ownCloud version:
latest?
Storage backend (external storage):