Posted April 7, 20178 yr 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, 20177 yr by Squid
April 7, 20178 yr 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.
April 7, 20178 yr 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!
April 7, 20178 yr 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
April 7, 20178 yr Author 4 minutes ago, kizer said: edit all of my user.scripts too Easier doing the user scripts within the plugin itself. No drilling req.
April 7, 20178 yr Hey Thanks for that Reply. I didn't realize there was an update to user.scripts. Nice Job. I like it.
April 7, 20178 yr 6 hours ago, trurl said: WOW! Cool AND Scary! What more could you want! That really did make me laugh out loud!
April 8, 20178 yr Author ( ^ 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, 20178 yr by Squid
April 8, 20178 yr Not all of us are old enough to remember typewriters......I am, but that's not the point.Good sentiment though. Lol
April 9, 20178 yr Author 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?
April 9, 20178 yr 7 minutes ago, Squid said: Did Microsoft get it wrong? On so many levels it hurts to think about it.....
August 12, 20186 yr 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?
August 12, 20186 yr Author horizontal scroll bar ok. done change the font size zoom the browser Edited August 12, 20186 yr by Squid
September 9, 20186 yr 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)
July 7, 20196 yr 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.
July 7, 20196 yr Author 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.
July 7, 20196 yr 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.
July 7, 20196 yr 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, 20196 yr by itimpi
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.