sebastiaan Posted July 27, 2018 Share Posted July 27, 2018 im trying to export a live (development)site so i can set it up locally, but when i try to export it i get this error Link to comment Share on other sites More sharing options...
dragan Posted July 27, 2018 Share Posted July 27, 2018 I guess you simply need more horsepower / CPU / RAM, according to the error message... Do you have some sort of control panel @ your hosting company? You can export the database manually with phpMyAdmin or some other tool (or with CLI). And you can make a ZIP archive of the files yourself. If you can't add some ini_set() rules to temporary add more memory, I can post a few scripts for manually triggered backups (or cron-based). 1 Link to comment Share on other sites More sharing options...
sebastiaan Posted July 30, 2018 Author Share Posted July 30, 2018 yeah but you would think that around 5 milion bytes would be able to handle 4096 bytes... Link to comment Share on other sites More sharing options...
bernhard Posted July 30, 2018 Share Posted July 30, 2018 You have a 512MB limit. I guess the error says that you already used eg 511,99 MB then allocating another 0,02MB would be too much. Please don't double post 1 Link to comment Share on other sites More sharing options...
szabesz Posted July 30, 2018 Share Posted July 30, 2018 Exporting is a resource intensive task, if you have a lot to export.... On 7/27/2018 at 4:30 PM, sebastiaan said: im trying to export a live (development)site so i can set it up locally, In this case I would recommend cloning the site by copying all files, adjusting config.php and anything else that matters + simply cloning the database too. You can automate it by scripting or using a tool which supports such operations. There are various forum threads discussing it, for example: https://processwire.com/talk/topic/14837-best-practise-to-implement-changes-in-pw-from-development-to-production/ https://processwire.com/talk/topic/3998-your-deployment-process/ https://processwire.com/talk/topic/3113-how-to-transfer-processwire-from-local-installation-to-online/ etc... 1 Link to comment Share on other sites More sharing options...
sebastiaan Posted July 31, 2018 Author Share Posted July 31, 2018 15 hours ago, szabesz said: Exporting is a resource intensive task, if you have a lot to export.... In this case I would recommend cloning the site by copying all files, adjusting config.php and anything else that matters + simply cloning the database too. You can automate it by scripting or using a tool which supports such operations. There are various forum threads discussing it, for example: https://processwire.com/talk/topic/14837-best-practise-to-implement-changes-in-pw-from-development-to-production/ https://processwire.com/talk/topic/3998-your-deployment-process/ https://processwire.com/talk/topic/3113-how-to-transfer-processwire-from-local-installation-to-online/ etc... yeah i was trying to do it other way around we have a development and production only i wanted a local installation and i have all the files but even when i change the config i keep getting errors so i thought maybe i can use this to get it to work locally Link to comment Share on other sites More sharing options...
sebastiaan Posted July 31, 2018 Author Share Posted July 31, 2018 48 minutes ago, sebastiaan said: yeah i was trying to do it other way around we have a development and production only i wanted a local installation and i have all the files but even when i change the config i keep getting errors so i thought maybe i can use this to get it to work locally i managed to get it al working from bitbucket master branch but now none of my modules are installed0--0 and if i go to setup my old modules are still there but when i go to modules all the correct ones that i expect are there Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now