problem with upgrade to 2.2.30

Discussion in 'Installation/Configuration' started by brianetilley, Mar 19, 2009.

  1. brianetilley

    brianetilley New Member

    It appears that the upgrade wants to install a completely new version of ISPConfig. It is asking for my MySQL server...which is not in my installation notes...I only have the user and password. I can no longer log in to ISPConfig, so I can not get the info required. I deleted the install_ispconfig directory and tried to reinstall 2.2.29 but got the same request for the MySQL server..any suggestions...thanks
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did /root/ispconfig and /home/admispconfig exist when you started the update? The installer checks if these directories exist, and if they do, the installer decides it's an update instead of a new installation.

    Also, did you see any errors when you started the update? What's the output of
    Code:
    df -h
    ?

    Which distribution are you using?
     
  3. rsip

    rsip New Member

    I have similar problem.

    1. openSUSE 10.3 + ISPConfig 2.2.29
    2. upgraded to openSUSE 11.1 + week of running without any problem with ISPConfig (and with snapshot before upgrade ;)

    3. now I'm trying upgrade from 2.2.29 to 2.2.30 and ISPConfig starts failing errors in MySQL row :(
    I guess upgrade (re)moved some packages, I will try manually check all required packages by your setup guide for fresh openSUSE 11.1

    output:
    ...
    checking for MySQL UNIX socket location... no
    configure: error: Cannot find MySQL header files under /usr.
    Note that the MySQL client library is not bundled anymore!
    ERROR: Could not configure PHP
    cd: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    mv: cannot stat `binaries/aps.tar.gz': No such file or directory
    mv: cannot stat `binaries/spamassassin.tar.gz': No such file or directory
    mv: cannot stat `binaries/uudeview.tar.gz': No such file or directory
    mv: cannot stat `binaries/clamav.tar.gz': No such file or directory
    mv: cannot stat `binaries/cronolog': No such file or directory
    mv: cannot stat `binaries/cronosplit': No such file or directory
    mv: cannot stat `binaries/ispconfig_tcpserver': No such file or directory
    mv: cannot stat `binaries/zip': No such file or directory
    mv: cannot stat `binaries/unzip': No such file or directory
    tar: spamassassin.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `spamassassin': No such file or directory
    tar: uudeview.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `uudeview': No such file or directory
    tar: clamav.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `clamav': No such file or directory
    tar: aps.tar.gz: Cannot open: No such file or directory
    tar: Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error exit delayed from previous errors
    mv: cannot stat `ispconfig_tmp': No such file or directory
    cp: cannot stat `dist.info': No such file or directory
    All prerequisites are fulfilled.
    Here we go...
    chmod: cannot access `./install.php': No such file or directory

    ./setup2: line 1090: mysql_config: No such file or directory
    ./setup2: line 1091: httpd: No such file or directory
    ./setup2: line 1092: httpd2: No such file or directory
    ./setup2: line 1093: httpd2: No such file or directory
    ./setup2: line 1103: ip_addresses: No such file or directory
    ./setup2: line 1105: /root/ispconfig/php/php: No such file or directory
    ./setup2: line 1106: /root/ispconfig/dist.info: No such file or directory
    Restarting some services...
    which: no apachectl in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    which: no w3m in (/sbin:/usr/sbin:/usr/local/sbin:/root/bin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/libexec)
    httpd not running, trying to start
    ./setup2: line 1143: [: ==: unary operator expected
    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...
    /etc/init.d/ispconfig_server: line 66: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    ISPConfig system stopped!
    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
    Starting ISPConfig system...
    /etc/init.d/ispconfig_server: line 45: /root/ispconfig/httpd/bin/apachectl: No such file or directory
    /etc/init.d/ispconfig_server: line 48: /root/ispconfig/php/php: No such file or directory
    ISPConfig system is now up and running!
    Congratulations! Your ISPConfig system is now installed. If you had to install quota, please take the steps described in the installation manual. Otherwise your system is now available without reboot.

    ./setup2: line 1189: cd: /root/install_ispconfig/compile_aps/../..: No such file or directory
     
  4. rsip

    rsip New Member

    I checked all listed packages in setup guide for fresh 11.1 and there were missing some packages:
    libcap-devel
    apache2-mod_python
    ruby
    ruby-devel
    cyrus-sasl-saslauthd
    bind-devel

    ... and ...
    libmysqlclient-devel

    I copied backup ISPConfig files back to location and upgrade went well now.
    I hope it will help to anybody: if you upgraded your linux distro, compare existing packages after upgrade with Till's and Falko's guides for fresh target OS version :)

    FYI: I found some packages mentioned in setup are not available on openSUSE 11.1 (at least from default repositories)
    db-devel
    mysql-shared
    xntp
     

Share This Page