@@ -8,7 +8,7 @@ nav_order: 7
88
99The ` plugin ` command is the CLI tool for managing Unraid plugins. It handles installation, updates, removal, and status checks.
1010
11- ```
11+ ``` text
1212Usage: plugin install PLUGIN-FILE [forced]
1313 plugin remove PLUGIN
1414 plugin check PLUGIN
@@ -43,6 +43,7 @@ plugin install /path/to/myplugin.plg forced
4343```
4444
4545** What happens:**
46+
46471 . Downloads the PLG file (if URL)
47482 . Processes all ` <FILE> ` elements with ` install ` method
48493 . Copies PLG to ` /boot/config/plugins/ `
@@ -69,6 +70,7 @@ plugin remove myplugin.plg
6970```
7071
7172** What happens:**
73+
72741 . Processes all ` <FILE> ` elements with ` remove ` method
73752 . Deletes symlink from ` /var/log/plugins/ `
74763 . Moves PLG to ` /boot/config/plugins-removed/ `
@@ -82,6 +84,7 @@ plugin check myplugin.plg
8284```
8385
8486** What happens:**
87+
85881 . Downloads PLG from ` pluginURL ` to ` /tmp/plugins/ `
86892 . Extracts and outputs the version string
87903 . Exits 0 if newer version available
@@ -115,6 +118,7 @@ plugin update myplugin.plg
115118```
116119
117120** What happens:**
121+
1181221 . Looks for new PLG in ` /tmp/plugins/ `
1191232 . Runs install method of new version
1201243 . Replaces old PLG in ` /boot/config/plugins/ `
@@ -142,7 +146,7 @@ plugin pluginURL /var/log/plugins/myplugin.plg
142146## Directory Reference
143147
144148| Directory | Purpose |
145- | ----------- | --------- |
149+ | --------- | ------- |
146150| ` /boot/config/plugins/ ` | Active plugin PLG files |
147151| ` /boot/config/plugins-error/ ` | Failed installations |
148152| ` /boot/config/plugins-removed/ ` | Uninstalled plugins |
@@ -203,6 +207,7 @@ plugin install myplugin.plg 2>&1 | tee /tmp/install.log
203207### Plugin Moved to plugins-error
204208
205209Installation failed. Check:
210+
2062111 . MD5 checksum mismatches
2072122 . Download failures
2082133 . Script errors
@@ -266,7 +271,7 @@ echo "Author: $(plugin author $PLG)"
266271<details markdown =" block " >
267272<summary >Complete <code >plugin</code > command help output</summary >
268273
269- ```
274+ ``` text
270275Process plugin files.
271276
272277Usage: plugin install PLUGIN-FILE [forced]
0 commit comments