Jump to content

[Plugin] CA Config Editor

Featured Replies

Posted

large.png

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.

 

Untitled_zpsbj9vnefz.thumb.PNG.50f242871b14f1843f3faff74c2e4c7a.PNG

 

 

Edited by Squid

  • Replies 56
  • Views 41.1k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • Extensions need to be added to the config file on flash drive: /boot/config/editor.cfg on my own file manager config I've added yaml, md, json and they all work fine. edit: whoops thought that

  • Works immediately 

  • ( ^ 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, w

Posted Images

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.

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!

 

 

edit.png

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

  • 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.

Hey Thanks for that Reply. I didn't realize there was an update to user.scripts. Nice Job. I like it. 

6 hours ago, trurl said:

WOW! Cool AND Scary! What more could you want!

 

That really did make me laugh out loud!  :D

  • Author

Underwoodfive.jpg

( ^ 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 by Squid

Not all of us are old enough to remember typewriters......

I am, but that's not the point.

Good sentiment though. Lol

  • 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?

7 minutes ago, Squid said:

Did Microsoft get it wrong?

On so many levels it hurts to think about it.....

  • 2 weeks later...

This is beautiful. Bye bye MC.

  • 1 year later...

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? 

  • Author

horizontal scroll bar

ok.  done

change the font size

zoom the browser

Edited by Squid

  • 4 weeks later...

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)

I didn't want to get greedy :) ... you rock, Thanks Squid!!!

  • 6 months later...

Is it possible to use this to rename a config file? 

  • Author
Is it possible to use this to rename a config file? 
No

Sent via telekinesis

  • 3 months later...

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. 

  • 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.

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.

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 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.

Guest
Reply to this topic...