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

Unable to install fog on Rocky Linux

Scheduled Pinned Locked Moved
FOG Problems
3
7
1.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.
  • B
    Bimahi
    last edited by Sebastian Roth Jun 24, 2021, 10:23 AM Jun 24, 2021, 2:22 PM

    I am attempting to install FOG on Rocky Linux and am having issues with the installer. The installer runs without issues until it asks me to configure the databases from the management console, at which point I get an error 503 when I connect to the webpage. Hitting enter to continue the install causes the installation to fail due to unconfigured databases.

    1 Reply Last reply Reply Quote 0
    • B
      Bristow 0
      last edited by Bristow 0 Jun 24, 2021, 9:33 AM Jun 24, 2021, 3:20 PM

      Did all packages install properly?

      Rocky Linux doesn’t seem to be a natively supported distribution, so are the requirements ok (https://wiki.fogproject.org/wiki/index.php/Installation#Requirements)?

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jun 24, 2021, 3:30 PM

        @Bimahi Haven’t tried Rocky Linux yet. Good chance to give it a go. Will let you know soon.

        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
        • S
          Sebastian Roth Moderator
          last edited by Jun 24, 2021, 4:25 PM

          @Bimahi Just did a test on a fresh clean Rocky 8 install and it all worked out of the box. When asked to access the web interface to create the database schema I did not run into a 503 error as you described.

          Did you add external repos or even installed PHP beforehand?

          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 1
          • B
            Bimahi
            last edited by Jun 25, 2021, 8:09 AM

            I figured it out, I needed to add the epel-release package by running:
            # dnf install epel-release
            thanks for pointing me in the right direction.

            1 Reply Last reply Reply Quote 0
            • S
              Sebastian Roth Moderator
              last edited by Jun 25, 2021, 8:20 AM

              @Bimahi I think the installer should take care of adding the repo for you if needed. Though I am not exactly sure from the top of my head.

              Anyhow, I did a minimal fresh install of Rocky Linux Yesterday, no manual repo added and FOG install on top ran perfectly fine. I am wondering what the difference to your setup was.

              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
              • B
                Bimahi
                last edited by Bimahi Jun 25, 2021, 3:54 AM Jun 25, 2021, 9:44 AM

                The only difference between yesterday and today was manually adding the repo, I’m not sure why it just instantly worked as soon as I did that. The major difference I can tell is that I have two ethernet cards, 1 internet connectivity, and 1 for the imaging network. Another service I’m running is sshd for remote control.

                Before I installed the extra repo when I would run the script it would run without error and installed everything that it needed, and then it broke afterwards.

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

                176

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project