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

    Installing 1.5.9 on Debian Bullseye fails

    Scheduled Pinned Locked Moved
    FOG Problems
    5
    10
    984
    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.
    • K
      kibade
      last edited by

      I have a fresh Debian Bullseye install. I cloned fog 1.5.9. Running ./install.sh initially failed on the php-gettext, but found on this forum that you edit lib/ubuntu/config.sh and change php-gettext to php-php-gettext. That worked.

      However, now it failed with this error:

      Failed to stop php-fpm.service: Unit php-fpm.service not loaded.
      

      It should be called php7.4-fpm.service

      systemctl status php7.4-fpm.service
      ● php7.4-fpm.service - The PHP 7.4 FastCGI Process Manager
           Loaded: loaded (/lib/systemd/system/php7.4-fpm.service; enabled; vendor preset: enabled)
           Active: active (running) since Thu 2022-10-27 15:15:51 PDT; 22min ago
      

      Is there a method I could correct this on my install like I did with the package list?

      george1421G 1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator @kibade
        last edited by

        @kibade Please switch over to the dev branch and try your install again. FOg 1.5.9.115 or later should support bullseye.

        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!

        K 1 Reply Last reply Reply Quote 0
        • K
          kibade @george1421
          last edited by

          @george1421 Just installed the Dev-Branch and it worked. Everything looks great 🙂
          Thanks.

          One minor point, even though I selected N for DHCP service

          * Using FOG DHCP: No
           * DHCP will NOT be setup but you must setup your
           | current DHCP server to use FOG for PXE services.
          

          It still installed isc-dhcp-server

          * Installing package: isc-dhcp-server.........................OK
          

          I confirm it didn’t enable dhcp, just odd that it installed the package.

          * Setting up and starting DHCP Server.........................Skipped
          
          systemctl status isc-dhcp-server.service
          ● isc-dhcp-server.service - LSB: DHCP server
               Loaded: loaded (/etc/init.d/isc-dhcp-server; generated)
               Active: failed (Result: exit-code) since Mon 2022-10-31 09:48:44 PDT; 5min ago
                 Docs: man:systemd-sysv-generator(8)
                  CPU: 47ms
          
          Oct 31 09:48:42 fog dhcpd[53890]: before submitting a bug.  These pages explain the proper
          Oct 31 09:48:42 fog dhcpd[53890]: process and the information we find helpful for debugging.
          Oct 31 09:48:42 fog dhcpd[53890]:
          Oct 31 09:48:42 fog dhcpd[53890]: exiting.
          Oct 31 09:48:44 fog isc-dhcp-server[53875]: Starting ISC DHCPv4 server: dhcpdcheck syslog for diagnostics. ...
          Oct 31 09:48:44 fog isc-dhcp-server[53895]:  failed!
          Oct 31 09:48:44 fog isc-dhcp-server[53896]:  failed!
          Oct 31 09:48:44 fog systemd[1]: isc-dhcp-server.service: Control process exited, code=exited, status=1/FAILURE
          Oct 31 09:48:44 fog systemd[1]: isc-dhcp-server.service: Failed with result 'exit-code'.
          Oct 31 09:48:44 fog systemd[1]: Failed to start LSB: DHCP server.
          
          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @kibade
            last edited by

            @kibade So do you need dhcp services or not from the fog server? We’ll need to look into why when you say no, it installs the dhcp services but not configures them. I guess in the end it will not create a functional dhcp server, but still something appears a bit messed up.

            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!

            1 Reply Last reply Reply Quote 0
            • Wayne WorkmanW
              Wayne Workman
              last edited by

              I opened a GitHub issue for the DHCP thing: https://github.com/FOGProject/fogproject/issues/510

              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!
              Daily Clean Installation Results:
              https://fogtesting.fogproject.us/
              FOG Reporting:
              https://fog-external-reporting-results.fogproject.us/

              L 1 Reply Last reply Reply Quote 0
              • L
                lukebarone @Wayne Workman
                last edited by

                If there is no one starting on this, I’d love to take a crack at it.

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

                  @lukebarone You mean Debian bullseye support? This was fixed in FOG dev-branch months ago… But you are more than welcome to help with FOG. Are you good with bash scripting?

                  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 Reply Quote 0
                  • L
                    lukebarone @Sebastian Roth
                    last edited by

                    @sebastian-roth I believe I am. The pull request I opened works on a fresh Bullseye install (does not include isc-dhcp-server if the user answers N or passes -y to the installer).

                    Link: https://github.com/FOGProject/fogproject/pull/522

                    In terms of Debian Bullseye support, I know this is working in dev-branch. I worked on just the DHCP server part that @kibade mentioned, and @george1421 mentioned.

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

                      @lukebarone said in Installing 1.5.9 on Debian Bullseye fails:

                      Link: https://github.com/FOGProject/fogproject/pull/522

                      Ahhh, I see. This is not specific for Debian Bullseye but ought to work for any of the supported distros as far as I can see. Thanks!

                      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 Reply Quote 0
                      • L
                        lukebarone @Sebastian Roth
                        last edited by

                        @kibade This is fixed in the latest dev-branch on Github.

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

                        219

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project