Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update 3.10 to Joomla_4.0.0-alpha12-dev-Development-Update_Package.zip #26588

Closed
Stuartemk opened this issue Oct 14, 2019 · 9 comments
Closed

Comments

@Stuartemk
Copy link

Steps to reproduce the issue

Update 3.10 to Joomla_4.0.0-alpha12-dev-Development-Update_Package.zip

Expected result

Work normal

Actual result

Backend: Error: Unknown asset "template.atum.ltr": Call to undefined method Joomla\CMS\Application\AdministratorApplication::isSite()

Frontend: Error: Unknown column 'm.publish_up' in 'where clause': Call to undefined method Joomla\CMS\Application\SiteApplication::isSite()

System information (as much as possible)

Mysql 5.7.27
Php 7.2.19

Additional comments

@sakiss
Copy link
Contributor

sakiss commented Oct 14, 2019

You cannot update 3.x to 4.x.
Joomla 4 is a new system.

@Stuartemk
Copy link
Author

You cannot update 3.x to 4.x.
Joomla 4 is a new system.

@sakiss https://developer.joomla.org/news/764-joomla-3-10-and-joomla-4-0.html

@richard67
Copy link
Member

richard67 commented Oct 14, 2019

For the same reason as stated here #26587 (comment) , you can't update yet from a 3.10. But for testing purpose it is currently still possible to update from e.g. 3.9.12 to 4.0.0-alpha12-dev. The update has to be done with the "Upload & Update" tab ot the Jooma Update Component. You have to download the update zip container before. During the update there will be a few times warmings about misssing administrator template, but after successful end of the update and first login to the admin area and navigating first time to somewhere else than the starting screen, these warning will not appear anymore because the new template will be used, and you can use the backend and frontent in the normal way.

@richard67
Copy link
Member

So I would recommend to close this issue as expected behavior. @wilsonge please confirm.

@Stuartemk
Copy link
Author

For the same reason as stated here #26587 (comment) , you can't update yet from a 3.10. But for testing purpose it is currently still possible to update from e.g. 3.9.12 to 4.0.0-alpha12-dev. The update has to be done with the "Upload & Update" tab ot the Jooma Update Component. You have to download the update zip container before. During the update there will be a few times warmings about misssing administrator template, but after successful end of the update and first login to the admin area and navigating first time to somewhere else than the starting screen, these warning will not appear anymore because the new template will be used, and you can use the backend and frontent in the normal way.

@richard67 My friend, you say that for testing purposes the update should be done for example from a clean installation from 3.9.12 to 4.0.0-alpha12-dev, without first doing a previous update from 3.9.12 to 3.10? I don't think that is correct since in the oficial joomla page it is mentioned that version 3.10 is the bridge to go from 3.x to 4.x

I installed 3.9.12 clean and updated with Joomla_4.0.0-alpha12-dev-Development-Update_Package.zip, without going through a previous update from 3.9.12 to 3.10,

Error: The template for this display is not available.

He then asked for credentials confirmation and showed, let's say normal backend and frontend.

@richard67
Copy link
Member

@Stuartemk Yes, you understood me right, that's what I say. The official page describes the situation how it will be when 4.0 and 3.10 have been released. For now we are testing updates to 4.0-dev as described in this issue here: #25467 . The description was made by the release lead for 4.0, so if that is wrong don't blame me ;-) The "Error: The template for this display is not available." message coming several times during the update process is also expected, see description in that issue, and it is also expected that you have to enter additionally credentials 2 times, at beginning andat finalisation of the update. Then when logging in to backend, this error message comes 1 final time, but after you started to navigate around in backend it will not come again and all tille be ok, because the new template has been set as default with the fist login.

@Stuartemk
Copy link
Author

@Stuartemk Yes, you understood me right, that's what I say. The official page describes the situation how it will be when 4.0 and 3.10 have been released. For now we are testing updates to 4.0-dev as described in this issue here: #25467 . The description was made by the release lead for 4.0, so if that is wrong don't blame me ;-) The "Error: The template for this display is not available." message coming several times during the update process is also expected, see description in that issue, and it is also expected that you have to enter additionally credentials 2 times, at beginning andat finalisation of the update. Then when logging in to backend, this error message comes 1 final time, but after you started to navigate around in backend it will not come again and all tille be ok, because the new template has been set as default with the fist login.

All that you describe is correct in relation to the behavior of the direct update from 3.9.12 to 4.x.

From the above I have nothing to say but that is correct.

Where I don't see it right is that the update from 3.9.12 to 4.x is done, what is the point of 3.10? However, going from 3.9.12 to 4.x is functional, while going from 3.9.12 to 3.10 and then to 4.x the backend and the frontend no longer work.

Thanks for your time.

@richard67
Copy link
Member

@Stuartemk I think we have an intermediate solution right now, and I think that before 3.10 and 4.0 RC will be released, the official update path will be established, that's at least what I know. The reason for 3.10 will be that there will be a kind of compatibility layer so extensions can be used on 3.10 but be made ready for 4.0 too.

I think we both agree that the current situation with official documentation telling about how it will be but not about how it is now is not optimal and so confusing testers, and we should be happy to have volunteer testers and not make them run away. I will see where I can discuss with maintainers so we can solve this soon.

Anyway, a big thank you to you that you are testing, and if I appeared unfriendly or unpatient in some way then sorry, that was really not my intention. I only have not much time here at work for writing, maybe that was the reason.

@Stuartemk
Copy link
Author

@richard67

Apparently the error was caused by a third-party plugin for a Deprecated statement: isSite (), instead of isClient (´site´)

You can close this Issue

@Quy Quy closed this as completed Oct 14, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants