?
avatar mavrosxristoforos
mavrosxristoforos
28 Dec 2018

Steps to reproduce the issue

  1. Go to Joomla Releases and download the package for Joomla 4 Alpha 6.
  2. Extract the archive contents in your web server desired directory
  3. Open in web browser

Expected result

Joomla Installation process

Actual result

An admittedly beautiful error screen that mentions: "It looks like you are trying to run Joomla! from our git repository. To do so requires you complete a couple of extra steps first." and a link to Setting Up Your Local Environment.

I did not clone the git repository. But then, of course, I tried to follow the instructions found in the help link. It mentions to run composer install in the root directory of the git repo. One assumes, that this means to run the command in the downloaded and extracted directory. I did try that, but there is no composer.lock file.
So, do we have to clone the repository to test the latest Joomla alpha release? If yes, shouldn't that be specifically described in the release notes? Again, if yes, why include a non working Joomla_4.0.0-alpha6-Alpha-Full_Package.* file?
I am assuming (and hoping) that this is just an issue with the release, rather than a change of the release process.

System information (as much as possible)

Windows 10, WAMP 64, PHP 7.0.4, Composer 1.7.3, Node.js 8.9.4, NPM 5.6.0

Additional comments

This issue is similar to issue 22945. However, in that issue it is mentioned that the Alpha 6 process would be different.

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
4.00

avatar mavrosxristoforos mavrosxristoforos - open - 28 Dec 2018
avatar joomla-cms-bot joomla-cms-bot - change - 28 Dec 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 28 Dec 2018
avatar ghazal
ghazal - comment - 29 Dec 2018

Unfortunately, I think you are right.
This release is missing the necessary composer.lock and composer.json to install composer.

actually there are 2 distributions of J4,
the one in Nightly Builds
now alpha 7, and installable normally

and the github one
with all the necessary files to install composer (and node and npm for that matter).
All required/mandatory in this distribution.

What I understand is that maybe there has been a mixup between these two.

But I might be wrong.

avatar richard67
richard67 - comment - 29 Dec 2018

Issue #22945 is misleading. It tells to use nightly build, but as well as the nightly builds also the alpha 6 release build should contain the generated files and dependencies, so composer install and npm install should not be necessary with any build, and cloning the repository should also not be necessary.

I assume that in the same way as is was with alpha 5, the alpha 6 does not contain generated files and dependencies because either composer install or npm install has crashed or not been executed during the build phase.

avatar richard67
richard67 - comment - 29 Dec 2018

@zero-24 @wilsonge Could you check if I am right with my previous comment and if necessary rebuild alpha 6 so we have new containers (zip, tgz, ...)?

avatar richard67
richard67 - comment - 29 Dec 2018

@zero-24 @wilsonge I've just compared the alpha 6 container (zip) with the one of the nightly build of today.

In alpha 6 the file libraries/vendor/autoload.php is missing, which should have been generated by composer and is present in the nightly build.

Can this be the reason why installing alpha 6 fails with the famous "It looks like you are trying to run Joomla! from our git repository. ..." message?

avatar zero-24
zero-24 - comment - 29 Dec 2018

Can this be the reason why installing alpha 6 fails with the famous "It looks like you are trying to run Joomla! from our git repository. ..." message?

Yes :)

avatar richard67
richard67 - comment - 29 Dec 2018

So who will rebuild the alpha 6 containers (zip, tgz)?

avatar wilsonge
wilsonge - comment - 29 Dec 2018

I will get on it. Apologies

avatar richard67
richard67 - comment - 29 Dec 2018

@wilsonge You owe us all a beer ?

avatar wilsonge
wilsonge - comment - 29 Dec 2018

Packages are updated. i think they have the right composer files this time. apologies.

avatar wilsonge wilsonge - close - 29 Dec 2018
avatar wilsonge wilsonge - change - 29 Dec 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-12-29 14:39:16
Closed_By wilsonge
avatar richard67
richard67 - comment - 29 Dec 2018

@wilsonge I can confirm that compared to the old alpha 6 zip, the new one in addition contains file libraries/vendor/autoload.php and folder libraries/vendor/composer (with files in it).

@mavrosxristoforos Can you download the package for Joomla 4 Alpha 6 again and test if your issue is solved? If not, post back here.

Add a Comment

Login with GitHub to post a comment