cluster mirror : unison parameter

Discussion in 'Installation/Configuration' started by electronico_nc, Nov 15, 2018.

  1. ahrasis likes this.
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I agree that times=yes is a better choice.
     
    ahrasis and electronico_nc like this.
  3. Well,
    After digging about permissions not set correctly on websites folders, I noticed that :
    - launching a websites resync gives the right permissions on website (webxx / clientxx) on the 2 nodes.
    - a few time after, they are back to webxx / 10xxx (numeric ID for group)
    (especially the /var/www/php-fcgi-scripts/webxx/.php-fcgi-starter that prohibits website to be browsed : error 500)
    I had to change
    Code:
    /root/.unison/web.prf
    and set :
    Code:
    numericids=false
    instead of true to make permissions OK on the 2 nodes.
    (This parameter was not set on my previous cluster mirror setup)
    That might worth a check and a possible revision of https://www.howtoforge.com/tutorial...ase-cluster-on-debian-8.4-with-ispconfig-3/4/

    EDIT : in case needed :
    Code:
    unison -version
    unison version 2.48.4
    Code:
    cat /etc/lsb-release
    DISTRIB_ID=Ubuntu
    DISTRIB_RELEASE=18.04
    DISTRIB_CODENAME=bionic
    DISTRIB_DESCRIPTION="Ubuntu 18.04.1 LTS"
    Code:
    uname -a
    Linux comeon1 4.15.0-39-generic #42-Ubuntu SMP Tue Oct 23 15:48:01 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
     
    Last edited: Nov 27, 2018
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    That's a bit strange as the numeric ID's of web users should be the same on all nodes in a cluster. Maybe you missed to enable 'connect userid to web id' option for ione of the servers in ISPConfig?
     

Share This Page