• Resolved Izarra

    (@izarra)


    Hi there!

    I have a free Sucuri plugin for my WordPress website stellalevak.com. After I moved my website to a new hosting (InMotion Hosting – and in my understanding my whole cPanel was copied from one host to another), Sucuri doesn’t work anymore and I get this message from Sucuri at the top in my WordPress Dashboard:

    Sucuri: “Data folder does not exists and could not be created. Try to click this link to see if the plugin is able to fix this error automatically, if this message reappears you will need to either change the location of the directory from the plugin general settings page or create this directory manually and give it write permissions:/home/stellale/public_html/wp-content/uploads/sucuri/.”

    I tried to click on ‘click this link’ and the General Settings for Sucuri opened up. But I don’t know if and what I need to do in there. I am totally new to WordPress and have no tech/coding knowledge, so don’t understand what this all means at all.

    Also, when I try to update my theme, or open the Dashboard Home page, a blank page opens up and I get the above message again + the following:
    “Warning: Cannot modify header information – headers already sent by (output started at /home/…) in /home/… on line …” (I am not writing the whole lines here, instead of dots, as I believe this to be sensitive information, am I right?)

    Basically, I can’t properly work in WordPress and Sucuri is not protecting my website at the moment.

    Many thanks in advance for help – feeling lost!

    https://www.ads-software.com/plugins/sucuri-scanner/

Viewing 3 replies - 1 through 3 (of 3 total)
  • That always happens when people migrate their sites, the plugin uses the absolute path of a specific directory inside the disk to store the security logs, when you move your site to a new hosting provider they generally assign you a new user account which differs from the information previously configured in the plugin.

    I added a new code in the latest version of the plugin to address this issue automatically but it may fail some times, like it did in your case. So here are some options that you can follow to fix this.

    Reset Plugin Settings

    The directory path mentioned in that warning is stored as a single entry in the options table of the main database, the plugin automatically detects the correct path but you have to reset that entry first, to do that you can go to the plugin’s general settings page and click the button that says “Reset plugin options” but remember to copy the API key since it will get deleted too. Once the options are reset you can re-insert the key and the plugin will start working correctly.

    Change Log Storage Path

    This is the best solution but is hard to follow. You will have to change the content of the option named “Log storage path” located in the plugin’s general settings page. To do this you have to know what is the correct document root of your site which you can find in a panel named “Access File Integrity” located in the “Site Info” page. There you will find a text with a grey background that ends with the string “…/.htaccess”, copy all that string and paste it in the form field of the “Log storage path” option. Before you submit the form you have to replace the last part “/.htaccess” with this “/wp-content/uploads/sucuri”.

    Let me know if this works for you.

    Thread Starter Izarra

    (@izarra)

    Thanks a lot, Yorman. Very extensive and clear answer. Will try to do one of the things you suggest.

    Thread Starter Izarra

    (@izarra)

    Yorman, I mustered my courage and did the second option, Change Log Storage Path, because you said it was the best option, and Sucuri seems to be working happily again ??
    Feeling proud! Thanks again.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Getting Sucuri message: Data folder does not exists and could not be created.’ is closed to new replies.