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

    Unsolved Debian 13 Trixie

    Linux Problems
    3
    22
    1.4k
    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

      Hello,
      I am currently using FOG 1.5.10 on Debian 12 (BookWorm).
      I am considering updating Debian to version 13 (Trixie).
      Has anyone already performed this update?
      Are there any issues to be aware of?

      Thanks for your help.
      Pascal

      H 1 Reply Last reply Reply Quote 0
      • H
        hillie @plegrand
        last edited by

        @plegrand I just did this today. I haven’t done much testing. I was upgrading from Debian 10 to 13. I had some trouble with sysv-rc-conf and libcurl4 when running installfog.sh. The instructions found here helped me: https://forums.fogproject.org/topic/9998/upgrade-ubuntu-16-10-to-17-04-sysv-rc-conf-fail/6. I had to edit /opt/fog/.fogsettings. I need to do a lot more testing but everything looks ok so far.

        Starting with a fresh install would perhaps be easier.

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

          @hillie
          That means FOG 1.5.10 works fine with Debian 13 Trixie ?
          With the new version of php (8.4)?
          Thanks for your anwer
          Pascal

          Tom ElliottT H 3 Replies Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @plegrand
            last edited by

            @plegrand

            I don’t know if it will work or not.

            We had one person try it, and I just got around to adding what they suggested as found here:
            https://github.com/FOGProject/fogproject/pull/733

            I think it will work just fine, but we won’t know for sure until someone tries. What works for one may or may not work for another, so your mileage may vary.

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            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 2 Replies Last reply Reply Quote 0
            • H
              hillie @plegrand
              last edited by hillie

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • P
                plegrand @Tom Elliott
                last edited by

                @Tom-Elliott I just upgraded Debian, im made some change and it seems to work fine

                1 Reply Last reply Reply Quote 0
                • H
                  hillie @plegrand
                  last edited by

                  @plegrand @plegrand I have not tested everything but it seems to be working fine with Trixie. As mentioned, there were some minor challenges but with the help of @Tom-Elliott posts and posts from others, I got it upgraded. I did a full inventory on a new computer and that worked. I deployed one image and that seemed to work.

                  php -v
                  PHP 8.4.11 (cli) (built: Aug 3 2025 07:32:21) (NTS)
                  Copyright © The PHP Group
                  Built by Debian
                  Zend Engine v4.4.11, Copyright © Zend Technologies
                  with Zend OPcache v8.4.11, Copyright ©, by Zend Technologies

                  cat /etc/debian_version
                  13.0

                  1 Reply Last reply Reply Quote 0
                  • P
                    plegrand @Tom Elliott
                    last edited by

                    @Tom-Elliott
                    Hello,
                    After updating and running a few tests, I noticed an error message in the logs:
                    fog env[1608]: PHP Warning: Increment on type bool has no effect, this will change in the next major version of PHP in /var/www/html/fog/lib/fog/fogbase.class.php on line 974

                    What could be the solution to this problem?

                    Thanks for your help

                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @plegrand
                      last edited by

                      @plegrand 1.5.10 is very old, run on stable branch or working-1.6 you will be fine.

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                      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 0
                      • P
                        plegrand @Tom Elliott
                        last edited by

                        @Tom-Elliott
                        What is the procedure for using the stable branch?
                        Currently, I usually do it this way:

                        git clone https://github.com/FOGProject/fogproject.git /home/fog-depot
                        cd /home/fog-depot
                        git branch
                        git checkout master or git checkout dev-branch
                        git init
                        git pull
                        cd bin/
                        ./installfog.sh
                        

                        Thanks for your help

                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @plegrand
                          last edited by

                          @plegrand

                          cd /path/to/fog-project/installer/folder
                          git checkout stable
                          git pull
                          cd bin
                          ./installfog.sh
                          

                          That should be all that’s necessary. The stable can then be changed to master for 1.5.10 official release, and dev-branch for whatever the bleeding edge of FOG is based on the 1.5.10 branches. and working-1.6 to see the beta version.

                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                          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 0
                          • P
                            plegrand @Tom Elliott
                            last edited by plegrand

                            @Tom-Elliott

                            I’ve got an error :

                            git checkout stable
                            erreur : Vos modifications locales aux fichiers suivants seraient écrasées par l'extraction :
                                    lib/common/functions.sh
                            Veuillez valider ou remiser vos modifications avant de basculer de branche.
                            Abandon
                            
                            git checkout stable
                            error: Your local changes to the following files would be overwritten by the checkout:
                                    lib/common/functions.sh
                            Please commit or stash your changes before switching branches.
                            Abandon
                            
                            git branch
                             dev-branch
                            * master
                            
                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                            • Tom ElliottT
                              Tom Elliott @plegrand
                              last edited by

                              @plegrand IT seems to me you manually edited yoru lib/common/functions.sh

                              So you need to stash the changes or revert those changes.

                              This can be done in many different ways, usually the simplest method being:
                              git checkout lib/common/functions.sh but this would only fix this one file, if you’ve any others you changed manually, then you may need to do any/all of those files.

                              The stash method is another simple way to move all custom changes out of the way:

                              git stash then the steps.

                              I don’t know what changes you were making so this is entirely up to you on what steps you’re willing to part with. Have a backup handy of your installation directory just in case.

                              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                              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 2 Replies Last reply Reply Quote 0
                              • P
                                plegrand @Tom Elliott
                                last edited by

                                @Tom-Elliott But i didnt modify this file:
                                lib/common/functions.sh

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

                                  @plegrand In fact i modify this file because of an error during install
                                  1473 lastlog -u $username | tail -n1 | grep “**.***” >/dev/null 2>&1

                                  I replace lastlog by lastlog2

                                  1 Reply Last reply Reply Quote 0
                                  • P
                                    plegrand @Tom Elliott
                                    last edited by plegrand

                                    @Tom-Elliott
                                    After “git checkout lib/common/functions.sh”
                                    I’m stuck on Downloading kernel, init and fog-client binaries…

                                    curl --silent -kOL https://github.com/FOGProject/fos/releases/latest/download/init.xz

                                    • Could not download init.xz properly
                                    Tom ElliottT 1 Reply Last reply Reply Quote 0
                                    • Tom ElliottT
                                      Tom Elliott @plegrand
                                      last edited by

                                      @plegrand

                                      It seems like maybe you’re behind a proxy? or something, I don’t know. If this were broken in general, i’m certain we’d have known about it by now.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                      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 0
                                      • P
                                        plegrand @Tom Elliott
                                        last edited by

                                        @Tom-Elliott No proxy and no network problem here

                                        Tom ElliottT 1 Reply Last reply Reply Quote 0
                                        • Tom ElliottT
                                          Tom Elliott @plegrand
                                          last edited by

                                          @plegrand Something on your network is not allowing the file to download.

                                          Can you try the curl you see it erroring out and see what you see?

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                                          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 0
                                          • P
                                            plegrand @Tom Elliott
                                            last edited by

                                            @Tom-Elliott
                                            After updating from the stable branch, I am still on 1.5.10.

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post

                                            87

                                            Online

                                            12.2k

                                            Users

                                            17.4k

                                            Topics

                                            155.6k

                                            Posts
                                            Copyright © 2012-2025 FOG Project