Plugin changes with 6.11?


PeterB

Recommended Posts

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!

Link to comment

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

Link to comment

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

 

Link to comment

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.