Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Plugin changes with 6.11?

Featured Replies

I have a couple of plugins which I created years ago, to run dovecot and mpop on my unRAID server.  I say 'years ago' - the dates on the files are from 2012 - 2014!  If I remember correctly that was when unRAID went to 64 bit!

 

They have been running without change and without problem for eight years.

 

Last night I upgraded to unRAID 6.11 and those two plugins no longer startup.

 

The output is as follows:

Quote

root@Tower:/boot/config/plugins# ls dove*
dovecot-2.2.13-x86_64-4pb.plg
root@Tower:/boot/config/plugins# plugin install dovecot-2.2.13-x86_64-4pb.plg
plugin: installing: dovecot-2.2.13-x86_64-4pb.plg
Executing hook script: pre_plugin_checks
plugin: XML file doesn't exist or xml parse error
Executing hook script: post_plugin_checks
sh: -c: line 1: unexpected EOF while looking for matching `''
sh: -c: line 2: syntax error: unexpected end of file
root@Tower:/boot/config/plugins# 
 

 

I have reverted to unRAID 6.10.3 and the plugins run again.

 

Other plugins I have created still run in 6.11

 

What has changed in 6.11 and what do I need to do to make my plugins fully compatible?

 

Documentation on the plugin system is still seriously lacking!

Try using an online xml validator on your plugin source. I had a similar issue with a plugin I maintain. I dont know anything for sure but it seems like they may have tightened up the XML validation for the .plg. For me I needed to use a XML escape character in place of a character in one of my inline bash scripts.

The format of the .plg hasn't changed  As mentioned, the xml doesn't have valid syntax

  • Author

Thanks for the responses.

I've put my .plg through two xml validators (w3schools & xmlvalidation.com) both of which report that the file has no errors.

Can anyone recommend a validator which will identify the problem?

 

What are these pre_plugin_checks and post_plugin_checks?

 

These lines after the post_plugin_checks, in particular, suggest, to me, that the file (or whatever is being checked) is empty:

sh: -c: line 1: unexpected EOF while looking for matching `''
sh: -c: line 2: syntax error: unexpected end of file

  • Author
11 hours ago, Squid said:

The format of the .plg hasn't changed  As mentioned, the xml doesn't have valid syntax

Not according to the validators I've tried, and something has changed since reverting to 6.10.3 makes the problem go away!

Then post the .plg  There has been zero changes to the specification for .plg's that would break anything from 6.10 -> 6.11, and since 6.0 only additional optional attributes have been added as time goes forward.  

 

pre and post plugin checks are mainly used as hooks for CA so that it knows what's going on.  Nothing strange happening in them

 

  • 2 years later...

I got this problem too. After a lot of tests I found plugin requires a full path argument and not a relative one. In the case of OP:

 

plugin install /boot/config/plugins/dovecot-2.2.13-x86_64-4pb.plg

 

and not

 

cd /boot/config/plugins/
plugin install dovecot-2.2.13-x86_64-4pb.plg

 

¯\_(ツ)_/¯
 

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.