Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 15th January 2007, 14:35
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 3 Times in 3 Posts
Default 42go to ISPconfig

Is there a way to go from 42go to ISPconfig?

I have a new server and would like to install 42go on it. But then I can only install CentOS 4.2 on it. ISPconfig also works with 4.4. The support on the forum is better. More updates with extra features. That are the main reasons why I became a member here.

Now ISPconfig also has the remoting function, so I don't see why I have to stay with 42go. Now is my question: How can I go from 42go to ISPconfig?

Thanks for your help.
Reply With Quote
Sponsored Links
  #2  
Old 15th January 2007, 18:32
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,252
Thanks: 208
Thanked 642 Times in 291 Posts
Send a message via Skype™ to Hans
Default

Performing an update from 42go to ISPConfig is not possible.
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #3  
Old 15th January 2007, 19:00
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 3 Times in 3 Posts
Default

I know that an update is not possible.

But when I install ISPconfig on the new server. Is there a way to update the database with the data from my 42go database?

If I can do that I am halfway there I think. I maybe have to change some setting in the database to the new install (42go path to ispconfig path)?
Reply With Quote
  #4  
Old 15th January 2007, 21:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Default

You can try the following solution:

1) Install ISPConfig on the new server.
2) Export the data from your 42go installation, except of the tables isp_server, isp_server_ip and doctype. The exported data must consis of full insert staements.
3) Make a backup of your ISPConfig database, then empty all tables except of the tables isp_server, isp_server_ip and doctype.
4) Import the data from (2) into the almost empty ISPConfig database.
5) Move the data from your document root, and the system users to the new server as described in several posts that you will find when you search for "move ispconfig" in the forum.

I've not tested it, but I guess it will work.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 16th January 2007, 00:19
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 3 Times in 3 Posts
Default

Thanks Till. I will give it a try tomorrow.
Reply With Quote
  #6  
Old 24th January 2007, 00:41
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 3 Times in 3 Posts
Default

I did the steps you discribed but i have an error now.

When I look at an account eveything looks OK. But when I click on one of the tabs like users and email or options I get an error. It sais: missing web_traffic_ueberschreitung

I looked it up in de sql file and found that it is missing in 42go when i compare it to the sql from ispconfig. it is a row in isp_isp_web. When I add this line I get a error when I try to load the sql into the database in phpmyadmin.

This are the lines that are missing in the 42go sql compared to the ispconfig:
`web_traffic_ueberschreitung` varchar(255) default NULL,
`web_traffic_status` varchar(255) default NULL,
`webalizer_stats` char(1) default '1',

What do have to change to make it work properly. I think I am almost there : ).

Thanks for your help.
Reply With Quote
  #7  
Old 24th January 2007, 09:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Default

It looks like you used the database layout from 42go instead the layout from ISPConfig. You must import the data from your old database ad not the table definitions.

Quote:
3) Make a backup of your ISPConfig database, then empty all tables except of the tables isp_server, isp_server_ip and doctype.
The tables must be emptied and not deleted. Please follow exactly the steps I outlined above. and do not delete any database table in the ISPConfig database, delete only the data in the tables.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #8  
Old 24th January 2007, 15:59
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 3 Times in 3 Posts
Default

When I do the steps I get this error now:

INSERT INTO isp_isp_reseller
VALUES ( 1, 1022 therestofthedata

Error:
#1136 - Column count doesn't match value count at row 1

What does this mean?
Reply With Quote
  #9  
Old 24th January 2007, 16:09
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,911
Thanks: 693
Thanked 4,198 Times in 3,213 Posts
Default

Thats why you must use full insert statements that contain the field names too and not only the data, as I posted above.

Quote:
The exported data must consis of full insert staements.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #10  
Old 24th January 2007, 19:04
Jorem Jorem is offline
Senior Member
 
Join Date: Oct 2005
Posts: 139
Thanks: 5
Thanked 3 Times in 3 Posts
 
Default

Sorry Till, I don't understand what you mean with full insert statement. I have the data exported and it looks like this in the sql file.

INSERT INTO `dns_a` VALUES (176, 1018, 'localhost', '127.0.0.1');

In phpMyAdmin I have it exported as INSERT. Without the structure.

Is there an export setting that I missed? Can I select Full insert statement somewhere?
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
going from ispconfig to 42go ISP-Manager bigger_travis General 3 8th November 2006 18:32
upgrdae from ISPConfig to 42go ISP-Manager mystix General 3 19th May 2006 14:43
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
ISPConfig and 42go paul-w General 10 20th January 2006 10:44
ISPConfig and 42go linuxuser1 General 1 17th January 2006 16:30


All times are GMT +2. The time now is 15:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.