• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Error on mounted drive

jahrinc

Chevereto Member
Hello,

I mounted a block storage and assigned it with the web server group and user (www-data:www-data). Then went ahead and entered the details on the external storage, but it says "Can't work in target directory - check your input parameters".

I've doubled and even tripled' checked permissions, and they are all fine. Tried with symlink but it doesn't work either.


Instead, for now I had to choose SFTP for it to access a local folder.
 
PHP:
        $this->realPath = realpath($this->path) . '/';
        if (is_writeable($this->realPath) == false) {
            throw new Exception("Can't work in target directory", 100);
        }

Make sure that the permissions are applied. You are getting that error because the system detected that the directory is not writable.
 
PHP:
        $this->realPath = realpath($this->path) . '/';
        if (is_writeable($this->realPath) == false) {
            throw new Exception("Can't work in target directory", 100);
        }

Make sure that the permissions are applied. You are getting that error because the system detected that the directory is not writable.
I gave the folder, recursively, 777 just to see, and it still doesn't work. It's super weird.

I don't know what else to do at this point

[CODE title="Permissions and groups"]root@localhost:/mnt/slab# ls -la data
drwxrwxrwx 2 www-data www-data 4096 Jan 19 18:01 .
drwxrwxrwx 6 www-data www-data 4096 Jan 19 19:13 ..[/CODE]
 
Back
Top