Error Upload File in Level 3 Folder

Hi ,

i need your help, i never succeed to upload file with size starting 8-9 mb, in level 3 folder , for example : this folder structure :

  1. /Home
  2. /Home/Office
  3. /Home/Office/Softwares

the situation is :

  1. i can upload file A ( 9 MB ) in /Home
  2. i can the same file (A) 9MB in folder Office ( /home/office )
  3. but i can not upload the same file A ( 9 MB ) in folder Softwares ( /home/office/softwares )
    the error like below :
    can't upload1

the error log is :

{“reqId”:“eFy4udKAMHudIVNGUzpo”,“level”:3,“time”:“2020-07-12T13:30:41+07:00”,“remoteAddr”:“”,“user”:“aaaaa”,“app”:“PHP”,“method”:“GET”,“url”:"/settings/admin/serverinfo",“message”:“A non-numeric value encountered at /usr/local/www/nextcloud/apps/serverinfo/lib/OperatingSystems/DefaultOs.php#52”,“userAgent”:“Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36”,“version”:“”,“id”:“5f0aaf92d6096”}

please advice…

Thanks n regards,

Perhaps there is a restriction in path length. That could be a problem on web spaces with very very long paths. Can you post the full path on your server or webspace? Perhaps you can move your data-dir to another location.

i’m installing nextcloud in freenas jail, where path that i have to check ?

data-dir in config/config.php from nextcloud.
Perhaps it is too long.

hi devnull,

sorry for late reply,
here’s data-dir in config.php

‘datadirectory’ => ‘/mnt/files’,

actually files in here in freenas : for ex:

fyi. i’m install nextcloud in iocage freenas jail.

Please advice.