• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.4k
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.
  • X
    x23piracy
    last edited by x23piracy Sep 22, 2017, 2:48 PM Sep 22, 2017, 8:46 PM

    Hi,

    is it possible to add a client banner image migration code line to keep the pure file in filesystem if it’s not the default one? I would not except that someone names it exactly like the default but if we should keep it always but could be contrac productive if the default one should be updated anytime, a possible solution would be a file sizecheck or hash.

    Regards X23

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

    1 Reply Last reply Reply Quote 0
    • W
      Wayne Workman
      last edited by Sep 22, 2017, 11:08 PM

      What do you mean by client banner? Where is this file located? What’s it for?

      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/

      X 1 Reply Last reply Sep 23, 2017, 11:00 AM Reply Quote 0
      • X
        x23piracy @Wayne Workman
        last edited by x23piracy Sep 23, 2017, 5:08 AM Sep 23, 2017, 11:00 AM

        @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

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

        W 1 Reply Last reply Sep 23, 2017, 7:58 PM Reply Quote 0
        • W
          Wayne Workman @x23piracy
          last edited by Sep 23, 2017, 7:58 PM

          @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/

          X 1 Reply Last reply Sep 24, 2017, 7:37 PM Reply Quote 1
          • X
            x23piracy @Wayne Workman
            last edited by x23piracy Sep 24, 2017, 1:37 PM Sep 24, 2017, 7:37 PM

            @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?

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

            W 2 Replies Last reply Sep 25, 2017, 2:45 PM Reply Quote 0
            • W
              Wayne Workman @x23piracy
              last edited by Sep 25, 2017, 2:45 PM

              @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
              • W
                Wayne Workman @x23piracy
                last edited by Sep 27, 2017, 4:54 AM

                @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 Oct 18, 2017, 8:08 PM

                  @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
                  • X
                    x23piracy
                    last edited by x23piracy Oct 19, 2017, 12:50 AM Oct 19, 2017, 6:49 AM

                    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

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

                    T 1 Reply Last reply Oct 21, 2017, 7:18 PM Reply Quote 0
                    • T
                      Tom Elliott @x23piracy
                      last edited by Oct 21, 2017, 7:18 PM

                      @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

                      X 1 Reply Last reply Oct 23, 2017, 9:42 AM Reply Quote 1
                      • X
                        x23piracy @Tom Elliott
                        last edited by Oct 23, 2017, 9:42 AM

                        @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 Oct 23, 2017, 10:43 AM

                          @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

                          240

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project