I have installed owncloud 10.0.10 in a WebHosting Package. Installation works fine, but I can’t log in. In owncloud.log there are hundrets of messages from this type:
realpath(): open_basedir restriction in effect. File(/) is not within the allowed path(s): (…) at /owncloud/lib/private/Files/Storage/Local.php#389"
I don’t understand why owncloud tries to access “/”. I am not able to allow open_basedir that path at my webhosting package…
I installed owncloud with the occ command, that works fine. But login with the browser does not work. And I don’t understand why owncloud want to access the root path “/”?
Thanks, but without these options its still not working. I tried nextcloud and it worked perfectly without any problems. So for me the problem is solved, I have switched to nextcloud.
No, I even did a migration to nextcloud with the exactly same config.php. The same datadirectory works in nextcloud.
I don’t think that my problem was a configuration problem. Because the exactly same config worked in owncloud 9.1.4
similar to @alfredb i think the datadirectory is/was probably the reason for your issue. It looks to me that you had a different one configured initially:
From what i know this can’t be changed after the initial installation without additional modifications within the database (like discussed in e.g. OCC - files:scan) and could have messed up your installation.