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

    Upgrade Debian to bullseye

    Linux Problems
    2
    3
    190
    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.
    • P
      plegrand last edited by plegrand

      Hello,
      i plan to upgrade my server fog to the latest debian stable “bullseye”.
      Can there be compatibility problems ?

      i see that php go from 7.3 to 7.4.
      Do i have to run “installfog.sh” once debian upgraded?
      Do i have to modify /opt/fog/.fogsettings :

      php_ver='7.3'
      php_verAdds='-7.3'
      

      to

      php_ver='7.4'
      php_verAdds='-7.4'
      

      In .fogsettings, does this line is always usefull :

      packages='apache2 bc build-essential cpp curl g++ gawk gcc gzip htmldoc lftp libapache2-mod-php7.3 libc6 libcurl4 m4 mariadb-client mariadb-server net-tools nfs-kernel-server openssh-server php7.3 php7.3-bcmath php7.3-cli php7.3-curl php7.3-fpm php7.3-gd php7.3-json php7.3-mbstring php7.3-mysql php-gettext sysv-rc-conf tar tftpd-hpa tftp-hpa unzip vsftpd wget xinetd zlib1g'
      

      thanks for your help

      1 Reply Last reply Reply Quote 0
      • P
        plegrand @Sebastian Roth last edited by

        @sebastian-roth
        I completed the upgrade without any major problems.
        I had to reinstall some php packages that had been removed during the upgrade
        (the comparison between the packages installed on the old version and the new one allowed me to reinstall them easily)

        I also had to re-run installfog.sh because I had the same problem as here:
        https://forums.fogproject.org/topic/15254/503-service-unavailable-after-debian-upgrade.

        Also, unrelated to fog, I had to review the configuration of mariadb and more particularly the authentication mode of the “root@localhost” user.
        Indeed the user “root@localhost” was still using authentication with a password, but the new method is to use auth_socket :

        +-----------+------------------+-----------------------+-------------------------------------------+
        | Host | User | plugin | authentication_string |
        +-----------+------------------+-----------------------+-------------------------------------------+
        | localhost | root | mysql_native_password | XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX |
        
        +-----------+------------------+-----------------------+-------------------------------------------+
        | Host | User | plugin | authentication_string |
        +-----------+------------------+-----------------------+-------------------------------------------+
        | localhost | root | unix_socket |
        

        this is all I can say

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

          @plegrand No manual adjustment of /opt/fog/.fogsettings needed. The latest dev-branch FOG installer script should take care of this! Please give it a try and let us know if it doesn’t work as expected.

          Do i have to run “installfog.sh” once debian upgraded?

          Technically it should work without running the installer again but as I said the installer will take care of adjusting .fogsettings file and I suggest you run it.

          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

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

          86
          Online

          10.4k
          Users

          16.4k
          Topics

          150.5k
          Posts

          Copyright © 2012-2023 FOG Project