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

    Migrate custom client banner image in filesystem when updating

    Scheduled Pinned Locked Moved Solved
    Feature Request
    4
    12
    2.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.
    • x23piracyX
      x23piracy @Wayne Workman
      last edited by x23piracy

      @wayne-workman oh to unprecise…

      look here:

      talking about the fog clients custom logo:

      Bild Text

      Bild Text

      This gets lost on updating, not the settings, but the custom file in filesystem path, you always have to copy it from the backup path back to its place. It would be really convenient if it could be kept.

      ../service/ipxe/filename.png
      

      Check if current banner sha is same as default one, then skip keeping it, if different keep it.

      Regards X23

      ║▌║█║▌│║▌║▌█

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

        @x23piracy I can fix that - give me a bit.

        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/

        x23piracyX 1 Reply Last reply Reply Quote 1
        • x23piracyX
          x23piracy @Wayne Workman
          last edited by x23piracy

          @wayne-workman take your time, i thougth about that often but never made the request.
          I think you are going to extend the fog install script for it?

          ║▌║█║▌│║▌║▌█

          Wayne WorkmanW 2 Replies Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @x23piracy
            last edited by

            @x23piracy said in Migrate custom client banner image in filesystem when updating:

            I think you are going to extend the fog install script for it?

            Yep, probably by one line.

            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 2
            • Wayne WorkmanW
              Wayne Workman @x23piracy
              last edited by

              @x23piracy I just looked into this - I cannot replicate. I’ve tried both with master branch and working branch. Also, it would appear that the image is placed into /var/www/fog/management/other/

              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
                Sebastian Roth Moderator
                last edited by

                @x23piracy Have you looked into this again?

                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
                • x23piracyX
                  x23piracy
                  last edited by x23piracy

                  Hi,

                  i am still not sure if the banner will be kept when updating.
                  I was helping some guy remotely and we updated fog after that he was missing his banner.

                  Then i digged in the backup and copied it back to it’s place, that was the reason i’ve opened this here.

                  Afai remember in the past (older releases) we also had to copy a custom pxe background again and again if fog has been updated. So i am not sure what is kept and what not.

                  So what i want is to know is, do current releases keep the banner if there is a custom one?

                  Regards X23

                  ║▌║█║▌│║▌║▌█

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @x23piracy
                    last edited by

                    @x23piracy If you use the “copybackold” element it will copy back all original files from the backup it generates.

                    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

                    x23piracyX 1 Reply Last reply Reply Quote 1
                    • x23piracyX
                      x23piracy @Tom Elliott
                      last edited by

                      @tom-elliott oh, didn’t knew that, this is a switch for the installer script?

                      Regards X23

                      ║▌║█║▌│║▌║▌█

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

                        @x23piracy Installer switch --oldcopy and/or .fogsettings parameter copybackold=…

                        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
                        • 1 / 1
                        • First post
                          Last post

                        204

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project