Install troubles

Author Message

Zotov Vladimir

Saturday 08 March 2008 12:03:27 am

When I try to install Ez to a server, I have this finetune message:

System check

There are some important issues that have to be resolved. A list of issues / problems is presented below. Each section contains a description and a suggested / recommended solution.

Once the problems / issues are fixed, you may click the Next button to continue. The system check will be run again. If everything is okay, the setup will go to the next stage. If there are problems, the system check page will reappear.

Some issues may be ignored by checking the Ignore this test checkbox(es); however, this is not recommended.

It is also possible to do some finetuning of your system, click Finetune instead Next if you want to see the finetuning hints.
Issues1. Insufficient directory permissions
Insufficient directory permissions

eZ Publish cannot write to some important directories, without this the setup cannot finish and parts of eZ Publish will fail.
The affected directories are: design extension settings settings/override settings/siteaccess settings/siteaccess/admin var var/cache var/cache/codepages var/cache/content var/cache/ini var/cache/override var/cache/template var/cache/template/process var/cache/template/tree var/cache/texttoimage var/cache/translation var/log var/storage var/storage/original var/storage/reference var/storage/variations

eZ Publish could not detect the user and group of the web server. If you know the user and group of the web server it is recommended to change the ownership of the files to match this user and group. To do this you need to change the chown commands under Alternative shell commands.
Shell commands

These shell commands will give proper permission to the web server.
cd /usr/local/www/vhosts/geo.ru/subdomains/test98u15/httpdocs
chmod -R a+rwx design extension settings settings/override settings/siteaccess settings/siteaccess/admin var var/cache var/cache/codepages var/cache/content var/cache/ini var/cache/override var/cache/template var/cache/template/process var/cache/template/tree var/cache/texttoimage var/cache/translation var/log var/storage var/storage/original var/storage/reference var/storage/variations
Alternative shell commands

These commands will setup the permission more correctly, but require knowledge about the running web server.
chmod -R og+rwx design extension settings settings/override settings/siteaccess settings/siteaccess/admin var var/cache var/cache/codepages var/cache/content var/cache/ini var/cache/override var/cache/template var/cache/template/process var/cache/template/tree var/cache/texttoimage var/cache/translation var/log var/storage var/storage/original var/storage/reference var/storage/variations
chown -R nouser:nouser design extension settings settings/override settings/siteaccess settings/siteaccess/admin var var/cache var/cache/codepages var/cache/content var/cache/ini var/cache/override var/cache/template var/cache/template/process var/cache/template/tree var/cache/texttoimage var/cache/translation var/log var/storage var/storage/original var/storage/reference var/storage/variations

How can a I fix it?

Michael Hall

Saturday 08 March 2008 12:29:56 am

The web server does not have permission to write to the directories listed.

You need to change the permissions on those directories so that the web server can write to them.

The message gives you examples of commands you could run to fix this problem.
They need to be run on the command line of the server, which requires SSH access at least.

If you don't have command line access, you could try changing these permissions using an FTP program (big job unfortunately).

Zotov Vladimir

Saturday 08 March 2008 12:35:36 am

Yes, I've don it yet. I've changed rigths to all those directories access. But settings/siteaccess/admin directory make this mistake again, even after I've changed rules.

These shell commands will give proper permission to the web server.
cd /usr/local/www/vhosts/geo.ru/subdomains/test98u15/httpdocs
chmod -R a+rwx design extension settings settings/siteaccess/admin var
Alternative shell commands

These commands will setup the permission more correctly, but require knowledge about the running web server.
chmod -R og+rwx design extension settings settings/siteaccess/admin var
chown -R nouser:nouser design extension settings settings/siteaccess/admin var

P.S. Please, discribe in details how can I run this commands wiht SSH.

Michael Hall

Saturday 08 March 2008 1:53:55 am

Is this your own server, or are you using shared web hosting?

SSH is just a way of accessing the server. If it's your own server, you probably don't need SSH. If you've already changed the permissions, then again you don't need SSH.

If it's shared hosting, sometimes web servers are set up with unusual requirements for directory and file permissions, usually for security reasons. Perhaps you should contact the web host and find out what their file permissions policy is.

Zotov Vladimir

Sunday 09 March 2008 7:34:58 am

Thank you very much!
Now I've got another problem. I've got a test subdomain of my domain on the public hosting server. I try to install Ez.In the step Site details installer said:

Warning
The database [test] cannot be used, the setup wizard wants to create the site in [utf-8] but the database has been created using character set [koi8-r]. You will have to choose a database having support for [utf-8] or modify [test] .

So, when I try to fix it by changing character set, I login into admin panel (Plesk) and see that my database has character set utf-8 yet. I suppose that it may be because I've created a data base in domain (not subdomain in which I try to install Ez). I did it because I can't create it in the subdomain. Please, help me: I didn't have such problems installing Ez at home.

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 22:20:18
Script start
Timing: Jan 18 2025 22:20:18
Module start 'layout'
Timing: Jan 18 2025 22:20:18
Module start 'content'
Timing: Jan 18 2025 22:20:19
Module end 'content'
Timing: Jan 18 2025 22:20:19
Script end

Main resources:

Total runtime0.7473 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.00000.0057 587.9141152.6250
Module start 'layout' 0.00570.0029 740.539139.4453
Module start 'content' 0.00850.7371 779.9844513.5625
Module end 'content' 0.74570.0016 1,293.546916.1719
Script end 0.7472  1,309.7188 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4526160.0002
Check MTime0.00130.1738160.0001
Mysql Total
Database connection0.00110.146210.0011
Mysqli_queries0.690092.3342630.0110
Looping result0.00060.0786610.0000
Template Total0.713595.520.3568
Template load0.00200.263420.0010
Template processing0.711595.221820.3558
Template load and register function0.00020.031710.0002
states
state_id_array0.00100.136110.0010
state_identifier_array0.00090.114320.0004
Override
Cache load0.00180.2371490.0000
Sytem overhead
Fetch class attribute can translate value0.00070.093520.0003
Fetch class attribute name0.00110.141350.0002
XML
Image XML parsing0.00020.032020.0001
class_abstraction
Instantiating content class attribute0.00000.001250.0000
General
dbfile0.00200.2656100.0002
String conversion0.00000.001140.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
14content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs