Jul 31
Joomla! 1.5.14 released, easy updates with JUpdateMan
A few hours ago Joomla! 1.5.14 was released and I updated my websites. It’s a great feeling to be able to update a Joomla! site in under a minute from logging in, to finding and downloading the update to applying it. Check out the latest update manager and download the latest Joomla! release now.
41 comments41 Comments so far
Leave a comment
Yes, really great stuff, I updated 16 of my websites in a short time, with other couple of them I was having some problems, I’ll try email you screens.
But anyway, this tool is so great, thank you for keeping it developing.
I have got the following error:
Warning: file_put_contents(C:\AppServ\www\music\T?���wD��nA’��M� m��B��fb��gAg�g� ���I+�2�L�ģ�mih�I�M�ħ��n��87]�Vy�Ւr�Ib��T)��{pB�+i�R) [function.file-put-contents]: failed to open stream: No such file or directory in C:\AppServ\www\music\libraries\joomla\filesystem\file.php on line 297
Failed to extract archive!
Sorry my bad, I didn’t configured the component properly,
Now it functions like a charm!
thanks!
Thank you. What a time saver! Where can I submit a small donation in appreciation?
Hi Paul, If you have a look on http://sammoffatt.com.au/jauthtools there is a donate link there to PayPal (a bit hidden on the left) that you can use if you’re interested.
Hi Milutin, I’ll email you about that, even if you misconfigure it the tool shouldn’t misbehave that badly. I’m emailing you to find out some more details so that I can fix it up.
I’m getting the following errors, and while not sure this is the proper place to look for support, at least you’ll have the data.
Warning: parse_url(ftp://****@127.0.0.1:21joomla/tmp/jupgrader.xml) [function.parse-url]: Unable to parse URL in /*****/joomla/administrator/components/com_jupdateman/libraries/joomla/filesystem/stream.php on line 116
Warning: fopen(ftp://…@127.0.0.1:21joomla/tmp/jupgrader.xml) [function.fopen]: failed to open stream: Operation now in progress in /*****/joomla/administrator/components/com_jupdateman/libraries/joomla/filesystem/stream.php on line 166
Download Failed: Local output opening failed: fopen(ftp://…@127.0.0.1:21joomla/tmp/jupgrader.xml) [function.fopen]: failed to open stream: Operation now in progress(43)
I’ve tried to use the cache method and get the jupgrader.xml file manually, but that returns a page with a url on it, and following that url gives a another page. Putting just that url in the document gives a different error. If it matters I’m trying to go from 12->14. But it doesn’t look like the code gets that far.
Hi Kristofer,
Looks like there is a strange issue with relative FTP paths. What happens if in your FTP configuration you prepend the FTP path with a slash? I have another user with this report as well, I’m checking up on how PHP treats FTP pathing with its streams.
I need to do a walk through on how the cached method works. Basically you upload the jupgrader.xml file into place and upgrade the package you want to use and it should find both of these once you’ve enabled the cached update mode in the params for the extension. Is this what you’ve done?
Well my ftpd is configured to chroot jail the user, so if in joomla I enter a full path it complains that it can’t write/read from the whole thing, which is completely true given the jail. Normally I’d expect not to put a leading slash in it but as it’s going to be locked to the jail and relative to that…
Well I tried it and that did not generate the error. Not sure if it will confused or cause issues with JFTP with other operations, but given this logic we should be okay. It’s not going to update as I did it manually after the updater failed.
As to your cache questions, it was not clear at all what the jupgrader.xml file contained. When I followed the link to get it manually there was a page with a single URL on it. When I pasted that url into a file named jupgrader.xml it barfed on a syntax error. When I followed the url in my browser it gave me a fully realized page, I didn’t grab the source for that or try to get clever as it just wasn’t clear what was wanted.
You’re leading / within the ftp settings has resolved it for me it seems. Before I jailed the user it was in fact a full path with a leading / so this issue may well be uncommon. Thanks for your very prompt response.
Ok, so I need to document the cached mode. Basically you download a copy of the update file and upload it to the relevant location and it should work and then you download the package file and upload it and then it should work. I will work on getting some documentation around that over the next week or so.
You can force a full update though I would advise against it unless you’re experiencing issues.
There are a few things that can happen with the jails. You can have it set up in a larger jail so that it looks like the entire system is there in the jail but its all fake and you can also configure FTP servers to just jail the target in a particular destination. I think you’ve got it set up this way so for FTP, the root is in fact the home directory and this is why the preceding slash works fine. It appears JFTP is more forgiving about relative pathing since it just dumps files directly from what ever directory it is left in. Will have to add something to check for that as well since it looks like PHP’s streams are always absolute and never relative.
Good to see that it is all resolved.
Hi Pasamio, What a great job you did by building this component. Thnx for that! After i installed the component i keep getting this error.
Download Failed: Local output opening failed: fopen(ftp://…@ftp.****.nl:21domains/***.nl/public_html/v20082/tmp/jupgrader.xml) [function.fopen]: failed to open stream: Operation now in progress(43)
It seems i can only get this working by using cache.
What can i do to solve this problem?
Kind regards,
Mark
Hi Mark, You need to have a full path in your FTP path as I’m suggesting with Kristofer above. I’m working on an update to detect this and display a warning where possible with a suggestion for improving. Try prefixing your FTP path in your Joomla! configuration with a slash and see if that resolves the issue for you.
Thnx that worked!
I added the prefix to my ftp path and it did proceed. However I now get this.
JFolder::create: Infinite loop detected
Unable to create destination
Hi Chris, I have another report of that happening as well. I’m not quite sure what the cause is at the moment. What extractor are you using? (you can check it out in params)
I have tried all of them except the one for pearl.
If I select “curl” I get this message.
Error: MD5 checksum does not match! Delete and redownload file.
What would happen I dowloaded Full package?
What would that do to my site?
What versions are you moving between? I’ll see if I can replicate the error locally
1.5.10 and 1.5.14
Cheers, I’ll see what I can do later with it.
I am having the same problem
JFolder::create: Infinite loop detected
Unable to create destination
Any ideas. Trying update from 1.5.10 to 1.5.14
Hi Randy, i tried to update and I didn’t have any problem. Do you have something like FTP enabled?
Yes, I am using the FTP Layer to install components
Ok, that is a hint, I’ll have to try to update with FTP mode on and see if I can replicate the issue. I’m at JoomlaDay Thailand at the moment so it’ll be a week before I can test it out and replicate it.
I just wanted to first say THANKS! JUpdateMan has been a huge help.
Also, I was having several, several problems getting the updater to work at first: “Unable to parse URL” was the most common…but then I realized the script kept choking on my FTP password, which had strange characters like + ; ) – after I changed the password to all letters and numbers, the updater works fine.
Finally, I would like to know where to place the update package on my server if I want to do a manual download of it. I don’t yet want to update to the current version, but would like to use your component to update to a previous version.
THANKS!!
–bp
Hi brandonjp,
Interesting, I’ll have to do some tests and work out how I can recode it to get it to work properly. It uses PHP’s stream API so I might need to encode something some where differently to get it to work properly.
Everything lives out of the configured Joomla! temporary directory. So for a previous release you will need to flick it into cached mode under params, grab a copy of jupgrader.xml for that release (it is automatically generated on my side by looking for the latest release and spitting out an XML file) and the file you want to use. You can grab the current one, gut it of the pointless information to create a file for the release you’re interested in, I hope the format is simple enough if you’re comfortable playing with XML. If you need a hand just post and I’ll have a look through.
Hi there,
First of all, i would like to thanks Jupdateman for that component, it is great facilitate my life regarding updates.
Testing on my localhost, it works great downloading my xml and my .zip files but once online i have the problem about that fopen failed: Remote Server connection failed: and failed to open stream: no suitable wrapper could be found; Using Proxy: No(42).
I have my xml stored on my server.
Do i need to enter the proxy details?? or must i change my ftp layer details.
Thanks again.
Regards,
Jerome
Hi there,
I have just checked on another website and it worked.
I was first checking to download the updates from the same server but different folder (main website: publichtml/beta/ —– udpates located on: publichtml/updates). ftp root must have been getting confused.
sorry for putting an nonsense comment
my bad.
Good to see that you got it sorted.
Hi,
I am updating from 1.5.10 to 1.5.14 and experience the same problem as Chris above. I checked the uploaded files:
- the xml file is ok
- but the patch size is “0″.
Does it help?
Thanks.
Regards
Asbjørn
Yes! it worked for me..after a bit struggle.
In parameters, i selected “Joomla1.5 default extractor” and seleted cache to “Yes”. Download method-”fopen”.
When i checked my tmp directory (permission should be 777) i found jupgrader.xml as size 0 bytes.ie.nothing written automatically. so i copied the contents from above given link to jupgrader.xml and created a new file with unicode encoding. After saving, the jupgrader.xml was uploaded to tmp folder.
Now i went to Update manager menu in joomla and proceeded to step 2. I have downloaded a zip format upgrade package from 1.5.14to 15 from joomla. but later on i understood that the format used by this should be tar.gz. so i followed the link in step2 to download latest joomla patch and uploaded it to tmp folder. just reload the page and confirm the package..You are ALSO done!
Hi,
Same MD5 message. I want to update from 1.5.6 to 1.5.15. No proxy.
Thank you for the great extention, I used it successfully on three other sites.
Bart
The problem is solved. I have expanded the Mb reserved for this account.
Bart
I was updating from 1.5.10 to 1.5.15. As normal procedure failed, I tried using cached method and followed the same procedure as “San” described on Nov 13, 2009. The step 3 could not be completed and the window became blank and the browser appeared to be stopped. The problem appeared to be mysterious. Both the site and the admin are working, showing version 1.5.10.
I’m having the same issue – tried using cache, w/ 1.5 default extractor and fopen, but on step 3 it goes nowhere and the screen is just blank.
in case this is helpful for anyone, I finally got this to work by doing the following:
1) This problem was on a LAMP with a PLESK control panel. In Joomla the path to the Temp-folder in the Global Config I defined as such:
/var/www/vhosts/domain.com/httpdocs/tmp
2) In /var/www/vhosts/domain.com/conf/vhost.conf I defined the following
php_admin_flag engine on
php_admin_value open_basedir none
Now if you go into your Joomla admin under PHP Settings you should see: Open basedir: None
I successfully used 1.5 extractor; fopen; Cached Update: No. If you have curl I see no reason this won’t work also.
Hi Pasamio,
It sounds like this is a great tool to update your Joomla Website but unfortunately, I am getting this error message when I click on either options,
Full Package (4.59MB)
Patch Package (1.58MB)
Error: “Error: MD5 checksum does not match! Delete and redownload file.”
I appreciate if you can help!
Thanks,
Great job!
The only issue I’m having on many sites is in backend: buttons and features appear as {Save} and so on. I tried to replace some files (TinyMCE) from a clean install but no improvement.
Bart,
How did you
“expanded the Mb reserved for this account.”
to fix the MD5 checksum error?
Thanks
Great extension
Had the same error issue – “Local output opening failed” so I tried cache on, as suggested above. Uploaded patch package to my /tmp directory and it still wouldn’t untar. I then changed to 1.5 default extractor and it worked like a charm
I’ve changed the parameters to use cURL & even verified that the config.xml:
[code]
fopen
curl
[/code]
My phpinfo states: “cURL support enabled”
However, I still get the following error:
[code]
Download Failed: Remote Server connection failed: fopen(http://jsitepoint.com/update/packages/joomla/update.xml) [function.fopen]: failed to open stream: no suitable wrapper could be found; Using Proxy: No(42)[/code]
any suggestions?
well the code tag didn’t work – but it shows that fopen = 0 and curl = 1
You changed the params in the component param screen (accessible on the top right corner of the screen) or in the XML file? Strange that you have curl but not the HTTP wrapper for fopen, what version of PHP are you running?