Squid Posted April 7, 2017 Share Posted April 7, 2017 (edited) CA Config Editor A simple plugin to allow you to easily edit any of unRaid's configuration files (or actually any file on your server) within your browser without having to go to the command line. (including syslinux.cfg) While most of unRaid's settings are available to be modified within its webUI, there are some cases where it is required / desired to manually edit them. This plugin will allow you to do that. Backups of files edited are automatically created (filename.bak), and can be restored by copying from the backup window. Additionally, any file present on your server in any folder can also be edited beyond the .cfg files that shortcuts are available for. This is helpful for when a docker application requires you to make some changes within its config files in the appdata folder, but either permissions prevent you from doing this over the network, or you're not familiar with the command line. The usual warnings apply: Changes to the configuration files could have unintended results if you enter in wrong values. Install it via the Apps Tab (where else?). Either go to the CA Modules section, or search for Config and scroll down to CA Config Editor. Once installed, you can find the plugin within the Tools tab. Edited July 15, 2017 by Squid 7 Quote Link to comment
CHBMB Posted April 7, 2017 Share Posted April 7, 2017 Nice.....Might want to add a disclaimer that you only support the plugin and not the potential problems people can find themselves in by modifying stuff though mate. Quote Link to comment
trurl Posted April 7, 2017 Share Posted April 7, 2017 1 hour ago, CHBMB said: Nice..... Might want to add a disclaimer that you only support the plugin and not the potential problems people can find themselves in by modifying stuff though mate. WOW! Cool AND Scary! What more could you want! And it works as a file viewer of course. No more launching puTTY just to look at something. Midnight Commander F3 and F4 are now obsolete! Quote Link to comment
kizer Posted April 7, 2017 Share Posted April 7, 2017 Nice Touch with the auto Backfile Creation I love the fact I can drill down to my Flash Drive and edit all of my user.scripts too Quote Link to comment
Squid Posted April 7, 2017 Author Share Posted April 7, 2017 4 minutes ago, kizer said: edit all of my user.scripts too Easier doing the user scripts within the plugin itself. No drilling req. Quote Link to comment
kizer Posted April 7, 2017 Share Posted April 7, 2017 Hey Thanks for that Reply. I didn't realize there was an update to user.scripts. Nice Job. I like it. Quote Link to comment
CHBMB Posted April 7, 2017 Share Posted April 7, 2017 6 hours ago, trurl said: WOW! Cool AND Scary! What more could you want! That really did make me laugh out loud! Quote Link to comment
Squid Posted April 8, 2017 Author Share Posted April 8, 2017 (edited) ( ^ in case you don't know what cr/lf mean) - Various improvements in the UI and error handling - Fixed: Preserve Linux or DOS style line endings when saving by default (previously, would save everything in linux format regardless of the source format) - Added: Ability to switch between Linux or DOS style line endings Edited April 8, 2017 by Squid 2 Quote Link to comment
CHBMB Posted April 8, 2017 Share Posted April 8, 2017 Not all of us are old enough to remember typewriters......I am, but that's not the point.Good sentiment though. Lol Quote Link to comment
Squid Posted April 9, 2017 Author Share Posted April 9, 2017 On 4/8/2017 at 3:05 AM, CHBMB said: Good sentiment though. Lol Except that I was just thinking that a typewriter does a lfcr whereas windows does crlf. Did Microsoft get it wrong? Quote Link to comment
CHBMB Posted April 9, 2017 Share Posted April 9, 2017 7 minutes ago, Squid said: Did Microsoft get it wrong? On so many levels it hurts to think about it..... Quote Link to comment
wgstarks Posted April 19, 2017 Share Posted April 19, 2017 This is beautiful. Bye bye MC. Quote Link to comment
glave Posted August 12, 2018 Share Posted August 12, 2018 It's not something that comes up very often, but would it be possible to change the font size of the files being edited, or maybe add a horizontal scroll bar instead of doing a line wrap? Quote Link to comment
Squid Posted August 12, 2018 Author Share Posted August 12, 2018 (edited) horizontal scroll bar ok. done change the font size zoom the browser Edited August 12, 2018 by Squid Quote Link to comment
jumperalex Posted September 9, 2018 Share Posted September 9, 2018 Love this! Is it possible to increase the size of the editing window? Wider and taller. Feels like I'm looking through a periscope for some larger file (like rtorrent.rc) Quote Link to comment
Squid Posted September 9, 2018 Author Share Posted September 9, 2018 How about a resize instead? Quote Link to comment
jumperalex Posted September 9, 2018 Share Posted September 9, 2018 I didn't want to get greedy ... you rock, Thanks Squid!!! Quote Link to comment
R2JJS Posted March 16, 2019 Share Posted March 16, 2019 Is it possible to use this to rename a config file? Quote Link to comment
Squid Posted March 17, 2019 Author Share Posted March 17, 2019 Is it possible to use this to rename a config file? NoSent via telekinesis Quote Link to comment
itimpi Posted July 7, 2019 Share Posted July 7, 2019 Thought it was worth mentioning that if you have a '/boot/config/stop' file then it is not showing up as a file to be edited. Quote Link to comment
Squid Posted July 7, 2019 Author Share Posted July 7, 2019 3 minutes ago, itimpi said: '/boot/config/stop' Because it's not a .cfg file But, is that a standard file that is executed by unRaid itself when stopping the array? If so, then I've missed the memo there. Quote Link to comment
BRiT Posted July 7, 2019 Share Posted July 7, 2019 It seems to mirror the purpose of "go". Its hooked in via one of the rc.d scripts if my memory hasn't failed me. I haven't seen anyone use it and I see more hooked in via rc.local.shutdown. Apply ECC Bits as needed for this memory dump. Quote Link to comment
Squid Posted July 7, 2019 Author Share Posted July 7, 2019 This is honestly the first I've heard of it. 🤔 Quote Link to comment
itimpi Posted July 7, 2019 Share Posted July 7, 2019 (edited) I can confirm that if the stop file is present Unraid runs it as part of the shutdown processing. As was mentioned it is a complement to the go file. I have some drives I always want mounted regardless of whether the array is started or not so I mount them in the 'go' file. I then use the 'stop' file to tidily unmount them as part of the shutdown processing. This particular task could now be handled by the UD plugin, but as far as I know the stop file is not deprecated. Edited July 7, 2019 by itimpi Quote Link to comment
Recommended Posts
Posted by Squid,
2 reactions
Go to this post
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.