Forum

Cannot complete set...
 
Notifications
Retirer tout

Cannot complete setup because of setup error

45 Posts
4 Utilisateurs
0 Reactions
29.3 K Vu
(@dabeegmon)
Posts: 31
Eminent Member
Début du sujet
 
[#5468]

Greetings

I am in my first attempt at installing projeqtor. This looks like a very useful and interesting project AND it seems to be alive - - - - thank you!

In the process of setting up the configuration files I am running into something that I do not understand how to fix.

The error message is:

> impossible to write '../tool/parametersLocation.php' file, cannot write to such a file : check access rights

I have a directory called ../files/config/ that contains both an empty directory /parameters and a file called parameters.php .
Both the directory and the file are set to open permissions (0777 (not the best for security but this is attempt #1)).

What do I do/change to satisfy the configuration template?

TIA


 
Posté : 08/10/2018 4:36 pm
(@babynus)
Posts: 14952
Membre Admin
 

Issue concerns directory projeqtor/tool
During configuration process tha application will write a file in this fomder to complete the configuration.


 
Posté : 09/10/2018 11:29 am
(@dabeegmon)
Posts: 31
Eminent Member
Début du sujet
 

Issue concerns directory projeqtor/tool
During configuration process tha application will write a file in this fomder to complete the configuration.

This I understand (that a file will be written in a specific folder).

So I then need to create a directory 'tool' in the projeqtor directory?

Regards

Dee


 
Posté : 09/10/2018 2:09 pm
(@dabeegmon)
Posts: 31
Eminent Member
Début du sujet
 

Issue concerns directory projeqtor/tool
During configuration process tha application will write a file in this fomder to complete the configuration.

This I understand (that a file will be written in a specific folder).

So I then need to create a directory 'tool' in the projeqtor directory?

So I found the directory 'tool' in the /web/projeqtor .
Reset the permissions of /web, /web/projeqtor/ and /web/projeqtor/tool to 0777 .

Error impossible to write . . . still appears.

AFAIK I cannot have more open permissions than chmod 0777.
What can I do to complete the configuration?


 
Posté : 09/10/2018 2:57 pm
(@babynus)
Posts: 14952
Membre Admin
 

Error impossible to write . . . still appears.

Are you sure it's on same folder ?

try
cmod -R 777 /web/projeqtor


 
Posté : 09/10/2018 3:41 pm
(@dabeegmon)
Posts: 31
Eminent Member
Début du sujet
 

Error impossible to write . . . still appears.

Are you sure it's on same folder ?

try
cmod -R 777 /web/projeqtor

Thank you for your responses!

tried your suggestion
added using ~/web/projeqtor/files/config/parameters.php as the value for 'Parameter file name'

error is now

>incorrect value for 'Parameter file name', does not include a valid directory name (~/web/projeqtor/files/config)

sorry - - - I'm confused.


 
Posté : 09/10/2018 5:40 pm
(@babynus)
Posts: 14952
Membre Admin
 

>incorrect value for 'Parameter file name', does not include a valid directory name (~/web/projeqtor/files/config)

This parameter expectx a file name, not a directory
Try (absolute path)

/web/projeqtor/files/logs/projeqtor_${date}.log

or (relative path)

../files/logs/projeqtor_${date}.log

 
Posté : 09/10/2018 8:26 pm
(@dabeegmon)
Posts: 31
Eminent Member
Début du sujet
 

>incorrect value for 'Parameter file name', does not include a valid directory name (~/web/projeqtor/files/config)

This parameter expectx a file name, not a directory
Try (absolute path)

/web/projeqtor/files/logs/projeqtor_${date}.log

or (relative path)

../files/logs/projeqtor_${date}.log

Please see attachments (screenshots).

I think I have answered the configuration screen requests but the error is different.

Sorry - - - how do I fix this?


 
Posté : 10/10/2018 12:27 am
Gautier
(@gautier)
Posts: 207
Membre Admin Registered
 

Hello,

"max_input_vars=1000 is too small - value should be at least 2000, 4000 recommended - check your php configuration (php.ini)."

You have to open php.ini and change the value of "max_input_vars" to 2500.


 
Posté : 10/10/2018 1:29 pm
(@dabeegmon)
Posts: 31
Eminent Member
Début du sujet
 

Hello,

"max_input_vars=1000 is too small - value should be at least 2000, 4000 recommended - check your php configuration (php.ini)."

You have to open php.ini and change the value of "max_input_vars" to 2500.

I had used the following:

# locate php.ini
/etc/php/7.0/apache2/php.ini
/etc/php/7.0/cli/php.ini
/etc/php/7.0/fpm/php.ini
/usr/lib/php/7.0/php.ini-development
/usr/lib/php/7.0/php.ini-production
/usr/lib/php/7.0/php.ini-production.cli

and had changed the value of this:

; How many GET/POST/COOKIE input variables may be accepted
; max_input_vars = 4000

to 4000 - - - - which was the recommended number.

So you are suggesting to change all 6 of the php.ini files so that they all read 2500 for this variable NOT 4000?

Please advise.

(This posting couplet actually belongs to a different question that I asked - - - - I do not know how to move things to more accurately reflect the thread. That's an admin function sorry.)


 
Posté : 10/10/2018 1:47 pm
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

Don't focus on max_input_vars, it's not a major issue (pink message, not red)

I think Issue on directories is due to incorrect access rights to these folders.
Check rights and owner.
Possibly they belong to user who unzipped projeqtor zip instead of belonging to PHP user (apache or www-data depending on distro)

About max_input_vars, you need to change only file
/etc/php/7.0/apache2/php.ini
and set value to 4000 (2500 will be good, but 4000 should be best)
Don't forget to remove the comment character (;) and restart apache to take new parameter into account.


 
Posté : 10/10/2018 2:53 pm
(@dabeegmon)
Posts: 31
Eminent Member
Début du sujet
 

Hi,

Don't focus on max_input_vars, it's not a major issue (pink message, not red)

I think Issue on directories is due to incorrect access rights to these folders.
Check rights and owner.
Possibly they belong to user who unzipped projeqtor zip instead of belonging to PHP user (apache or www-data depending on distro)

About max_input_vars, you need to change only file
/etc/php/7.0/apache2/php.ini
and set value to 4000 (2500 will be good, but 4000 should be best)
Don't forget to remove the comment character (;) and restart apache to take new parameter into account.

OK - - - - sorry learning what pointers mean and being a noob . . .

I used chmod -R and changed /web/projeqtor to 0777 which, aiui change things so that anyone can do anything.
Perhaps I need to chown the same to 0777 or ?????

Please advise.


 
Posté : 10/10/2018 5:35 pm
(@babynus)
Posts: 14952
Membre Admin
 

chmod -R 777 should be enough to finish correct install

Please poste loggued error, if any.


 
Posté : 10/10/2018 7:03 pm
(@dabeegmon)
Posts: 31
Eminent Member
Début du sujet
 

chmod -R 777 should be enough to finish correct install

Please poste loggued error, if any.

No logs available in any location /projeqtor .

Should I check in /var/log files?
If so, where?

See screenshots with previous message for system responses in the configuration process.

TIA


 
Posté : 11/10/2018 12:00 am
(@babynus)
Posts: 14952
Membre Admin
 

Hi,

I just tested on Linux.
It seems there in an issue on latest step of DB generation.
Check content of table parameter.
First line has parameterCode='dbVersion';
If parameterValue='V0.0.0' , it is source of issue.
Just change to V7.2.4, all should work fine then.

We'll soon provide a fix for this issue.


 
Posté : 11/10/2018 6:52 pm
Page 1 / 3
Share:
Retour en haut