RockDawg Posted August 13, 2019 Share Posted August 13, 2019 A few weeks ago a read about people customizing the UI a bit and did a bit myself in changing the font colors. It looked great and was working fine but today I rebooted my server and the UI is all messed up. No background or buttons and the text is all misaligned and stuff. If I select another theme everything is OK. So I must have butchered something and I wnet to see what was up and I can't find default-black.css under /usr/local/emhttp/plugins/dynamix/styles. default-azure.css, default-gray.css and default-white.css are there but not black. Why would it disappear and how do I get/put it back? Quote Link to comment
Squid Posted August 13, 2019 Share Posted August 13, 2019 Are you running a script via user scripts or via the go file that 11 minutes ago, RockDawg said: A few weeks ago a read about people customizing the UI a bit and did a bit myself in changing the font colors. is applying your changes? 1 Quote Link to comment
RockDawg Posted August 13, 2019 Author Share Posted August 13, 2019 I'm glad you mentioned this as I totally forgot the need to run a script to make the change persistent. Yes I am using user scripts. Here is the script it runs at startup of aray: #!/bin/bash rm -r /usr/local/emhttp/plugins/dynamix/styles/default-black.css cp /boot/config/custom-skin-file/default-black.css usr/local/emhttp/plugins/dynamix/styles/ So that explains why the file is missing. Because the script removed it. But it can't copy the modified file. The log shows: Script Starting Tue, 13 Aug 2019 12:52:56 -0400 Full logs for this script are available at /tmp/user.scripts/tmpScripts/custom theme/log.txt cp: cannot create regular file 'usr/local/emhttp/plugins/dynamix/styles/': No such file or directory Script Finished Tue, 13 Aug 2019 12:52:56 -0400 If I manually hit the Run Script button it works. Quote Link to comment
itimpi Posted August 13, 2019 Share Posted August 13, 2019 There is a missing / character at the start of the second parameter to the cp command. 1 Quote Link to comment
RockDawg Posted August 13, 2019 Author Share Posted August 13, 2019 Boy do I feel stupid. That fixed it. Thanks! Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.