Giter Site home page Giter Site logo

Comments (9)

patrick-bigbridge avatar patrick-bigbridge commented on May 29, 2024 1

Images may be removed from media/import afterwards; it is a temporary directory, used by the caching mechanism. It is only used to avoid downloading the image.

from product-import.

patrick-bigbridge avatar patrick-bigbridge commented on May 29, 2024 1

Sorry to come back to this issue I just closed myself. I just wanted to let you know that I had some time to look at the code and found it easy to have the temporary images removed after the import (when they are not needed for caching). So I created a new release for it: 1.6.1

from product-import.

patrick-bigbridge avatar patrick-bigbridge commented on May 29, 2024

Hi Ivo,

Can you explain the problem with the backups? Some files are not backed up, or are you getting errors?

Before I add another config option just to copy files instead of hard linking, I would like to understand exactly what problem it solves.

Is the fact that you import images over HTTPS relevant to the problem? I don't understand.

from product-import.

IvoJongmans avatar IvoJongmans commented on May 29, 2024

Hi,

We receive the following error when making a backup:

The following hard links have been found under User test:

    /home/example/domains/example.shop/magento2/pub/media/catalog/product/p/l/pl430-c_1.jpg

    /home/example/domains/example.shop/magento2/pub/media/import/1a87ad567cc236002eadc98ae40b4d0f-pl430-c_1.jpg

This causes the backup process to terminate.

image

When looking up this particular inode we see the hardlinks in the /import and /catalog folder.

The fact that I'm using HTTPS isn't relevant. You'll get the same result using local images. I just wanted to point out the method that I was using. Maybe this was relevant for a quick answer.

from product-import.

patrick-bigbridge avatar patrick-bigbridge commented on May 29, 2024

Hello Ivo,

Just a quick question: a small search tells me that you probably use DirectAdmin and that this is a security precaution that may or may not be relevant to your case and that may be disabled. Are you per chance in the position to disable this setting?

https://forum.directadmin.com/threads/cant-make-any-admin-backup-anymore.46810/
https://help.directadmin.com/item.php?id=658

from product-import.

Aquive avatar Aquive commented on May 29, 2024

@patrick-bigbridge quick question. Why is a file also being copied to /pub/media/import? And can this be removed or afterwards or just disabled?

from product-import.

patrick-bigbridge avatar patrick-bigbridge commented on May 29, 2024

Ivo, have any of the options mentioned helped you? Or is adding a new option to the importer the only way to get this problem fixed?

from product-import.

IvoJongmans avatar IvoJongmans commented on May 29, 2024

Hi Patrick,

We've been able to resolve this problem by removing the images from the media/import directory. Thanks again.

from product-import.

IvoJongmans avatar IvoJongmans commented on May 29, 2024

Thanks!

from product-import.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.