Machine Backup

Discussion in 'Tips/Tricks/Mods' started by Marcio Urakawa, May 3, 2022.

  1. As admin. I discovered the problem by debugging.
    There were lines about mod_security in the Apache configuration.
    When I synced Ispconfig left it only to work with port 80.
    I installed Apache's mod_secutiry on the new server and was able to create the configuration again with 443
    But let's certificates, I'm having to create one by one through the interface again.
  2. A question:
    When I installed ispconfig on the new server, I took backup of /etc/passwd and /etc/group

    tail /etc/passwd
    This made sure that the web directories were created the way I wanted. I have restored the sites and it is already up and running.

    My question is when I create a new site it wouldn't give a conflict at some point, since the site I created as a test got the permission

    And if so, how can I adjust.
  3. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    Did you create users with those same ID:s in ISPConfig panel on that new host? If you did that, there should not be conflicts when you create furhter users.
    those are not permission, they are user and group, and in ISPConfig client is group and website is user.
    Marcio Urakawa likes this.
  4. Yes, I did.

    My fear would be when creating the next ones create new user id for sites and when I get to 500, 501... a problem occurs
  5. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I think I do not understand what it is your are concerned about. If ISPConfig could create new user or website with the same ID as a previous item, it would surely have been found by now after 20 years of using ISPConfig on thousands of sites.
    Marcio Urakawa likes this.
  6. Jesse Norell

    Jesse Norell ISPConfig Developer Staff Member ISPConfig Developer

    There should not be a problem, the "web##" and "client##" names are generated based on values in the database so would not conflict when adding new ones, and the actual numeric id of the system user and group that is generated is assigned by the system utilities (adduser or similar) which will check to ensure conflicting id's aren't generated.
    Marcio Urakawa likes this.
  7. I verified that the /etc/passwd file was showing more webxx than what was shown by ispconfig.
    The reason was that the backup database was 1 day out of date.
    I was creating new sites until I went through the last web id that existed in /etc/passwd to avoid problems.

    Now everything is correct. Thank you always for your patience
  8. I managed to fix the problem.
    I think I just need to adjust the communication with the Slave.
    I don't know if when I installed ispconfig on the new server, the passwords that the Slave had were changed or something.

Share This Page