August 13, 20196 yr 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?
August 13, 20196 yr 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?
August 13, 20196 yr Author 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.
August 13, 20196 yr Community Expert There is a missing / character at the start of the second parameter to the cp command.
Archived
This topic is now archived and is closed to further replies.