Installing ISPConfig 2 on Ubuntu 11.10

Discussion in 'Installation/Configuration' started by bkilinc, Mar 24, 2012.

  1. bkilinc

    bkilinc Member

    I am moving to a new server and I installed Ubuntu 11.10 it and followed the instructions at
    http://www.howtoforge.com/perfect-se...04-ispconfig-2

    everything went fine

    I also copied databases and www folders at night.

    I came to the step to install ISPConfig 2

    when I executed setup, it gave 'Your Operating System is not supported!' message.

    Right now, what must I do ? should I format server and start again with 11.04. Or is there a work around to install ispconfig 2 on ubuntu 11.10, I hope there is :)
     
  2. falko

    falko Super Moderator Howtoforge Staff

    ISPConfig 2 doesn't compile on Ubuntu 11.10, therefore it's stronlgy recommended that you use ISPConfig 3 (which requires a different setup).
     
  3. bkilinc

    bkilinc Member

    cannot upgrade, cannot migrate

    My ISPConfig 2 server has around 200 running websites and there is no easy way of upgrading or migrating it to ISPConfig 3. And I don't have any problems with it, I thought it would be supported.
     
  4. bkilinc

    bkilinc Member

    planning to write a migration script to move to v3

    I am planning to write a migration script from ispconfig 2 to 3. If successfull, I will post updates here. I think this should be easy using remoting framework of both versions.
    Currently I have two servers, and this should be the right time.
    On v2 it will export all data to XML file and on v3 it will import the XML file.
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    It should be possible to migrate the data with the remote frameworks. On a ispconfig 2 server the passwords of email, ftp and ssh users are stored in /etc/shadow only, so you will have to get them from that file. The password hashes are compatible, so you can add the hashed passwords that you get from the shadow file to the ispconfig 3 database. The remote api requires cleartext passwords, so it might be nescessary to inject the apsswords in the database directly or we develop a extension for the remote API that detects if a password is hashed in crypt format that skips the encryption then. Feel free to contact me in the dev forum if you have any questions regarding the api.
     
  6. bkilinc

    bkilinc Member

    some notes on progress

    I made some progress, but it is taking time,
    on ISPConfig 2, I managed to export everything in one text file. I could not use SOAP or XML files, because I got errors.
    on ISPConfig 3 side. I can remote connect and call functions.
    First problem is field names exported from v2 does not match natively to v3, so I have to make a lookup table, currently I am doing this.
    there is no function to create resellers in v3. this is not much problem, I can create them by hand.
    I could not see functions to query clients, domains with some fields. For example If a client with same name exists, I need to update, if not add. In remote API I could not see a function to check this. Although I can query database.
    It seems that, this will take some time but, it will be done :)
     

Share This Page