Forum archive
TurnKey LXC LinuX Containers: turnkey apps deployment problem
I have tried to deploy some apps like observium and wordpress on the TurnKey LXC to no avail.
My inithooks_observium.conf for observium:
export ROOT_PASS=<password>
export DB_PASS=<password>
export APP_PASS=<password>
export APP_EMAIL=some@email.crz
export APP_DOMAIN=SKIP
export HUB_APIKEY=SKIP
export SEC_UPDATES=FORCE
lxc-create -n observium_lxc -f /etc/lxc/bridge.conf -t turnkey -- observium -i /root/inithooks_observium.conf
In my case the original /usr/share/lxc/templates/lxc-turnkey caused an error with the observium/wordpress package downloading.
So I decided to use lxc-turnkey from here.
I have added 14.2 to:
case "${tkl_version}" in
13.0) signature="${image}.sig";;
14.0) signature="${image}.sig";;
14.1) signature="${image}.sig";;
14.2) signature="${image}.sig";;
*) signature="${image}.hash";;
esac
but the version 14.1 was downloaded not the latest.
I was able to start new containers. Both containers failed to connect to mysql server (error establishing a database connection).
I do not know whether this is an issue with lxc-turnkey template or with something else.
Can't blame the TurnkeyLXC itself, I successfully deployed for the test purposes an ubuntu container on it.
I see below that it seems to have resolved itself though?! Or did you manually create the socket?
Also FWIW we will be releasing a new version (v14.2) pretty soon hopefully.
It seems a bit weird either way really. FWIW I test (albeit pretty quick and dirty) all the appliances prior to release. I actually build to LXC and test on Proxmox (built from the exact ISO we are about to release).
Seeing as you've got it going now, hopefully everything continues smoothly. If you do come across something like this again, if you can give us instructions on how to reliably reproduce it; we can fix it. Intermittent issues can be a whole other story, but please share. The more bug reports we get, the better we can make TurnKey! :)