Updating to 311.11 Beta

4 replies [Last post]
allanayr
Offline
Ayr, United Kingdom
Joined: 25 Sep 2011

Forgive me if this has already been covered, I looked through the postings and can't find anything about it.

I decided to bite the bullet and update to the 311.11 Beta so that I could use twitter again. All went reasonably smoothly and /etc/xap.d was populated as expected. I moved xap-livebox.ini. Having rebooted the box I discovered that the plugboard was not running.  I didn't realise, but figured out, that the plugboard.lua file from /etc_ro_fs had to be copied into /etc/plugboard in order for the plugboard to work with the new settings.

 

Hope this helps if anyone else encounters this.

 

 

garrydwilms
Offline
United Kingdom
Joined: 31 Mar 2011
This is interesting as

This is interesting as looking through the code it should default to _ro_fs? It can be overridden by a -f flag on xap-plugboard but I'm guessing your not doing this?

allanayr
Offline
Ayr, United Kingdom
Joined: 25 Sep 2011
Mmmmm! I've seen mention

Mmmmm! I've seen mention before of the /etc_ro_fs/plugboard.lua and thought it strange that it is that version which is running. As far as I am aware my box has always run the /etc/plugboard/plugboard.lua (that's what appears in the ps listing) and I haven't changed any config settings to make that happen.

 

I'll have a poke around and see what I can find out.

brett
Offline
Providence, United States
Joined: 9 Jan 2010
The issue was that you had a

The issue was that you had a plugboard.lua running out of your /etc/plugboard directory when none is required.
This facility was provided so you could "override" the /etc_ro_fs/plugboard version.  HOWEVER as the beta's upgrade this RO version and not anything you might have locally in /etc this caused you a problem after upgrading.

The correct solution is to DELETE /etc/plugboard/plugboard.lua so the start script falls back to using the one from /etc_ro_fs as that one is upgraded automaitcally.  That will put you on the happy path.

SEE /usr/bin/xap-plugboard.
# Allow a local override
if [ -f /etc/plugboard/plugboard.lua ]; then
    exec lua /etc/plugboard/plugboard.lua $*
else
    exec lua /etc_ro_fs/plugboard/plugboard.lua $*
fi

Brett

allanayr
Offline
Ayr, United Kingdom
Joined: 25 Sep 2011
Thanks for the pointers on

Thanks for the pointers on this.

All sorted out now.

Hardware Info