PeterB Posted October 12, 2022 Share Posted October 12, 2022 (edited) Since I posted here a couple of weeks ago, I have been attempting to resurrect one of my old plugins, originally created about ten years ago. At that time, I copied an example and customised to create my .plg file. One of the elements in the .plg is an inline .page file. At that time, clicking on the 'Apply' button would invoke an rc.d/rc.<app> script. I find, now, that the rc.d file is no longer run from the web gui (it runs fine when invoked from the console). Ten years ago, "runCmd" in the submit for the 'Apply' button magically took the content of "cmd" and used that to invoke the rc.d script. I would be extremely grateful if anyone can assist me to get that working again, or can offer a simple example .page which I can copy. I attach my .page file. mpop.page Edited October 12, 2022 by PeterB Quote Link to comment
Squid Posted October 12, 2022 Share Posted October 12, 2022 See https://forums.unraid.net/topic/54237-version-630-rc9-release-notes/ Additionally, IIRC (Can't easily find the relevant post) you can no longer directly execute anything that's not within /usr/local/emhttp/plugins (you also have to use a relative path of /plugins) Quote Link to comment
PeterB Posted October 12, 2022 Author Share Posted October 12, 2022 1 hour ago, Squid said: See https://forums.unraid.net/topic/54237-version-630-rc9-release-notes/ Additionally, IIRC (Can't easily find the relevant post) you can no longer directly execute anything that's not within /usr/local/emhttp/plugins (you also have to use a relative path of /plugins) Thanks for that. However, it seems that I don't have permission to access that topic. This confirms my view that plugin documentation is a real mess, with snippets of information scattered all around! 1 Quote Link to comment
Recommended Posts
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.