Page 1 of 1

An error has occurred. -1 Copy file failed

Posted: 10 Sep 2015, 12:16
by drwebbe
Hello,
I'm using Gallery 4.1.1.
I would like to install the update 4.2.1, but I get the error :
An error has occurred.
-1 Copy file failed

Tried installing through "Upload Package File" and "Install from Folder" but I get the same error.

Any workaround ?

Greets,
DrWeB

Re: An error has occurred. -1 Copy file failed

Posted: 10 Sep 2015, 12:32
by christine
Hi,

Do you have the right permissions? Check these please > 644

Kind regards, Christine

Re: An error has occurred. -1 Copy file failed

Posted: 10 Sep 2015, 14:59
by drwebbe
Hello Christine,
On which folders should I check ?
Greets,
Kurt

Re: An error has occurred. -1 Copy file failed

Posted: 10 Sep 2015, 16:44
by christine
Hi,

a) In general, folder should be 755, files 644.
b) (configuration.php I always have: 444 - except when I need to change something on it). But there is no need to do something on it in your case.

c) So, check especially: index.php
d) Also; whether your "tmp" is writable or not. Sometimes the "tmp" is full of 'old' installations, so you have to delete these items (just only to have the index.html in "tmp")

Above, are just some ideas :idea:

Kind regards, Christine

Re: An error has occurred. -1 Copy file failed

Posted: 10 Sep 2015, 16:56
by drwebbe
Hi,
Everything is as you described.
No old files in tmp-folder etc

Any other ideas ?
Kind regards,
Kurt

Re: An error has occurred. -1 Copy file failed

Posted: 10 Sep 2015, 17:11
by Benno
Hi,
do you use 'FTP Settings' inside Joomla! Global Configuration --> Server Settings?
Check file/folder ownership :idea:

Kind regards,
Benno

Re: An error has occurred. -1 Copy file failed

Posted: 11 Sep 2015, 08:34
by drwebbe
Ho Benno,

FTP-settings are disabled in the website.

Greets,
Kurt

Re: An error has occurred. -1 Copy file failed

Posted: 11 Sep 2015, 09:06
by Benno
Hi,
What's about ownership?

Kind regards,
Benno

Re: An error has occurred. -1 Copy file failed

Posted: 11 Sep 2015, 09:44
by drwebbe
Hi Benno,
What exactly do you mean ?
Kurt

Re: An error has occurred. -1 Copy file failed

Posted: 11 Sep 2015, 10:54
by christine
Hi Kurt,

a) about ownership etc: https://docs.joomla.org/How_do_UNIX_fil ... ns_work%3F
b) and server configuration: https://docs.joomla.org/Security_Checkl ... ing_Apache > "PHP Being Run as an Apache Module"
c) in some cases (of course, it depends on your hoster) [provided the permissions are set correctly as mentioned above] to aks for: "recursive".
Your response belongs to permissions settings. Mostly: index.php and/or tmp file and/or wrong hoster configuration, see b)

Hi Benno :wink:

Kind regards, Christine