Permissions needed to install packages

Author Message

Fabio Carissimi

Wednesday 30 May 2007 8:04:27 am

Hello,

I can't install packages on my ezp server.
When I try to import the package, I have the folowing message :

Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.

After that, the package is in the local package list, but when I try to install it, I have the same error :
Fatal error: eZ publish did not finish its request ...

It seems that it is a Unix permission problem, because when I try on my test server there is no problem.
But in this server, I can't simply give all rights to 'apache' user because I have many users, each one with rights
to manage one web site.

can somebody tell me what package installation via admin interface do ?
Does it put something in the database?
Does it write something in the file system (like var/storage/packages or var/my_site/storage/packages) ?
Where 'apache' user need rights to write and read ?

Thanks for help

André R.

Wednesday 30 May 2007 9:52:43 am

ez publish need permission on these folders:
extension/*
design/*
var/*
settings/*

But what error is left in var/log/error.ini ?

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Fabio Carissimi

Thursday 31 May 2007 2:08:21 am

There is nothing about that in var/log/error.log.

It seems that apache already has permissions on these folders,
but can you be more precise ?

what kind of permissions? read (r), write (w), execute (x) ?
ezpublish works but the problem is for package installation.
I think that ezpublish needs to read in these folders to work.
But, to install packages, it needs to write somewhere.
So, to try to solve my problem,
can somebody tell what package installation do? where it writes?
where it needs some particular permissions ?

Thanks

Fabio Carissimi

Friday 29 June 2007 7:11:16 am

Hi,
nobody can answer my questions?
ezCrew ???

Thanks ...

André R.

Saturday 30 June 2007 4:03:35 am

The directories mentioned above are the ones it need write access to.
And it needs to be able to read the whole installation of course.

Please turn on DebugOutput in site.ini to get a more detailed explanation of the problem.
http://ez.no/doc/ez_publish/technical_manual/3_9/reference/configuration_files/site_ini/debugsettings

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 18:25:12
Script start
Timing: Jan 18 2025 18:25:12
Module start 'layout'
Timing: Jan 18 2025 18:25:12
Module start 'content'
Timing: Jan 18 2025 18:25:12
Module end 'content'
Timing: Jan 18 2025 18:25:12
Script end

Main resources:

Total runtime0.7777 sec
Peak memory usage4,096.0000 KB
Database Queries63

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00010.0061 589.4688152.6406
Module start 'layout' 0.00620.0034 742.109439.4922
Module start 'content' 0.00960.7666 781.6016568.8516
Module end 'content' 0.77610.0015 1,350.453116.1406
Script end 0.7776  1,366.5938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.5280160.0003
Check MTime0.00140.1841160.0001
Mysql Total
Database connection0.00120.156610.0012
Mysqli_queries0.719692.5294630.0114
Looping result0.00070.0843610.0000
Template Total0.743195.620.3715
Template load0.00200.259620.0010
Template processing0.741095.290020.3705
Template load and register function0.00020.029610.0002
states
state_id_array0.00110.141310.0011
state_identifier_array0.00110.142420.0006
Override
Cache load0.00170.2225480.0000
Sytem overhead
Fetch class attribute can translate value0.00050.067320.0003
Fetch class attribute name0.00090.121560.0002
XML
Image XML parsing0.00060.083120.0003
class_abstraction
Instantiating content class attribute0.00000.001570.0000
General
dbfile0.00080.1033170.0000
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
5content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
10content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 32
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs