Debian jessie install package restore error

  • Hi! Now I have some problems on restore i-MSCP (1.2.х) on my server
    Using backup/restore script

    Code
    1. elif [ $choice -eq 5 ] ; then echo '#### Backuping an i-MSCP ####' read -p 'Please enter the MySQL root password: ' mypass apt-get -y install bzip2 xz-utils mkdir /tmp/imscpbkp cd /tmp/imscpbkp mysqldump -u root --password=$mypass --all-databases > imscp.sql tar cvfJ www.txz /var/www/virtual tar cvfJ mail.txz /var/mail/virtual tar cvfJ config.txz /etc/imscp cd .. tar cvf imscp.bkp imscpbkp cp imscp.bkp /root/imscp.bkp echo Take it from root directory cd /root exitelif [ $choice -eq 6 ] ; then echo '#### Restoring an i-MSCP ####' read -p 'Please enter the MySQL root password: ' mypass apt-get -y install bzip2 xz-utils mkdir /tmp/imscpbkp cp /root/imscp.bkp /tmp/imscp.bkp cd /tmp tar xvf imscp.bkp cd /tmp/imscpbkp tar xvfJ www.txz -C / tar xvfJ mail.txz -C / tar xvfJ config.txz -C / mysql -u root --password=$mypass < imscp.sql rm -f /root/imscp.bkp cd /root echo Restoring complete exit


    I have an error during installing packages to the clear system (on wheezy it works great, MariaDB is preinstalled)


    What can you advise me to solve the problem?

  • Hello ;


    Please, try with latest github ( branch 1.2.x ) or update the jessie packages file (mysql server part) to this version: https://github.com/i-MSCP/imsc…ebian/packages-jessie.xml



    BTW: The backup/restore script you're using is not supported by our team.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206


  • Please, try with latest github ( branch 1.2.x ) or update the jessie packages file (mysql server part) to this version: https://github.com/i-MSCP/imsc…ebian/packages-jessie.xml


    Thanks. Patching this file didn't help, but Git-version has crashed on nginx setup (I saw it before will fix is tomorrow)

    BTW: The backup/restore script you're using is not supported by our team.


    I know it. I post it for example and debugging reasons to make clear what I have made. To my great regret IMHO it's the only way to make lightweight backup of whole clear i-MSCP system from dying server.

  • @DragonZX



    Nginx issue must be related to http://youtrack.i-mscp.net/issue/IP-1332 which will be fixed soon ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @DragonZX


    Problem about nginx which fail to start should be fixed in our development branch ( 1.2.x branch ).


    See https://github.com/i-MSCP/imsc…6de81988a2ead7fdd6f8803e6

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @Piradoxlanieve


    Either you fix your last post, either I remove it and I give you a big warn.


    BTW: You shouldn't try to run a script part that you don't understand. The code as posted by @DragonZX cannot work since some parts are missing... You should really consider to learn.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Looks like it works! Thank you. My fault is the plugins are enabled in the database. please don't mark the thread as done till i'm working.
    BTW: It will be the great feature to disable plugins automatically during setup process.

  • @DragonZX


    The plugins will never automatically disabled during update because some of them must do some tasks during update. This is the administrator responsibility to check plugins compatibility with the i-MSCP version to which they want update.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Maybe we can add a check into installer, which warns, if the Plugin is not compatible. if not, let admin choose deactivate or continue.


    For this, some compability Infos must added to Plugin file, like MyBB do.