I updated today from 3.9.28 to 3.10.0 After I started the upgrade process I got the message
ERROR: Could not open archive part file /www/MyDomain.ch/MyDomain.ch/tmp//Joomla_3.10.0-Stable-Update_Package.zip for reading. Check that the file exists, is readable by the web server and is not in a directory made out of reach by chroot, open_basedir restrictions or any other restriction put in place by your host.
I quickly found the solution to this problem by google:
/MyDomain.ch/tmp
instead of /www/MyDomain.ch/MyDomain.ch/tmp/
Update from 3.9.28 to 3.10
Update aborted with above error message
n.a.
I surely never changed that value for a long time - while doing regular updates... So I just wonder: how was I able to run all the upgrades in the past????
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
Title |
|
@zero-24 I've had the same issue. In my case the cache was enabled and set to Progressive cache in the configuration. After disabling and cleaning the cache, the update worked...
@zero-24 I've had the same issue. In my case the cache was enabled and set to Progressive cache in the configuration. After disabling and cleaning the cache, the update worked...
hmm would be interesting to know what caching settings @TerraD has then but trying to debug the issue on a backup would help to understand why it fails cause caching should not break the upgrade.
The version was a wrong scopy/paste action from the solution I found with Google:
/www/MyDomain.ch/MyDomain.ch/tmp//Joomla_3.7.4-Stable-Update_Package.zip
should correctly be
/www/MyDomain.ch/MyDomain.ch/tmp//Joomla_3.10.0-Stable-Update_Package.zip
. I will try to correct that yet in my first post.
Mmm then is must be something else I did. Just to be complete:
Ass far as I recall: After the error I disabled the cache, cleaned all the Joomla cache and browser cache. Then I and went to the Joomla update component and clicked "Check for updates" Then I was able to update.
Hope this helps...
Ok thanks thats why I asked for a backup so i can try to reproduce and debug the issue
Thanks will take a look into that.
I don't know ho to send PN on GitHub. So I sent an email with a
TresorIt-link to Tobias's published Email. Hope that arrives.
--
Yes thanks it reached me will take a closer look into it this afternoon. There is no PN feature in GitHub ;)
Hmm I have just installed the site and upgraded it successfully without any issues to Joomla 3.10 while the correct folder was set for my local system by that kickstarter script so it was correct at the time.
When you set the path can you check whether there are any issues reported on System -> System Information -> Permissions?
Thanks
.. When you set the path...
I'm not sure if I should try to change my Temp Path again for your latest question. In my case, before the update to 3.10.0 there was a wrong path in the 'Path to Temp Folder' /www/dog-cart-thurgau.ch/dog-cart-thurgau.ch/tmp/ (so double error: domain name double and '/' at the end). I corrected this and then the upgarade to 3.10.0 was successful!
In the attached screenshot you see my current permissions. The Log folder seems interesting: it has the same structure as the Temp Folder had before and it is marked as 'Writeable'!
For a test I changed now 'Path to Temp Folder' to /dog-cart-thurgau.ch/tmp/ and the permissions page will still say it is writeable - however last week I was not able to update with that path: '/dog-cart-thurgau.ch/tmp//Joomla_3.10.0-Stable-Update_Package.zip' was marked as error. So I changed it for my update to /dog-cart-thurgau.ch/tmp
May I suggest, that it would be good programming practice to allow the user to enter paths with and without the trailing slash! Due to bad experiences I make all my programs fault-tolerant regarding this issue... (30 years ago you could deduce from MS documentation that the trailing slash is part of the path. But recent MS routines do not indicate that there is still such a rule...)
May I suggest, that it would be good programming practice to allow the user to enter paths with and without the trailing slash! Due to bad experiences I make all my programs fault-tolerant regarding this issue...
Good idea can you send a PR to take care of this similiar to your programs, so we dont have to reinvent the weel?
We might can also extend the validation or filter rule to make sure its set correctly.
?PR
?PR
Pull request on GitHub ;-)
Tnx, will send PR
Do I need to send a second PR regarding the non-existent Log folder that is considered to be writeable?
You can when you have code to handel it correctly.
Oh, PR requires a solution... Supposed it to be kind of feature request. I don't have code in PHP for this.
And I have neither for the Slash problem! I have a simple rule: Whenever I handle path-strings I assume them to be with a Slash; but I'll always handle the situation when the user does not supply one!
Labels |
Added:
bug
|
Labels |
Added:
J3 Issue
|
As Joomla 3 is now end of life and no longer supported I am closing this
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-09-01 15:53:39 |
Closed_By | ⇒ | brianteeman |
I think its also interesting to see the version 3.7.4 in the error message
/www/MyDomain.ch/MyDomain.ch/tmp//Joomla_3.7.4-Stable-Update_Package.zip
Would it be possible that you can send me a full backup of the 3,9,28 site to tobias.zulauf@community.joomla.org so this can be debugged?