- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2020
08:05 AM
11-16-2020
08:05 AM
How do I migrate to a new domain & server?
Hello
Unfortunately, I do not know how to migrate to a different server and domain.
My domain is
https://www.mariostoparopoulos.com
Here's what I have done so far
phpmyadmin
I changed the following in my database, on table core_config_data :
- web/unsecure/base_url = https://www.mariostoparopoulos.com/
- web/secure/base_url = https://www.mariostoparopoulos.com/
- dev/css/merge_css_files = 0
- dev/css/minify_files = 0
website's folder
On my website's folder, I run the following script:
#!/bin/bash /opt/plesk/php/7.0/bin/php bin/magento cache:clean /opt/plesk/php/7.0/bin/php bin/magento cache:flush /opt/plesk/php/7.0/bin/php bin/magento setup:upgrade rm -rf pub/static/frontend/* pub/static/adminhtml/* var/cache/ var/generation/ var/page_cache/ var/view_preprocessed/ var/composer_home generated/ /opt/plesk/php/7.0/bin/php -dmemory_limit=5G bin/magento setup:static-content:deploy -f chmod -Rf 777 pub/ var/ sudo find . -type d -exec chmod -v 770 {} \; sudo find . -type f -exec chmod -v 660 {} \; sudo chmod u+x bin/magento find . -type f -exec chmod -v 644 {} \; find . -type d -exec chmod -v 755 {} \; find ./var -type d -exec -v chmod 777 {} \; find ./pub/media -type d -exec chmod -v 777 {} \; find ./pub/static -type d -exec chmod -v 777 {} \; chmod -v 777 ./app/etc chmod -v 644 ./app/etc/*.xml
Apache Errors
On my Apache logs I get the following errors:
https://i.imgur.com/DnOLSJI
Browser Errors:
On my browser's developer console I see the following
Labels: