Submitted by Vince42 on Wed, 02/21/2018 - 15:19 Pro Licensee
The self-contained CMS Grav (getgrav.org) is becoming more and more popular. Are there any plans to provide a script installer for it?
Status:
Fixed (pending)
Files:
The self-contained CMS Grav (getgrav.org) is becoming more and more popular. Are there any plans to provide a script installer for it?
Comments
Submitted by JamieCameron on Wed, 02/21/2018 - 23:12 Comment #1
Is it just a PHP app with no unusual dependencies?
Submitted by Vince42 on Sat, 02/24/2018 - 18:56 Pro Licensee Comment #2
Grav has no dependencies at all. It is a self-contained set of files. Please check getgrav.org, there are two main basic entry points aka downloads: Grav without and Grav with Admin Plugin. There is also a multitude of so called skeletons, but a basic "Grav" / "Grav + Admin" would absolutely do in order to get people up and running.
Submitted by Vince42 on Thu, 10/18/2018 - 18:40 Pro Licensee Comment #3
Did you find the time to check out whether a Grav script installer could make it into one of the next releases?
Submitted by andreychek on Thu, 10/18/2018 - 22:25 Comment #4
Vince42, I'll give Jamie a hand reviewing grav... one of the questions he'll have is regarding dependencies.
It looks fairly minimal, and doesn't even require a database -- but I do see that they seem to want some PHP modules.
Which PHP modules did you end up enabling on your system?
Looking at this page here:
https://learn.getgrav.org/basics/requirements
I see there's 11 or so PHP modules they mention... did you find that you needed to install all of those? I wasn't even sure what some where, such as simplexml and gtype.
However, they may be part of other modules, or even compiled into PHP.
Submitted by Vince42 on Fri, 10/19/2018 - 16:08 Pro Licensee Comment #5
I hardly remember which modules I did install ... I think that Grav is complaining about the missing modules explicitly and I think that I just installed the complaint modules and were up and running.
Indeed this CMS has very few dependencies (which makes it very nice for little projects). Still trying to figure out some concepts, but it is really neat.
Submitted by JerryPape on Thu, 11/29/2018 - 23:04 Pro Licensee Comment #6
I am also very interested in Grav as a scriptable install/update.
Submitted by Vince42 on Thu, 01/31/2019 - 08:36 Pro Licensee Comment #7
Are there any news on this topic?
Submitted by Vince42 on Mon, 05/13/2019 - 14:31 Pro Licensee Comment #8
Are there any news on this topic?
Submitted by olidev on Wed, 11/20/2019 - 05:49 Comment #9
No dependencies at all. That's what I like about Grav. I recently installed it on my PHP web hosting and gave it a test drive. The CMS is lightweight and has a simple and clean interface. Not bloated like WordPress.
Submitted by Vince42 on Thu, 11/28/2019 - 06:08 Pro Licensee Comment #10
It would be nice, if we had install scripts for systems, which do not require anything special. I recently came across "October", which seems to be similar non-dependent and light-weighted.
Submitted by apt_virtualmin on Sun, 12/29/2019 - 23:06 Pro Licensee Comment #11
Just some feedback. I installed as a test Grav on our virtualmin server by simply uploading the files to a virtual server (as it does not require a db) and it worked fine without any php changes (running default virtualmin installed php 7.2 on CentOS 7) so appears it is as simple as it claims and from virtualmin standpoint it is as simple as creating a directory and extracting the files - all required php components are already in place.
Submitted by JamieCameron on Mon, 12/30/2019 - 12:05 Comment #12
Ok, that maybe pretty easy to support then ... I'll take a look
Submitted by Vince42 on Tue, 01/07/2020 - 06:56 Pro Licensee Comment #13
It would also be cool to have other flat file CMS as script installers like https://octobercms.com.
Submitted by JamieCameron on Sat, 02/22/2020 - 20:52 Comment #14
Ok, I've added an installer for Grav - it should be available to all Virtualmin Pro users within 1 day.
Submitted by Vince42 on Thu, 04/02/2020 - 12:09 Pro Licensee Comment #15
I do not see the Grav installer in Virtualmin. Do I need to upgrade / update anything in order see the new installer?
Submitted by JamieCameron on Sat, 04/04/2020 - 14:15 Comment #16
Which Virtualmin version are you running there?
Submitted by Vince42 on Sat, 04/04/2020 - 16:25 Pro Licensee Comment #17
Virtualmin 6.08 Webmin 1.941 Usermin 1.791
Submitted by JamieCameron on Sun, 04/05/2020 - 15:25 Comment #18
Apologies, I forgot that new scripts are only picked up with new Virtualmin releases.
Submitted by JamieCameron on Sun, 04/05/2020 - 15:31 Comment #19
As a work-around, save this attached file in /etc/webmin/virtual-server/latest-scripts/
Submitted by Vince42 on Fri, 04/10/2020 - 08:29 Pro Licensee Comment #20
I successfully uploaded the script and were able to run the script. Unfortunately it does not run through, but stops with
Failed to install script : Grav appears to be already installed in the selected directory
, which was / is not the case, as thepublic_html
does only contain anindex.php
from a week ago.Submitted by JamieCameron on Sat, 04/11/2020 - 13:55 Comment #21
Just delete that index.php file and re-try
Submitted by Vince42 on Tue, 04/14/2020 - 14:57 Pro Licensee Comment #22
Thank you, it worked. Maybe you should consider deleting existing files by the script? It would also be good to set the minimum required PHP version by the script as well.
Submitted by JamieCameron on Sun, 04/19/2020 - 19:50 Comment #23
What I'll do is fix the way an existing install of Grav is detected, to not trigger on other
index.php
files.Submitted by Vince42 on Mon, 11/30/2020 - 06:50 Pro Licensee Comment #25
The last comment from ohonrehman is obviously spam. Please consider to block that user.