Can't upload any files to my New installed cloud

Hello everyone,

Yesterday I installed the owncloud (v10.4.1) on my hosted Webserver. (allinkl Webserver)

Databank
Server: localhost via UNIX Socket
Server Typ: MySQL
Server Version 5.7.28.nmm1-log (Ubuntu)
Protokoll Version 10

Webserver
Apache
Php 7.3
SSL aktive

When I try to upload any file I get this error: “You don’t have permission to upload or create files here”
I can create folder whitout Problems. But inside the folder are the same error when I try to upload.
Its the first time for me that I intall a Webserver. Habe anybody a simple solution for me?

Greetings
Kevin

Hello @Kev1911,

where is the location of your owncloud datadirectory?

If you don’t know you can look it up in your config.php file e.g:
# grep datadirectory /var/www/owncloud/config/config.php

  • ‘datadirectory’ => ‘/usr/local/src/owncloud/data’,*

What are the file permission on your owncloud datadirectory?

root@ubuntu:~# ls -ld /usr/local/src/owncloud/data
drwxrwx— 5 www-data owncloud 4096 Aug 3 09:10 /usr/local/src/owncloud/data

Do also check our owncloud logfile when you try to upload something

ownCloud logfile is located in your owncloud datadirectory and called owncloud.log

Regards

Michael

2 Likes

Hello and Thanks for the answer.

I found the Problem.
There was a htaccess file in my Main root who blocked all uploades because of the rights.

2 Likes