Community

No permission to install plugins, themes in Child domains

dy
dyrer #1

I cant install in child domains
Permissions are correct the same as main domain
Any ideas?

Cy
CyberPanel #2

Do you get any error when you try to install?

dy
dyrer #3

No just asking for FTP credentials
main domain working correct

Cy
CyberPanel #4

Did you try Fix Permissions from File manager?

dy
dyrer #5

I tried but is not working

dy
dyrer #6

I’ve tested to another server with cyberpanel, and again the same issue

Cy
CyberPanel #7

Try

cd /path/to/child/domain
find . -type d -exec chmod 0755 {} \\;
find . -type f -exec chmod 0644 {} \\;
dy
dyrer #8

Not working neither

Cy
CyberPanel #9

Turns out it was a minor bug. The bug is patched and pushed. However to solve this issue for the existing child domain you need to do some things.

Open vHost Conf for the master domain and find extUser, take the value of this directive and open Child Domain vHost Conf.

Now in Child Domain vHost Conf use value of extUser and extGroup from the master domain vhost Conf. Once saved refresh or reopen the plugins/themes page on WordPress and it should not prompt for FTP again.

dy
dyrer #10

Thank you.
random numbers added after username

Cy
CyberPanel #11

Yes random number should be used for socket addresses and not the extUser and extGroup

sa
saiful124r #12

Hi, I can’t write to the site now after applying for an update on last day. Now I can’t upload a file on site also if I am checking which user is running PHP then It’s showing ‘nobody’ instead of system username! How can I fix it?

Sign in to reply