Forum archive
Joomla 3 17.1 Appliance inc PHP 7.4
HI,
I need to run up a couple of turnkey instances of Joomla3 to help a friend in hosting a couple of sites for a while.
I need Joomla 3 and PHP 7.4 ideally so I don't have to go through any site upgrading.
Also I'm pretty new to turnkey and linux to be honest, and was trying to run the Joomla3 lxc on a proxmox host I have which went really well until I realised ver 16.1 of the template only had PHP 7.3.
After trying to upgrade it to PHP 7.4 and failing, I tried to make a 17.1 iso following the "How to build your own appliance" guide
/docs/howto-build-isos-with-tkldev
I managed to make the core iso, but it's failing when I try to make a Joomla 3 build
https://github.com/turnkeylinux-apps/joomla3.git
This first threw an error about --disable-ssl not being an available option in bright red.
So I removed this switch from conf.d/main
Now I'm getting the error below:
+ a2dissite 000-default
Site 000-default disabled.
To activate the new configuration, you need to run:
systemctl reload apache2
+ a2ensite joomla
ERROR: Site joomla not properly enabled: /etc/apache2/sites-enabled/joomla.conf is a real file, not touching it
make: *** [/usr/share/fab/product.mk:569: build/stamps/root.patched] Error 1
I'm pretty much out of my depth now... lol
Appreciate any help with this
Yeah that Apache error is a weird one. I see now that it was nothing you were doing, it seems to be the Joomla CLI tool we're using?! Anyway, I'm pretty sure I've fixed it. I also bumped the Joomla3 version to latest current stable (3.10.11).
It's not yet merged into the turnkey repo on GitHub and it may be a day or so before it is. So you'll need to pull from my fork of the code. If you understand what I'm saying, then great and I'm probably about to over explain it. If you don't have a clue what I mean, don't worry, I'll spell it out! :)
So in your TKLDev terminal, make sure that you're in the joomla buildcode dir and add my GitHub account to your local repo as a "remote":
Then pull my latest changes and check them out. I'm guessing that you may have some uncommitted changes locally. Probably the easiest way to get them out of the way (so you don't get conflicts with my changes) is to "stash them" first:
Now you should be good to go:
If you want to get back your stashed changes, try this: