Upgrade to 2.2.2 - theme gone
-
Dear pfsense community,
A while back I have seen to customize the "code-red" theme with custom colors and images - I've fetched a copy of it and renamed the folder to "new-skin" and obviously uploaded it onto the theme folder with the believe that a custom named theme folder won't be overwritten when an update is due. Today however once I upgraded to 2.2.2 my theme was completely removed , even it's folder.
Question: Is there a way to prevent this from happening? I would really love to use my custom theme but I'm afraid this will happen again after every upgrade.
Some expert advice would be very much appreciated.
Thank you very much,
voip -
Are you using nanobsd?
-
Yes, I am using pfsense on nanobsd
-
Well, then the only way to preserve themes is using something like Filer package to upload them. On nanobsd upgrade, the entire slice is overwritten.
-
Don't spend alot of time customizing personalizing the look and feel something you have to nuke regularly…
-
Well, then the only way to preserve themes is using something like Filer package to upload them. On nanobsd upgrade, the entire slice is overwritten.
Thank you very much for your reply. This sounds quite interesting however I am not entirely sure how I can approach this with the filer package. I have seen to install the package on my pfsense firewall installation, however I don't know how to upload or store my theme files using this particular interface.
Some expert advise would be really appreciated.
Thank you very much and best regards,
David -
Uhm… Click the + button in Diagnostics - Filer.
-
Question: Is there a way to prevent this from happening? I would really love to use my custom theme but I'm afraid this will happen again after every upgrade.
Its more easy then you think.
Always keep a local copy of what you change on a system like pfSEnse (server, any remote device). -
Thank you very much, I have managed to get the files up on FILER, however I am not sure which permisson I would need to set in order to prevent my specific theme folder from being overwritten. Would 444 work or should I use another?
Kindly advise and thank you verymuch
-
Why don't you just look at the permissions of the current ones? E.g.
$ ls -l /usr/local/www/themes/pfsense_ng_fs/ total 150 -rw-r--r-- 1 root wheel 29014 May 5 04:22 all.css -rw-r--r-- 1 root wheel 28792 Aug 25 2014 all.css.orig -rwxr-xr-x 1 root wheel 4068 May 5 04:22 apple-touch-icon.png -rw-r--r-- 1 root wheel 349 May 5 04:22 bottom-loader.js -rw-r--r-- 1 root wheel 1406 May 5 04:22 favicon.ico -rw-r--r-- 1 root wheel 1218 May 5 04:22 graphlink.css drwxr-xr-x 5 root wheel 1024 May 5 13:19 images drwxr-xr-x 4 root wheel 512 May 5 13:19 javascript drwxr-xr-x 2 root wheel 512 May 5 13:19 jsevents -rw-r--r-- 1 root wheel 9478 May 5 04:22 loader.js -rw-r--r-- 1 root wheel 21297 May 5 04:22 login.css -rw-r--r-- 1 root wheel 6856 May 5 04:22 menu.inc -rw-r--r-- 1 root wheel 3726 May 5 04:22 new_tab_menu.css -rw-r--r-- 1 root wheel 10 May 5 04:22 no_big_logo -rw-r--r-- 1 root wheel 3962 May 5 04:22 rrdcolors.inc.php drwxr-xr-x 2 root wheel 512 May 5 13:19 styles -rw-r--r-- 1 root wheel 21003 May 5 04:22 wizard.css