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.
Member for
15 years 7 monthsThis 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?
Member for
15 years 1 monthMmmmm! 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.
Member for
16 years 10 monthsThe 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
Member for
15 years 1 monthThanks for the pointers on
Thanks for the pointers on this.
All sorted out now.