Migrating Mumara to another server

growads

Beginner
Oct 11, 2019
3
2
3
Hey folks,

What is the best way of moving Mumara to a new server?
I currently have it hosted on a shared cpanel and want to move it to a dedi.
I have a few clients there already and want to make sure everything will work and basically copy my data easily.
 

wasif

Administrator
Staff member
Apr 9, 2019
576
112
43
  1. If you are planning to move from a cpanel to cpanel server then whm transfer tool should do the job. if you don't don't have access to WHM then cpanel complete backup transfer would work.
  2. If you are transferring from cpanel to a minimal server with no control panel and keeping the same domain
    1. Export the database to an SQL file
    2. Compress/Zip the Mumara root folder
    3. Transfer both to the new server
    4. Import transferred database to the newly created database
    5. Unzip files to the new physical path
    6. Open .env file and update the new database details
    7. It should work
  3. If you are changing the domain as well
    1. Update the new domain name in .env file
    2. Navigate to Application Settings, it will automatically fetch the new domain name, just press Save
    3. All done
Wasif Ahmad
 

growads

Beginner
Oct 11, 2019
3
2
3
in case you have to install php like I did. hope it's useful. Centos 7



Code:
yum update
yum install epel-release deltarpm yum-utils
rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
yum-config-manager --enable remi-php73

sudo tee /etc/yum.repos.d/MariaDB.repo<<EOF
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos7-amd64
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
EOF

yum makecache fast

yum install nano wget httpd php-common fail2ban php-opcache \
php-gd php-pdo php-mbstring php-xml php-ctype php-json \
php-imap php-bcmath php-curl php-pecl-ssh2 php-iconv \
php-zip php-fileinfo php-domdocument php-pecl-dom-varimpor \
openssl php-tokenizer MariaDB-server MariaDB-client \
certbot python2-certbot-apache bind-utils php-pecl-mysql php-mysql \
htop mytop iotop zip unzip telnet

firewall-cmd --zone=public --permanent --add-port=80/tcp
firewall-cmd --zone=public --permanent --add-port=443/tcp
firewall-cmd --reload

also on /etc/php.ini

max_input_vars = 10000
allow_url_include = On
post_max_size = 96M
upload_max_filesize = 64M

and you may want to run
php artisan cache:clear on the root folder
and disable selinux
 
Last edited: