J4 Issue ?
avatar brianteeman
brianteeman
15 Jun 2018

If joomla does not have the necessary permissions to create the configuration.php then you will get the following screen but there is no option to supply the ftp details

chrome_2018-06-15_14-32-19

@dgrammatiko @wilsonge

avatar brianteeman brianteeman - open - 15 Jun 2018
avatar joomla-cms-bot joomla-cms-bot - change - 15 Jun 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 15 Jun 2018
avatar brianteeman brianteeman - change - 15 Jun 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 15 Jun 2018
avatar franz-wohlkoenig franz-wohlkoenig - change - 15 Jun 2018
Category com_installer
avatar franz-wohlkoenig franz-wohlkoenig - change - 15 Jun 2018
Status New Discussion
avatar wilsonge wilsonge - change - 17 Jun 2018
Labels Added: ?
avatar wilsonge wilsonge - labeled - 17 Jun 2018
avatar wilsonge
wilsonge - comment - 17 Jun 2018

I know dimitris really struggled to find a server that he could test the ftp setup on. this should be the opportunity he needs :)

avatar brianteeman
brianteeman - comment - 17 Jun 2018

I changed the code to make that screen appear

avatar HLeithner
HLeithner - comment - 9 Aug 2018

any solution to this? @brianteeman which code did you changed?

avatar dgrammatiko
dgrammatiko - comment - 9 Aug 2018

IIRC the idea back then was to make a check if the installation has the right permissions to write a file and if not provide a simple form (in the first screen were we do the rest of the checks against the prerequisites) and only if the supplied credentials were correct (eg file can be created/deleted) continue to the normal installation. Unfortunately, I wasn't able to reproduce such an environment locally although many people suggested quite some options. Tobias provided a server but that wasn't realistically usable for developing (and writing code upload and then check is really painstakingly slow process).

Anyways this needs to be fixed, obviously, thus I wanted to point out what was the initial idea for the implementation

avatar dgrammatiko
dgrammatiko - comment - 9 Aug 2018

BTW we still miss another thing that it was introduced somewhere in the 3.7 (file creation on the server before continue) and that one should also be introduced in the checks page (although it refers to the database)

avatar brianteeman
brianteeman - comment - 9 Aug 2018

@dgrammatiko we have a release blocker issue as a reminder for that as well iirc

avatar wilsonge
wilsonge - comment - 9 Aug 2018

We do #18736

avatar brianteeman brianteeman - change - 8 Nov 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-11-08 13:17:43
Closed_By brianteeman
Labels Added: ?
Removed: ?
avatar brianteeman brianteeman - close - 8 Nov 2018
avatar wilsonge wilsonge - change - 2 Apr 2019
Status Closed New
Closed_Date 2018-11-08 13:17:43
Closed_By brianteeman
Labels Added: ?
Removed: ?
avatar wilsonge wilsonge - reopen - 2 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 Apr 2019
Status New Discussion
avatar joomla-cms-bot joomla-cms-bot - change - 3 Apr 2019
Labels Removed: ?
avatar joomla-cms-bot joomla-cms-bot - unlabeled - 3 Apr 2019
avatar franz-wohlkoenig franz-wohlkoenig - change - 21 Jul 2019
Labels Added: ?
avatar franz-wohlkoenig franz-wohlkoenig - labeled - 21 Jul 2019
avatar Quy Quy - change - 1 Oct 2019
Labels Added: ?
avatar Quy Quy - labeled - 1 Oct 2019
avatar Quy Quy - change - 1 Oct 2019
Labels Added: ?
avatar Quy Quy - labeled - 1 Oct 2019
avatar alikon alikon - change - 24 Jan 2020
Labels Removed: ? ?
avatar alikon alikon - unlabeled - 24 Jan 2020
avatar alikon alikon - unlabeled - 24 Jan 2020
avatar PhilETaylor
PhilETaylor - comment - 17 Jun 2020

I know dimitris really struggled to find a server that he could test the ftp setup on

Do people know how to use docker/docker-compose? if so I can build you an infrastructure-in-a-container that will provide the services you need in one place alltogether

avatar wilsonge
wilsonge - comment - 17 Jun 2020

That would be good enough for me

avatar PhilETaylor
PhilETaylor - comment - 18 Jun 2020

Almost there - in the meantime can I say that Joomla 3 sucks and its currently impossible to install Joomla 3 over the FTP layer due to bugs... but once installed (manually uploading the configuration.php) the FTP layer then works

Lost time so far: 3 hours...

avatar brianteeman
brianteeman - comment - 18 Jun 2020

I am glad you could confirm that, because any reason to support FTP install for j4 is now pointless.

avatar PhilETaylor
PhilETaylor - comment - 18 Jun 2020

For once, we agree. Dropping the FTP layer in Joomla 4 makes perfect sense. Its 2020.

However there are still web hosts out there, and self-managed servers, that have a bad set up where the apache user is different from the ftp user and permissions nightmares. So the FTP layer overcomes those cases.

Its a useless feature when used on professional web hosting though.

avatar dgrammatiko
dgrammatiko - comment - 18 Jun 2020

So the FTP layer overcomes those cases.

Practically WHO will ever install directly the software in a host?
I think the whole approach is based on assumptions.. Most people will do any work on a localhost and then upload it to the server and actually this should be the expected behaviour. For those that want to have a staging dev they're already have more than adequate knowledge to deal with installing Joomla directly on a server...

Are you trying to solve a non existing problem here (again)?

avatar PhilETaylor
PhilETaylor - comment - 18 Jun 2020

upload it to the server

If the server is a professionally installed correctly configured server... perfect.

But if its a self-installed self-managed Out-of-the-box server where the FTP user and the Apache user are different... then the FTP layer is useful.

I doubt anyone is using it though. And those that are are exposing their passwords in plain text in configuration.php

Its not my decision to remove the FTP layer, and Im not promoting keeping it, I just offering to create an infrastructure in docker so things could be tested. That I have done and am uploading it now

avatar brianteeman
brianteeman - comment - 18 Jun 2020

My point was that if it doesnt work under J3 and no one has reported this then we can perhaps conclude that no one needs to install joomla this way. If that conclusion is correct then we dont need to offer it in J4 either.

Note I am talking about FTP installation and not FTP layer

avatar PhilETaylor
PhilETaylor - comment - 18 Jun 2020

Well FTP Installation means nothing more than "storing the initial configuration.php using the FTP Layer"

That 100% doesnt work in Joomla 3.9.19 at all.

avatar dgrammatiko
dgrammatiko - comment - 18 Jun 2020

That 100% doesnt work in Joomla 3.9.19 at all.

So that aligns perfectly with what @brianteeman wrote above. If nobody reported then probably (assumption here) nobody is using it. I'm fine with this assumption...

avatar PhilETaylor
PhilETaylor - comment - 18 Jun 2020

Also on this page the Verify FTP settings and the Autofind button do nothing, regardless of whatever is entered (or not entered)

Screenshot 2020-06-18 at 15 41 25

avatar PhilETaylor
PhilETaylor - comment - 18 Jun 2020

Well as promised, here is a repo that uses docker (and docker-compose), the official Joomla Docker images (with additional FTP server installation, permissions modifications etc) to fake a "server that needs the FTP layer to install and run Joomla"

https://github.com/PhilETaylor/joomla-ftptest

Its not pretty, its not permanent, it is what it is.

avatar PhilETaylor
PhilETaylor - comment - 6 Oct 2020

Bringing over the screenshot asked for from #29618 (comment) so it doesn't get lost now that duplicate issue is closed.

84708086-bf9d6400-af57-11ea-88e9-dc4759da5aba

avatar Quy
Quy - comment - 27 Jan 2021

Please test PR #31857

avatar gostn
gostn - comment - 28 Jan 2021

@Quy close issue?

avatar alikon alikon - change - 28 Jan 2021
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2021-01-28 07:29:59
Closed_By alikon
avatar alikon alikon - close - 28 Jan 2021
avatar alikon
alikon - comment - 28 Jan 2021

closing as we have a pr to test #31857

avatar gostn
gostn - comment - 28 Jan 2021

@richard67 now you see what i mean #32006 (comment)).

avatar wilsonge wilsonge - change - 20 Feb 2021
Labels Removed: ?
avatar wilsonge wilsonge - unlabeled - 20 Feb 2021

Add a Comment

Login with GitHub to post a comment