Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 24th July 2006, 13:44
comedit comedit is offline
Member
 
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default Installed 2.2.5 but lost content in ISPconfig

I was installing 2.2.5 over my 2.2.3 Ispconfig installation and just typing my passphrase.

I made a typo at the verification of this passphrase and I asumed that if i just gave an enter, the install script would ask me to retype the the original and verification one again.

Instead it aborted the installscript and gave an error.

I thought not to worry and started reinstalling 2.2.5 but found out that at the end of the script It was installing a brand new installation whitout keeping my data.

My sites still work (which is good) but I can't handle/administer these sites through ISPconfig anymore.

It there a apossibility to incorperate the "I assume lost" data again ? in the 2.2.5 installation ?

Thanks in advance for any bright ideas.

And yes : How could I be so stupid not to make a backup of my data before doing the install !!!

Last edited by comedit; 24th July 2006 at 14:17.
Reply With Quote
Sponsored Links
  #2  
Old 25th July 2006, 13:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Please check in /tmp if there's a backup of /root/ispconfig, /home/admispconfig, and (most important!) the ISPConfig database (the file name is something like existing_db...sql).
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th July 2006, 16:43
comedit comedit is offline
Member
 
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default Thanks Falko: Yes they are all there

They date from 24-05-06 but that's better then nothing.

I will first try to find in the forums/manuals how to get this info back online again before asking any further questions.


Thanks for helping me with this sofar
Reply With Quote
  #4  
Old 26th July 2006, 10:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Remove /root/ispconfig and /home/admispconfig. Then untar both tar.gz files and move the files back in place. Restore your ISPConfig database from the sql dump like this: http://www.howtoforge.com/faq/6_4_en.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 1st August 2006, 11:18
comedit comedit is offline
Member
 
Join Date: May 2006
Posts: 57
Thanks: 0
Thanked 0 Times in 0 Posts
Default Stuck at SQL: #1062 - Duplicate entry '2' for key 1

gettind smarter by the minute I have decided to set up a second server and then install rsync to avoid problems as mentioned above:

So i did the perfect setup debian 3.1, installed 2.2.5
(allthough the manual is great, you feel a big relief and satisfaction when its working).

I have replace the /root/ispconfig and /home/admispconfig on the new server and then tried the sql dump (first on commandline then PHPadmin:

This is what I don't understand what is wrong here ?

SQL-query:

INSERT INTO `dns_a` ( `doc_id` , `doctype_id` , `host` , `ip_adresse` )
VALUES ( 2, 1018, 'kigaro', '81.58.147.208' )

MySQL retourneerde: Documentatie
#1062 - Duplicate entry '2' for key 1



Since it says duplicate entry I deleted the second one is this list 3,1018,'www','81.58.147.208' .

But that's just trial and error and basically not right

Any suggestions ?
Reply With Quote
  #6  
Old 2nd August 2006, 13:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Empty the existing tables before you insert anything.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
ISPConfig 2.2.5 released till General 42 13th September 2008 10:57
How to build packages that can be installed with the ISPConfig update function. till Tips/Tricks/Mods 3 18th February 2008 13:10
Please Help! Flash Content & ISPConfig MetraDynamix Installation/Configuration 1 17th July 2006 01:01
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16
ispconfig installed to root xcam Installation/Configuration 2 13th April 2006 21:27


All times are GMT +2. The time now is 20:47.


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