Start application service failed with exec format error
Created by: lolozere
Hi,
I'am trying your solution to host docker application. I'm the founder of a group hosting websites and tools with a donation model for social innovation initiative. I developped one year ago a home-made solution. I'm creating a benchmark of Libre.sh features against ours to evaluate the required work if we decide to migrate to Libre.sh and join our technical efforts.
But I fail to start an application with my Libre.sh virtual machine.
I have installed a virtual box machine with coreos and Libre.sh and I have created a new application with the following command
sudo libre provision -a github.com/indiehosters/wordpress -u wordpress.coreos.dv -s
And got the message
Cloning into '/data/domains/wordpress.coreos.dv'...
remote: Counting objects: 103, done.
remote: Total 103 (delta 0), reused 0 (delta 0), pack-reused 103
Receiving objects: 100% (103/103), 26.50 KiB | 0 bytes/s, done.
Resolving deltas: 100% (44/44), done.
Checking connectivity... done.
2016-12-27 10:15:34 UTC [ warning] you have no email server setup, we'll print a random configuration in your application. Make sure to check the parameters for your app to send proper emails.
2016-12-27 10:15:34 UTC [ warning] To stop having this warning, please configure your libre.sh to be abble to create email accounts.
2016-12-27 10:15:34 UTC [ warning] You can also contact support@indie.host to setup an email account for you
++ xargs
++ head -c 20
++ tr -dc A-Za-z0-9_
+ MYSQL_ROOT_PASSWORD=Yj8Rn_on0mSWcYGK73pM
+ echo MYSQL_ROOT_PASSWORD=Yj8Rn_on0mSWcYGK73pM
+ echo MAIL_PASS=randompass
+ echo MAIL_USER=example@indie.host
+ echo MAIL_HOST=mail.indie.host
+ echo MAIL_PORT=587
+ echo MAIL_SECURITY=tls
Created symlink /etc/systemd/system/multi-user.target.wants/u@wordpress.coreos.dv.service → /etc/systemd/system/u@.service.
And I have started the application
cd /data/domains/wordpress.coreos.dv/
sudo libre start
But it failed with this message
Dec 27 10:29:25 coreos.local systemd[2573]: u@wordpress.coreos.dv.service: Failed at step EXEC spawning /opt/bin/docker-compose: Exec format error
Dec 27 10:29:25 coreos.local systemd[1]: Started u-wordpress.coreos.dv.
Dec 27 10:29:25 coreos.local bash[2575]: + VIRTUAL_HOST=wordpress.coreos.dv
Dec 27 10:29:25 coreos.local bash[2575]: + /opt/bin/docker-compose up
Dec 27 10:29:25 coreos.local systemd[2579]: u@wordpress.coreos.dv.service: Failed at step EXEC spawning /opt/bin/docker-compose: Exec format error
Dec 27 10:29:25 coreos.local systemd[1]: u@wordpress.coreos.dv.service: Control process exited, code=exited status=203
Dec 27 10:29:25 coreos.local systemd[1]: u@wordpress.coreos.dv.service: Unit entered failed state.
Dec 27 10:29:25 coreos.local systemd[1]: u@wordpress.coreos.dv.service: Failed with result 'exit-code'.
Is it a bug or a mistake I have done ?