<solved> Plugin installation wont work


Recommended Posts

Hi,

i try to install plugins over the webgui plugin page. Doesn't matter what plugin url i enter, i always get this:

plugin: installing: https://github.com/dlandon/unraid-snap/raw/master/powerdown-x86_64.plg
plugin: downloading https://github.com/dlandon/unraid-snap/raw/master/powerdown-x86_64.plg
plugin: downloading: https://github.com/dlandon/unraid-snap/raw/master/powerdown-x86_64.plg ... done

Warning: simplexml_load_file(): /tmp/plugins/powerdown-x86_64.plg:1: parser error : Document is empty in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): /tmp/plugins/powerdown-x86_64.plg:1: parser error : Start tag expected, '<' not found in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193
plugin: xml parse error

 

I tried this links:

https://github.com/dlandon/unraid-snap/raw/master/powerdown-x86_64.plg

https://raw.github.com/bergware/dynamix/master/unRAIDv6/dynamix.cache.dirs.plg

https://raw.github.com/bergware/dynamix/master/unRAIDv6/dynamix.system.info.plg

 

And after this, no new plugin will show up.

Any ideas?

 

Thanks, Gery

nas-diagnostics-20150620-2128.zip

Link to comment
  • 4 weeks later...

I've seen some reports that a VPN could mess it up or that you may also need to manually specify a DNS address in network settings.

 

Very Help! Thanks.  I just upgraded from 5.0 to 6.0.1 and tried to install the Community Applications Plugin and got the following:

 

plugin: installing: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
plugin: downloading https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
plugin: downloading: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg ... done

Warning: simplexml_load_file(): /tmp/plugins/community.applications.plg:1: parser error : Document is empty in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): /tmp/plugins/community.applications.plg:1: parser error : Start tag expected, '<' not found in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193

Warning: simplexml_load_file(): ^ in /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin on line 193
plugin: xml parse error

 

I then stopped the array then went to settings>system settings>network settings and changed my DNS1 to my gateway IP address which is 192.168.2.2  (this is what I had in my DNS settings for my unraid 5.0 box) .  After saving the settings and starting the array, I attempted to install the plugin and I had no issues with the installation process.

 

I was not sure if my gateway IP address is or would be the best setting for this.  (I am guess my gateway router redirects dns lookups to the DNS1 and DNS2 records that it has on file.)  I wanted to try Googles Public DNS Lookup and compare the results of the plugin installation log.  So to do this I uninstalled the plugin first.

 

Then I went to settings>system settings>network settings and changed my DNS settings to Googles Public DNS.  So for DNS1 I set it to 8.8.8.8 and DNS2 I set it to 8.8.4.4

After saving the settings and starting the array, I attempted to install the plugin and I had no issues with the installation process.  There was no difference in speed or in the log between the two plugin installations.

 

Log from Installation was the same for both network settings:

plugin: installing: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
plugin: downloading https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg
plugin: downloading: https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg ... done
plugin: downloading: https://raw.github.com/Squidly271/community.applications/master/archive/community.applications-2015.07.08.txz ... done

+==============================================================================
| Installing new package /boot/config/plugins/community.applications/community.applications-2015.07.08.txz
+==============================================================================

Verifying package community.applications-2015.07.08.txz.
Installing package community.applications-2015.07.08.txz:
PACKAGE DESCRIPTION:
Package community.applications-2015.07.08.txz installed.



----------------------------------------------------
community.applications has been installed.
Copyright 2015, Squid, gfjardim, bergware
Version: 2015.07.08
----------------------------------------------------

plugin: installed

 

I am not sure it matters but, I do have a VPN for a remote office, but the VPN internet traffic is not routed over the VPN.  The gateway which is also the hardware that has my VPN configurations, uses google public dns records also.

 

At some point along the way (in the past) I changed from using my gateway ip address to using my isp DNS servers settings for DNS1 and DNS2.  I am guessing their lookup was having issues or something.  I am going to leave it set to 8.8.8.8 and 8.8.4.4 and leave DNS3 empty unless someone else has a better suggestion?

 

Thanks again,

 

Albin


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.