?
avatar elpescador-nl
elpescador-nl
3 Nov 2020

Steps to reproduce the issue

I followed the steps to upgrade from 3.9.22 to 4.0 beta 5 using the steps described in this article: https://www.joomla.org/announcements/release-news/5825-joomla-4-0-0-beta5-and-joomla-3-10-alpha3.html

  1. Go to the Joomla Update Component Options and switch the Update Channel to “Testing” and the Minimum Stability option to “Alpha”.
  2. Update to the latest 3.10 alpha using the Joomla Update Component.
  3. Now please switch the Update Channel to “Custom URL” and set the Custom URL to “https://update.joomla.org/core/test/310to4_list.xml”
  4. Now you get the update to the latest 4.0 beta release.

Expected result

I would expect the update to complete without errors.

Actual result

Update to 3.10 alpha goes all well. Updating from 3.10 alpha to 4.0 beta 5 results in an error while doing the update: ERROR: Could not open /application/public/media/mod_languages/images/si_lk.gif for writing.
After this error the update stops and the result is a broken installation of Joomla! version somewhere in between 3.10 and 4.0.

Joomla_Update_-_verbs_cat_-_Administration

System information (as much as possible)

  • PHP: 7.4.10 (php-fpm)
  • DB: 5.5.5-10.4.14-MariaDB-1:10.4.14+maria~focal
  • Webserver: nginx 1.19.2

All runs locally in Docker containers on MacOS as host.

avatar elpescador-nl elpescador-nl - open - 3 Nov 2020
avatar joomla-cms-bot joomla-cms-bot - change - 3 Nov 2020
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 Nov 2020
avatar zero-24
zero-24 - comment - 3 Nov 2020

Hmm can you confirm the permisson of that file and that your site has still space left? And can you reproduce that issue?

avatar elpescador-nl
elpescador-nl - comment - 3 Nov 2020

The file /application/public/media/mod_languages/images/si_lk.gif does not exist in my current stable 3.9.22 version, whereas it exists in the upgrade package. Other files like si.gif, es_es.gif, es.gif in the same folder exist in the installed version as well as the upgrade package.
The folder /application/public/media is writable (like all other folders) and there is still plenty of disk space.

I've "successfully" reproduced this same issue twice.

avatar zero-24
zero-24 - comment - 3 Nov 2020

Hmm that does not look correct will take a look into it myself.

avatar SharkyKZ
SharkyKZ - comment - 3 Nov 2020

The file is being deleted by update script. Also in the past the file was named si_LK.gif. Added to #30802.

avatar zero-24
zero-24 - comment - 3 Nov 2020

Ah so it it a timing issue for the deltion and than re creation?

avatar SharkyKZ
SharkyKZ - comment - 3 Nov 2020

No, the correctly cased file is also in the deleted files list. Not sure if removing it from the list is going to solve the issue. On case insensitive filesystem it's still going to be deleted.

avatar zero-24
zero-24 - comment - 3 Nov 2020

That has been fixed here: #30802 right?

avatar SharkyKZ
SharkyKZ - comment - 4 Nov 2020

In #30802 these files are removed from delete list and added to case sensitive rename list. I can't say if this fixes the issue mentioned here. I can't reproduce the issue myself, so can't test it.

@elpescador-nl Could you by chance test #30802 to see if it fixes your issue? You'd need to update to the package provided in that PR before upgrading to 3.10.

avatar elpescador-nl
elpescador-nl - comment - 4 Nov 2020

@SharkyKZ, yes I'd be glad to test #30802 . I can test it from an existing 3.9.22 installation. How can I update with a PR like this one?

avatar elpescador-nl
elpescador-nl - comment - 4 Nov 2020

As I mentioned in my 3.9.22 the file /media/mod_languages/images/si_lk.gif was missing. I don't know why; it isn't a fresh installation and it might have vanished through incremental updates or maybe it has never been there.
I copied the file from an installation zip Joomla_3.9.22-Stable-Full_Package.zip and now the entire updating process works just fine.

avatar zero-24
zero-24 - comment - 4 Nov 2020

hmm i would say the update should not file when an file that should be deleted is not there.

avatar SharkyKZ
SharkyKZ - comment - 5 Nov 2020

To test #30802 you'd need to download the package from https://ci.joomla.org/artifacts/joomla/joomla-cms/staging/30802/downloads/37346/ and update using it before updating to 3.10 and then to 4.0.

avatar wilsonge
wilsonge - comment - 12 Jan 2021

PR in #32006

avatar wilsonge wilsonge - close - 12 Jan 2021
avatar wilsonge wilsonge - change - 12 Jan 2021
Status New Closed
Closed_Date 0000-00-00 00:00:00 2021-01-12 18:27:23
Closed_By wilsonge

Add a Comment

Login with GitHub to post a comment