October 6, 201114 yr It's probably moot by now since everyone seems to like the .plg naming convention but c'mon folks - if it's an xml file it should have .xml at the end and then ANY xml editor will work just fine. People are mostly right about the extention not mattering *after the plugin is coded and tested* but while you are editing it you just want to fire it open in you xml editor and tweak away. My humble $0.02.
October 11, 201114 yr Yes this might be an issue with race condition between network coming up and plugins being installed. On my test system (atom based) it's slow enough that it's not an issue, but I'll look into this. This is still the case for UnRaid 5b12a. Here is a snippet from my log clearly showing the plugin installer running (and failing) before the network grabs a DHCP lease. The only thing I canged in the log is my test URL for my image since I didn't want to disclose my personal website at the moment but rest assured the real URL does work and if I run the installplg script manually it successfully installs the plugin. Oct 11 16:04:46 Tower logger: installing plugin: hello_world-1_0-noarch-1ds Oct 11 16:04:46 Tower logger: file /boot/config/plugins/hello_world/hello_world.png: downloading from http://www.blockedfornow.com/wp-content/uploads/2011/10/fan_speed.png ... bad download, deleting Oct 11 16:04:46 Tower emhttp: unRAID System Management Utility version 5.0-beta12a Oct 11 16:04:46 Tower emhttp: Copyright (C) 2005-2011, Lime Technology, LLC Oct 11 16:04:46 Tower emhttp: Basic key detected, GUID: Oct 11 16:04:46 Tower emhttp: get_config_idx: fopen /boot/config/flash.cfg: No such file or directory - assigning defaults Oct 11 16:04:46 Tower emhttp: shcmd (1): udevadm settle Oct 11 16:04:46 Tower emhttp: Device inventory: Oct 11 16:04:46 Tower emhttp: VMware_Virtual_IDE_Hard_Drive_00000000000000000001 (hda) 1048576 Oct 11 16:04:46 Tower emhttp: VMware_Virtual_IDE_Hard_Drive_01000000000000000001 (hdb) 1048576 Oct 11 16:04:46 Tower emhttp: shcmd (2): modprobe md-mod super=/boot/config/super.dat slots=3 |& logger Oct 11 16:04:46 Tower kernel: xor: automatically using best checksumming function: pIII_sse Oct 11 16:04:46 Tower kernel: pIII_sse : 11213.600 MB/sec Oct 11 16:04:46 Tower kernel: xor: using function: pIII_sse (11213.600 MB/sec) Oct 11 16:04:46 Tower kernel: md: unRAID driver 2.1.3 installed Oct 11 16:04:46 Tower kernel: mdcmd (1): import 0 3,0 1048544 VMware_Virtual_IDE_Hard_Drive_00000000000000000001 Oct 11 16:04:46 Tower kernel: md: import disk0: [3,0] (hda) VMware_Virtual_IDE_Hard_Drive_00000000000000000001 size: 1048544 Oct 11 16:04:46 Tower kernel: mdcmd (2): import 1 3,64 1048544 VMware_Virtual_IDE_Hard_Drive_01000000000000000001 Oct 11 16:04:46 Tower kernel: md: import disk1: [3,64] (hdb) VMware_Virtual_IDE_Hard_Drive_01000000000000000001 size: 1048544 Oct 11 16:04:46 Tower kernel: mdcmd (3): import 2 0,0 Oct 11 16:04:46 Tower emhttp: shcmd (3): /usr/local/sbin/emhttp_event driver_loaded Oct 11 16:04:46 Tower emhttp_event: driver_loaded Oct 11 16:04:47 Tower emhttp: shcmd (4): :>/etc/samba/smb-shares.conf Oct 11 16:04:47 Tower emhttp: Start SMB... Oct 11 16:04:47 Tower emhttp: shcmd (5): /etc/rc.d/rc.samba start |& logger Oct 11 16:04:47 Tower logger: Starting Samba: /usr/sbin/nmbd -D Oct 11 16:04:47 Tower logger: /usr/sbin/smbd -D Oct 11 16:04:47 Tower emhttp: shcmd (6): ps axc | grep -q rpc.mountd Oct 11 16:04:47 Tower emhttp: _shcmd: shcmd (6): exit status: 1 Oct 11 16:04:50 Tower dhcpcd[980]: eth0: offered 10.22.6.178 from 168.114.154.7 Oct 11 16:04:50 Tower dhcpcd[980]: eth0: acknowledged 10.22.6.178 from 168.114.154.7 Oct 11 16:04:50 Tower dhcpcd[980]: eth0: checking for 10.22.6.178 Oct 11 16:04:53 Tower login[1112]: ROOT LOGIN on '/dev/tty1' Oct 11 16:04:55 Tower dhcpcd[980]: eth0: leased 10.22.6.178 for 432000 seconds Cheers Tom! Hope you can squash this.
Archived
This topic is now archived and is closed to further replies.