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
Labels |
Added:
?
|
Labels |
Added:
J4 Issue
|
Category | ⇒ | com_installer |
Status | New | ⇒ | Discussion |
Labels |
Added:
?
|
I changed the code to make that screen appear
any solution to this? @brianteeman which code did you changed?
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
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)
@dgrammatiko we have a release blocker issue as a reminder for that as well iirc
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-11-08 13:17:43 |
Closed_By | ⇒ | brianteeman | |
Labels |
Added:
?
Removed: ? |
Status | Closed | ⇒ | New |
Closed_Date | 2018-11-08 13:17:43 | ⇒ | |
Closed_By | brianteeman | ⇒ | |
Labels |
Added:
?
Removed: ? |
Status | New | ⇒ | Discussion |
Labels |
Removed:
?
|
Labels |
Added:
?
|
Labels |
Added:
?
|
Labels |
Added:
?
|
Labels |
Removed:
?
?
|
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
That would be good enough for me
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...
I am glad you could confirm that, because any reason to support FTP install for j4 is now pointless.
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.
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)?
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
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
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.
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...
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.
Bringing over the screenshot asked for from #29618 (comment) so it doesn't get lost now that duplicate issue is closed.
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-01-28 07:29:59 |
Closed_By | ⇒ | alikon |
@richard67 now you see what i mean #32006 (comment)).
Labels |
Removed:
?
|
I know dimitris really struggled to find a server that he could test the ftp setup on. this should be the opportunity he needs :)