Sdl database not incrementing.

Discussion in 'Installation/Configuration' started by Cpasjuste, Feb 15, 2008.

  1. Cpasjuste

    Cpasjuste New Member

    Sql database not incrementing.

    Hi, i have installed ispconfig a few days ago, and all is working great except a little thing.

    Everytime i want to create a new database on the same site, the db name and db user are not incremented so i have an error saying something like this "the db name already exist etc..".

    I have debian etch installed and ispconfig ISPConfig 2.2.21.

    Thanks in advance for any help :)
     
    Last edited: Feb 15, 2008
  2. Cpasjuste

    Cpasjuste New Member

    In the same time, is there a configuration file to set the default binary that will be available inside the chroot user directory ?

    Edit :
    Found it, add to edit "/root/ispconfig/scripts/shell/create_chroot_env.sh"
     
    Last edited: Feb 15, 2008
  3. Hans

    Hans Moderator ISPConfig Developer

    There is a bug with adding MySQL databases within ISConfig 2.2.20.
    However, this problem has been solved in version 2.2.21. Are you sure you have installed version 2.2.21 and not 2.2.20?
     
  4. Cpasjuste

    Cpasjuste New Member

    Hum your right, i'm using ISPConfig-2.2.20.tar.gz ... hope i wont break something when updating.

    Thanks for the help.
     
  5. Hans

    Hans Moderator ISPConfig Developer

  6. Cpasjuste

    Cpasjuste New Member

    Thanks but i did a big mistake ... i deleted the "/root/ispconfig" folder when i was going to do the update, i tought it was the extracted folder of the older tar :x

    I'm currently reinstalling the new version, hope i wont loose too much things, i did a backup of the ispconfig db in case it could be usefull.. crap

    Edit : nothing seems to be broken, and sql incrementing is working great now, thanks for the help Hans i apreciate it.
     
    Last edited: Feb 15, 2008
  7. Hans

    Hans Moderator ISPConfig Developer

    Please do the following:

    mkdir /root/ispconfig

    There is a backupfile of the ispconfig database within your /tmp directory.

    Start the setup again for ispconfig 2.2.21 as i have mentioned before.
    Please perform the update within a partition which has enough space!

    Good luck!
     
  8. Cpasjuste

    Cpasjuste New Member

    I'm not sure to understand why the install is made to the "/root" directory, it's not an usual place and errors (delete) can be easly done in this dir.
     

Share This Page