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.
56 comments56 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?
Hi There, I’m very new to Joomla and it was great to find this tool to upgrade between versions. I’m struggling to get the file to extract.
I have installed the latest version of the update manager, and this installed fine. When I run update manager, it detects that I am running Joomla 1.5.9 (the version installed via a script by our hosting company). The update manager detects the patch required to get to 1.5.18. I click to continue and the patch then gets downloaded to the tmp folder. On Step 3, I get an error stating that it “failed to extract archive” – this error appeared using the 1.5 PEAR Archive_Tar. If I use 1.5 default extractor, I get a blank screen but a number of tmp files appearing in the tmp folder?
Anybody got any ideas?
Cheers!
For users of the german web hosting company Strato:
Strato suggests that you use the following path for your temporary directory:
http://www.strato-faq.de/10
This is an alias path, not the real path.
The real path changes every now and then when strato cleans up or reorganizes their servers.
However joomla update manager doesn’t work with the alias path, you need to enter the real path.
The real path is displayed in the joomla update manager in the warning message.
Example Error Warning Message:
Warning: Potentially invalid temporary path.
Configured path: /home/strato/www/yourwebsitepath
Suggested path: /mnt/weba/41/81/52214781/htdocs/yourwebsitepath
I just finished using this amazing component on 3 of my sites and it worked every time. The oldest version of J1.5 I upgraded from was 1.5.14. This thread was incredibly helpful so thank you. I just wanted to add one element that I had to use to finally get everything going. I was experiencing all the same errors already mentioned through various configurations but after setting to 1.5 Default Extractor, fopen, caching no, and full paths in global configuration as well as FTP layer turned off I was still getting the error, failed to create directory. The only step I added was to log into to my site via ssh and chmod 777 -R httpdocs right before clicking on the option to proceed in step 2. After that everything worked fine. Thanks again for a great component.
Thanks! Pre-pending the ftp root with a ‘slash’ fixed all my update issues. I love this extension and this thread saved me!
Hi.
I downloaded, installed and updated my Turnkey Joomla (1.5.14) on the test site I run locally with Virtualbox. All went well without a hitch. However, when I try to update the same installation on my hosting provider I get:
JFolder::create: Infinite loop detected
Unable to create destination
with a whole load of “Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/vhosts) is not within the allowed path(s” errors.
I’ve fiddled around and made every directory writeable to no avail. If I could get it to run as well on my ‘proper’ site as it does on my test site, I’d be very please, and be grateful for any help to do so.
Jim
Hi,
I have used this successfully on a number of other Joomla sites but I’m on a different host and I am unable to get the update to work properly.
I get the checksum error but when I look in the temp directory I see the .gzip file has a size of zero. The xml file is fine.
I am trying to upgrade from 1.5.21 to 1.5.22.
Thanks!
Hi, I had this same problem, and soon realised that the site I was trying to update had exceeded it’s disk space quota, and therefore wasn’t downloading the patch file correctly. Hope this helps someone.
Hi Sam,
I’s a relative newbie to Joomla and have a small problem.
I have downloaded your updater but when I follow the process (strp 1) and try to download the XML file I get the following message:
“Download Failed: Local output opening failed: fopen(/home/gdoggco/public_html/crazydomains/tmp/jupgrader.xml) [function.fopen]: failed to open stream: No such file or directory(43)”
Can you help please?
HI
I also get:
Error: MD5 checksum does not match! Delete and redownload file.
BUT I do not even have any file in my tmp directory to delete. My tmp directory in Joomla is /home/xxxx/public_html/tmp
I have searched all threads on this subject and nothing fixes it.
P.S. Your Forum Regsitration does not work, nor using Google account login hence the support request here.
I’m not sure why you’re getting that error, it could be a corrupt download which would cause it or that you’re not getting a download at all for some reason. This could be on networks where external traffic is blocked and requires you to go through a proxy or similar. I’m not entirely familiar with your hosting environment and can’t give you much more specific advice.
Forum registration is offline until I can solve the spam problem, Google Account login should be working but might not register new users as a side effect of disabling registration in general (can’t remember how I coded that functionality). Once I work out the spam problem I’ll be back online.
Hi Sam,
When I try to install your extension through the extension manager I keep getting:
JFile::read: Unable to open file: ‘C:\xampp\htdocs\mywebsite\tmp/gzip4d9d77ebe7726′
Unable to read archive
AND
Warning: fopen(C:\xampp\htdocs\mywebsite\tmp/gzip4d9d77ebe7726) [function.fopen]: failed to open stream: No such file or directory in /home/myusername/public_html/libraries/joomla/filesystem/file.php on line 246
unable to find install packages.
Thanks for any help,
Mike
Hi Sam,
I am attempting to use the update manager with windows platform & plesk.
FTP layer in global config is on.
open basedir in PHP settings (Joomla admin backend) is /var/www/vhosts/mywebsite/httpdocs:/tmp
path to temp folder in global config is /var/www/vhosts/mywebsite
There is 700meg available diskspace.
Error received is at step 2, after clicking on patch file. “Error: MD5 checksum does not match! Delete and redownload file.” is received on screen.
If I download the update .gz file from joomla, then upload that file to httpdocs/tmp and select cache method, the MD error is not received, but there is a blank screen on the step3 page (I can tell it is step3 by the URL) but the upgrade doesn’t work. Version is still the same as original.
Ideas?
ME TOO!
I keep on getting this:
http://www.mysite.com/administrator/index.php?option=com_jupdateman&task=step3
and it’s just a blank page!. I am going from 1.5.12 to 1.5.23
I fixed this by looking in the Joomla directory under plugins. You may see that the directory is empty. Restore plugins from a recent backup and your problem will be fixed. I did a full problem description here. Users can upload there own fixes and discuss the problem also:
http://www.fixilink.com/2104/
Hi Sam,
Just like Oliu Mayer above, I’m getting the blank white page during step 3 when trying to use the Update Manager to update from J! 1.5.23 to 1.5.25.
Any thoughts as to why this is happening?
The site I’m attempting to update is on a shared Network Solutions server. CURL is enabled. memory_limit = 64M, upload_max_filesize = 25M
Thanks,
Azurelink