bitnami
I understand you want to move your Magento files to a new bigger disk you attached to your instance. In that case, you can use a symlink and move all the content to a new location.
- Stop all services
/opt/bitnami/ctlscript.sh stop
- Move the whole Bitnami installation
mv /opt/bitnami <your_new_disk>
- Place a symlink
ln -ls <bitnami_folder_in_your_new_disk> /opt/bitnami
- Restart all services
/opt/bitnami/ctlscript.sh start
It seems as if some file paths changed in the move from one host to the other.
In the future, to avoid this issue, it is important to use the ‘Remove Extended Protection‘ option in (Wordfence > Firewall > All Firewall Options underneath Protection Level) before migrating hosts.
In this case, you will need to delete references to wordfence-waf in the .htaccess, .user.ini, and/or php.ini files.
You can search these files for “wordfence-waf”. These references will look like so:
php_value auto_prepend_file "/path_to_file/wordfence-waf.php"
auto_prepend_file = '/home/username/website.com/wordfence-waf.php'
After you remove those references of wordfence-waf from the files, you can go ahead and manually remove the wordfence-waf.php file.
You should then have access to your site, where you can then set up extended protection again via the firewall page.
Obtain the status of a service:
sudo /opt/bitnami/ctlscript.sh status
Call it without any service name arguments to start all services:
sudo /opt/bitnami/ctlscript.sh start
Or use it to restart a single service, such as Apache only, by passing the service name as argument:
sudo /opt/bitnami/ctlscript.sh restart apache
Use this script to stop all services:
sudo /opt/bitnami/ctlscript.sh stop
Restart the services by running the script without any arguments:
sudo /opt/bitnami/ctlscript.sh restart
/opt/bitnami/mysql/data/mysqld.log
sudo /opt/bitnami/bncert-tool
Comments
Post a Comment