Forums / General / Permissions after upgrade

Permissions after upgrade

Author Message

cliffp pratt

Monday 04 October 2010 9:19:41 pm

I've upgraded a site from 3.8 stepwise as recommended by the documentation. All now appears OK, but no one, not even the admin user has permissions to documents and folders! Has anyone any idea where I can start looking for the solution to this please?

Cheers,

Cliff

Jean-Luc Nguyen

Tuesday 05 October 2010 5:04:48 am

Hi,

To see what is happening, you may activate the debug on the admin interface, or check the log files.

http://www.acidre.com

Marko Žmak

Wednesday 06 October 2010 5:00:16 am

And some basic things:

- did you clear the cache after upgrade?

- did you regenerate the autoload arrays after upgrade?

- do your folders have appropriate filesystem permissions?

And how did you do the upgrade? When upgrading from 3.8 you have to split upgrades into several steps. My suggestion is:

- upgrade it to the latest 3.9 and test it

- upgrade it to 3.10.1 and test it

- upgrade it to the latest 4.0, switch PHP version and test it

- continue the upgrade steps to the latest 4.x version

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

cliffp pratt

Wednesday 06 October 2010 8:46:49 pm

Thanks for the suggestions.

Jean-Luc, I have tried that, but there are no errors. The 'edit' icon for the items are simply all greyed out.

Marko, Yes, I cleared the cache both manually and via the 'rm' command. The folders do have the correct permissions (web server is owner and permissions are '775'). I upgraded stepwise using the (fairly confusing) documentation, from 3.8, 3 to 3.9.5, to 3.10.1, to 4.0.1, to 4.1.4, to 4.2.0. I have scripted it, and I don't have the option of stopping at each step. 3.10.1 is OK though.

Marko, I didn't regen the autoload arrays, but I'm not sure that that will affect anything to do with permissions to objects will it?

Thanks,

Cliff

Quoc Huy Nguyen Dinh

Thursday 07 October 2010 6:16:08 am

I'm not sure but if you don't regen the autoloads some classes that have been added since 3.8 till 4.2.0 won't be loaded. So you need to regen the extensions and kernel arrays. And clear all caches again. I usually clear cache with ezcache.php --clear-all and with additionnally rm cli if the first doesn't work.

cliffp pratt

Thursday 28 October 2010 9:33:50 pm

Has anyone any ideas? It looks like *all* users have lost permissions to nodes (is that the correct word?).

I can't understand what would cause a global loss of permissions like this. I've looked through the database updates between 4.0.7 and 4.2.0 and none seems likely. I've looked at all the other steps. I'm at a loss. The logs show nothing, I don't see anything significant when I turn debugging on on the pages. I'm completely confused.

Cheers,

Cliff

cliffp pratt

Monday 01 November 2010 2:41:52 am

It now appears that it is something in the upgrade from 4.0.7 to 4.1.4. Has anyone got any ideas? I've repeated the upgrade multiple times and when I go from 4.0.7 to 4.1.4 all permissions appear to be lost. Authentication seems OK, as I can login and logout.

Cheers,

Cliff

cliffp pratt

Saturday 06 November 2010 3:56:29 pm

The problem does not appear to be in my upgrade process as I used the 'ezupgrade' process to upgrade and the same problem still exists - content is uneditable. However, content *can* be created.

eZ debug

Timing: Jan 17 2025 23:47:42
Script start
Timing: Jan 17 2025 23:47:42
Module start 'content'
Timing: Jan 17 2025 23:47:43
Module end 'content'
Timing: Jan 17 2025 23:47:43
Script end

Main resources:

Total runtime0.6899 sec
Peak memory usage4,096.0000 KB
Database Queries213

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.7031180.8516
Module start 'content' 0.00600.5771 768.5547684.2734
Module end 'content' 0.58310.1067 1,452.8281340.4453
Script end 0.6899  1,793.2734 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00440.6385210.0002
Check MTime0.00190.2727210.0001
Mysql Total
Database connection0.00060.094110.0006
Mysqli_queries0.616489.33602130.0029
Looping result0.00190.28142110.0000
Template Total0.663296.120.3316
Template load0.00260.381620.0013
Template processing0.660595.739120.3303
Template load and register function0.00010.016410.0001
states
state_id_array0.00080.113810.0008
state_identifier_array0.00070.094820.0003
Override
Cache load0.00230.3366420.0001
Sytem overhead
Fetch class attribute can translate value0.00110.160750.0002
Fetch class attribute name0.00100.1510110.0001
XML
Image XML parsing0.00190.273650.0004
class_abstraction
Instantiating content class attribute0.00000.0024110.0000
General
dbfile0.00250.3645430.0001
String conversion0.00000.001030.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 21
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs