• Resolved Pixelbits

    (@pixelbits)


    We have exactly the same problem as @bastiiaann24.

    We have almost the same setup (bedrock/sage) and use a symlink to our wp-uploads.

    When we deleted old exports in wp-all admin the symlink was replaced by a freshly made wp-uploads folder.

    Steps that we’ve taken to reproduce:
    – Go to the wp-admin panel of the website
    – Navigate to WP All Export -> Manage Exports
    – Select all 25 exports in the list, bulk action delete
    – NOTE: It did not work when deleting only one import that was there! So it might have to be many and are couple to multiple different import types?
    – Confirm deletion
    – SSH to our server and navigate to our source directory
    – Check if the symlink to our uploads folder is removed replaced by a wp-uploads folder , this is the case.

    What we think is that the deletion of many files triggers wordpress in checking if the wp-uploads still exist. It does not see the symlink as “Exists==TRUE” and creates the folder like it is a newly installed WordPress.

    So I have these questions:
    0) Did @bastiiaann24 fix this? I can not ask in the original thread since that one is locked.
    1) Why does wp-all-export trigger this check when deleting its own stuff?
    2) If it is WordPress doing it, where could I start searching if I can add symbolic link to pass as a correct wp-uploads folder

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @pixelbits

    We never really managed to fix this issue unfortunately. In our case we actually worked around the problem in a different way:

    Our customer actually created a new export in the plugin every time she wanted to export a new set of orders from WooCommerce. Over time this resulted in a couple hundred export that all did the same thing, exporting new orders. When deleting these exports we had the same issue that you have right now. So what we did is actually just set up one export for her that she can run every time she needs the latest orders, hence negating the need for the large amount of exports.

    Like I said it’s not really a fix for the problem, but maybe your situation might be similar. If it’s possible to just create one export that you can run multiple times, it might be worth looking into that workaround.

    Hopefully you’ll find an answer to the problem!

    Thread Starter Pixelbits

    (@pixelbits)

    Hi @bastiiaann24,

    We are looking into this and have checked rights, user/group permissions and some other stuff and my gut feeling says it is not a true wp-all-export problem but deleting exportconfigs just triggers something in WordPress. WordPress checks if the wp-uploads dir is correct and does not ‘see’ the symlink dir –> creates a fresh one, destroying the symlink.

    A lot of code to debug. 🙂
    If I find an answer I’ll post an update. Any hints, tips or things you might think of are welcome.

    Note: We are also looking into moving the wp-uploads to a network-shared folder(no symlinks). Maybe if we avoid using a symlink it will all work without any problems… If that works out we might never know what actually caused the symlink problem. We’ll work around the problem and mark it as fixed 😉

    Plugin Author WP All Import

    (@wpallimport)

    Hey @pixelbits,

    Thanks for posting the steps to replicate. We’re going to run some tests on our end to see if we’re able to reproduce it and determine if it’s a general WP problem or if it’s something in WP All Export. I will follow up in this thread once we know more.

    Plugin Author WP All Import

    (@wpallimport)

    Hi @pixelbits,

    We’ve now had multiple people run tests to try to replicate this, and none of us are able to. Our guess at this point is that it might have something to do with Bedrock, but we don’t know for sure.

    If you can set up a staging environment where it can be replicated on-demand, and you’re comfortable letting us log in to test in that environment, please reach out to us here: http://www.wpallimport.com/support/.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Symlink to wp-uploads deleted when deleting previous exports’ is closed to new replies.