A have nextcloud on arch linux, after shifted back to php-legacy (<8.2) I foud that external storage does not work. If I am right I should add my path to allowed path. Can you help me to figure out where I can find this settings to add my external path?
Error PHP
Error: realpath(): open_basedir restriction in effect. File(/mnt/edu) is not within the allowed path(s): (/var/lib/nextcloud:/tmp:/usr/share/webapps/nextcloud:/etc/webapps/nextcloud:/dev/urandom:/usr/lib/php-legacy/modules:/var/log/nextcloud:/proc/meminfo) at /usr/share/webapps/nextcloud/lib/private/Files/Storage/Local.php#84
Sorry for being late in my response.
I have checked my php.ini files and found open_basedir commented there /etc/webapps/nextcloud/php.ini /etc/php-legacy/php.ini
Do you have any other thoughts?
I am not an Arch specialist but acording to this wiki, you should deal it in /etc/webapps/nextcloud/php.ini for the comandline (occ) and in /etc/php-legacy/php.ini for the rest.
But you could look for open_basedir in /etc/php-legacy/php-fpm.ini, /etc/php-legacy/php-fpm.d/nextcloud.conf (if exists) and /etc/uwsgi/nextcloud.ini as well.
But as I wrote, I am not an Arch specialist.