Updated from beta10 to beta12, plugin pages no longer show up


Kaveh

Recommended Posts

Thank you for being so kind, htcnewbie.

 

Kaveh see http://lime-technology.com/forum/index.php?topic=33341.885

 

For every app that you have installed create the last 6 lines.

Add this to your go script.

What is the app name? See the url that you would normally go to.

 

Example: http://10.5.4.5:58000/Settings/flexget "flexget" is the "app name', then.


### Fix plugins
cp -r /usr/local/emhttp/plugins/webGui/phaze.page /usr/local/emhttp/plugins/dynamix

echo "" >> /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page 
echo "---" >> /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page 
echo "" >> /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page 
cat /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.php >> /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page
rm -f /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.php
sed -i 's!\r!!g' /usr/local/emhttp/plugins/plexmediaserver/plexmediaserver.page

echo "" >> /usr/local/emhttp/plugins/couchpotato/couchpotato.page 
echo "---" >> /usr/local/emhttp/plugins/couchpotato/couchpotato.page 
echo "" >> /usr/local/emhttp/plugins/couchpotato/couchpotato.page 
cat /usr/local/emhttp/plugins/couchpotato/couchpotato.php >> /usr/local/emhttp/plugins/couchpotato/couchpotato.page
rm -f /usr/local/emhttp/plugins/couchpotato/couchpotato.php
sed -i 's!\r!!g' /usr/local/emhttp/plugins/couchpotato/couchpotato.page

echo "" >> /usr/local/emhttp/plugins/transmission/transmission.page 
echo "---" >> /usr/local/emhttp/plugins/transmission/transmission.page 
echo "" >> /usr/local/emhttp/plugins/transmission/transmission.page 
cat /usr/local/emhttp/plugins/transmission/transmission.php >> /usr/local/emhttp/plugins/transmission/transmission.page
rm -f /usr/local/emhttp/plugins/transmission/transmission.php
sed -i 's!\r!!g' /usr/local/emhttp/plugins/transmission/transmission.page

 

 

So, after looking at the new unraid beta 12, it seems if I update my plugins, all users under beta 12 will get broken plugins.  Also, since they are making changes on each beta release, it's getting hard to update them all constantly with the changes.  I will likely wait for the first release candidate before updating all 17 plugins for full compatibility.  In the mean time, you can do the following to get any plugin working on beta 12 for now, You can set this in your GO script to automate it, but you need to add this for each plugin of mine you have that doesn't work on beta 12: (replace APPNAME with the name of the app plugin in lowercase)

 

cp -r /usr/local/emhttp/plugins/webGui/phaze.page /usr/local/emhttp/plugins/dynamixecho "" >> /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page echo "---" >> /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page echo "" >> /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page cat /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).php >> /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).pagerm -f /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).phpsed -i 's!\r!!g' /usr/local/emhttp/plugins/(APPNAME)/(APPNAME).page

 

What this does is moves the page file out of the webGUI folder which no longer exists and into the dynamix folder which is now standard from unraid beta 12 and up.It also copies the PHP page into the PAGE file since they no longer allow separate files.Then it removes the PHP file since having it there will cause weirdness on the plugin page.Then lastly, it clears out the ^M carrage file that windows left, which breaks the plugin from showing.I'll have my version 2.0.0 plugins compatible with the RC / Final when it's closer to release but updating these plugins right now will make earlier beta users plugins inoperable.

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.