• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Upgrade Debian 9 to Debian 10 FOG 1.5.7 and FOG 1.5.8

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    2
    3
    492
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      mousepl
      last edited by

      Hello,

      I was struggling with Debian OS upgrade on FOG server. After distro upgrade FOG have a problems with displaying some stuff on website, like Storage stats, network stats and after adding new task to Host there was HTTP 500 error.
      I was running:

      • Debian 9
      • FOG 1.5.7
      • php7.0

      After upgrade i want to run:

      • Debian 10
      • FOG 1.5.8
      • php7.3

      Here is a list what should be done to upgrade to Debian 10 and FOG 1.5.8:

      1. Update FOG to 1.5.8 by running ./installfog.sh script
      2. Upgrade Debian 9 to Debian 10
      3. Modify FOG configuration file:
        nano /opt/fog/.fogsettings
        and replace lines
      php_ver='7.0'
      php_verAdds='-7.0'
      

      with

      php_ver='7.3'
      php_verAdds='-7.3'
      

      also in

      packages
      

      variable please change

      libcurl3
      

      to

      libcurl4
      

      4- Run ./installfog.sh once again to install proper packages and proceed with below steps if result of installation will be

      Starting and checking status of web services................Failed!
      

      4a- Kill php process:

      ps aux |grep php
      root       417  0.0  0.9 216032 14608 ?        Ss   13:57   0:00 php-fpm: master process (/etc/php/7.0/fpm/php-fpm.conf)
      

      by running “kill -9 process_number”, like

      kill -9 417
      

      4b- Run service php7.3-fpm restart
      5- Enjoy, now everything is working fine!

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @mousepl Thanks for bringing this up. We might be able to consider some of those things within the install script. It’s not easy to cover for all situations but we do our best to make the installer work in most situations.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Sebastian Roth

          For anyone running into this. We’ve just pushed some changes to dev-branch and working-1.6 to make updating from Debian 9 to 10 easier. You should not be able to do this following the steps outlined here:

          sudo -i
          apt-get update && apt-get upgrade
          apt-get dist-upgrade
          reboot
          sed -i 's/stretch/buster/g' /etc/apt/sources.list
          apt-get update && apt-get upgrade
          apt-get dist-upgrade
          reboot
          apt-get --purge autoremove
          cat /etc/debian_release
          
          cd fogproject
          git checkout dev-branch
          git pull
          cd bin
          ./installfog.sh
          

          Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

          Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          269

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project