Nextcloud One Click Apps on Debian not able to create or write to data directory.

So I have been trying for a while to get a linode instance to work with Block Storage and Docker and I now get this error when I attempt to sign in at the Web GUI.

Can't create or write into the data directory /var/www/html/data

Followed the tutorial for Docker from Linode but its has been a terrible experience. And considering I am new to a lot of this frustrating to say the least.

Thank you to anyone that can help.

2 Replies

@mrocheleau --

You write:

Can't create or write into the data directory /var/www/html/data

Most likely, this directory and/or parent of this directory are not owned by the user/group of the web server (www-data/www-data for apache2 on Debian).

You can change this using the chown(1) and/or chmod(1) commands.

-- sw

My newest issue.

Error while trying to create admin user: Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known.

Not sure where this came from but it would seem i screwed this up aswell.

Thank you to anyone who helps.

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct