[Plugin] CA Config Editor


Squid

36 posts in this topic Last Reply

Recommended Posts

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
Link to post
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

Link to post

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
Link to post
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?

Link to post
  • 2 weeks later...
  • 1 year later...
  • 4 weeks later...
  • 6 months later...
  • 3 months later...
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.

Link to post

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.

Link to post

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

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.