Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Embedded pfsense deleting custom themes after update

    Scheduled Pinned Locked Moved General pfSense Questions
    6 Posts 2 Posters 1.2k Views
    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
      bradcis
      last edited by

      I have made a custom pfsense theme that I just drop into /usr/local/www/themes and it works just fine on my normal hdd installs of pfsense but I just loaded up an embedded pfsense and after running the update from 2.1.3 to 2.1.4 my custom theme files were deleted out of /usr/local/www/themes. Is there anyway to prevent this from happening on embedded systems? Why would this happen?

      1 Reply Last reply Reply Quote 0
      • stephenw10S
        stephenw10 Netgate Administrator
        last edited by

        Do you mean the embedded kernel on a standard install or a Nano image?
        The Nano images use a separate slice when you update so only things copied across and the shared config slide are kept.

        Steve

        1 Reply Last reply Reply Quote 0
        • B
          bradcis
          last edited by

          It's nano. So you are saying I can't get my theme files to persist through the update?

          1 Reply Last reply Reply Quote 0
          • stephenw10S
            stephenw10 Netgate Administrator
            last edited by

            You can use the 'files ' package if your theme is all text script (not compiled).

            Steve

            1 Reply Last reply Reply Quote 0
            • B
              bradcis
              last edited by

              Can you give me a little more detail?
              All I have done is take an existing theme on a running pfsense and change the graphic files. I don't know how to make a theme from scratch.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                The 'files' package allows you to store custom scripts within the config file such that they would be reinstated after a firmware upgrade. You can only store text based files though so no images or binaries.
                You may be able to store images in /conf , the config slice, and then point at them in the theme instead. I'm not sure I've never tried any theming.

                Steve

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.