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

    Fedora 22 Server - issues with installer

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    4
    7
    3.8k
    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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by

      Earlier today, I was helping install FOG Trunk via Team Viewer for @ftgjason on Fedora 22 Server.

      The installer failed over and over on the mysql bits, and on installing the various services… like all of the services that try in the early part of installation…

      I manually installed everything listed in the script using dnf
      And, I had to change /lib/redhat/functions.sh

      I changed the lines:
      [CODE]service mysqld restart
      service mysqld enable[/CODE]

      to:

      [CODE]service mariadb restart
      service mariadb enable[/CODE]

      And, instead of installing the DB using
      [CODE]dnf install -y mysql mysql-server[/CODE]

      I had to use:
      [CODE]dnf install -y mariadb mariadb-server[/CODE]

      I was talking to @Tom-Elliott about it earlier, he said

      617 if [ “$RHVER” == “7” -o “$linuxReleaseName” == “Fedora” ]; then
      618 systemctl=“yes”;
      619 systemctl enable mariadb.service >/dev/null 2>&1;
      620 systemctl restart mariadb.service >/dev/null 2>&1;
      621 else

      that’s the installer

      the else is

      service mysqld restart

      So, for some reason, Fedora 22 Server failed that check above… don’t know why…

      Just bringing these things to attention…

      I’m going to go out on a limb and assume that because this check was failed for the MariaDB parts, this is why pretty much every single other package failed also.

      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/

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

        Also,

        @ftgjason said that hostname changing during imaging didn’t work for him. It was for a Win7 image. No idea why that didn’t work… maybe I installed the wrong package for it or something… idk. Maybe something is weird with his image… again idk…

        And, we did reboot the server and everything seemed fine, but then he said that the DB stopped working and he was getting errors. So perhaps one of the enable commands didn’t work… probably due to the version check for the OS failing… again I have zero ideas…

        Although I would suspect that if the version check worked, all would be just fine if he svn up’d and re-ran the installer.

        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/

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

          Maybe in the installer, there should be an option JUST for fedora?

          I know this has come up before in another thread… it might be for the best to just separate Fedora from the other RedHat stuff and let the user say what the OS is.

          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/

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

            I just verified that r3530 and r3549 successfully do an early hostname change on Windows XP.

            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/

            1 Reply Last reply Reply Quote 0
            • X
              xvierc
              last edited by

              It looks like it’s from this part of the .install.sh script where it tries to detect the distribution:

              if [ -f "/etc/os-release" ]; then
              	linuxReleaseName=`sed -n 's/^NAME="\(.*\)"/\1/p' /etc/os-release`;
              else
              	linuxReleaseName=`cat /etc/*release* 2>/devnull | head -n1 | awk '{print $1}'`;
              fi
              

              On Fedora 22 the installation has issues because there are no quotes around NAME’s value, so linuxReleaseName returns empty instead of with Fedora.

              Debian 8 also has installation issues related to this. Debian has the quotes, but the value is “Debian GNU/Linux” and the other scripts are looking for just “Debian”.

              1 Reply Last reply Reply Quote 1
              • cspenceC
                cspence Developer
                last edited by

                3554 appears to have this fixed thanks to Tom.

                1 Reply Last reply Reply Quote 0
                • A
                  angelsomething
                  last edited by

                  Another thing to keep in mind is that the installer will require remi repo.
                  http://www.2daygeek.com/enable-remi-repository-centos-fedora-rhel/#

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

                  199

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project