ISPConfig3 Debian 8 Cluster

Discussion in 'Installation/Configuration' started by Kris Kirkland, Jun 2, 2017.

  1. Kris Kirkland

    Kris Kirkland New Member

    After setting up the ISPConfig cluster using the howto guide and re-syncing everything, the "mirror" server is using different guid/uid than the primary. This is causing problems when syncing the directories using unison. IE;
    Primary: web36(5028)/client12(5014)
    Mirror: web36(5007)/client12(5007)

    So when a change is made in the /var/www directory then it gets the permissions (guid/uid) from which ever server it made the change from.

    How do i go about syncing the guid/uid from the primary to the mirror?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You probably missed to enable "connect user id to web id" under System > server config > web as this setting ensures that new websites always get the same uid on all mirrors.
     
  3. Kris Kirkland

    Kris Kirkland New Member

    I see that now, I have made the change. Is there any documentation of correcting this retrospectively?
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    No. The only ay might be to manually alter the passwd, shadow, group and gshadow files on the second node and then try a chown of all files owned by the old uid to the new in /var/www to the new user / uid.
     

Share This Page