• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
983
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 Oct 27, 2022, 10:55 PM

    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?

    G 1 Reply Last reply Oct 28, 2022, 12:36 AM Reply Quote 0
    • G
      george1421 Moderator @kibade
      last edited by Oct 28, 2022, 12:36 AM

      @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 Oct 31, 2022, 5:00 PM Reply Quote 0
      • K
        kibade @george1421
        last edited by Oct 31, 2022, 5:00 PM

        @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.
        
        G 1 Reply Last reply Oct 31, 2022, 5:30 PM Reply Quote 0
        • G
          george1421 Moderator @kibade
          last edited by Oct 31, 2022, 5:30 PM

          @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
          • W
            Wayne Workman
            last edited by Nov 1, 2022, 3:35 AM

            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 Dec 7, 2022, 7:12 PM Reply Quote 0
            • L
              lukebarone @Wayne Workman
              last edited by Dec 7, 2022, 7:12 PM

              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 Dec 7, 2022, 1:14 PM Dec 7, 2022, 7:13 PM

                @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 Dec 7, 2022, 9:55 PM Reply Quote 0
                • L
                  lukebarone @Sebastian Roth
                  last edited by Dec 7, 2022, 9:55 PM

                  @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 Dec 11, 2022, 4:23 PM

                    @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 Dec 12, 2022, 8:07 PM Reply Quote 0
                    • L
                      lukebarone @Sebastian Roth
                      last edited by Dec 12, 2022, 8:07 PM

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

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

                      239

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project