Page 1 of 1

JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Tue Oct 07, 2008 10:19 pm
by joomlover8
Hi guys, after a long time thinking about moving take place when i find my site in sandbox. Everything was very clear and nothing went wrong untill i tried to install a plugin or component! I can not install nothing to my site.
error:
# It was not possible to copy the selected file.
# JInstaller::install: Failed to copy file:


whatever i try to install i get this error, i did many things like making all files chmod 777 but still no chance!

What will i do? i don't want to go back to joomla 1.x5

pls help

Re: JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Wed Oct 08, 2008 9:07 am
by Roar
In backend - Admin site, go to Help and System info and Directory Permissions. It should be Writable

And you should try this: http://forum.joomla.org/viewtopic.php?f=428&t=272481

Re: JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Fri Jul 17, 2009 9:40 pm
by poodawgg
Roar wrote:In backend - Admin site, go to Help and System info and Directory Permissions. It should be Writable

And you should try this: http://forum.joomla.org/viewtopic.php?f=428&t=272481
what is "it" referring to?

Re: JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Sat Jul 18, 2009 1:15 pm
by Roar
I am not sure what you mean, but the link is to the "Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post."

If you see over the header for this post, there can you see some helpful links.

Re: JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Sat Jul 18, 2009 2:00 pm
by dpacadmin
If you have checked your directories permissions and they are all writable then it could be a ownership problem. You can use FileZilla to FTP to your site then check the column far right to see what the ownership of your files and folders is, they should all be the same. If they are not ask your host to correct the ownership on your files.

Re: JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Mon Aug 24, 2009 6:23 am
by luiman
Problem Description:
I am having a problem when trying to upload a component to my Joomla site. I have checked my path and my config.php file. I am able to upload modules with no trouble ,

Log/Error Message:
[quote]# It was not possible to copy the selected file. # JInstaller::install: Failed to copy file: /var/www/vhosts/mysite/httpdocs/tmp/install_4a9230f069ec5/JoomFish2.0.3/site/language/en-GB.com_joomfish.ini to /var/www/vhosts/mysite/httpdocs/test/language/en-GB/en-GB.com_joomfish.ini[/quote]
[quote]# It was not possible to copy the selected file. # JInstaller::install: Failed to copy file: /var/www/vhosts/mysite/httpdocs/tmp/install_4a9230f069ec5/JoomFish2.0.3/admin/language/en-GB.com_joomfish.ini to /var/www/vhosts/mysite/httpdocs/test/administrator/language/en-GB/en-GB.com_joomfish.ini[/quote]
[quote]# It was not possible to copy the selected file. # JInstaller::install: Failed to copy file: /var/www/vhosts/mysite/httpdocs/tmp/install_4a9230f069ec5/JoomFish2.0.3/mod_jflanguageselection/language/en-GB.mod_jflanguageselection.ini to /var/www/vhosts/mysite/httpdocs/test/language/en-GB/en-GB.mod_jflanguageselection.ini[/quote]

Actions Taken To Resolve:

Re: JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Tue Aug 25, 2009 12:29 am
by dpacadmin
Have you had a look at this trouble shooting list
http://www.joomfish.net/en/documentatio ... oomfish-20

Re: JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Tue Aug 25, 2009 1:07 am
by luiman
Thanks i'll give that a shot, cheers

Re: JInstaller::install: Failed to copy file: (desperate 4 help)

Posted: Tue Sep 08, 2009 4:43 pm
by obas247
joomlover8 wrote:Hi guys, after a long time thinking about moving take place when i find my site in sandbox. Everything was very clear and nothing went wrong untill i tried to install a plugin or component! I can not install nothing to my site.
error:
# It was not possible to copy the selected file.
# JInstaller::install: Failed to copy file:


whatever i try to install i get this error, i did many things like making all files chmod 777 but still no chance!

What will i do? i don't want to go back to joomla 1.x5

pls help

from this directory.../var/www/joomla/plugins#
change the mode : chmod 777
and install the file again ...

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Tue Jul 27, 2010 10:27 am
by _Nioub
Hello,

I have an installation problem with the component Akeeba.
(in the back-office : Install/uninstall and i extract the component in .zip )

I've always the following message :

* It was not possible to copy the selected file.
* JInstaller::install: Failed to copy file to

I've changed folders permissions (via FTP all folders are in 777) and the files are in 755...

Moreover, i've changed the permissions in the files :
libraries/joomla/filesystem/path.php, libraries/joomla/filesystem/folder.php, libraries/joomla/filesystem/file.php.
in 0777...

Nothing changes ! The error apparears every time i try to install this component !!! >_<

Please could you help me, i don't what to do to sove this issue...
(when i try to install different component, it works but Akeeba ... not !)
I've downloaded the component on the official site http://www.akeebabackup.com/download/ca ... table.html...

Need help please, i've no ideas anymore...

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Sun Sep 05, 2010 11:06 pm
by deadzoners
Got same problem with last guy. It's been a month and nobody reply him.

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Sep 06, 2010 1:03 am
by dpacadmin
The latest stable free version of Akeeba Backup can be downloaded from here
http://www.akeebabackup.com/official/ak ... 3-0-1.html

If you only have a problem with trying to install Akeeba but other extensions install fine you probably have a partial install that is blocking you from a complete install or your server is having problems with the zip file. First thing to do is FTP to your site and delete all files and folders in your tmp folder. Try to install again, if it still will not install follow the "Manual installation" instructions on this page
http://www.akeebabackup.com/akeeba-back ... #id4813835

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Fri Sep 24, 2010 1:15 pm
by rojoloco47
Here is a simple and clear solution for you guys, who have this same problem as I had,

Once, when I got this problem, I tried to search over google first, and read these solutions provided by our fellows but none helped, thats not their problem because you actually can't describe your problem in suitable way,

All those who are getting this problem have installed their corresponding component once and then unistalled it in wrong way, which leaves its files in the file manager,

So the solution to this problem is:

Step1: Do check in your file manager, lets take an example of the guy who were talking about akeeba component.
Step2: Delete "akeba" from /public_html/yoursite/plugins/ Directory,
Step3: Delete "com_akeba" from /public_html/yoursite/components/ Directory,
and then install the akeba plugin again.


Akeba is just an example of the component, I don't know if its exactly some component or not, but the solution is same
if you are getting problem with something like joomfish, do delete these two folders from specified directories and then install the component again using the extension installer.

Good Luck

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Mar 14, 2011 8:34 pm
by harmony
Hi,

I solved the JInstaller::install: Failed to copy file problem by removing the line referring to the inistallation xml file in the installation xml file. To be more precise, in my mod_p_thought.xml file, instead of

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.1">
	<name>mod_p_thought</name>
	<version>1.1</version>
	<description>The module displays the thought of the day.</description>

	<files>
		<filename module="mod_p_thought">mod_p_thought.php</filename>
		<filename module="mod_p_thought">helper.php</filename>
		<filename module="mod_p_thought">mod_p_thought.xml</filename>
		<filename module="mod_p_thought">index.html</filename>
		<filename module="mod_p_thought">delegate/JavaBridgeDelegate.php</filename>
		<filename module="mod_p_thought">delegate/ThoughtJavaBridgeDelegate.php</filename>
		<filename module="mod_p_thought">delegate/index.html</filename>
		<folder>tmpl</folder>
	</files>
I used (3rd line iin the <files> section removed)

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.1">
	<name>mod_p_thought</name>
	<author>Jean-Pierre Schnyder</author>
	<authorEmail>[email protected]</authorEmail>
	<authorUrl>www.prosveta.com</authorUrl>
	<creationDate>March 14, 2011</creationDate>
	<copyright>(C) Copyright, Éditions Prosveta S.A 2011</copyright>
	<license>Non public</license>
	<version>1.1</version>
	<description>The module displays the thought of the day.</description>

	<files>
		<filename module="mod_p_thought">mod_p_thought.php</filename>
		<filename module="mod_p_thought">helper.php</filename>
		<filename module="mod_p_thought">index.html</filename>
		<filename module="mod_p_thought">delegate/JavaBridgeDelegate.php</filename>
		<filename module="mod_p_thought">delegate/ThoughtJavaBridgeDelegate.php</filename>
		<filename module="mod_p_thought">delegate/index.html</filename>
		<folder>tmpl</folder>
	</files>
Hope this helps !

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Thu Nov 03, 2011 7:12 am
by jnitesh
JInstaller::install: Failed to copy file It was not possible to copy the selected file.
JInstaller::install: Failed to copy file:


SOLUTION:-


Plz check tmp path & permission in config files

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Thu Mar 15, 2012 3:12 pm
by LeeRoyy
Hi Guys, just to update you, finally I found a way to solve it
Do you have error messages?, like :

* Path too long
* Error cannot delete file: cannot read from source file or disk
* Cannot delete file: Access is denied
* There has been a sharing violation.
* Cannot delete file or folder The file name you specified is not valid or too long. Specify a different file name.

For that I tried it with: http://longpathtool.com/

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Tue Aug 28, 2012 4:14 pm
by desertcrystal
There is also another possible reason for this "Fail to copy file" error message.
Check your PHP's "Disabled Functions".

Under Joomla 2.5, you can check this under Site -> System Information. If copy is listed in the disabled php functions then it's your hosting provider, not a permissions issue per say.
Talk to your hosting provider if this is the case and have them remove this PHP limit.

Took me a while to figure this out.. and couldn't find the answer anywhere else!
So I hope it helps someone other than me.
Regards,
David

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Wed Jan 02, 2013 5:16 pm
by pbbiet
harmony wrote:Hi,

I solved the JInstaller::install: Failed to copy file problem by removing the line referring to the inistallation xml file in the installation xml file. To be more precise, in my mod_p_thought.xml file, instead of

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.1">
	<name>mod_p_thought</name>
	<version>1.1</version>
	<description>The module displays the thought of the day.</description>

	<files>
		<filename module="mod_p_thought">mod_p_thought.php</filename>
		<filename module="mod_p_thought">helper.php</filename>
		<filename module="mod_p_thought">mod_p_thought.xml</filename>
		<filename module="mod_p_thought">index.html</filename>
		<filename module="mod_p_thought">delegate/JavaBridgeDelegate.php</filename>
		<filename module="mod_p_thought">delegate/ThoughtJavaBridgeDelegate.php</filename>
		<filename module="mod_p_thought">delegate/index.html</filename>
		<folder>tmpl</folder>
	</files>
I used (3rd line iin the <files> section removed)

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<install type="module" version="1.5.1">
	<name>mod_p_thought</name>
	<author>Jean-Pierre Schnyder</author>
	<authorEmail>[email protected]</authorEmail>
	<authorUrl>www.prosveta.com</authorUrl>
	<creationDate>March 14, 2011</creationDate>
	<copyright>(C) Copyright, Éditions Prosveta S.A 2011</copyright>
	<license>Non public</license>
	<version>1.1</version>
	<description>The module displays the thought of the day.</description>

	<files>
		<filename module="mod_p_thought">mod_p_thought.php</filename>
		<filename module="mod_p_thought">helper.php</filename>
		<filename module="mod_p_thought">index.html</filename>
		<filename module="mod_p_thought">delegate/JavaBridgeDelegate.php</filename>
		<filename module="mod_p_thought">delegate/ThoughtJavaBridgeDelegate.php</filename>
		<filename module="mod_p_thought">delegate/index.html</filename>
		<folder>tmpl</folder>
	</files>
Hope this helps !
This can work only sometime with some files, but it cant work longtime.

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Mar 04, 2013 7:27 am
by sheoran82
Hi Folks,

As you are talking about file/directory ownership. What should be the ownership for file and directories. Please find the attachment and let me know is this ok or need any modification?

Thanks

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Mar 04, 2013 11:30 am
by dpacadmin
Your ownership is all the same and files and folders should be 644 and 755 which you seem to have. If you are having no issues when installing extensions you should be fine.

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Mar 04, 2013 11:39 am
by sheoran82
Why I asked bcz still I am getting this error message.

Copy failed
JInstaller: :Install: Failed to copy file

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Mar 04, 2013 12:06 pm
by dpacadmin
If your Host's server has ownership issues and your site's files/folders are owned by the FTP user then you will get that error unless you set Joomla to use the FTP method in the Global Configuration settings. The other option is to get your Host to change your permissions to the apache user(if you are on an Apache server). Here is some more info on it;
http://docs.joomla.org/Why_can%27t_you_ ... ensions%3F

SobiPro - Failed deleting issue

Posted: Fri Apr 19, 2013 6:52 am
by mamuna2m
Sobipro application install well but when uninstall any application local or server then show this message ->

Failed deleting contact.ini
Failed deleting contact.php
Failed deleting contact.php
Failed deleting contact_helper.php
Failed deleting contact.php

Field "Contact Form Field" has been removed

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Fri Apr 19, 2013 11:06 am
by dpacadmin
dpacadmin wrote:If your Host's server has ownership issues and your site's files/folders are owned by the FTP user then you will get that error unless you set Joomla to use the FTP method in the Global Configuration settings. The other option is to get your Host to change your permissions to the apache user(if you are on an Apache server). Here is some more info on it;
http://docs.joomla.org/Why_can%27t_you_ ... ensions%3F
This should help, ask your Host to check your site's file/folder ownerships.

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Apr 22, 2013 7:25 am
by mamuna2m
dpacadmin wrote:
dpacadmin wrote:If your Host's server has ownership issues and your site's files/folders are owned by the FTP user then you will get that error unless you set Joomla to use the FTP method in the Global Configuration settings. The other option is to get your Host to change your permissions to the apache user(if you are on an Apache server). Here is some more info on it;
http://docs.joomla.org/Why_can%27t_you_ ... ensions%3F
This should help, ask your Host to check your site's file/folder ownerships.

Thanks for your good reply.
Server ownership : Owner/Group is ok for all file/folder permission.
My local server same problem too.
Please give me more another solution.

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Apr 22, 2013 10:05 am
by dpacadmin
Your folder permissions are set to 777, on a local server this is fine if it is not accessible from the net. On your Host server folder permissions should be 755, file permissions should be 644. This shouldn't be the cause of your problem, just a safety issue.

Try enabling error reporting in the Global Configuration settings, set it to Maximum, then test to see if you get a php error that might help explain what the problem is. You could also try running the Forum Post Assistant on your server to see if it finds any issues, post back its results and any error messages you get.

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Jan 27, 2014 9:49 am
by rpcarnell
I was having the same problem with a home made component, and it was fine after I removed this from the installation's XML file:

<install>
<sql>
<file driver="mysql" charset="utf8">sql/0.sql</file>
</sql>
</install>
<uninstall>
<sql>
<file driver="mysql" charset="utf8">sql/0.sql</file>
</sql>
</uninstall>

Re: JInstaller::install: Failed to copy file: (desperate 4 h

Posted: Mon Sep 01, 2014 7:27 am
by andrewop
Hello
Long Path Tool works well to copy or delete long path files, you may use it

:)