Rob Freyder's picture

looking for turnkey-wordpress-17.x-bullseye-amd64.iso or whatever the pre-release is called.

Can anybody point to that?

Thanks,

Rob.

Forum: 
Jeremy Davis's picture

Unfortunately, there isn't yet an updated v17.x WordPress appliance. I'm currently sidelined by other issues so the realase has basically stalled. I'm hoping that I can get things back on track shortly, but I still have some issues to resolve (plus a bit of a backlog).

In the meantime, you could try building your own if you were keen? We have a doc page that covers building an ISO with TKLDev. That only explicitly runs through building "Core", but it should provide enough info on building WordPress instead. FYI, it's probably a good idea to build a Core ISO first (to ensure that everything is working as it should.

Also, please ensure that you update the "fab" package in TKLDev. The default version it ships with has a nasty bug. I.e.:

apt update
apt install -y fab

I suspect that WordPress will "just work" but if you hit any issues, please let me know and I'll follow up ASAP.

Ian Hind's picture

Wordpress does build with TKLDev 17 - tried it back in April. The previous included WP editor in the package seems to be no longer supported so you have to use the in-built editor. I will try to build again and note the process tomorrow.
Jeremy Davis's picture

That'd be awesome Ian. If I can understand the issue, then I can almost certainly work out a path forward.

I hope that I can get back to the release really soon. Now that the website is mostly fixed now, I only have one backlog job left to take care of before I can... So fingers crossed, it will only be another week or 2 before I can get back to the v17.x release.

Ian Hind's picture

To get wordpress to build with TKLDev 17 Make following mods to files: /turnkey/fab/products/wordpress/plan/main
change: php-gettext 
to: php-php-gettext 

comment out: /* tinymce             wordpress dep */  "no target found" otherwise
/turnkey/fab/products/wordpress/overlay/usr/lib/inithooks/bin/wordpress.py
delete:  import inithooks_cache
replace with:  from libinithooks import inithooks_cache 

delete:  from dialog_wrapper import Dialog
replace with:  from libinithooks.dialog_wrapper import Dialog
/turnkey/fab/products/wordpress/conf.d/main
search for PHPINI

change: PHPINI=/etc/php/7.3/apache2/php.ini
to: PHPINI=/etc/php/7.4/apache2/php.ini
Above works fine. ​​​​​​​Once installed add plugin "Classic Editor" for TinyMCE
Jeremy Davis's picture

Great work Ian, that's awesome!

I'll ensure that your notes are converted into build code updates.

Ian Hind's picture

@Rob Freyder If you want to try the ISO, let me know.
Rob Freyder's picture

Thank you so much for the responses Gents!  I'm anxious to look some more at this and understand the build process so I'm very keen to try the new ISO and test as I can.  I've got a tkldev vm on proxmox and have built the core product but then got sidetracked... Next week I'll get some more cycles to look at this so I'll let you know how I get on. Thanks again! Rob.  
deutrino's picture

Deployed a brand new TKLdev box, built core, rebooted, cloned wordpress, applied Ian's instructions, built, and this is the result. Link will be good for 2 weeks.

https://upload.disroot.org/r/NAeTvwBL#/B8q2S+OJFGuCxyK8aL5TZoo4TnzD2+1Cg...

Jeremy Davis's picture

Legend! :)

Add new comment