• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Search results

  1. F

    Resolved Synchronizing access log problem

    Yes, of course. We had to add --webspace-name argument to relink-vhosts-logs but now it's working.
  2. F

    Resolved Synchronizing access log problem

    Thank you! I guess that explains why the logs are not working :D Because we recently changed the mount for /var/www/vhosts and copied all data to a new device - and hardlinks were not preserved then. Indeed repair -fs didn't check that, find /var/www/vhosts/<domain> -samefile...
  3. F

    Resolved Synchronizing access log problem

    Already did that. Besides that, shouldn't it run as root anyway? Access logs are owned by root. We just want to know how the synchronization is done. If it is done by PHP then maybe AppArmor blocks something but does not log it. if it is done by a job please tell us which one so we can...
  4. F

    Resolved Synchronizing access log problem

    Hello, which service / job is responsible for synchronizing access logs to user home directories? The logs in vhosts/system are still written but for some reason stopped to sychronize - all domains are affected.
  5. F

    Question Docker bind dedicated IP addresses to containers

    This depends how your container is connected to the network (which driver is used). Basically if your container connects to user defined networks and has an IPAMConfig key you can set a static IP here, for example: "NetworkSettings": { "Bridge": "", "EndpointID": ""...
  6. F

    Question How to set up chroot for php-fpm?

    I configured the vHost template generator to include the correct SCRIPT_FILENAME if a chroot setting was found in PHP configuration. We just need to set this variable and chroot login to get a basically working setup: /opt/psa/admin/conf/templates/default/domain/service/fpm.php: <?php /** *...
  7. F

    Question How to set up chroot for php-fpm?

    So I got some time to trace the FPM - and get phpinfo() working: If enabled, the Plesk handler in nginx configuration file (vhosts/system/<domain>/nginx.conf) will take precedence and you will have no luck to inject the fastcgi_param as shown at top because it's overwritten by include of...
  8. F

    Question How to set up chroot for php-fpm?

    It should work if /etc/ssl/certs is correctly mounted or what ever path is specified - we can also set a custom path
  9. F

    Question How to set up chroot for php-fpm?

    Yeah, that sucks too. But we could maybe fix $_SERVER variables with a custom extension. I don't know how it's implemtned, but there should not be any fd outside the chroot if the same path exists inside the jail. It fails to set the session if the path is invalid, so I think it doesn't care...
  10. F

    Question How to set up chroot for php-fpm?

    I'm talking about chroot not root access or preventing user to run as root. I want chroot to prevent file access because open_basedir is a huge bottleneck as realpath cache is disabled too when this option is enabled. The webroot needs some shell commands, I know how to provide them, that was...
  11. F

    Question How to set up chroot for php-fpm?

    I want to set up chroot environment not only for shell access. So how to do this manually for PHP too? First part is simple - just add the configuration like and restart php-fpm. But I stuck to configure nginx to supply the correct headers for PHP. Calling a script in the browser ends with...
  12. F

    Issue Insufficient redirect in case of error

    We recently had an error in the plesk DB: which could be repaired but which also caused a redirect of Link like /cp/server/db/2/databases to the homepage instead of showing any error.
Back
Top