Permissions Denied after migrating from cpanel

1 post / 0 new
#1 Mon, 08/12/2019 - 06:49
virtual.dev

Permissions Denied after migrating from cpanel

Hi,

After days of researching nothing helped me and i decided to post my problem here.

I have migrated a website from Cpanel By downloading a full backup and migrate it from its section in Virtualmin... it is a Wordpress site.

First i have a 500 Internal server problem i went to Edit the website configuration and changed the PHP script execution mode to FPM; it is the only one who made my website is running.

Later i wanted to active Apache SSL from Edit virtual server to add it later in Let's Encrypt but it was a permission denied problem for 2 files :

1- the first one was .stats-htpasswd and i went to file in the file manager and changed the permission for it to 774 2 the second one was like this :

Changing IP address of virtual website ..
.. done

Creating SSL certificate and private key ..
.. SSL website failed! : Failed to open /home/***/ssl.cert.webmintmp.15453 : Permission denied at /usr/libexec/webmin/web-lib-funcs.pl line 1476, line 1.

Updating Webmin user ..
.. done

Updating Webmin user ..
.. done

Saving server details ..
.. done
Applying web server configuration ..
.. done

Re-loading Webmin ..
.. done"

nothing Helped me with this

Please can you explain why is that happening ... and how i can fix this ?

There is need to mention that i run a "virtualmin validate-domains --domain ***.com --all-features" command in SSH and it showed a message :

    Home directory : Home directory /home/*** is owned by dms978070@***.com@***.com instead of ***
    DAV Login : DAV users file /home/***/etc/dav.digest.passwd does not exist