Wrong steps by upgrading ISPC

Discussion in 'Installation/Configuration' started by Berry, Nov 5, 2007.

  1. Berry

    Berry New Member

    Hello HowtoForge Crew!

    Yesterday I got the time to upgrade my over a year old ISPC (that worked perfectly, thanks guys!!!) to the newest version. Unfortunately there were 2 "incidents".
    My router hang in the middle of installation (remote installation) so I had to run the setup again and there I made a big mistake - I didn't delete dir with partially compiled/installed files, I run ./setup again. Fortunately, the DB has been left untouched.

    I supose this way I've missed any upgradation of database and some files (I did custom translation to croatian language and this is still displayed in newest version as well). Now, what do you suggest me to do? What I'm probably missing and if something - should I rerun setup to do a proper upgrade (is there some value that states version that I should change so that setup recognizes what it has to do)?

    Thanks alot in advance!
     
  2. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    If you login to ISPConfig, are all websites and user accounts still listed in the interface? Does the correct new version number show up under tools > software version?
     
  3. Berry

    Berry New Member

    Yes, both. But during the installation I recieved error that says the database 'db_ispconfig' cannot be created, as the setup tried to make it again thinking it is a fresh install not an upgrade...
     
  4. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    If you see all sites and accounts in ISPConfig and the version number is fine too, then everything should work as it is.
     
  5. Berry

    Berry New Member

    Thank You Till! I will keep an eye on the database if there is really everything in it...
     
  6. erebus

    erebus New Member

    A good hint to protect these "remote installations/upgrade" from several network issues that may occur, is to run these procedures under 'screen'. I.e.

    Code:
    # screen
    
    # ./setup
    In this way, even if you loose the connection to your server, you can easily come back later and run:

    Code:
    # screen -r
    There is a screen on:
            16337.pts-1.nemesis     (Attached)
    There is no screen to be resumed.
    Oops, the screen has remained attached (because we lost the connection). Let's detach it:

    Code:
    # screen -d
    And resume it:

    Code:
    # screen -r
    Now you should see your setup running again, where you left it.
     
  7. Berry

    Berry New Member

    Erebus, thanks for your reply and addition!

    Yes, I'm familiar with screen but unfortunately I didn't used it this time, didn't thought that a connection could brake... stupid me :eek:
     
  8. Berry

    Berry New Member

    Here is one problem doh!

    I created a new client and his website. It seems ISPC hasn't created entry into Vhosts because this site is missing there and the sites url takes to "Shared IP" page. What could/should I do?

    Thanks!
     
  9. till

    till Super Moderator Howtoforge Staff HowtoForge Supporter ISPConfig Developer

    Run:

    /etc/init.d/ispconfig_server restart

    and wait a few minutes. Is the vhost created now?
     
  10. Berry

    Berry New Member

    No Till, unfortunately not...
     
  11. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's the output of
    Code:
    ls -la /root/ispconfig
    ?
    What's in the directory where Vhosts_ispconfig.conf is located?
     
  12. Berry

    Berry New Member

    Code:
    server02:~# ls -la /root/ispconfig
    ukupno 67
    drwxr-xr-x  9 root root  1024 2007-11-11 10:21 .
    drwx------  8 root root  1024 2007-10-31 16:49 ..
    -rwxr-xr-x  1 root root 34866 2007-10-31 16:32 cronolog
    -rwxr-xr-x  1 root root  9673 2007-10-31 16:32 cronosplit
    drwxr-xr-x 12 root root  1024 2007-10-31 16:11 httpd
    drwxr-xr-x 15 root root  2048 2007-10-31 16:32 isp
    -rw-r--r--  1 root root     8 2007-11-11 10:21 .old_path_httpd_root
    drwxr-xr-x  6 root root  1024 2007-10-31 16:05 openssl
    drwxr-xr-x  6 root root  1024 2007-10-31 16:27 php
    drwxr-xr-x  4 root root  1024 2007-10-31 16:32 scripts
    drwxr-xr-x  4 root root  1024 2007-10-31 16:32 standard_cgis
    drwxr-xr-x  2 root root  1024 2007-10-31 16:32 sv
    -rwx------  1 root root  9389 2007-10-31 16:32 uninstall
    /etc/apache2/vhosts (Debian Etch, upgraded from "Perfect Sarge" from your tutorial)
     
  13. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What's the output of
    Code:
    ls -la /etc/apache2/vhosts
    ?
     
  14. Berry

    Berry New Member

    Thanks Falko for taking time in helping me. Here is the output :

    Code:
    server02:~# ls -la /etc/apache2/vhosts
    ukupno 5722
    drwxr-xr-x 2 root root   6144 2007-11-13 16:35 .
    drwxr-xr-x 8 root root   1024 2007-11-09 23:06 ..
    -rw-r--r-- 1 root root      2 2007-10-30 21:00 prazno.txt
    -rw-r--r-- 1 root root  80414 2007-11-13 16:35 Vhosts_ispconfig.conf
    -rw-r--r-- 1 root root  77977 2007-11-02 13:13 Vhosts_ispconfig.conf_02-11-07_13-13-08
    -rw-r--r-- 1 root root  77977 2007-11-02 13:18 Vhosts_ispconfig.conf_02-11-07_13-18-57
    -rw-r--r-- 1 root root  77977 2007-11-05 21:53 Vhosts_ispconfig.conf_05-11-07_21-53-55
    -rw-r--r-- 1 root root  77977 2007-11-05 21:54 Vhosts_ispconfig.conf_05-11-07_21-54-29
    -rw-r--r-- 1 root root  77977 2007-11-05 21:55 Vhosts_ispconfig.conf_05-11-07_21-55-53
    -rw-r--r-- 1 root root  77977 2007-11-07 09:37 Vhosts_ispconfig.conf_07-11-07_09-37-57
    -rw-r--r-- 1 root root  77977 2007-11-07 09:39 Vhosts_ispconfig.conf_07-11-07_09-39-03
    -rw-r--r-- 1 root root  77977 2007-11-07 09:39 Vhosts_ispconfig.conf_07-11-07_09-39-26
    -rw-r--r-- 1 root root  77977 2007-11-07 09:39 Vhosts_ispconfig.conf_07-11-07_09-39-48
    -rw-r--r-- 1 root root  77977 2007-11-07 09:41 Vhosts_ispconfig.conf_07-11-07_09-41-49
    -rw-r--r-- 1 root root  77977 2007-11-07 09:42 Vhosts_ispconfig.conf_07-11-07_09-42-22
    -rw-r--r-- 1 root root  77977 2007-11-07 09:42 Vhosts_ispconfig.conf_07-11-07_09-42-42
    -rw-r--r-- 1 root root  77977 2007-11-07 09:43 Vhosts_ispconfig.conf_07-11-07_09-43-31
    -rw-r--r-- 1 root root  77977 2007-11-07 09:44 Vhosts_ispconfig.conf_07-11-07_09-44-44
    -rw-r--r-- 1 root root  77977 2007-11-07 09:45 Vhosts_ispconfig.conf_07-11-07_09-45-20
    -rw-r--r-- 1 root root  77977 2007-11-07 09:45 Vhosts_ispconfig.conf_07-11-07_09-45-40
    -rw-r--r-- 1 root root  77977 2007-11-07 09:46 Vhosts_ispconfig.conf_07-11-07_09-46-06
    -rw-r--r-- 1 root root  77977 2007-11-07 09:50 Vhosts_ispconfig.conf_07-11-07_09-50-34
    -rw-r--r-- 1 root root  77977 2007-11-07 09:50 Vhosts_ispconfig.conf_07-11-07_09-50-50
    -rw-r--r-- 1 root root  77977 2007-11-07 09:54 Vhosts_ispconfig.conf_07-11-07_09-54-08
    -rw-r--r-- 1 root root  77977 2007-11-07 09:54 Vhosts_ispconfig.conf_07-11-07_09-54-46
    -rw-r--r-- 1 root root  77977 2007-11-07 09:55 Vhosts_ispconfig.conf_07-11-07_09-55-01
    -rw-r--r-- 1 root root  77977 2007-11-07 09:55 Vhosts_ispconfig.conf_07-11-07_09-55-30
    -rw-r--r-- 1 root root  77977 2007-11-07 09:55 Vhosts_ispconfig.conf_07-11-07_09-55-52
    -rw-r--r-- 1 root root  77977 2007-11-07 09:56 Vhosts_ispconfig.conf_07-11-07_09-56-17
    -rw-r--r-- 1 root root  77977 2007-11-07 09:56 Vhosts_ispconfig.conf_07-11-07_09-56-53
    -rw-r--r-- 1 root root  77977 2007-11-07 10:32 Vhosts_ispconfig.conf_07-11-07_10-32-17
    -rw-r--r-- 1 root root  77977 2007-11-07 10:34 Vhosts_ispconfig.conf_07-11-07_10-34-31
    -rw-r--r-- 1 root root  77977 2007-11-07 10:35 Vhosts_ispconfig.conf_07-11-07_10-35-37
    -rw-r--r-- 1 root root  77977 2007-11-07 10:36 Vhosts_ispconfig.conf_07-11-07_10-36-09
    -rw-r--r-- 1 root root  77977 2007-11-07 10:36 Vhosts_ispconfig.conf_07-11-07_10-36-44
    -rw-r--r-- 1 root root  77977 2007-11-07 10:37 Vhosts_ispconfig.conf_07-11-07_10-37-25
    -rw-r--r-- 1 root root  77977 2007-11-07 10:38 Vhosts_ispconfig.conf_07-11-07_10-38-24
    -rw-r--r-- 1 root root  77977 2007-11-07 10:39 Vhosts_ispconfig.conf_07-11-07_10-39-11
    -rw-r--r-- 1 root root  77977 2007-11-07 10:39 Vhosts_ispconfig.conf_07-11-07_10-39-54
    -rw-r--r-- 1 root root  77977 2007-11-07 10:44 Vhosts_ispconfig.conf_07-11-07_10-44-03
    -rw-r--r-- 1 root root  77977 2007-11-07 12:02 Vhosts_ispconfig.conf_07-11-07_12-02-22
    -rw-r--r-- 1 root root  77977 2007-11-07 12:02 Vhosts_ispconfig.conf_07-11-07_12-02-38
    -rw-r--r-- 1 root root  77977 2007-11-08 08:15 Vhosts_ispconfig.conf_08-11-07_08-15-41
    -rw-r--r-- 1 root root  77977 2007-11-08 16:53 Vhosts_ispconfig.conf_08-11-07_16-53-22
    -rw-r--r-- 1 root root  77977 2007-11-08 16:59 Vhosts_ispconfig.conf_08-11-07_16-59-23
    -rw-r--r-- 1 root root  79641 2007-11-08 19:20 Vhosts_ispconfig.conf_08-11-07_19-20-48
    -rw-r--r-- 1 root root  79641 2007-11-08 19:21 Vhosts_ispconfig.conf_08-11-07_19-21-51
    -rw-r--r-- 1 root root  79641 2007-11-08 19:23 Vhosts_ispconfig.conf_08-11-07_19-23-09
    -rw-r--r-- 1 root root  79641 2007-11-08 19:41 Vhosts_ispconfig.conf_08-11-07_19-41-51
    -rw-r--r-- 1 root root  79641 2007-11-08 21:50 Vhosts_ispconfig.conf_08-11-07_21-50-59
    -rw-r--r-- 1 root root  79641 2007-11-08 22:36 Vhosts_ispconfig.conf_08-11-07_22-36-32
    -rw-r--r-- 1 root root  79641 2007-11-09 18:25 Vhosts_ispconfig.conf_09-11-07_18-25-32
    -rw-r--r-- 1 root root  79641 2007-11-09 22:14 Vhosts_ispconfig.conf_09-11-07_22-14-55
    -rw-r--r-- 1 root root  79641 2007-11-09 22:29 Vhosts_ispconfig.conf_09-11-07_22-29-15
    -rw-r--r-- 1 root root  79641 2007-11-09 22:35 Vhosts_ispconfig.conf_09-11-07_22-35-38
    -rw-r--r-- 1 root root  79641 2007-11-09 22:36 Vhosts_ispconfig.conf_09-11-07_22-36-12
    -rw-r--r-- 1 root root  79641 2007-11-10 14:11 Vhosts_ispconfig.conf_10-11-07_14-11-31
    -rw-r--r-- 1 root root  79641 2007-11-10 14:13 Vhosts_ispconfig.conf_10-11-07_14-13-33
    -rw-r--r-- 1 root root  79641 2007-11-10 14:14 Vhosts_ispconfig.conf_10-11-07_14-14-05
    -rw-r--r-- 1 root root  79641 2007-11-10 20:50 Vhosts_ispconfig.conf_10-11-07_20-50-26
    -rw-r--r-- 1 root root  79813 2007-11-11 10:18 Vhosts_ispconfig.conf_11-11-07_10-18-29
    -rw-r--r-- 1 root root  79813 2007-11-11 10:18 Vhosts_ispconfig.conf_11-11-07_10-18-50
    -rw-r--r-- 1 root root  79813 2007-11-11 10:21 Vhosts_ispconfig.conf_11-11-07_10-21-13
    -rw-r--r-- 1 root root  79813 2007-11-13 16:35 Vhosts_ispconfig.conf_13-11-07_16-35-41
    -rw-r--r-- 1 root root   1954 2006-11-15 18:13 Vhosts_ispconfig.conf_15-11-06_18-13-21
    -rw-r--r-- 1 root root 200919 2007-10-18 21:21 Vhosts_ispconfig.conf_18-10-07_21-21-15
    -rw-r--r-- 1 root root   1954 2006-11-20 13:11 Vhosts_ispconfig.conf_20-11-06_13-11-11
    -rw-r--r-- 1 root root   1954 2006-11-20 13:14 Vhosts_ispconfig.conf_20-11-06_13-14-53
    -rw-r--r-- 1 root root   3807 2006-11-20 13:29 Vhosts_ispconfig.conf_20-11-06_13-29-57
    -rw-r--r-- 1 root root   3807 2006-11-20 13:30 Vhosts_ispconfig.conf_20-11-06_13-30-51
    -rw-r--r-- 1 root root   3817 2006-11-20 13:32 Vhosts_ispconfig.conf_20-11-06_13-32-43
    -rw-r--r-- 1 root root   3817 2006-11-20 13:36 Vhosts_ispconfig.conf_20-11-06_13-36-55
    -rw-r--r-- 1 root root   3817 2006-11-20 13:37 Vhosts_ispconfig.conf_20-11-06_13-37-48
    -rw-r--r-- 1 root root   1954 2006-11-20 13:38 Vhosts_ispconfig.conf_20-11-06_13-38-42
    -rw-r--r-- 1 root root   1954 2006-11-20 13:39 Vhosts_ispconfig.conf_20-11-06_13-39-53
    -rw-r--r-- 1 root root   1954 2006-11-20 13:40 Vhosts_ispconfig.conf_20-11-06_13-40-44
    -rw-r--r-- 1 root root   1954 2006-11-20 13:43 Vhosts_ispconfig.conf_20-11-06_13-43-36
    -rw-r--r-- 1 root root   3807 2006-11-20 13:44 Vhosts_ispconfig.conf_20-11-06_13-44-58
    -rw-r--r-- 1 root root   3807 2006-11-20 13:46 Vhosts_ispconfig.conf_20-11-06_13-46-53
    -rw-r--r-- 1 root root   3817 2006-11-20 13:48 Vhosts_ispconfig.conf_20-11-06_13-48-06
    -rw-r--r-- 1 root root   3817 2006-11-20 13:48 Vhosts_ispconfig.conf_20-11-06_13-48-58
    -rw-r--r-- 1 root root   3817 2006-11-20 13:54 Vhosts_ispconfig.conf_20-11-06_13-54-30
    -rw-r--r-- 1 root root   3817 2006-11-20 14:04 Vhosts_ispconfig.conf_20-11-06_14-04-42
    -rw-r--r-- 1 root root   3817 2006-11-20 14:05 Vhosts_ispconfig.conf_20-11-06_14-05-45
    -rw-r--r-- 1 root root   3817 2006-11-20 14:06 Vhosts_ispconfig.conf_20-11-06_14-06-39
    -rw-r--r-- 1 root root   3817 2006-11-20 14:19 Vhosts_ispconfig.conf_20-11-06_14-19-51
    -rw-r--r-- 1 root root   3817 2006-11-20 14:20 Vhosts_ispconfig.conf_20-11-06_14-20-44
    -rw-r--r-- 1 root root   3577 2006-11-20 14:44 Vhosts_ispconfig.conf_20-11-06_14-44-29
    -rw-r--r-- 1 root root   3511 2006-11-21 09:03 Vhosts_ispconfig.conf_21-11-06_09-03-59
    -rw-r--r-- 1 root root   3511 2006-11-21 11:24 Vhosts_ispconfig.conf_21-11-06_11-24-06
    -rw-r--r-- 1 root root   3511 2006-11-21 11:26 Vhosts_ispconfig.conf_21-11-06_11-26-40
    -rw-r--r-- 1 root root   3511 2006-11-21 11:27 Vhosts_ispconfig.conf_21-11-06_11-27-04
    -rw-r--r-- 1 root root   3511 2006-11-21 11:28 Vhosts_ispconfig.conf_21-11-06_11-28-37
    -rw-r--r-- 1 root root   3511 2006-11-21 11:29 Vhosts_ispconfig.conf_21-11-06_11-29-10
    -rw-r--r-- 1 root root   3511 2006-11-21 11:31 Vhosts_ispconfig.conf_21-11-06_11-31-43
    -rw-r--r-- 1 root root   3511 2006-11-21 12:17 Vhosts_ispconfig.conf_21-11-06_12-17-29
    -rw-r--r-- 1 root root   3511 2006-11-21 12:18 Vhosts_ispconfig.conf_21-11-06_12-18-50
    -rw-r--r-- 1 root root   3628 2006-11-21 12:50 Vhosts_ispconfig.conf_21-11-06_12-50-13
    -rw-r--r-- 1 root root   3628 2006-11-21 16:07 Vhosts_ispconfig.conf_21-11-06_16-07-22
    -rw-r--r-- 1 root root   3628 2006-11-21 16:07 Vhosts_ispconfig.conf_21-11-06_16-07-44
    -rw-r--r-- 1 root root   3629 2006-11-21 16:13 Vhosts_ispconfig.conf_21-11-06_16-13-16
    -rw-r--r-- 1 root root   3629 2006-11-23 12:16 Vhosts_ispconfig.conf_23-11-06_12-16-38
    -rw-r--r-- 1 root root  87082 2007-10-30 20:17 Vhosts_ispconfig.conf_30-10-07_20-17-08
    -rw-r--r-- 1 root root  88925 2007-10-30 20:30 Vhosts_ispconfig.conf_30-10-07_20-30-39
    -rw-r--r-- 1 root root  88925 2007-10-30 20:37 Vhosts_ispconfig.conf_30-10-07_20-37-19
    -rw-r--r-- 1 root root  87082 2007-10-30 20:39 Vhosts_ispconfig.conf_30-10-07_20-39-34
    -rw-r--r-- 1 root root  87082 2007-10-30 20:40 Vhosts_ispconfig.conf_30-10-07_20-40-49
    -rw-r--r-- 1 root root  88925 2007-10-30 20:43 Vhosts_ispconfig.conf_30-10-07_20-43-44
    -rw-r--r-- 1 root root  78746 2007-10-30 21:15 Vhosts_ispconfig.conf-bejkap
    
     
  15. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Please do this:
    Code:
    cd /etc/apache2/vhosts
    mv Vhosts_ispconfig.conf Vhosts_ispconfig.conf_bak
    mv Vhosts_ispconfig.conf_13-11-07_16-35-41 Vhosts_ispconfig.conf
    httpd -t
    Does the last command show errors?
     

Share This Page