• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.
  • 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

Bulk Import Issue

Barry

💖 Chevereto Fan
Good morning, everyone.

Has anyone come across an issue (4.12) with the bulk importer? I uploaded files into each of the folders in /importing (/no-parse, /parse-albums, and /parse-users.

When I attempt to kick off the cron job, I get the following error.

1715088255 - [Thread #0] Import row has been updated adding the "started" flag
1715088255 - [Thread #0] Current iteration: /var/www/html/importing/no-parse/2560 x 1440 Wallpaper (1).jpg
1715088255 - [Thread #0] About to get DB importing lock for /var/www/html/importing/no-parse/2560 x 1440 Wallpaper (1).jpg
1715088255 - [Thread #0] Path /var/www/html/importing/no-parse/2560 x 1440 Wallpaper (1).jpg is not writable, the job #1 must be canceled
1715088255 - [Thread #0] Path /var/www/html/importing/no-parse/2560 x 1440 Wallpaper (1).jpg is not writable, the job #1 must be canceled
1715088255 - [Thread #0] Updating importing status to canceled (the error must be addressed)
1715088255 - [Thread #0] Chunked process ended (killed)

I attempted the following troubleshooting steps.

Changed owner of the files to be imported to www-data - same error
Changed permissions of the file to be imported to 0755 - same error
 
The issue is missing writable permission, here's the relevant code:

PHP:
            if (!$fileinfo->isWritable()) {
                $this->logProcess("Path $pathName is not writable, the job #" . $this->id . " must be canceled", true);
                $this->edit(['status' => 'canceled', 'errors' => '1']);
                $this->logProcess('Updating importing status to canceled (the error must be addressed)');
                $killed = true;
                break;
            }

You need to double-check these permissions.
 
The importer works if I set the owner of the files to be www-data. So, could I change ownership of /no-parse, /parse-albums, and /parse-users to www-data, and have it work as expected?
 
Back
Top