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 15th April 2009, 08:24
poisen poisen is offline
Member
 
Join Date: Jan 2007
Location: Chiemsee, Germany
Posts: 56
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to poisen
Default Update failed - only new installation now

Hey everybody,

I tried updating my server from ISPConfig 2.2.31 to the new version and my internet connection broke, so I logged back in via ssh and removed the install_ispconfig directory and started everything all over again, but now I am only getting the option in the beginning where it says that a new version of ispconfig is being installed and it is not an update anymore!

I don't want anything being lossed or erased, what can I do to just start the update all over again?

Thanks for your help.
Reply With Quote
Sponsored Links
  #2  
Old 15th April 2009, 08:54
jnsc jnsc is offline
rotaredoM
 
Join Date: Mar 2006
Location: Lausanne, Switzerland
Posts: 525
Thanks: 10
Thanked 172 Times in 77 Posts
Default

mkdir /root/ispconfig

and launch setup again
Reply With Quote
  #3  
Old 15th April 2009, 08:56
poisen poisen is offline
Member
 
Join Date: Jan 2007
Location: Chiemsee, Germany
Posts: 56
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to poisen
Default

after reading through the forums, I did figure out that I had to create a /root/ispconfig/ directory to get back to the update. Now, I did all that but ISPConfig isn't running anymore. Websites and Apache still work, but I can't get the ISPConfig Interface to work. Here is what it said after the update

HTML Code:
Connected successfully to db ispconfig
Neustart einiger Dienste...
which: no apachectl in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
which: no w3m in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
Shutting down mail service (Postfix)                                  done
Starting mail service (Postfix)                                       done
Shutting down mail service (Postfix)                                  done
Starting mail service (Postfix)                                       done
Shutting down ProFTPD Server:                                         done
Starting ProFTPD Server:  - warning: handling possibly truncated configuration data at line 68 of '/etc/proftpd.conf'
                                                                      done
Shutting down ProFTPD Server:  - setting default address to 127.0.0.1
                                                                      done
Starting ProFTPD Server:  - warning: handling possibly truncated configuration data at line 68 of '/etc/proftpd.conf'
 - setting default address to 127.0.0.1
                                                                      done
Shutting down ISPConfig system...
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
Starting ISPConfig system...
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
ISPConfig system is now up and running!
Herzlichen Glueckwunsch! Ihr ISPConfig-System ist jetzt installiert. Falls Sie Quota nachinstalliert haben, fuehren Sie noch die in der Installationsanleitung beschriebenen Schritte durch. Ansonsten ist Ihr System jetzt ohne Reboot einsatzbereit.
Even running /etc/init.d/ispconfig_server restart didn't work and it gives me pretty much the same error as above.

HTML Code:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Shutting down ISPConfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/root/ispconfig/httpd/bin/apachectl stop: httpd (no pid file) not running
ISPConfig system stopped!
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Starting ISPConfig system...
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/root/ispconfig/httpd/bin/apachectl startssl: httpd could not be started
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
ISPConfig system is now up and running!
Can anybody help? Thanks a lot.
Reply With Quote
  #4  
Old 15th April 2009, 11:21
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,376
Thanks: 833
Thanked 5,479 Times in 4,313 Posts
Default

Take a look at the /tmp directory, you should find a backup of the ispconfig files and a backup of the database as .sql file there from the first update attempt. You should restore the backups and sql dump as your system database was vanished as you run the setup script the second time withot recreating the /root/ispconfig directory and it can not be restored by running setup again.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 15th April 2009, 11:28
poisen poisen is offline
Member
 
Join Date: Jan 2007
Location: Chiemsee, Germany
Posts: 56
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to poisen
Default

Hello Till,

I only have an update from this morning but not yesterday, and yesterday I did the update. Then I found another tar from 2009-04-04, where I updated to 2.2.31, but I don't know if I should be using this. What steps would I have to take exactly to get it to work again?

I did find 3 files in my /tmp/ directory

home_admispconfig_04_04_2009__10_31_54.tar.gz (/home/admispconfig/)
root_ispconfig_04_04_2009__10_31_54.tar.gz (/root/ispconfig/)
existing_db_04_04_2009__10_31_54.sql (/var/lib/mysql/ispconfig/)

...now as far as I understand I need to unpack the tar's and just copy them to the appropriate directory, what about the sql file? How do I manage to get rid of the current ispconfig database and replace it with the sql backup?

After I have copied everything back, can I just start the update to the current ispconfig 2 version again?

Thanks for your help.

Last edited by poisen; 15th April 2009 at 13:50. Reason: question on how to copy the backup files to the original location
Reply With Quote
  #6  
Old 15th April 2009, 19:28
poisen poisen is offline
Member
 
Join Date: Jan 2007
Location: Chiemsee, Germany
Posts: 56
Thanks: 10
Thanked 1 Time in 1 Post
Send a message via Skype™ to poisen
Default

Fan anybody tell me if I can copy the backup files and overwrite the existing or do I have to erase the /root/ispconfig and admispconfig folders first? How can I get the backup sql file back in the ispconfig database?

I'd be thankful if anybody could help me out.

Eddie
Reply With Quote
  #7  
Old 16th April 2009, 17:59
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

Quote:
Originally Posted by poisen View Post
Fan anybody tell me if I can copy the backup files and overwrite the existing or do I have to erase the /root/ispconfig and admispconfig folders first?
Both ways are ok.

Quote:
Originally Posted by poisen View Post
How can I get the backup sql file back in the ispconfig database?
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
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
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
The system is currently updating the configuration files. warlock General 8 21st February 2009 18:15
Systemimager (rsync) doesn't copy all comedit HOWTO-Related Questions 11 19th January 2007 17:17
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
How to install BFD (Brute Force Detection) domino Tips/Tricks/Mods 9 31st March 2006 22:40


All times are GMT +2. The time now is 13:59.


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