How to create a Joomla 4 Quickstart package

For Joomla! 4.x Coding related discussions, please use: http://groups.google.com/group/joomla-dev-general

Moderator: ooffick

Forum rules
Please use the mailing list here: http://groups.google.com/group/joomla-dev-general rather than this forum.
Post Reply
User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

How to create a Joomla 4 Quickstart package

Post by JTema » Mon Feb 28, 2022 10:55 am

Hello everyone what are key points of creating a joomla 4 quickstart package. It seems that the way we used to for joomla 3 does not work. Quick start packages created with old way fails when try to install . Thanks regards.
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Thu Mar 03, 2022 1:03 pm

Any Idea? Thanks in advance.
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 7631
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: How to create a Joomla 4 Quickstart package

Post by AMurray » Thu Mar 03, 2022 11:35 pm

I haven't found much at all on creating quick-starts, just a ton on installing them.

One suggestion I did come across suggests using Akeeba Kickstart to restore a pre-prepared JPA backup. Maybe not ideal, but not unheard of either. (this site references very old Joomla but discusses at length using Akeeba: https://www.ostraining.com/joomla-suppo ... t-package/)
Regards - A Murray

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Fri Mar 04, 2022 5:58 am

Thanks Amurray. I know Akeeba I will use it if I can not find the answer.
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
Pavel-ww
Joomla! Guru
Joomla! Guru
Posts: 640
Joined: Tue Jun 30, 2020 12:17 pm

Re: How to create a Joomla 4 Quickstart package

Post by Pavel-ww » Fri Mar 04, 2022 6:47 am

AMurray wrote:
Thu Mar 03, 2022 11:35 pm
...using Akeeba Kickstart to restore a pre-prepared JPA backup
Hi. Kickstart not needed. Just set output format to zip in Aceeba settings. And then you will be able use simple zip without Kickstart instead of JPA + Kickstart.

JPA + Kickstart is only required if there is no functional for unpacking archives on hosting.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 14566
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: How to create a Joomla 4 Quickstart package

Post by toivo » Fri Mar 04, 2022 6:55 am

Pavel-ww wrote:
Fri Mar 04, 2022 6:47 am
Hi. Kickstart not needed. Just set output format to zip in Aceeba settings. And then you will be able use simple zip without Kickstart instead of JPA + Kickstart.
What about the database?
Toivo Talikka, Global Moderator

User avatar
Pavel-ww
Joomla! Guru
Joomla! Guru
Posts: 640
Joined: Tue Jun 30, 2020 12:17 pm

Re: How to create a Joomla 4 Quickstart package

Post by Pavel-ww » Fri Mar 04, 2022 7:47 am

toivo wrote:
Fri Mar 04, 2022 6:55 am
What about the database?
Hi @toivo. Everything is fine with the database. Kickstart is just an unpacker and nothing else. Its work stops as soon as the archive is unpacked. You can try to unpack JPA by any other unpackers without any problems. Try Zip and you make sure that nothing bad happens. I stopped using JPA in Aceeba over 5 years ago. And there was not a single problem with ZIP throughout this time. Aceeba installation script is a separate script. It starts after Kickstart unpacked the archive. Its start does not depend on Kickstart.

Once upon a time, many hostings did not exist the unpacking functional of archives and did not exist independent unpacking scripts. That is why Aceeba created Kickstart. It is a rudiment in 2022

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Fri Mar 04, 2022 8:23 am

I Wonder who is creating Joomla 4 Quickstart Packages :)

We were creating a Joomla 3 quickstart following these steps:

Export db (except finder users user notes etc. db tables)
Change table prefix to #__
Localise your sql
Quick start packages created with this old way fail when trying to install. When inspecting the Joomla 4 installation folder, we see 3 different sql files base.sql, extensions.sql and supports.sql. What is different for Joomla 4?
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41255
Joined: Sat Apr 05, 2008 9:58 pm

Re: How to create a Joomla 4 Quickstart package

Post by Webdongle » Fri Mar 04, 2022 10:10 am

Last time I used zip with Akeeba the installer (packed with the files) did not auto run after the file was unzipped.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 14566
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: How to create a Joomla 4 Quickstart package

Post by toivo » Fri Mar 04, 2022 10:50 am

Pavel-ww wrote:
Fri Mar 04, 2022 7:47 am
And there was not a single problem with ZIP throughout this time. Aceeba installation script is a separate script. It starts after Kickstart unpacked the archive. Its start does not depend on Kickstart.
Thank you, it was good to learn new things! Having always used the default .jpa archive type, it was exciting to see ANGIE, the Akeeba Backup Site Restoration Script, kick in, prompt for the information and complete the installation from the .zip archive, including the database.
Toivo Talikka, Global Moderator

User avatar
Pavel-ww
Joomla! Guru
Joomla! Guru
Posts: 640
Joined: Tue Jun 30, 2020 12:17 pm

Re: How to create a Joomla 4 Quickstart package

Post by Pavel-ww » Sun Mar 06, 2022 7:09 am

Webdongle wrote:
Fri Mar 04, 2022 10:10 am
Last time I used zip with Akeeba the installer (packed with the files) did not auto run after the file was unzipped.
Hi. When using zip, should not be auto run after the file was unzipped. This is an expected behavior. Just enter your domain in the browser adress bar and "go", then installer will start. The same as standart Joomla installation

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41255
Joined: Sat Apr 05, 2008 9:58 pm

Re: How to create a Joomla 4 Quickstart package

Post by Webdongle » Sun Mar 06, 2022 10:30 am

http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Tue Apr 26, 2022 2:13 pm

I really need help on this topic. Does anyone know how to create a Joomla 4 quickstart except for akeeba optin? Thanks in advance
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41255
Joined: Sat Apr 05, 2008 9:58 pm

Re: How to create a Joomla 4 Quickstart package

Post by Webdongle » Tue Apr 26, 2022 2:35 pm

Well you could edit the installation files and use winzip (or similar) to zip up the files. But honestly your easiest option is to use Akeeba. Why would you want to use a method other than the easiest and free extension?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Tue Apr 26, 2022 6:21 pm

Thanks Webdongle. But I have to create a quickstart like joomla installation package. Just editing zip file is not enough. I just want to know basic points. Which tables should be excluded etc. (like as J3)
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41255
Joined: Sat Apr 05, 2008 9:58 pm

Re: How to create a Joomla 4 Quickstart package

Post by Webdongle » Tue Apr 26, 2022 7:02 pm

Make your changes e.g. install a 3rd party Template. Use Akeeba to create a zip. That zip will be exactly like the Joomla full package zip. It will contain the files and database as well as an installer. Unzip it like the Joomla full package and run the installer.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Tue Apr 26, 2022 7:42 pm

Webdongle wrote:
Tue Apr 26, 2022 7:02 pm
Make your changes e.g. install a 3rd party Template. Use Akeeba to create a zip. That zip will be exactly like the Joomla full package zip. It will contain the files and database as well as an installer. Unzip it like the Joomla full package and run the installer.
So when unzipped and started installer I will face the Akeeba interface I do not want this. I want to create a package just as joomla installer package.
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41255
Joined: Sat Apr 05, 2008 9:58 pm

Re: How to create a Joomla 4 Quickstart package

Post by Webdongle » Tue Apr 26, 2022 7:58 pm

Then learn to code because it is not something than can be taught on a message board.
Although a web search turned up a few interesting results that suggest it is easy.
https://docs.jumazi.com/joomla-template ... rt-package
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Tue Apr 26, 2022 8:09 pm

My friend this is absolutely for joomla 3 I have already known how to create J3 quickstart and I am creating it for almost 10 years but that way does not work for J4. Have not you read my first message?
..what are key points of creating a joomla 4 quickstart package. It seems that the way we used to for joomla 3 does not work. Quick start packages created with old way fails when try to install
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12473
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: How to create a Joomla 4 Quickstart package

Post by brian » Wed Apr 27, 2022 5:54 am

all your sql should go into a file called custom.sql
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Wed Apr 27, 2022 6:19 am

Thanks Brian. Actually I have tried this way but I am getting error messages on last step. I am using Php Version 8 mysql 8. I have just tried again and the error message is "This command is not supported in the prepared statement protocol yet". There should be some key points when exporting database. Should I export all tables or should I exclude some of them like we used to do for joomla 3?. Thanks again.
Last edited by JTema on Wed Apr 27, 2022 6:58 am, edited 1 time in total.
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12473
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: How to create a Joomla 4 Quickstart package

Post by brian » Wed Apr 27, 2022 6:40 am

the install process will run base.sql, supports, extensions, custom in that order
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Wed Apr 27, 2022 6:56 am

brian wrote:
Wed Apr 27, 2022 6:40 am
the install process will run base.sql, supports, extensions, custom in that order
So that means if I exported all my db in custom.sql should I empty all other sqls?
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12473
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: How to create a Joomla 4 Quickstart package

Post by brian » Wed Apr 27, 2022 7:37 am

I can't and won't comment on how you should run your commercial development process. Honestly its not hard if you read the code.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Wed Apr 27, 2022 7:42 am

Okay thanks.
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template

joomtheme
Joomla! Apprentice
Joomla! Apprentice
Posts: 10
Joined: Fri Sep 10, 2021 1:12 pm

Re: How to create a Joomla 4 Quickstart package

Post by joomtheme » Fri May 06, 2022 4:17 pm

JTema wrote:
Wed Apr 27, 2022 7:42 am
Okay thanks.
I'm working on this topic. I'll let you know if I succeed. :pop

User avatar
JTema
Joomla! Guru
Joomla! Guru
Posts: 709
Joined: Sun Apr 13, 2008 8:10 pm

Re: How to create a Joomla 4 Quickstart package

Post by JTema » Fri May 13, 2022 2:13 pm

@joomtheme Thankyou very much.
http://www.joomlatema.net - Joomla Extensions and Templates
https://amitza.joomlatema.net - Amitza Professional Responsive Joomla Template


Post Reply

Return to “Joomla! 4.x Coding”