Importing backup error: DK0081

Hello

I have been using DevKinsta for a while using the new site function but wanted to now import a backup of a live site.

I am not able to get past a DK0081 error ‘Failed to parse wp-config.php file’. I followed the link and have checked the file is there and the DB NAME line exists in it. So that only leaves the .sql file as the problem.

But that’s the issue as I don’t understand the error / know what to do about it. I just downloaded the entire wordpress directory of the live site and then tried to import it in DevKinsta. I’m probably out of my depth knowledge wise and may have to abort this, but just wondered if anyone could help me get over this issue and get my site uploaded?

Thank you in advance of any help.

Hi @vickypsv

Can you confirm if your backup file (.zip or .rar) has the following file structure: the database is at the same level as the public folder where the WordPress files, including the wp-config.php file, are located?

image

Hi Adrain and thank you very much for your reply.

No, my root folder is wordpress and the database is in there. That is the top access level I had access to to download the site. I couldn’t see a public folder. Sounds like I will have to go back to my hosting provider to gain the correct access?

I went back to my hosting provider and they have confirmed that I have the correct folder.
So I created a new folder, put the .sql folder and the wordpress folder in it, zipped it and imported that. But I still get the same error.
I looked in the main log file but it just says Error in operation SITE_CREATION, step validate: Error - DK0081: WP_PARSE_CONFIG: wp-config.php not found

Hi @vickypsv ! Would you be willing to share a link to that backup in a private message to myself, @Adrian_L , @merineth , and @VladimirM , so we can check the backup itself?

Hi Jack - not sure how best to do that as it’s on my local drive?

@vickypsv, would you be able to upload the backup to Google Drive or another cloud storage service and share the download link with us via DM?