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

FOG 1.6, identified problems

Scheduled Pinned Locked Moved Solved
FOG Problems
4
50
6.3k
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.
  • L
    lebrun78 @Sebastian Roth
    last edited by Nov 8, 2019, 1:06 PM

    @Sebastian-Roth said in FOG 1.6, identified problems:

    is the difference between 1.5.7.4
    Version 1.6 (for me): ChannelAlpha | Version1.5.7.733

    With your modification, advanced menu works fine 🙂

    where could I dowload client installer from the web interface ?

    Fog Version: Fog 1.5.10
    Server OS: AlmaLinux release 8.8

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Nov 8, 2019, 3:17 PM

      @lebrun78 said:

      where could I dowload client installer from the web interface ?

      As Tom is mostly working on this I can’t tell you from the top of my head. @Tom-Elliott?

      Though I can give you an official link: https://github.com/FOGProject/fog-client/releases/download/0.11.16/SmartInstaller.exe

      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
      • L
        lebrun78
        last edited by Nov 8, 2019, 3:56 PM

        New problem
        When I try to deploy via task , deploying works.
        But when I try to deploy by boot menu on the client, I get:

        http://fogus/fog/service/ipxe/boot.php...  HTTP 5xx Server Error (http://ipxe.org/1d0c6598)
        Could not boot: HTTP: 5xx Server Error (http://ipxe.org/1d0c6598)
        

        Thank you for your help,

        Arnaud

        Fog Version: Fog 1.5.10
        Server OS: AlmaLinux release 8.8

        1 Reply Last reply Reply Quote 0
        • S
          Sebastian Roth Moderator
          last edited by Nov 8, 2019, 5:06 PM

          @lebrun78 Please take a look at the apache and PHP-FPM error logs (see my signature) and post here. With 5xx server error we should get a proper message in the logs as well.

          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

          L 1 Reply Last reply Nov 12, 2019, 9:01 AM Reply Quote 0
          • T
            Tom Elliott
            last edited by Nov 8, 2019, 5:57 PM

            FOG Client url is:

            http://<ipoffog>/fog/management/index.php?node=client

            You can go to this url directly.

            The other way to access is to choose Client Settings -> Home Tab -> Then click the click here link.

            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

            T 1 Reply Last reply Nov 8, 2019, 6:03 PM Reply Quote 0
            • T
              Tom Elliott @Tom Elliott
              last edited by Tom Elliott Nov 8, 2019, 12:03 PM Nov 8, 2019, 6:03 PM

              Also,

              Added Link directly now to the Menu bar.

              Hopefully that helps make it so much more accessible.

              e87f0a79-c9e2-45d3-8608-b9ddb8848959-image.png

              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

              1 Reply Last reply Reply Quote 0
              • L
                lebrun78 @Sebastian Roth
                last edited by Nov 12, 2019, 9:01 AM

                @Sebastian-Roth said in FOG 1.6, identified problems:

                @lebrun78 Please take a look at the apache and PHP-FPM error logs (see my signature) and post here. With 5xx server error we should get a proper message in the logs as well.

                Hello Sebatian
                Here it is:
                [12-Nov-2019 08:41:49 UTC] PHP Warning: ftp_login(): Login incorrect. in /var/www/html/fog/lib/fog/fogftp.class.php on line 274

                @Tom-Elliott said in FOG 1.6, identified problems:

                Also,

                Added Link directly now to the Menu bar.

                Hopefully that helps make it so much more accessible.

                Thank you Tom-Elliott

                Fog Version: Fog 1.5.10
                Server OS: AlmaLinux release 8.8

                T 1 Reply Last reply Nov 12, 2019, 4:11 PM Reply Quote 0
                • T
                  Tom Elliott @lebrun78
                  last edited by Nov 12, 2019, 4:11 PM

                  @lebrun78 This error makes little sense.

                  I would understand the PHP error if you were actually in FOS environment, but you’re not. Your getting error 500 when loading the boot.php file.

                  Can you have a machine go to the boot.php file and tail the php-fpm error log? This should present the problem immediately. The boot.php doesn’t call FTP at that point, so this message seems unrelated (though would need to be fixed as well).

                  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

                  L 1 Reply Last reply Nov 12, 2019, 4:20 PM Reply Quote 0
                  • L
                    lebrun78 @Tom Elliott
                    last edited by Nov 12, 2019, 4:20 PM

                    @Tom-Elliott
                    I have nothin (so no error) in /var/log/php-fpm/www-error.log and /var/log/php-fpm/error.log when running boot.php on the client

                    Fog Version: Fog 1.5.10
                    Server OS: AlmaLinux release 8.8

                    1 Reply Last reply Reply Quote 0
                    • T
                      Tom Elliott
                      last edited by Tom Elliott Nov 12, 2019, 10:28 AM Nov 12, 2019, 4:28 PM

                      @lebrun78 said in FOG 1.6, identified problems:

                      http://fogus/fog/service/ipxe/boot.php

                      So if you go to the above url directly all returns properly?

                      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

                      L 1 Reply Last reply Nov 12, 2019, 4:30 PM Reply Quote 0
                      • L
                        lebrun78 @Tom Elliott
                        last edited by Nov 12, 2019, 4:30 PM

                        @Tom-Elliott
                        It seems ok:

                        #!ipxe
                        set fog-ip 148.60.15.217
                        set fog-webroot fog
                        set boot-url http://${fog-ip}/${fog-webroot}
                        cpuid --ext 29 && set arch x86_64 || set arch i386
                        goto get_console
                        :console_set
                        colour --rgb 0x00567a 1 ||
                        colour --rgb 0x00567a 2 ||
                        colour --rgb 0x00567a 4 ||
                        cpair --foreground 7 --background 2 2 ||
                        goto MENU
                        :alt_console
                        cpair --background 0 1 ||
                        cpair --background 1 2 ||
                        goto MENU
                        :get_console
                        console --picture http://148.60.15.217/fog/service/ipxe/bg-plateforme.png --left 100 --right 80 && goto console_set || goto alt_console
                        :MENU
                        menu
                        colour --rgb 0xff0000 0 ||
                        cpair --foreground 1 1 ||
                        cpair --foreground 0 3 ||
                        cpair --foreground 4 4 ||
                        item --gap Host is NOT registered!
                        item --gap -- -------------------------------------
                        item fog.local Boot from hard disk
                        item fog.memtest Run Memtest86+
                        item fog.reginput Perform Full Host Registration and Inventory
                        item fog.reg Quick Registration and Inventory
                        item fog.deployimage Deploy Image
                        item fog.multijoin Join Multicast Session
                        item fog.advancedlogin Advanced Menu
                        choose --default fog.local --timeout 3000 target && goto ${target}
                        :fog.local
                        chain -ar ${boot-url}/service/ipxe/grub.exe --config-file="rootnoverify (hd0);chainloader +1" || goto MENU
                        :fog.memtest
                        kernel memdisk initrd=memtest.bin iso raw
                        initrd memtest.bin
                        boot || goto MENU
                        :fog.reginput
                        kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://148.60.15.217/fog/ consoleblank=0 rootfstype=ext4 storage=148.60.15.217:/images/ storageip=148.60.15.217 loglevel=4 mode=manreg
                        imgfetch init_32.xz
                        boot || goto MENU
                        :fog.reg
                        kernel bzImage32 loglevel=4 initrd=init_32.xz root=/dev/ram0 rw ramdisk_size=275000 web=http://148.60.15.217/fog/ consoleblank=0 rootfstype=ext4 storage=148.60.15.217:/images/ storageip=148.60.15.217 loglevel=4 mode=autoreg
                        imgfetch init_32.xz
                        boot || goto MENU
                        :fog.deployimage
                        #login
                        params
                        param mac0 ${net0/mac}
                        param arch ${arch}
                        param hostname ${hostname}
                        goto host_${hostname} || goto autres
                        :host_bug
                        :host_win10-3
                        :host_i207m01
                        :host_i207m02
                        :host_i207m03
                        :host_i207m04
                        :host_i207m05
                        :host_i207m06
                        :host_i207m07
                        :host_i207m08
                        :host_i207m09
                        :host_i207m10
                        set username i207stud
                        set password coucou
                        params
                        param username i207stud
                        param password coucou
                        param qihost 1
                        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                        goto fin
                        :autres
                        login
                        params
                        param username ${username}
                        param password ${password}
                        param qihost 1
                        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                        :fin
                        param sysuuid ${uuid}
                        :fog.multijoin
                        login
                        params
                        param mac0 ${net0/mac}
                        param arch ${arch}
                        param username ${username}
                        param password ${password}
                        param sessionJoin 1
                        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                        param sysuuid ${uuid}
                        :fog.advancedlogin
                        login
                        params
                        param mac0 ${net0/mac}
                        param arch ${arch}
                        param username ${username}
                        param password ${password}
                        param advLog 1
                        isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                        isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                        param sysuuid ${uuid}
                        :bootme
                        chain -ar http://148.60.15.217/fog/service/ipxe/boot.php##params ||
                        goto MENU
                        autoboot
                        

                        Fog Version: Fog 1.5.10
                        Server OS: AlmaLinux release 8.8

                        T 2 Replies Last reply Nov 12, 2019, 4:40 PM Reply Quote 0
                        • T
                          Tom Elliott @lebrun78
                          last edited by Nov 12, 2019, 4:40 PM

                          @lebrun78 You have a custom Boot.php file?

                          Maybe the output from PHP is perfect, but how IPXE is interpretting the information is causing the issue.

                          I’m very confused what you’re trying to do with your menu. And it’s almost difficult to break it down to it’s constituant parts.

                          Can you reset your “Deploy” ipxe menu to:

                          params
                          param mac0 ${net0/mac}
                          param arch ${arch}
                          param username ${username}
                          param password ${password}
                          param qihost 1
                          isset ${net1/mac} && param mac1 ${net1/mac} || goto bootme
                          isset ${net2/mac} && param mac2 ${net2/mac} || goto bootme
                          

                          and see if things are working. Feel free to copy your original menu items too, so you don’t lose it, but my guess is the error you’re seeing is in your customization.

                          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

                          L 1 Reply Last reply Nov 13, 2019, 10:02 AM Reply Quote 0
                          • L
                            lebrun78 @Tom Elliott
                            last edited by Nov 13, 2019, 10:02 AM

                            @Tom-Elliott

                            Hello

                            I tried by resetting the menu; but that does not work, the deploy menu runs in a loop.

                            The configuration on my test server was recovered by restoring the server’s mysql database in 1.4.4, so the boot menus are normally good

                            Fog Version: Fog 1.5.10
                            Server OS: AlmaLinux release 8.8

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sebastian Roth Moderator
                              last edited by Nov 13, 2019, 10:52 AM

                              @lebrun78 said in FOG 1.6, identified problems:

                              The configuration on my test server was recovered by restoring the server’s mysql database in 1.4.4, so the boot menus are normally good

                              Uhhhhmmm, not a good idea. FOG 1.6 is quite different to 1.5.x and even more to 1.4.4!! I am pretty sure your setup is now totally messed up with a DB recovery form 1.4.4 state.

                              When you initially setup the 1.6 server, did you install plain from scratch or did you start from a copy of an old server? It’s very hard to help if we only know part of what exactly you did.

                              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

                              L 1 Reply Last reply Nov 13, 2019, 11:29 AM Reply Quote 0
                              • L
                                lebrun78
                                last edited by Nov 13, 2019, 10:57 AM

                                it’s a brand new server, (new hardware, new centos 8.0 distribution) except the fog database I restored.
                                I would like to keep machines, images, snapins configurations

                                Fog Version: Fog 1.5.10
                                Server OS: AlmaLinux release 8.8

                                1 Reply Last reply Reply Quote 0
                                • L
                                  lebrun78 @Sebastian Roth
                                  last edited by Nov 13, 2019, 11:29 AM

                                  @Sebastian-Roth
                                  with the restoration of the base, it seemed to work well.
                                  Should I restart from scratched, installed and import from 1.4.4 export files for images, hosts, snapins?

                                  Fog Version: Fog 1.5.10
                                  Server OS: AlmaLinux release 8.8

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by Nov 13, 2019, 11:33 AM

                                    @lebrun78 said in FOG 1.6, identified problems:

                                    Should I restart from scratched, installed and import from 1.4.4 export files for images, hosts, snapins

                                    Definitely better to ex/import that stuff instead of using a complete DB dump from 1.4.4!!

                                    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
                                    • T
                                      Tom Elliott @lebrun78
                                      last edited by Nov 13, 2019, 11:54 AM

                                      @lebrun78 I’m not understanding here.

                                      You made a change only to put it back in place and then test and found it’s still an issue?

                                      This doesn’t make sense to me.

                                      You have some customization going on. I don’t know where in the customization the issue is occurring.

                                      By having it clean, you should be at what is needed for things when they’re working properly.

                                      If you’re still getting error 500 from the boot.php, then chances are you will have an error in your php-fpm/www-error.log

                                      You are trying to do too many things and we can’t help you if you’re doing that.

                                      “I did that, but then I did this and it still isn’t working” doesn’t help because we don’t know at what point things stopped working.

                                      If you started with a 100% clean database, do things work? I’d imagine if it were such a problem, i’d be seeing it too as I run working-1.6 for testing.

                                      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

                                      1 Reply Last reply Reply Quote 0
                                      • L
                                        lebrun78
                                        last edited by Nov 13, 2019, 3:44 PM

                                        Trying to import from an 1.4.4 export unsuccessful for images,hosts and users .
                                        Is there log for imports ?

                                        Fog Version: Fog 1.5.10
                                        Server OS: AlmaLinux release 8.8

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          Sebastian Roth Moderator
                                          last edited by Nov 13, 2019, 4:54 PM

                                          @lebrun78 Have you checked the apache and PHP-FPM logs yet? See my signature.

                                          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

                                          L 1 Reply Last reply Nov 14, 2019, 8:26 AM Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 1 / 3
                                          1 / 3
                                          • First post
                                            14/50
                                            Last post

                                          229

                                          Online

                                          12.1k

                                          Users

                                          17.3k

                                          Topics

                                          155.3k

                                          Posts
                                          Copyright © 2012-2024 FOG Project