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


/opt/bitnami/apache2/logs/error_log



sudo /opt/bitnami/ctlscript.sh restart apache



wordfence

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


MySQL logs located at
/opt/bitnami/mysql/data/mysqld.log


[ERROR] Unix socket lock file is empty /opt/bitnami/mysql/tmp/mysql.sock.lock.
2020-06-17T22:37:34.904083Z 0 [ERROR] Unable to setup unix socket lock file.

Disk full solution




To install letsencrpt SSL in bitnami

sudo /opt/bitnami/bncert-tool



location shoud be /opt/bitnami/wordpress


it worked was swhoing from here home/bitnami/htdocs


/opt/bitnami/apache/htdocs



if more than one domain than on domain list put domains like this

principessasavoia.com palazzoprincipessadisavoia.com























































Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation