Code: cd /tmp wget https://www.ispconfig.org/downloads/ISPConfig-3.1.15p3.tar.gz tar xvfz ISPConfig-3.1.15p3.tar.gz cd ispconfig3_install/install php -q update.php Run this for a force update
We should add an option to the installer to do this, it would save posting that info several times per week.
Hello, excuse me for this long silence, I still asked for help and I did not come back to you. It's good, I solved the problem, it came from CHMOD. Thank you all for your help, I close the topic, thank you.
How can I change permissions ? I can't access me too to my admin panel, I changed permission with a chmod but I don't remember exactly the mistake I have done, I don't know how command to type to change www-data in root, an idea? Here is the result for shell commands: root@serveur:~# ls -la /var/www/php-fcgi-scripts total 16 drwxr-xr-- 4 www-data www-data 4096 Jan 28 16:23 . drwxr-xr-x 8 www-data www-data 4096 Mar 6 18:34 .. drwxr-xr-x 2 www-data www-data 4096 Jan 28 16:23 apps drwxr-xr-x 2 www-data www-data 4096 Jan 28 16:23 ispconfig root@serveur:~# ls -la /var/www/php-fcgi-scripts/ispconfig/ total 12 drwxr-xr-x 2 www-data www-data 4096 Jan 28 16:23 . drwxr-xr-- 4 www-data www-data 4096 Jan 28 16:23 .. -rwxr-xr-x 1 ispconfig ispconfig 300 Jan 28 16:23 .php-fcgi-starter
The chown command can be used to change the user. Though you seem to have been running that recursively in a directory above this one, which broke it in the first place. So you might have some more problems.
Yes I chmod 777 the repertory recursively this one, and I have other problems, true, for exemple for ssl certificate of some websites. How can I change with chown for example www-data in root , and www-data in ispconfig? What are the numbers of chown in this case for the command? I try to restore a backup like explain in the topic but it is the same problem, I can't go to the admin panel. Maybe it will go faster to make a new install of the system with Ispconfig too?
755 for apps and ispconfig files and folders 550 for web## ffiles and folders. apps and ispconfig are owned by themselves web folders are owned by same web_id as the folder name, and the client_id for the site owner Code: drwxr-xr-x 2 ispapps ispapps 4096 Nov 6 2018 apps drwxr-xr-x 2 ispconfig ispconfig 4096 Nov 6 2018 ispconfig dr-xr-x--- 2 web1394 client298 4096 May 3 14:39 web1394 dr-xr-x--- 2 web1573 client241 4096 May 3 14:38 web1573 Code: /var/www/php-fcgi-scripts/web1394 total 12 dr-xr-x--- 2 web1394 client298 4096 May 3 14:39 . drwxr-xr-x 8 root root 4096 Oct 14 2019 .. -r-xr-x--- 1 web1394 client298 1115 May 3 14:39 .php-fcgi-starter /var/www/php-fcgi-scripts/ispconfig total 12 drwxr-xr-x 2 ispconfig ispconfig 4096 Nov 6 2018 . drwxr-xr-x 8 root root 4096 Oct 14 2019 .. -rwxr-xr-x 1 ispconfig ispconfig 300 Jun 16 2021 .php-fcgi-starter Code: cd /var/www/php-fcgi-scripts chown -R ispapps:ispapp apps chown -R ispconfig:ispconfig ispconfig chown -R web##:client## web## - the web id ## should be obvious, you'll need to find the correct client id ## - repeat for each different web folder.
Thank you for your reponse. ok that works with chown and your explanations, now I have the good values or same than the post of Till. Code: root@serveur:/var/www# ls -la /var/www/php-fcgi-scripts total 16 drwxr-xr-x 4 root root 4096 Jan 28 16:23 . drwxr-xr-x 8 root root 4096 Mar 6 18:34 .. drwxr-xr-x 2 ispapps ispapps 4096 Jan 28 16:23 apps drwxr-xr-x 2 ispconfig ispconfig 4096 Jan 28 16:23 ispconfig I have an access to the admin panel again, but I have an other problem, actually I can't add or remove a site with the admin panel. I don't have the website admin beetween home and client admin part. How can I re activate the website part admin with command line?
Go to System > CP Users, edit the admin user, and there you enable the checkbox for 'sites' in the 'Modules' settings. You might have to log out and log in again to activate the change.