Install package in J! 3.2 and 2.5 "Unable to write entry"

Did you find a bug in Joomla! 3.x but aren't sure? This forum is the place to help figure out if the problem is a bug and how to report it. If you are an experienced Joomla! user and are certain that you have found a bug please use the Bug Tracker to submit your issue.
This forum is for discussion about bugs and to get help with reporting them to the Bug Tracker: https://issues.joomla.org

Moderator: ooffick

Forum rules
Please use the official Bug Tracker to report a bug: https://issues.joomla.org
Locked
User avatar
Bettinz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 209
Joined: Fri Sep 23, 2005 3:31 pm
Location: Italy
Contact:

Install package in J! 3.2 and 2.5 "Unable to write entry"

Post by Bettinz » Wed Nov 20, 2013 2:06 pm

Hello, I'm blocked with a lot of sites on 2.5 and 3.2:
If I try to install from a local package, it say:
"Unable to write entry"
But If I unzip the package in remote tmp folder, and install from folder, it works.
I'm using php 5.5 on a VPS.
All permissions are writeable (except configuration.php).
Have anyone see something like that?


Thanks :)

PS: Install from web in 3.2 works without problems :)

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30931
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by Per Yngve Berg » Wed Nov 20, 2013 5:17 pm

Is the path to the tmp folder correct?

User avatar
Bettinz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 209
Joined: Fri Sep 23, 2005 3:31 pm
Location: Italy
Contact:

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by Bettinz » Wed Nov 20, 2013 5:42 pm

Yes, infact if for example the site is
testsite.com
the path is /home/tesite/public_html/tmp
If the component is called com_test.zip and I try to install, I see the folder (with random name) inside the tmp, but it print the error and doesn't install the component.
But if I try to install the same component from folder (extracted before during the install with error and not removed automatically), everything works.
So the steps are:
1) Install com_test.zip
a) print the error but create the folder in tmp, for example 12345abc/
2) install from folder ( 12345abc/ )
3) component installed

The sites are new and old migrated, and it's a recent problem.
I don't know if the starts are php 5.5 upgrade (from 5.4) or a new version of Joomla.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30931
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by Per Yngve Berg » Wed Nov 20, 2013 6:36 pm

The Install from Directory is meant to be extracted prior to the install. That's what all documentation says.
You can use the Upload Package File method with a zip.

User avatar
Per Yngve Berg
Joomla! Master
Joomla! Master
Posts: 30931
Joined: Mon Oct 27, 2008 9:27 pm
Location: Romerike, Norway

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by Per Yngve Berg » Wed Nov 20, 2013 6:36 pm

The Install from Directory is meant to be extracted prior to the install. That's what all documentation says.
You can use the Upload Package File method with a zip.

User avatar
Bettinz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 209
Joined: Fri Sep 23, 2005 3:31 pm
Location: Italy
Contact:

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by Bettinz » Wed Nov 20, 2013 6:46 pm

1) I upload com_name.zip (I mean every component) from extensions installer
2) it doesn't install the extension (with the error in subject) but it create the folder with random name in tmp folder.
3) if I install from folder: everything work

Without step 3, it doesn't install the extension. I know Joomla since 2005, and this si the first time I see something like that.

sovainfo
Joomla! Exemplar
Joomla! Exemplar
Posts: 8808
Joined: Sat Oct 01, 2011 7:06 pm

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by sovainfo » Wed Nov 20, 2013 10:00 pm

The difference between the two methods is who creates that folder in tmp. Installing the zip lets the webserver create the folder and extract the zip into it. Installing from directory obviously has the folder created by the ftp user.
Issue with migrating? Include logs/joomla_update.php in your report!
Blank screen? Verify pagesource for HTML code (javascript error)
Installation failing on populating database? Install with set_time_limit(0)
Document your customizations!

User avatar
Bettinz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 209
Joined: Fri Sep 23, 2005 3:31 pm
Location: Italy
Contact:

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by Bettinz » Wed Nov 20, 2013 10:32 pm

Hello,
i've double checked the owner of files via ftp, and are the same.
Infact, if I try to upload com_test.zip via extension installer the owner is for example "admin" (the owner of files on website).
Now, the extracted folder (called for example 12929aa in tmp) have the same owner. I've checked right now.
I use suexec and the server is the same of some months ago, so it's not a permission problem.
Do you know some problems with php 5.5? Or any Joomla 3.2 related bug? :)

In the next day I'll try an old version of php :)

User avatar
Bettinz
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 209
Joined: Fri Sep 23, 2005 3:31 pm
Location: Italy
Contact:

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by Bettinz » Thu Nov 21, 2013 5:19 pm

With php 5.4 everything works :(

User avatar
rich1
Joomla! Enthusiast
Joomla! Enthusiast
Posts: 190
Joined: Sun Apr 05, 2009 2:17 am
Location: London SE
Contact:

Re: Install package in J! 3.2 and 2.5 "Unable to write entry

Post by rich1 » Mon Aug 18, 2014 6:07 pm

I have had the same problem trying to install extensions on php 5.5 with no problems on php 5.4.
Exactly as described with the zip uploads "Unable to write entry".
Upload through control panel to tmp and extract.
Installs through tmp no problem!

Tried on both J2.5.24 and J3.3
If you have no 'Coeur de Lion' do not ask why you fail.


Locked

Return to “Joomla! 3.x Bug Reporting”