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

    Yum-cron default safe for FOG?

    Scheduled Pinned Locked Moved Unsolved
    General
    3
    6
    1.5k
    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.
    • S
      Soph.jpg
      last edited by

      Wanting to set up yum-cron for my server for auto updates so I don’t have to remember to run yum update all the time. I was wondering if, since cron’s defualt is upgrade not update, it is safe for a FOG enviroment? Thanks!

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

        We need to know your OS distribution & version and fog version to give you the best advice.

        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 1
        • S
          Soph.jpg
          last edited by

          Of course! Sorry new to this… CentOS7, FOG 1.3.5

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            I’m not aware of “yum upgrade vs. yum update”.

            What I am aware of is:

            From source
            “yum upgrade forces the removal of obsolete packages, while yum update may or may not also do this. The removal of obsolete packages can be risky, as it may remove packages that you use.”

            So either form is bound to cause potential problems.

            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 1
            • Wayne WorkmanW
              Wayne Workman @Soph.jpg
              last edited by Wayne Workman

              @Soph.jpg I would recommend against updating the OS without immediately also updating FOG to the latest stable afterwards.

              I intensely test 9 different Linux distributions daily against the latest fog installer code & the latest patches for said distros for quality control - this is an automated process. I am fairly confident that FOG or OS updates specifically will not break the installation process for the master branch of FOG - because we will catch it in the lower-tier branches. Of course something environment specific could break it for you though - and then you’d be down until you figured that out.

              Scripting the automatic updating and installation of fog is not complex, it’s a couple of lines. cd to the correct git directory, git checkout master;git pull;cd bin;./installfog.sh -y and you’re off to the races. If you want to get fancy, it’s very easy to setup this so that you can get a success/failure message on Slack when these things happen.

              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
              • S
                Soph.jpg
                last edited by

                @Wayne-Workman Thanks so much! Setting up auto updates will be next on the list 🙂

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

                159

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project