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

    Debian 13 Trixie

    Scheduled Pinned Locked Moved Unsolved Linux Problems
    23 Posts 3 Posters 2.2k Views
    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 @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
                              • Tom ElliottT
                                Tom Elliott @plegrand
                                last edited by

                                @plegrand I’m not sure i understand what you’re saying here.

                                If you installed Stable branch and it completed successfully you should be on 1.5.10.1673, not 1.5.10

                                Did it complete successfully?

                                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
                                  Sorry : 2aa2086a-ea94-413d-b7dc-552b5c667773-image.png

                                  Thanks for your help.
                                  It seems to works fine now

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

                                    @Tom-Elliott
                                    The upgrade to stable version completed successfully.
                                    I’m now on fog 1.5.10.1673
                                    Thanks again

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

                                    89

                                    Online

                                    12.2k

                                    Users

                                    17.4k

                                    Topics

                                    155.6k

                                    Posts
                                    Copyright © 2012-2025 FOG Project