I tried to export my site in Local by importing zip file from WP Migrate Lite and an error occured : ‘try to import compatible ZIP file’ .
I found a lot of subject about it on the Local Community, and they all say that it’s the other files or Wordpress Core Files boxes that contain certains type of files like backup wich make the import fail,
so i followed every steps i saw here :
export only database(.sql) and wp-content file
try to import it manually
but nothing occured , i still get the same error message with ZIP compatibility.
I really tried many combination of export : only the DB and medias , only DB and plugin, only DB and theme , DB medias and theme only , every time it’s the same , import run until the really end and then start to delete the local files with the error message.
I don’t know what file are not supposed to be in the extract file, i give you screen of my export set up
What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
I just spend the 2 last days try everything i can to import manually my multisite , just thank you @Nick-B
Changing the web server to nginx seems to work perfectly my all website and all his subdirectory are correctly imported despite the local overview say “Multisite : no”. I don’t kow why just changing the web server could impact the import this mutch but i leterally never seen this answer in any post related to the subject , its very strange !
Anyway i really thank you for ur fast answer love to see that the support is reactive
see ya next time
I didn’t realize you were trying to import a multisite, in the future you might find this helpful on working with multisites with Local. They generally require a bit more manual work for importing/exporting.
Yeah unfortunatly i saw this article but i didn’t found the solution here ,
All is working well , but just one question , when you import from zip file Local don’t ask u to create account for wordpress (id and password) so i assumed that i had to log with my credentials from my live website but it didn’t work , and it created itself an new user id : “Cdt78ve_root” in my case. Do you know where i can find the password who rely to the wp-admin account ?
Hey there @Nick-B ,
Sorry to disturb you again , just after we talk and successfully import my website locally with no issues, i run into the WP Admin section to start my work but something occured that i don’t know how to handle (sorry if the answer is obvious, i just started to work with those environnement recently )
So when i clicked on the WP Admin button he instantly ask me to updated wordpress database for the newest version with a page that i cannot skip and only one button → “update” , so i did it and after that i wsn’t allowed to acces the mysite.local/wp-amin page , send me everytime an error 403 and the message : “sorry you havn’t authorization to acces this page”, i saw that it could be the user’s role changes into something else but administrator but no my user still got that admin role.
I tried to create new user with admin role by the WP CLI , successfully added one with admin role but still … don’t have acces to the WP panel.
Enabled the One-click admin section didn’t help me neither , all of the different admin user i choose have the same redirection “not authorized”
I don’t know where to look now , i could use some help to find a solution i’m a little lost by myself here
Thanks a lot
Are there any security plugins on the site? Or user management plugins? You could try deactivating those or all of the plugins on the site via WP-CLI. It might be that something is locking you out.
i put router mode on localhost , It fixed the fact that i can access the wp-admin page and try to connect , but when i put user and password → same i’m connected to admin but not authorized ,
also Local application display this warning message :