Forum archive
BuildTasks - first run, issues with LAMP applicance in TKLDEV
Hi,
I have been working through my first usages of buildtasks.
Some documentation I found here:
Unfortunately, I am hitting an error at nearly every turn when I try to run anything beyond ./bt-iso
Two Issues I seem to be running into:
- I did a git clone of TKL Lamp (15.2) and simply called the repository on my TKLDEV LAMP
- When I try to run ./bt-vm I very quickly get errors that read like the following: "
root@tkldev /turnkey/buildtasks# ./bt-vm lamp-15.2-stretch-amd64 --publish
INFO [iso-download]: turnkey-lamp-15.2-stretch-amd64.iso already exists, skipping download...
--2019-09-26 23:12:46-- http://releases.turnkeylinux.org/turnkey-lamp/15.2-stretch-amd64/turnkey...
Resolving releases.turnkeylinux.org (releases.turnkeylinux.org)... 104.24.118.67, 104.24.119.67, 2606:4700:30::6818:7743, ...
Connecting to releases.turnkeylinux.org (releases.turnkeylinux.org)|104.24.118.67|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://releases.turnkeylinux.org/turnkey-lamp/15.2-stretch-amd64/turnke... [following]
--2019-09-26 23:12:46-- https://releases.turnkeylinux.org/turnkey-lamp/15.2-stretch-amd64/turnke...
Connecting to releases.turnkeylinux.org (releases.turnkeylinux.org)|104.24.118.67|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2019-09-26 23:12:47 ERROR 404: Not Found./turnkey/buildtasks/bin/iso-verify: line 55: aws: command not found
FATAL [iso-verify]: turnkey-lamp-15.2-stretch-amd64.iso.hash download failed"
When I go to /mnt/isos
type DIR
I see the following:
root@tkldev /mnt/isos# dir
turnkey-lamp-15.1-stretch-amd64.changelog
turnkey-lamp-15.1-stretch-amd64.iso
turnkey-lamp-15.1-stretch-amd64.iso.buildenv
turnkey-lamp-15.1-stretch-amd64.iso.hash
turnkey-lamp-15.1-stretch-amd64.manifest
turnkey-lamp-15.1-stretch-amd64.tklbam
turnkey-lamp-15.2-stretch-amd64.iso
turnkey-lamp-15.2-stretch-amd64.iso.hash
turnkey-turnkey-lamp-15.2-stretch-amd64.iso
root@tkldev /mnt/isos#
All a cluster. It looks like there are version variations (15.1 vs. 15.2 and name issues. I called is simply lamp, but I see turnkey-lamp dropping in, and some strange 'turnkey-turnkeys" dropping in.
I am starting to get the hang of it though. I really did think I had the most recent branch/version in GITHUB - and I see why I called it lamp... hmm. I can see it gets more complicated. My ISO has one name but the bt-iso gets another name.
I cloned this for tests into tkldev: https://github.com/turnkeylinux-apps/lamp.git
Above, there are some Mirror issues. Some Hash issues. Some Name issues.
I will keep on this. Expecting I will be further along soon.
Thanks in advance for any guidance here.
I must have been replying to your initial post when you posted these updates. I'll respond individually to them.
Yep, if you run:
It will look for an iso named "turnkey-turnkey-lamp-15.1-stretch-amd64". So as you've noticed, the command is instead: