Thanks just update to latest ISPCONFIG 3.1.9 and can access now my ISPCONFIG. my problem now all in web owner www-data
See post #13, I posted instructions what you can do to get the correct permissions back for the websites.
This would not make it any better. These directories shall not be owned by root. And you enabled the option that permissions shall be changed on update under System > server config > web first? When this option is not enabled, then a resync cannot change permissions.
Yes just check the set folder permission update. Check my attachment if right. All permission is ok but the owner is www-data what if I try this command Just change web1:client1 to the client registered in your ispconfig each website
Doing a chown manually is probably the only way to restore permission then when the resync did not work. Here an example on how the permissions should look like: Code: root@server1:/var/www/clients/client0/web1# ls -la total 40 drwxr-xr-x 10 root root 4096 Dec 14 22:06 . drwxr-xr-x 5 root root 4096 Sep 24 16:25 .. drwxr-xr-x 2 web1 client0 4096 Sep 19 16:36 cgi-bin drwxr-xr-x 2 root root 4096 Dec 16 00:00 log drwx--x--- 2 web1 client0 4096 Sep 19 16:36 private drwx------ 2 web1 client0 4096 Dec 14 22:06 .ssh drwxr-xr-x 2 root root 4096 Sep 19 16:36 ssl drwxrwx--- 2 web1 client0 4096 Sep 19 16:36 tmp drwx--x--x 4 web1 client0 4096 Sep 23 08:14 web drwx--x--- 2 web1 client0 4096 Sep 19 16:36 webdav root@server1:/var/www/clients/client0/web1# Please note that username and group for each site is different. you can see the required user and group in the path when you use the 'real' paths in /var/www/clients/ to access the site. /var/www/clients/client0/web1 the group name is 'client0' in this case and the username is 'web1'.
than here's mine Code: drwxr-xr-x 10 root root 4096 Dec 22 10:16 . drwxr-xr-x 3 www-data www-data 4096 Aug 21 15:06 .. drwxr-xr-x 2 web1 client0 4096 Aug 21 15:06 cgi-bin drwxr-xr-x 2 www-data www-data 4096 Dec 22 04:04 log drwx--x--- 2 web1 client0 4096 Aug 21 15:06 private drwx------ 2 web1 client0 4096 Dec 22 10:16 .ssh drwxr-xr-x 2 root root 4096 Aug 26 13:52 ssl drwxrwx--- 2 web1 client0 12288 Dec 22 00:00 tmp drwx--x--x 23 web1 client0 4096 Dec 22 04:30 web drwx--x--- 2 web1 client0 4096 Aug 21 15:06 webdav root@blah:/var/www/www So the command is this could get back the owner in all directory?
Yes, this should fix the ownerships of the files and folders that you uploaded to the website. as you can see from your post, the ownerships of the other directories were fixed by the resync already. Just the log directory should be changed as well with: chown web1:client0 /var/www/clients/client0/web1/web (do not use -R option for the log dir, for the web dire -R is fine).
Thanks for the clarification but I tried this chown web1:client0 /var/www/clients/client0/web1/web Code: root@materialvpn:~# chown web1:client0 /var/www/clients/client0/web1/web chown: cannot access '/var/www/clients/client0/web1/web': No such file or directrory I found out my client directory is chown web1:client0 /var/www/clients/0x3a_0/web1/web this work for me
btw Thanks my website now running fine and just observing for any error. How about how to change path in ISPCONFIG?