Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
everytime I get to the ‘mount ~/owncloud’ stage I get:
‘$ mount ~/owncloud
/sbin/mount.davfs:/home/user/.davfs2/davfs2.conf:24: system option in user configuration file
/sbin/mount.davfs:/home/user/.davfs2/secrets:1: malformed line’
I’ve triple checked everything but nothing seems to be amiss.
Any help appreciated,
Cheers, Phil…
the line 24 in ‘home/user/.davfs2/davfs2.conf:24’ is the only uncommented line in the entire file as a matter of fact…
now it won’t let me log into the web interface even though I supplied the right username & password.
How can I reset them?
Hi Phil. It doesn’t seem to like the way your “secrets” file is formatted. If you have some odd characters in your password, you might want to put the password in double quotes.
Also, just to further clarify, make sure you are specifying the username and password you use to log into the ownCloud web interface.
Another thing to try is giving the following command as root:
mount.davfs IP_Address_Or_Domain_Name/owncloud/files/webdav.php /media/
It should prompt you for the username and password you’d like to use. Check the “/media” directory to see if it mounted correctly. Unmount it by typing “umount /media”.
If you’ve checked these items and are still having problems, feel free to paste the line from your “secrets” file (change or remove the password, of course), so that we can take a look.
‘mount.davfs IP_Address_Or_Domain_Name/owncloud/files/webdav.php /media/’ worked OK.
Is there any reason I can’t keep using this method?
No, you should feel free to continue to use that method if it works for you.
The other method has advantages in that it allows an unprivileged user to mount the location and it can store the login credentials.
That would make it more useful for using within scripts and such, but it is simply a way of automating the command that ended up working for you.
Let me know if you have any other questions.
@Phil Dobbin
You can copy the secrets file from /etc/davfs2/ folder and just add your settings in the “credentials” area of that file. Just be sure to chown the file before editing with your username and then chmod 600 it after.
You can comment out line 24 of davfs2.conf and uncomment the secrets line.
I have a few different websites already on one droplet and was curious where ownCloud would install to. If anyone else tries this, ownCloud installs to /var/www/ by default, so you have a new directory /var/www/owncloud after following the tutorial here. Just rename it or update your server config to point at that new folder. Hope that helps?